Skip to content

Instantly share code, notes, and snippets.

@nagavenkateshgowru
Last active December 24, 2019 05:39
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 nagavenkateshgowru/ea844a2e9e0d698c3dd5bf2355d02d8e to your computer and use it in GitHub Desktop.
Save nagavenkateshgowru/ea844a2e9e0d698c3dd5bf2355d02d8e to your computer and use it in GitHub Desktop.
prometheus configuration to scape cAdvisor
global:
scrape_interval: 15s
scrape_configs:
- job_name: 'prometheus'
scrape_interval: 5s
static_configs:
- targets: ['localhost:9090']
- job_name: 'cadvisor'
scrape_interval: 5s
static_configs:
- targets: ['cAdvisor-host-ip-address:8080']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment