This commit is contained in:
Yevgeniy Ulyantsev
2026-01-30 21:43:46 +03:00
parent b889d34575
commit 309b3a9c95
3 changed files with 21 additions and 5 deletions

View File

@@ -2,6 +2,14 @@ global:
scrape_interval: 15s
scrape_configs:
- job_name: otel-collector
- job_name: 'otel-collector'
static_configs:
- targets: ['otel-collector:8888']
# Это метрики самого коллектора
- job_name: 'application-metrics'
static_configs:
- targets: ['otel-collector:8889']
# Это прикладные метрики из вашего приложения
scrape_interval: 10s
metrics_path: /metrics