mirror of
https://github.com/hanzoai/stack.git
synced 2026-11-19 03:06:57 +00:00
58 lines
1.1 KiB
YAML
58 lines
1.1 KiB
YAML
# Tempo configuration for distributed tracing
|
|
# Documentation: https://grafana.com/docs/tempo/latest/configuration/
|
|
|
|
server:
|
|
http_listen_port: 3200
|
|
|
|
distributor:
|
|
receivers:
|
|
otlp:
|
|
protocols:
|
|
grpc:
|
|
endpoint: 0.0.0.0:4317
|
|
http:
|
|
endpoint: 0.0.0.0:4318
|
|
jaeger:
|
|
protocols:
|
|
thrift_http:
|
|
endpoint: 0.0.0.0:14268
|
|
grpc:
|
|
endpoint: 0.0.0.0:14250
|
|
zipkin:
|
|
endpoint: 0.0.0.0:9411
|
|
|
|
ingester:
|
|
trace_idle_period: 10s
|
|
max_block_bytes: 1_000_000
|
|
max_block_duration: 5m
|
|
|
|
compactor:
|
|
compaction:
|
|
compaction_window: 1h
|
|
max_block_bytes: 100_000_000
|
|
block_retention: 1h
|
|
compacted_block_retention: 10m
|
|
|
|
storage:
|
|
trace:
|
|
backend: local
|
|
local:
|
|
path: /tmp/tempo/blocks
|
|
wal:
|
|
path: /tmp/tempo/wal
|
|
|
|
metrics_generator:
|
|
registry:
|
|
external_labels:
|
|
source: tempo
|
|
storage:
|
|
path: /tmp/tempo/generator/wal
|
|
remote_write:
|
|
- url: http://metrics:8428/api/v1/write
|
|
send_exemplars: true
|
|
|
|
overrides:
|
|
defaults:
|
|
metrics_generator:
|
|
processors: [service-graphs, span-metrics]
|