From e48e8f9617643c3c34b2c5e00736a51542048b20 Mon Sep 17 00:00:00 2001 From: classabbyamp Date: Mon, 5 Aug 2024 09:41:21 -0400 Subject: [PATCH] services/nomad/monitoring/prometheus.yml: monitor buildbot metrics --- services/nomad/monitoring/prometheus.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/services/nomad/monitoring/prometheus.yml b/services/nomad/monitoring/prometheus.yml index aaa09abb..047ecb33 100644 --- a/services/nomad/monitoring/prometheus.yml +++ b/services/nomad/monitoring/prometheus.yml @@ -268,3 +268,8 @@ scrape_configs: relabel_configs: - source_labels: ['__meta_consul_node'] target_label: instance + - job_name: buildbot + consul_sd_configs: + - server: {{ env "NOMAD_HOST_IP_http" }}:8500 + datacenter: void + services: ['buildbot-metrics']