metricsforwarder job from app-autoscaler/13.0.0
Github source:
a2bea10f4
or
master branch
Properties¶
autoscaler
¶
metricsforwarder
¶
cache_cleanup_interval
¶The time interval to purge expired cache entries in metric forwarder
- Default
6h
cache_ttl
¶The time interval to mark cache entries as expired in metric forwarder
- Default
900s
cred_helper
¶
impl
¶Either default or stored_procedure which retrieves and manages credentials
- Default
default
stored_procedure_config
¶Configuration to define the stored procedure config if
stored_procedure
is used as the implementation. stored_procedure_config: schema_name: string create_binding_credential_procedure_name: string drop_binding_credential_procedure_name: string drop_all_binding_credential_procedure_name: string validate_binding_credential_procedure_name: stringExample below:
stored_procedure_config: schema_name: SCHEMA create_binding_credential_procedure_name: CREATE drop_binding_credential_procedure_name: DROP drop_all_binding_credential_procedure_name: DROPALL validate_binding_credential_procedure_name: VALIDATE
- Default
{}
health
¶
ca_cert
¶PEM-encoded CA certificate for the health endpoint
password
¶the password of health endpoint
- Default
""
port
¶The listening port of health endpoint
- Default
6403
server_cert
¶PEM-encoded server certificate for the health endpoint
server_key
¶PEM-encoded server key for the health endpoint
username
¶the username of health endpoint
- Default
""
logging
¶
level
¶The level of logging
- Default
info
loggregator
¶
metron_address
¶IP address and port where the metron agent is running
- Default
127.0.0.1:3458
tls
¶ca_cert
¶PEM-encoded ca certificate of loggregator ingress client
cert
¶PEM-encoded tls client certificate to connect to loggregator ingress client
key
¶PEM-encoded tls client key to connect to loggregator ingress client
policy_poller_interval
¶The time interval to refresh cached policies from policy database
- Default
60s
rate_limit
¶
max_amount
¶The number of requests accepted by rate limit
- Default
10
valid_duration
¶The rate limit evaluation duration
- Default
1s
server
¶
ca_cert
¶PEM-encoded CA certificate for the metricsforwarder server
port
¶Port on which the metricsforwarder server will listen
- Default
6201
server_cert
¶PEM-encoded server certificate for the metricsforwarder server
server_key
¶PEM-encoded server key for the metricsforwarder server
policy_db
¶
address
¶IP address on which the policydb server will listen
- Default
autoscalerpostgres.service.cf.internal
databases
¶The list of databases used in policydb database including name
db_scheme
¶Database scheme to be used to access policydb
port
¶Port on which the policydb server will listen
roles
¶The list of database roles used in policydb database including name/password
sslmode
¶The sslmode to connect to postgres server
- Default
disable
tls
¶
ca
¶PEM-encoded ca certificate of tls database server
- Default
""
certificate
¶PEM-encoded certificate of tls database client
- Default
""
private_key
¶PEM-encoded key of tls database client
- Default
""
policy_db_connection_config
¶
connection_max_lifetime
¶
- Default
60s
max_idle_connections
¶
- Default
10
max_open_connections
¶
- Default
20
storedprocedure_db
¶
address
¶IP address on which the storedproceduredb server will listen
- Default
""
databases
¶The list of databases used in storedproceduredb database including name
db_scheme
¶Database scheme to be used to access storedproceduredb
port
¶Port on which the storedproceduredb server will listen
roles
¶The list of database roles used in storedproceduredb database including name/password
sslmode
¶The sslmode to connect to postgres server
- Default
disable
tls
¶
ca
¶PEM-encoded ca certificate of tls database server
- Default
""
certificate
¶PEM-encoded certificate of tls database client
- Default
""
private_key
¶PEM-encoded key of tls database client
- Default
""
storedprocedure_db_connection_config
¶
connection_max_lifetime
¶
- Default
60s
max_idle_connections
¶
- Default
10
max_open_connections
¶
- Default
20
Templates¶
Templates are rendered and placed onto corresponding
instances during the deployment process. This job's templates
will be placed into /var/vcap/jobs/metricsforwarder/
directory
(learn more).
config/bpm.yml
(frombpm.yml.erb
)config/certs/healthendpoint/ca.crt
(fromhealthendpoint_ca.crt.erb
)config/certs/healthendpoint/server.crt
(fromhealthendpoint.crt.erb
)config/certs/healthendpoint/server.key
(fromhealthendpoint.key.erb
)config/certs/metricsforwarder/ca.crt
(frommetricsforwarder_ca.crt.erb
)config/certs/metricsforwarder/server.crt
(frommetricsforwarder_server.crt.erb
)config/certs/metricsforwarder/server.key
(frommetricsforwarder_server.key.erb
)config/certs/metron_client/ca.crt
(frommetron_client_ca.crt.erb
)config/certs/metron_client/client.crt
(frommetron_client.crt.erb
)config/certs/metron_client/client.key
(frommetron_client.key.erb
)config/certs/policy_db/ca.crt
(frompolicy_db_ca.crt.erb
)config/certs/policy_db/crt
(frompolicy_db.crt.erb
)config/certs/policy_db/key
(frompolicy_db.key.erb
)config/certs/storedprocedure_db/ca.crt
(fromstoredprocedure_db_ca.crt.erb
)config/certs/storedprocedure_db/crt
(fromstoredprocedure_db.crt.erb
)config/certs/storedprocedure_db/key
(fromstoredprocedure_db.key.erb
)config/metricsforwarder.yml
(frommetricsforwarder.yml.erb
)
Packages¶
Packages are compiled and placed onto corresponding
instances during the deployment process. Packages will be
placed into /var/vcap/packages/
directory.