Skip to content

Instantly share code, notes, and snippets.

@nagavenkateshgowru
Last active December 24, 2019 02:09
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/4f82f303d0be2743ddb605b1b7de4bb9 to your computer and use it in GitHub Desktop.
Save nagavenkateshgowru/4f82f303d0be2743ddb605b1b7de4bb9 to your computer and use it in GitHub Desktop.
Default-Simple Prometheus configuration
global:
scrape_interval: 15s
scrape_configs:
- job_name: 'prometheus'
scrape_interval: 5s
static_configs:
- targets: ['localhost:9090']
@nagavenkateshgowru
Copy link
Author

Basic, simple Prometheus config to scrape itself.

@nagavenkateshgowru
Copy link
Author

Filename renamed to prometheus.yml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment