Лаба6 - оценка 4
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user