diff --git a/prometheus.yml b/prometheus.yml index abb0d618..5a067c96 100644 --- a/prometheus.yml +++ b/prometheus.yml @@ -8,7 +8,7 @@ scrape_configs: - job_name: 'spring-boot-apps' static_configs: - - targets: ['app1:8080', 'app2:8080', 'app3:8080'] + - targets: ['host.docker.internal:8081', 'host.docker.internal:8082', 'host.docker.internal:8083'] metrics_path: '/actuator/prometheus' - job_name: 'mysql'