Skip to content

leadership-election job from system-metrics-scraper/3.2.3

Github source: 76aa30a or master branch

Properties

health_port

The port where debug information will be served

Default
6060

metrics

ca_cert

TLS CA cert to verify requests to metrics endpoint.

cert

TLS certificate for metrics server signed by the metrics CA

key

TLS private key for metrics server signed by the metrics CA

port

Port leadership election uses to serve metrics and debug information

Default
14921

server_name

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

port

The port the agent will listen on for HTTP requests

Default
8080

tls

ca_cert

TLS CA cert to verify requests to leadership election

cert

TLS certificate for leadership election

key

TLS private key for leadership election

Templates

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

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