Grafana Tempo 分布式追踪后端
Grafana Tempo 是低成本分布式追踪后端,接收 OTLP/Jaeger/Zipkin 数据,按 trace ID 存储到对象存储,配合 Grafana 查询。
tempo -config.file=/etc/tempo/tempo.yaml
tempo -config.file=/etc/tempo/tempo.yaml -target=all
tempo-cli --help
配置要点:
server:
http_listen_port: 3200
distributor:
receivers:
otlp:
protocols:
grpc:
endpoint: 0.0.0.0:4317
http:
endpoint: 0.0.0.0:4318
storage:
trace:
backend: s3
s3:
bucket: tempo-traces
endpoint: s3.example.com
X-Scope-OrgID 和认证。tempo — 追踪后端grafana — 查询与可视化otel-cli — 链路埋点