Files
mtusi2026lab7/infra/tempo/tempo.yaml
T

42 lines
1.3 KiB
YAML

# Tempo 2 — хранилище трасс (локальный backend на volume). Приём OTLP gRPC от
# Collector; поиск TraceQL и выдача трассы по ID для Grafana.
stream_over_http_enabled: true
# Lab7: HTTP API (Grafana, Prometheus) и OTLP-приём — mTLS по CA стенда.
server:
http_listen_port: 3200
log_level: warn
http_tls_config:
cert_file: /run/secrets/tempo.crt
key_file: /run/secrets/tempo.key
client_auth_type: RequireAndVerifyClientCert
client_ca_file: /run/secrets/ca.crt
distributor:
receivers:
otlp:
protocols:
grpc:
endpoint: 0.0.0.0:4317
tls:
cert_file: /run/secrets/tempo.crt
key_file: /run/secrets/tempo.key
client_ca_file: /run/secrets/ca.crt
# Явный адрес frontend для querier в single-binary: автоматическая настройка после
# рестарта Tempo оставляла запросы без ответа (прогон 4, отказ backend).
querier:
frontend_worker:
frontend_address: 127.0.0.1:9095
ingester:
max_block_duration: 5m
compactor:
compaction:
block_retention: 168h
storage:
trace:
backend: local
wal:
path: /var/tempo/wal
local:
path: /var/tempo/blocks
usage_report:
reporting_enabled: false