Лаба6 - оценка 4

This commit is contained in:
2026-11-20 13:10:55 +03:00
parent 470d9d6f1e
commit a3c48d41e9
58 changed files with 8083 additions and 30 deletions
+22
View File
@@ -0,0 +1,22 @@
# LAB 6: Prometheus — хранилище метрик (pull).
# Два job'а: метрики приложения (через Collector exporter) и
# собственные метрики Collector (потери/очереди/память).
global:
scrape_interval: 5s
evaluation_interval: 5s
external_labels:
lab: messenger
scrape_configs:
- job_name: otel-app
static_configs:
- targets: ['otel:8889']
labels:
source: application
- job_name: otel-collector
static_configs:
- targets: ['otel:8888']
labels:
source: collector