forked from mtusi2026/mtusi2026lab6
ЛР6: OpenTelemetry, Collector, Prometheus/Loki/Tempo, Grafana, алерты, исследование цены наблюдаемости
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user