service-metrics job from service-metrics/1.6.0
Github source:
f43c78a
or
master branch
Properties¶
loggregator_agent
¶
ingress_port
¶Incoming port for log messages
- Default
3458
service_metrics
¶
debug
¶boolean value to turn on verbose mode
- Default
false
execution_interval_seconds
¶Interval to repeatedly obtain and emit metrics, in seconds
- Default
60
metrics_command
¶Command to obtain metrics in JSON format
- Default
/var/vcap/jobs/service-metrics-adapter/bin/collect-service-metrics
metrics_command_args
¶Arguments to be passed to the metrics command (see service_metrics.metrics_command)
- Default
[]
monit_dependencies
¶Array of monit service dependencies
- Default
[]
origin
¶Used for the origin tag on every envelope. Should be set to something descriptive of the deployment (e.g. service-name)
source_id
¶The source ID to set on every envelope sent by Service Metrics.
- Default
""
tls
¶
ca
¶Loggregator CA certificate file
cert
¶Service metrics client certificate
key
¶Service metrics client private key
Templates¶
Templates are rendered and placed onto corresponding
instances during the deployment process. This job's templates
will be placed into /var/vcap/jobs/service-metrics/
directory
(learn more).
bin/drain
(fromdrain.erb
)bin/service_metrics_ctl
(fromservice_metrics_ctl.erb
)config/certs/ca.crt
(fromca.crt.erb
)config/certs/client.crt
(fromclient.crt.erb
)config/certs/client.key
(fromclient.key.erb
)
Packages¶
Packages are compiled and placed onto corresponding
instances during the deployment process. Packages will be
placed into /var/vcap/packages/
directory.