Skip to content
Snippets Groups Projects
Commit 8e82edf6 authored by Jan Pokorný's avatar Jan Pokorný :lifter_tone2:
Browse files

fixing prometheus.yml for linux and macOS

parent d32ad1c4
No related branches found
No related tags found
1 merge request!33M3 observability
Pipeline #
...@@ -6,20 +6,33 @@ global: ...@@ -6,20 +6,33 @@ global:
scrape_configs: scrape_configs:
- job_name: 'prometheus' - job_name: 'prometheus'
static_configs: static_configs:
- targets: ['localhost:9090'] - targets:
- 'localhost:9090'
- job_name: 'module-certificate' - job_name: 'module-certificate'
metrics_path: /actuator/prometheus metrics_path: '/actuator/prometheus'
static_configs: static_configs:
- targets: ['host.docker.internal:5001'] - targets:
- 'host.docker.internal:5001'
- 'docker.for.mac.localhost:5001'
- 'certificate:5001'
- job_name: 'module-exercise' - job_name: 'module-exercise'
metrics_path: /actuator/prometheus metrics_path: '/actuator/prometheus'
static_configs: static_configs:
- targets: ['host.docker.internal:5002'] - targets:
- 'host.docker.internal:5002'
- 'docker.for.mac.localhost:5002'
- 'exercise:5002'
- job_name: 'module-language-school' - job_name: 'module-language-school'
metrics_path: /actuator/prometheus metrics_path: '/actuator/prometheus'
static_configs: static_configs:
- targets: ['host.docker.internal:5000'] - targets:
- 'host.docker.internal:5000'
- 'docker.for.mac.localhost:5000'
- 'language-school:5000'
- job_name: 'module-mail' - job_name: 'module-mail'
metrics_path: /actuator/prometheus metrics_path: '/actuator/prometheus'
static_configs: static_configs:
- targets: ['host.docker.internal:5003'] - targets:
- 'host.docker.internal:5003'
- 'docker.for.mac.localhost:5003'
- 'mail:5003'
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