Updated Prometheus yaml file.

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

View file

@ -6,3 +6,8 @@ scrape_configs:
metrics_path: '/actuator/prometheus' metrics_path: '/actuator/prometheus'
static_configs: static_configs:
- targets: ['petclinic:8080'] - targets: ['petclinic:8080']
- job_name: 'jenkins'
metrics_path: '/prometheus'
static_configs:
- targets: ['localhost:8081']