Files
2026-07-13 12:24:33 +08:00

43 lines
1.0 KiB
YAML

server:
http_listen_port: 3200
distributor:
receivers:
otlp:
protocols:
grpc:
endpoint: 0.0.0.0:4317
http:
endpoint: 0.0.0.0:4318
# Keep recent traces in the local-blocks processor so Grafana can compute
# TraceQL metrics (span latency / rate graphs) without a separate backend.
metrics_generator:
processor:
local_blocks:
flush_to_storage: true
# Cut/complete blocks quickly so TraceQL-metrics see recent traces within
# seconds (sparse demo traffic otherwise sits in an open block for minutes).
trace_idle_period: 5s
flush_check_period: 5s
max_block_duration: 30s
complete_block_timeout: 1h
storage:
path: /var/tempo/generator/wal
traces_storage:
path: /var/tempo/generator/traces
storage:
trace:
backend: local
local:
path: /var/tempo/blocks
wal:
path: /var/tempo/wal
# Turn on the local-blocks processor for the (single, default) tenant.
overrides:
defaults:
metrics_generator:
processors: [local-blocks]