Files
mtusi2026lab7/infra/tempo.yaml
T

50 lines
1.4 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.
server:
http_listen_port: 3200
grpc_listen_port: 9095
log_level: warn
# TLS только на HTTP API (Grafana, probe). Внутренний gRPC 9095 — loopback
# между компонентами одного процесса Tempo; grpc_tls_config там ломает
# внутренние клиенты ("error reading server preface"). OTLP-приёмник на 4317
# имеет собственный TLS (см. distributor.receivers.otlp), он и нужен collector'у.
http_tls_config:
cert_file: /run/secrets/tempo_crt
key_file: /run/secrets/tempo_key
distributor:
receivers:
otlp:
protocols:
grpc:
endpoint: 0.0.0.0:4317
# OTLP-приёмник с собственным TLS; Collector проверяет сервер по CA.
tls:
cert_file: /run/secrets/tempo_crt
key_file: /run/secrets/tempo_key
http:
endpoint: 0.0.0.0:4318
tls:
cert_file: /run/secrets/tempo_crt
key_file: /run/secrets/tempo_key
ingester:
max_block_duration: 5m
compactor:
compaction:
block_retention: 24h
storage:
trace:
backend: local
local:
path: /var/tempo/traces
wal:
path: /var/tempo/wal
metrics_generator:
registry:
external_labels:
source: tempo
storage:
path: /var/tempo/generator/wal