Skip to content

metrics-discovery-registrar-windows job from metrics-discovery/3.2.15

Github source: b42b8a4d or master branch

Properties

disable

Disable this job so that it will not run

Default
false

metrics

ca_cert

TLS CA cert to verify requests to metrics endpoint.

cert

TLS certificate for metrics server signed by the metrics CA

debug

Enables go_ and process_ metrics along with a pprof endpoint

Default
false

key

TLS private key for metrics server signed by the metrics CA

port

Port to host metrics endpoint

Default
15821

pprof_port

If debug metrics is enabled, pprof will start at this port, ideally set to something other then 0

Default
0

server_name

The server name used in the scrape configuration for the metrics endpoint

nats_client

cert

TLS certificate to communicate with the NATs server signed by the NATs CA

key

TLS private key to communicate with the NATs server signed by the NATs CA

publish_interval

Interval to publish targets

Default
15s

target_refresh_interval

Interval to refresh the Prometheus endpoint targets

Default
15s

targets_glob

Files matching the glob are expected to contain targets to Prometheus metrics endpoints

Default
/var/vcap/data/*

Templates

Templates are rendered and placed onto corresponding instances during the deployment process. This job's templates will be placed into /var/vcap/jobs/metrics-discovery-registrar-windows/ directory (learn more).

  • bin/pre-start.ps1 (from pre-start.ps1.erb)
  • config/certs/metrics.crt (from metrics.crt.erb)
  • config/certs/metrics.key (from metrics.key.erb)
  • config/certs/metrics_ca.crt (from metrics_ca.crt.erb)
  • config/certs/nats.crt (from nats_client.crt.erb)
  • config/certs/nats.key (from nats_client.key.erb)
  • config/certs/nats_ca.crt (from nats_ca.crt.erb)
  • config/prom_scraper_config.yml (from prom_scraper_config.yml.erb)

Packages

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