gc-infra/iac/ansible/resources/monitoring/config/tempo.v1.yml

36 lines
1.2 KiB
YAML

server:
http_listen_port: 3200 # Standard API/UI Port
distributor:
receivers: # OTLP receiver aktivieren (Tempo kann auch direkt empfangen)
otlp:
protocols:
grpc:
endpoint: 0.0.0.0:4317
http:
endpoint: 0.0.0.0:4318
# Grundlegende Konfiguration für Datenverarbeitung (meist ok für Start)
ingester:
trace_idle_period: 10s
max_block_bytes: 1048576 # 1MB
max_block_duration: 5m
compactor:
compaction:
block_retention: 1h # Wie lange Blöcke mindestens aufheben (geringer Wert für Test)
# WICHTIG: Storage explizit definieren!
storage:
trace:
backend: local # Backend-Typ: lokales Dateisystem
# Write Ahead Log (WAL) configuration.
wal:
path: /tmp/tempo/wal # Directory to store the the WAL locally.
# Local configuration for filesystem storage.
local:
path: /tmp/tempo/blocks # Directory to store the TSDB blocks.
# Pool used for finding trace IDs.
pool:
max_workers: 100 # Worker pool determines the number of parallel requests to the object store backend.
queue_depth: 10000 # Maximum depth for the querier queue jobs. A job is required for each block searched.