Files
mtusi2026lab7-fork/infra/tempo/tempo.yaml

48 lines
1.3 KiB
YAML

# Tempo 2.6.1 (monolithic) — хранилище ТРАСС. Приём OTLP gRPC от Collector.
# Блоки на volume tempodata (local backend), хранение 72 ч.
stream_over_http_enabled: true
# lab7: HTTP API (запросы Grafana) — TLS + обязательный клиентский сертификат (mTLS);
# приём OTLP gRPC от Collector — тоже mTLS. Внутренний gRPC — только loopback.
server:
http_listen_port: 3200
grpc_listen_address: 127.0.0.1
grpc_listen_port: 9095
log_level: warn
# Минимальная версия TLS у dskit server по умолчанию — 1.2 (Go crypto/tls).
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
min_version: "1.2"
ingester:
max_block_duration: 5m
compactor:
compaction:
block_retention: 72h
storage:
trace:
backend: local
wal:
path: /var/tempo/wal
local:
path: /var/tempo/blocks
usage_report:
reporting_enabled: false