Merge pull request 'Unmonitor k8s.' (#77) from unmonitor-k8s into master
Reviewed-on: #77
This commit is contained in:
commit
3c8de04494
|
@ -19,21 +19,6 @@ rule_files:
|
||||||
# Here it's Prometheus itself.
|
# Here it's Prometheus itself.
|
||||||
scrape_configs:
|
scrape_configs:
|
||||||
# The job name is added as a label `job=<job_name>` to any timeseries scraped from this config.
|
# The job name is added as a label `job=<job_name>` to any timeseries scraped from this config.
|
||||||
- job_name: 'federate'
|
|
||||||
scrape_interval: 15s
|
|
||||||
|
|
||||||
honor_labels: true
|
|
||||||
metrics_path: '/federate'
|
|
||||||
|
|
||||||
params:
|
|
||||||
'match[]':
|
|
||||||
- '{job="prometheus"}'
|
|
||||||
- '{__name__=~"job:.*"}'
|
|
||||||
|
|
||||||
static_configs:
|
|
||||||
- targets:
|
|
||||||
- '192.168.10.204:9090'
|
|
||||||
|
|
||||||
- job_name: 'prometheus'
|
- job_name: 'prometheus'
|
||||||
|
|
||||||
# metrics_path defaults to '/metrics'
|
# metrics_path defaults to '/metrics'
|
||||||
|
|
Loading…
Reference in New Issue