Skip to content

Instantly share code, notes, and snippets.

@wgebis
Created September 18, 2018 07:09
Show Gist options
  • Save wgebis/d674104cd6ea35d803ba965523a7cd25 to your computer and use it in GitHub Desktop.
Save wgebis/d674104cd6ea35d803ba965523a7cd25 to your computer and use it in GitHub Desktop.
# A scrape configuration containing exactly one endpoint to scrape:
# Here it's Prometheus itself.
scrape_configs:
# The job name is added as a label `job=<job_name>` to any time series scraped from this config.
# metrics_path defaults to '/metrics'
# scheme defaults to 'http'.
- job_name: 'default_job'
static_configs:
- targets:
- localhost:9100 # node_exporter
- localhost:8080 # cAdvisor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment