1
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user