Skip to content

Instantly share code, notes, and snippets.

@lucj
Created April 9, 2017 12:41
Show Gist options
  • Save lucj/7779efda13702cf7a15e3df02ec82448 to your computer and use it in GitHub Desktop.
Save lucj/7779efda13702cf7a15e3df02ec82448 to your computer and use it in GitHub Desktop.
Prometheus configuration
$ cat /tmp/prom.yml
global:
scrape_interval: 5s
external_labels:
monitor: 'local-monitor'
# A scrape configuration containing exactly one endpoint to scrape:
scrape_configs:
- job_name: 'Docker4Mac'
static_configs:
- targets: ['172.17.0.1:9999']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment