Files
mtusi2026lab7/infra/tempo/tempo.yaml
T
2026-11-08 00:33:25 +03:00

44 lines
1.5 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Tempo 2.9.0 стенда lab7 — хранилище ТРАСС (один процесс, данные на диске в volume tempodata).
#
# Трассы приходят от Collector по OTLP/HTTP, Grafana ищет трассы по trace_id и TraceQL.
stream_over_http_enabled: true
# С lab7: Tempo слушает ТОЛЬКО 127.0.0.1 общего с шлюзом tsdb-gw network namespace
# (network_mode: service:tsdb-gw). Снаружи: tempo:3200 (запросы, только identity grafana) и
# tempo:4318 (приём OTLP, только identity otel-collector) — mTLS и allowlist в infra/tsdb/gateway.cfg.
# Почему шлюз: у HTTP-сервера Tempo нет списка разрешённых identity, только «сертификат нашего CA».
server:
http_listen_address: 127.0.0.1
http_listen_port: 13200
grpc_listen_address: 127.0.0.1
log_level: warn
# Кольцо компонентов одного процесса: gossip только на loopback, в сеть не выходит.
memberlist:
bind_addr: ["127.0.0.1"]
distributor:
receivers:
otlp:
protocols:
http:
endpoint: 127.0.0.1:14318
ingester:
max_block_duration: 5m # блок трасс сбрасывается на диск не реже раза в 5 минут
compactor:
compaction:
block_retention: 168h # 7 дней
storage:
trace:
backend: local
wal:
path: /var/tempo/wal
local:
path: /var/tempo/blocks
usage_report:
reporting_enabled: false