metricsserver job from app-autoscaler/13.2.0
Github source:
2f0b382dd
or
master branch
Properties¶
autoscaler
¶
changeloglock_timeout_seconds
¶Liquibase changelog lock timeout duration in seconds
- Default
180
instancemetrics_db
¶
address
¶IP address on which the instancemetricsdb server will listen
- Default
autoscalerpostgres.service.cf.internal
databases
¶The list of databases used in instancemetricsdb database including name
db_scheme
¶Database scheme to be used to access instancemetricsdb
port
¶Port on which the instancemetricsdb server will listen
roles
¶The list of database roles used in instancemetricsdb database including name/password
sslmode
¶The sslmode to connect to postgres server
- Default
disable
tls
¶
ca
¶PEM-encoded ca certificate for TLS database server
- Default
""
certificate
¶PEM-encoded certificate for TLS database client
- Default
""
private_key
¶PEM-encoded key for TLS database client
- Default
""
instancemetrics_db_connection_config
¶
connection_max_lifetime
¶
- Default
60s
max_idle_connections
¶
- Default
10
max_open_connections
¶
- Default
20
metricsserver
¶
ca_cert
¶PEM-encoded CA certificate
collector
¶
collect_interval
¶The time interval to collect container metrics from loggregator
- Default
30s
envelope_channel_size
¶The size of envelop channel to transport envelopes from websocket server to an envelope processor
- Default
1000
envelope_processor_count
¶The envelope processor count to convert envelopes to app instance metrics
- Default
5
keep_alive_time
¶Keep alive duration of the websocket between metricsserver and emitter
- Default
60s
metric_cache_size_per_app
¶The instance metrics cache size for each application
- Default
1000
metric_channel_size
¶The size of channel to transport instance metric from envelope processors to cache
- Default
1000
persist_metrics
¶Whether to persist instancemetrics into database
- Default
true
port
¶The listening port of websocket server
- Default
7103
refresh_interval
¶The time interval to refresh app policies from policy database
- Default
60s
save_interval
¶The time interval to save metrics in database
- Default
5s
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
6303
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
""
http_client_timeout
¶Http client timeout for metricsserver to communicate with other autoscaler components
- Default
60s
logging
¶
level
¶The level of logging
- Default
info
server
¶
port
¶The listening port of http server
- Default
6103
server_cert
¶PEM-encoded server certificate
server_key
¶PEM-encoded server key
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
Templates¶
Templates are rendered and placed onto corresponding
instances during the deployment process. This job's templates
will be placed into /var/vcap/jobs/metricsserver/
directory
(learn more).
bin/bpm-pre-start
(frombpm-pre-start.erb
)bin/liquibase.properties
(fromliquibase.properties
)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/instancemetrics_db/ca.crt
(fromappinstancemetrics_db_ca.crt.erb
)config/certs/instancemetrics_db/crt
(fromappinstancemetrics_db.crt.erb
)config/certs/instancemetrics_db/key
(fromappinstancemetrics_db.key.erb
)config/certs/metricsserver/ca.crt
(frommetricsserver_ca.crt.erb
)config/certs/metricsserver/server.crt
(frommetricsserver_server.crt.erb
)config/certs/metricsserver/server.key
(frommetricsserver_server.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/metricsserver.yml
(frommetricsserver.yml.erb
)
Packages¶
Packages are compiled and placed onto corresponding
instances during the deployment process. Packages will be
placed into /var/vcap/packages/
directory.