forked from mtusi2026/mtusi2026lab7
ЛР7
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
global:
|
||||
scrape_interval: 15s
|
||||
|
||||
scrape_configs:
|
||||
- job_name: 'otel-collector'
|
||||
static_configs:
|
||||
- targets: ['otel-collector:8889']
|
||||
|
||||
# Добавляем сбор метрик с API (Spring Boot Actuator)
|
||||
- job_name: 'messenger-api'
|
||||
metrics_path: '/actuator/prometheus'
|
||||
static_configs:
|
||||
- targets: ['api:8080']
|
||||
Reference in New Issue
Block a user