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