forked from mtusi2026/mtusi2026lab7
- Tempo: сервер использует http_tls_config/grpc_tls_config (dskit), а OTLP-приёмник — собственный tls в протоколе grpc/http; прежний server.tls молча игнорировался, и Collector→Tempo шёл бы plaintext - Loki: добавлен grpc_tls_config; убран невалидный min_version из TLS-блоков (в dskit это server.tls_min_version) Co-Authored-By: O3 Agent Claude <noreply@ozon.ru>
50 lines
1.1 KiB
YAML
50 lines
1.1 KiB
YAML
server:
|
|
http_listen_port: 3200
|
|
grpc_listen_port: 9095
|
|
log_level: warn
|
|
# dskit-сервер Tempo: TLS для HTTP API (Grafana) и gRPC API.
|
|
http_tls_config:
|
|
cert_file: /run/secrets/tempo_crt
|
|
key_file: /run/secrets/tempo_key
|
|
grpc_tls_config:
|
|
cert_file: /run/secrets/tempo_crt
|
|
key_file: /run/secrets/tempo_key
|
|
|
|
distributor:
|
|
receivers:
|
|
otlp:
|
|
protocols:
|
|
grpc:
|
|
endpoint: 0.0.0.0:4317
|
|
# OTLP-приёмник с собственным TLS; Collector проверяет сервер по CA.
|
|
tls:
|
|
cert_file: /run/secrets/tempo_crt
|
|
key_file: /run/secrets/tempo_key
|
|
http:
|
|
endpoint: 0.0.0.0:4318
|
|
tls:
|
|
cert_file: /run/secrets/tempo_crt
|
|
key_file: /run/secrets/tempo_key
|
|
|
|
ingester:
|
|
max_block_duration: 5m
|
|
|
|
compactor:
|
|
compaction:
|
|
block_retention: 24h
|
|
|
|
storage:
|
|
trace:
|
|
backend: local
|
|
local:
|
|
path: /var/tempo/traces
|
|
wal:
|
|
path: /var/tempo/wal
|
|
|
|
metrics_generator:
|
|
registry:
|
|
external_labels:
|
|
source: tempo
|
|
storage:
|
|
path: /var/tempo/generator/wal
|