Skip to content

service-metrics job from service-metrics/1.10.0

Github source: 4a6a8ea 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. If the interval seconds is set to a negative number this will disable service metrics process.

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
[]

mount_paths

Filesystem paths to be mounted for reading by the metrics_command

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 (from drain.erb)
  • config/bpm.yml (from bpm.yml.erb)
  • config/certs/ca.crt (from ca.crt.erb)
  • config/certs/client.crt (from client.crt.erb)
  • config/certs/client.key (from client.key.erb)

Packages

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