Skip to content

metricsforwarder job from app-autoscaler/12.2.2

Github source: 662d18d0 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: string

Example 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 (from bpm.yml.erb)
  • config/certs/healthendpoint/ca.crt (from healthendpoint_ca.crt.erb)
  • config/certs/healthendpoint/server.crt (from healthendpoint.crt.erb)
  • config/certs/healthendpoint/server.key (from healthendpoint.key.erb)
  • config/certs/metricsforwarder/ca.crt (from metricsforwarder_ca.crt.erb)
  • config/certs/metricsforwarder/server.crt (from metricsforwarder_server.crt.erb)
  • config/certs/metricsforwarder/server.key (from metricsforwarder_server.key.erb)
  • config/certs/metron_client/ca.crt (from metron_client_ca.crt.erb)
  • config/certs/metron_client/client.crt (from metron_client.crt.erb)
  • config/certs/metron_client/client.key (from metron_client.key.erb)
  • config/certs/policy_db/ca.crt (from policy_db_ca.crt.erb)
  • config/certs/policy_db/crt (from policy_db.crt.erb)
  • config/certs/policy_db/key (from policy_db.key.erb)
  • config/certs/storedprocedure_db/ca.crt (from storedprocedure_db_ca.crt.erb)
  • config/certs/storedprocedure_db/crt (from storedprocedure_db.crt.erb)
  • config/certs/storedprocedure_db/key (from storedprocedure_db.key.erb)
  • config/metricsforwarder.yml (from metricsforwarder.yml.erb)

Packages

Packages are compiled and placed onto corresponding instances during the deployment process. Packages will be placed into /var/vcap/packages/ directory.