Skip to content

Instantly share code, notes, and snippets.

@jeroenr
Created August 8, 2017 19:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jeroenr/820222b75fafd1cec42f0e81e8485dbd to your computer and use it in GitHub Desktop.
Save jeroenr/820222b75fafd1cec42f0e81e8485dbd to your computer and use it in GitHub Desktop.
Prometheus config
global:
scrape_interval: 15s # By default, scrape targets every 15 seconds.
# A scrape configuration containing exactly one endpoint to scrape:
scrape_configs:
# The job name is added as a label `job=<job_name>` to any timeseries scraped from this config.
- job_name: 'statsd-exporter'
# Override the global default and scrape targets from this job every 5 seconds.
scrape_interval: 5s
static_configs:
- targets: ['statsd-exporter-svc:9102'] # pull from the exposed statsd-exporter service
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment