Skip to content
Snippets Groups Projects
Verified Commit 60c70d58 authored by Adam Krídl's avatar Adam Krídl
Browse files

Divide module observations into individual jobs

parent 98575aa3
No related branches found
No related tags found
No related merge requests found
...@@ -7,10 +7,23 @@ scrape_configs: ...@@ -7,10 +7,23 @@ scrape_configs:
- job_name: 'prometheus' - job_name: 'prometheus'
static_configs: static_configs:
- targets: ['localhost:9090'] - targets: ['localhost:9090']
- job_name: 'microservices'
- job_name: 'module-core'
metrics_path: /actuator/prometheus
static_configs:
- targets: ['core:8080']
- job_name: 'module-user'
metrics_path: /actuator/prometheus
static_configs:
- targets: ['user:8083']
- job_name: 'module-report'
metrics_path: /actuator/prometheus
static_configs:
- targets: ['report:8085']
- job_name: 'module-weather'
metrics_path: /actuator/prometheus metrics_path: /actuator/prometheus
static_configs: static_configs:
- targets: ['localhost:8080'] - targets: ['weather:8088']
- targets: ['localhost:8083']
- targets: ['localhost:8085']
- targets: ['localhost:8088']
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment