Files
mtusi2026lab7/infra/tempo/tempo.yaml
T

44 lines
1.1 KiB
YAML

# Tempo 2.10.10 — хранилище трасс (монолит, локальный диск в volume tempo-data; WAL переживает перезапуск).
# Spans приходят от Collector по OTLP gRPC :4317 (сеть telemetry); Grafana читает через HTTP :3200 (TraceQL).
stream_over_http_enabled: true
server:
http_listen_port: 3200
grpc_listen_address: 127.0.0.1
grpc_listen_port: 9095
log_level: warn
http_tls_config:
cert_file: /run/identity/tls.crt
key_file: /run/identity/tls.key
client_auth_type: RequireAndVerifyClientCert
client_ca_file: /run/telemetry/ca.crt
distributor:
receivers:
otlp:
protocols:
grpc:
endpoint: 0.0.0.0:4317
tls:
cert_file: /run/identity/tls.crt
key_file: /run/identity/tls.key
client_ca_file: /run/collector-ca/ca.crt
ingester:
max_block_duration: 5m
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