Files
mtusi2026lab7-safronov/infra/otel/tempo/tempo.yaml
T

49 lines
1.8 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 3.1.1 — хранилище трасс (design change otel-telemetry, решение 15).
# Монолит (-target=all) с локальным хранилищем, без Kafka, metrics-generator и
# MCP. Блоки и WAL — volume tempo_data (/var/tempo), срок хранения блоков —
# 7 суток. С change telemetry-backends-tls (design, решения 2–4) все порты
# Tempo — только loopback пространства шлюза tempo-gateway: в сеть шлюз
# выводит приём OTLP (:4318, только Collector) и запросы (:3200, Grafana и
# Prometheus) по mTLS; порты Tempo другие (13200, 14318) — номера шлюза
# заняты в том же пространстве.
# потоковые запросы (gRPC поверх HTTP/2) выключены: через шлюз — только REST,
# у источника Grafana streamingEnabled тоже выключен (решение 4)
stream_over_http_enabled: false
server:
http_listen_address: 127.0.0.1
http_listen_port: 13200
grpc_listen_address: 127.0.0.1
log_level: info
distributor:
receivers:
otlp:
protocols:
http:
endpoint: 127.0.0.1:14318
storage:
trace:
backend: local
wal:
path: /var/tempo/wal
local:
path: /var/tempo/blocks
# срок хранения блоков. В Tempo 3.x задания удаления ставит backend-scheduler
# (retention provider), выполняет backend-worker; у обоих свой ключ
# block_retention (по умолчанию 336h), поэтому оба — 7 суток
backend_scheduler:
provider:
compaction:
compaction:
block_retention: 168h
backend_worker:
compaction:
block_retention: 168h
usage_report:
reporting_enabled: false