ЛР7: исправить TLS-конфиг Tempo и Loki по фактическим ключам

- 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>
This commit is contained in:
2026-11-27 20:02:44 +03:00
co-authored by O3 Agent Claude
parent 43d167f66b
commit ae4c1677f4
2 changed files with 15 additions and 2 deletions
+3 -1
View File
@@ -7,7 +7,9 @@ server:
http_tls_config:
cert_file: /run/secrets/loki_crt
key_file: /run/secrets/loki_key
min_version: TLS12
grpc_tls_config:
cert_file: /run/secrets/loki_crt
key_file: /run/secrets/loki_key
common:
path_prefix: /loki
+12 -1
View File
@@ -2,7 +2,11 @@ server:
http_listen_port: 3200
grpc_listen_port: 9095
log_level: warn
tls:
# 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
@@ -12,8 +16,15 @@ distributor:
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