Updated Prometheus yaml file.

This commit is contained in:
Lihan 2024-07-28 21:38:16 -04:00
parent db60d2e6ff
commit 1ed26790fe

View file

@ -5,4 +5,9 @@ scrape_configs:
- job_name: 'spring-boot-app'
metrics_path: '/actuator/prometheus'
static_configs:
- targets: ['petclinic:8080']
- targets: ['petclinic:8080']
- job_name: 'jenkins'
metrics_path: '/prometheus'
static_configs:
- targets: ['localhost:8081']