From c0afa52edc3776dc840e851767e992464c1d0408 Mon Sep 17 00:00:00 2001 From: Ian Fijolek Date: Fri, 29 Jul 2022 13:01:22 -0700 Subject: [PATCH] Stop duplicate nomad scraping Already getting it from Client service --- metrics/prometheus.nomad | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/metrics/prometheus.nomad b/metrics/prometheus.nomad index 002cc35..ae6b3de 100644 --- a/metrics/prometheus.nomad +++ b/metrics/prometheus.nomad @@ -91,19 +91,6 @@ scrape_configs: - targets: - 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" metrics_path: "/v1/metrics" params: