From 05b49ce49f27c1893047d3062b5f8994dda1955f Mon Sep 17 00:00:00 2001 From: Richard Morgan Date: Thu, 1 Nov 2018 20:11:47 -0400 Subject: [PATCH] add jenkins scraper to prometheus config --- dockerfiles/services/prometheus/prometheus.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/dockerfiles/services/prometheus/prometheus.yml b/dockerfiles/services/prometheus/prometheus.yml index fee75c9..ca840a3 100644 --- a/dockerfiles/services/prometheus/prometheus.yml +++ b/dockerfiles/services/prometheus/prometheus.yml @@ -59,3 +59,12 @@ scrape_configs: static_configs: - targets: - 'statsd_exporter:9102' + +- job_name: jenkins + metrics_path: '/prometheus' + scrape_interval: 60s + scrape_timeout: 9s + scheme: https + static_configs: + - targets: + - 'jenkins.xai-corp.net'