ЛР6: OpenTelemetry, Collector, Prometheus/Loki/Tempo, Grafana, алерты, исследование цены наблюдаемости

This commit is contained in:
kolya5544
2026-10-03 05:10:45 +03:00
parent 470d9d6f1e
commit 1d908578e3
79 changed files with 10501 additions and 38 deletions
+33
View File
@@ -0,0 +1,33 @@
# Tempo: хранилище трасс (локальный диск, volume tempodata, retention 7 суток). Принимает OTLP/gRPC от Collector.
stream_over_http_enabled: true
server:
http_listen_port: 3200
log_level: warn
distributor:
receivers:
otlp:
protocols:
grpc:
endpoint: 0.0.0.0:4317
ingester:
max_block_duration: 1m
compactor:
compaction:
block_retention: 168h
storage:
trace:
backend: local
wal:
path: /var/tempo/wal
local:
path: /var/tempo/blocks
# Лимиты приёма: значения по умолчанию (10 000 «живых» трасс на тенанта) отбрасывали до 30 % спанов под нагрузкой
# (метрика tempo_discarded_spans_total{reason="live_traces_exceeded"}) — найдено экспериментом «цена наблюдаемости».
overrides:
defaults:
ingestion:
max_traces_per_user: 150000
rate_limit_bytes: 50000000
burst_size_bytes: 100000000
usage_report:
reporting_enabled: false