2019-03-23 15:07:06 +00:00
|
|
|
---
|
|
|
|
- hosts: prometheus
|
|
|
|
roles:
|
|
|
|
- cloudalchemy.prometheus
|
|
|
|
vars:
|
|
|
|
prometheus_scrape_configs:
|
|
|
|
- job_name: "prometheus" # Custom scrape job, here using `static_config`
|
|
|
|
metrics_path: "/metrics"
|
|
|
|
static_configs:
|
|
|
|
- targets:
|
|
|
|
- "localhost:9090"
|
|
|
|
- job_name: "netdata-scrape"
|
|
|
|
metrics_path: "/api/v1/allmetrics"
|
2019-03-23 15:20:48 +00:00
|
|
|
params:
|
|
|
|
- format: "prometheus_all_hosts"
|
2019-03-23 15:28:45 +00:00
|
|
|
honor_labels: true
|
2019-03-23 15:07:06 +00:00
|
|
|
static_configs:
|
|
|
|
- targets:
|
|
|
|
- "netdata.internal.sickstack.com:19999"
|