Skip to content

Instantly share code, notes, and snippets.

@iamabhishek-dubey
Created November 24, 2017 11:46
Show Gist options
  • Save iamabhishek-dubey/f43a5edcd53cab28a16b6a18772a3243 to your computer and use it in GitHub Desktop.
Save iamabhishek-dubey/f43a5edcd53cab28a16b6a18772a3243 to your computer and use it in GitHub Desktop.
Prometheus
scrape_configs:
- job_name: "node"
scrape_interval: "15s"
static_configs:
- targets: ['localhost:9100']
- targets: ['192.168.2.10:9117']
- targets: ['192.168.2.10:9104']
- targets: ['192.168.2.25:9115'] # Target to probe with http on port 8
- job_name: "haproxy_exporter"
scrape_interval: "5s"
static_configs:
- targets: ['192.168.2.22:9101']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment