Skip to content

service_discovery job from prometheus/26.0.1

Github source: a2b84f9 or master branch

Properties

service_discovery

az_affinity

If true then only instances from the same availability zone will be included in the generated JSON files

Default
true

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_discovery/ directory (learn more).

  • firehose_exporter_target_groups.json (from firehose_exporter_target_groups.json.erb)
  • grafana_target_groups.json (from grafana_target_groups.json.erb)
  • prometheus_target_groups.json (from prometheus_target_groups.json.erb)

Packages

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

This job relies on no runtime packages.