From 1ed26790fe1f4ed65392c07c8066bc573b3ae3f6 Mon Sep 17 00:00:00 2001 From: Lihan Date: Sun, 28 Jul 2024 21:38:16 -0400 Subject: [PATCH] Updated Prometheus yaml file. --- prometheus.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/prometheus.yml b/prometheus.yml index 92143a72b..f7fae4520 100644 --- a/prometheus.yml +++ b/prometheus.yml @@ -5,4 +5,9 @@ scrape_configs: - job_name: 'spring-boot-app' metrics_path: '/actuator/prometheus' static_configs: - - targets: ['petclinic:8080'] \ No newline at end of file + - targets: ['petclinic:8080'] + + - job_name: 'jenkins' + metrics_path: '/prometheus' + static_configs: + - targets: ['localhost:8081'] \ No newline at end of file