Stop duplicate nomad scraping
Already getting it from Client service
This commit is contained in:
parent
0e0ff7bbac
commit
c0afa52edc
@ -91,19 +91,6 @@ scrape_configs:
|
|||||||
- targets:
|
- targets:
|
||||||
- 0.0.0.0:9090
|
- 0.0.0.0:9090
|
||||||
|
|
||||||
- job_name: "nomad_server"
|
|
||||||
metrics_path: "/v1/metrics"
|
|
||||||
params:
|
|
||||||
format:
|
|
||||||
- "prometheus"
|
|
||||||
consul_sd_configs:
|
|
||||||
- server: "${var.consul_address}"
|
|
||||||
# - server: "{{ env "CONSUL_HTTP_ADDR" }}"
|
|
||||||
services:
|
|
||||||
- "nomad"
|
|
||||||
tags:
|
|
||||||
- "http"
|
|
||||||
|
|
||||||
- job_name: "nomad_client"
|
- job_name: "nomad_client"
|
||||||
metrics_path: "/v1/metrics"
|
metrics_path: "/v1/metrics"
|
||||||
params:
|
params:
|
||||||
|
Loading…
Reference in New Issue
Block a user