68 lines
1.4 KiB
YAML
68 lines
1.4 KiB
YAML
# Tempo 配置(适用于 OrbStack 单节点环境)
|
||
# 分布式追踪和链路存储方案
|
||
|
||
# 使用单体模式(适合本地开发)
|
||
tempo:
|
||
# 搜索功能启用(允许在 Grafana 中搜索 trace)
|
||
searchEnabled: true
|
||
|
||
# Metrics 生成器(生成 RED 指标)
|
||
metricsGenerator:
|
||
enabled: true
|
||
remoteWriteUrl: "http://prometheus.monitoring.svc.cluster.local:9090/api/v1/write"
|
||
|
||
# 存储配置
|
||
storage:
|
||
trace:
|
||
backend: local
|
||
local:
|
||
path: /var/tempo/traces
|
||
wal:
|
||
path: /var/tempo/wal
|
||
|
||
# 接收器配置(支持多种协议)
|
||
receivers:
|
||
jaeger:
|
||
protocols:
|
||
thrift_http:
|
||
endpoint: 0.0.0.0:14268
|
||
grpc:
|
||
endpoint: 0.0.0.0:14250
|
||
thrift_binary:
|
||
endpoint: 0.0.0.0:6832
|
||
thrift_compact:
|
||
endpoint: 0.0.0.0:6831
|
||
zipkin:
|
||
endpoint: 0.0.0.0:9411
|
||
otlp:
|
||
protocols:
|
||
http:
|
||
endpoint: 0.0.0.0:4318
|
||
grpc:
|
||
endpoint: 0.0.0.0:4317
|
||
opencensus:
|
||
endpoint: 0.0.0.0:55678
|
||
|
||
# 持久化存储
|
||
persistence:
|
||
enabled: true
|
||
size: 10Gi
|
||
storageClassName: "" # 使用默认 StorageClass
|
||
|
||
# 资源限制
|
||
resources:
|
||
requests:
|
||
cpu: 100m
|
||
memory: 256Mi
|
||
limits:
|
||
cpu: 1000m
|
||
memory: 1Gi
|
||
|
||
# Service Monitor(Prometheus 监控)
|
||
serviceMonitor:
|
||
enabled: false
|
||
|
||
# Grafana Agent(不需要,我们用 OTel Collector)
|
||
grafana-agent:
|
||
enabled: false
|