---
title: Grafana Tempo 分布式追踪存储与查询实践
keywords:
- Tempo
- OTLP
- S3 存储
- Jaeger 兼容
- 查询
description: 部署 Grafana Tempo 接收 OTLP 追踪并将数据写入对象存储,提供核心配置与查询验证方法。
categories:
- 文章资讯
- 编程技术
---
Grafana Tempo 分布式追踪存储与查询实践
tempo.yaml 核心片段
server:
http_listen_port: 3200
distributor:
receivers:
otlp:
protocols:
http:
ingester:
lifecycler:
ring:
kvstore:
store: memberlist
storage:
trace:
backend: s3
s3:
bucket: tempo-traces
endpoint: s3.amazonaws.com
access_key_id: YOUR_KEY
secret_access_key: YOUR_SECRET
compactor:
compaction:
block_retention: 168h
查询验证
- 通过 Grafana 或 Jaeger UI 连接 Tempo,按服务名与 TraceId 查询
总结
Tempo 提供低成本的分布式追踪存储能力,兼容 OTLP/Jaeger 接入并支持对象存储后端。

发表评论 取消回复