From 02707dd253819b2d3eb37098d660858e9170c264 Mon Sep 17 00:00:00 2001 From: sunt9751 Date: Thu, 18 Jul 2024 09:19:03 -0700 Subject: [PATCH] create branch --- prometheus.yml | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 prometheus.yml diff --git a/prometheus.yml b/prometheus.yml new file mode 100644 index 000000000..92143a72b --- /dev/null +++ b/prometheus.yml @@ -0,0 +1,8 @@ +global: + scrape_interval: 15s + +scrape_configs: + - job_name: 'spring-boot-app' + metrics_path: '/actuator/prometheus' + static_configs: + - targets: ['petclinic:8080'] \ No newline at end of file