48 lines
1.5 KiB
YAML
48 lines
1.5 KiB
YAML
# Tempo 2.10 (grafana/tempo:2.10.10), single binary, lab 6: the TRACES store.
|
|
# Spans arrive from the Collector over OTLP/HTTP (:4318). Blocks + WAL on the named volume
|
|
# tempodata; traces are kept 72 h. Search by attributes (TraceQL), e.g.
|
|
# { resource.service.name = "messenger-worker" && span.messenger.job.outcome = "retry" }
|
|
stream_over_http_enabled: true
|
|
|
|
server:
|
|
http_listen_port: 3200
|
|
grpc_listen_address: 127.0.0.1
|
|
log_level: warn
|
|
# Lab 7: HTTPS + mandatory client certificate of the internal CA (otel-collector pushes,
|
|
# grafana queries, prometheus scrapes). gRPC is internal to the single binary: loopback only.
|
|
http_tls_config:
|
|
cert_file: /run/secrets/tempo.crt
|
|
key_file: /run/secrets/tempo.key
|
|
client_auth_type: RequireAndVerifyClientCert
|
|
client_ca_file: /run/secrets/internal-ca.crt
|
|
|
|
distributor:
|
|
receivers:
|
|
otlp:
|
|
protocols:
|
|
http:
|
|
endpoint: 0.0.0.0:4318
|
|
tls: # only the Collector (client certificate of the internal CA)
|
|
cert_file: /run/secrets/tempo.crt
|
|
key_file: /run/secrets/tempo.key
|
|
client_ca_file: /run/secrets/internal-ca.crt
|
|
min_version: "1.2"
|
|
|
|
ingester:
|
|
max_block_duration: 5m # small blocks: a restart loses at most the WAL replay time
|
|
|
|
compactor:
|
|
compaction:
|
|
block_retention: 72h
|
|
|
|
storage:
|
|
trace:
|
|
backend: local
|
|
wal:
|
|
path: /var/tempo/wal
|
|
local:
|
|
path: /var/tempo/blocks
|
|
|
|
usage_report:
|
|
reporting_enabled: false
|