Stop duplicate nomad scraping

Already getting it from Client service
This commit is contained in:
IamTheFij 2022-07-29 13:01:22 -07:00
parent 9d57175584
commit 6d31c4e6d6

View File

@ -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: