ЛР6: реализована наблюдаемость (оценка 3)

This commit is contained in:
2026-11-24 16:55:08 +03:00
parent a1071c87e9
commit 961bc4139c
13 changed files with 424 additions and 79 deletions
+13
View File
@@ -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']