Skip to content

Instantly share code, notes, and snippets.

@ramesh-lingappan
Created July 9, 2020 15:29
Show Gist options
  • Save ramesh-lingappan/eeccdb2311d3a27b17c0b3bebc7f8ea1 to your computer and use it in GitHub Desktop.
Save ramesh-lingappan/eeccdb2311d3a27b17c0b3bebc7f8ea1 to your computer and use it in GitHub Desktop.
pushgateway sample prometheus config file
# my global config
global:
scrape_interval: 15s # By default, scrape targets every 15 seconds.
evaluation_interval: 15s # By default, scrape targets every 15 seconds.
scrape_configs:
- job_name: 'prometheus'
scrape_interval: 5s
static_configs:
- targets: ['localhost:9090']
- job_name: 'Pushgateway'
scrape_interval: 5s
honor_labels: true
static_configs:
- targets: ['host.docker.internal:9091']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment