Files
ljwx-k8s/tempo-values.yaml
2026-02-20 22:50:45 +08:00

68 lines
1.4 KiB
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 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