Skip to content

Instantly share code, notes, and snippets.

@tuannguyenssu
Created October 9, 2019 03:51
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 tuannguyenssu/392e50db91ecb029bb229e9959c7f5b0 to your computer and use it in GitHub Desktop.
Save tuannguyenssu/392e50db91ecb029bb229e9959c7f5b0 to your computer and use it in GitHub Desktop.
global:
scrape_interval: 5s # Set the scrape interval to every 15 seconds. Default is every 1 minute.
evaluation_interval: 5s # Evaluate rules every 15 seconds. The default is every 1 minute.
scrape_configs:
- job_name: 'prometheus'
static_configs:
- targets: ['prometheus:9090']
- job_name: 'kong'
static_configs:
- targets: ['kong:8001']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment