cloud-cluster/metrics/tempo-configmap.yaml
2025-03-03 16:47:59 +03:00

44 lines
865 B
YAML

apiVersion: v1
kind: ConfigMap
metadata:
name: tempo-config
namespace: metrics
annotations:
use-subpath: "true"
labels:
app.kubernetes.io/name: tempo
data:
config.yaml: |
stream_over_http_enabled: true
server:
http_listen_port: 3200
log_level: info
distributor:
receivers:
otlp:
protocols:
http:
grpc:
ingester:
max_block_bytes: 131072000 # 128mb
compactor:
compaction:
block_retention: 672h # 28 days
compacted_block_retention: 30m
retention_concurrency: 2
storage:
trace:
backend: local
wal:
path: /tempo-data/wal # where to store the the wal locally
local:
path: /tempo-data/blocks
overrides:
defaults:
global:
max_bytes_per_trace: 10000000