From ae4c1677f434d4c93b844e8fc254e9fc4f316aca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9D=D0=B8=D0=BA=D0=B8=D1=84=D0=BE=D1=80=D0=BE=D0=B2?= =?UTF-8?q?=D0=B0=20=D0=95=D0=BA=D0=B0=D1=82=D0=B5=D1=80=D0=B8=D0=BD=D0=B0?= Date: Fri, 27 Nov 2026 20:02:44 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9B=D0=A07:=20=D0=B8=D1=81=D0=BF=D1=80=D0=B0?= =?UTF-8?q?=D0=B2=D0=B8=D1=82=D1=8C=20TLS-=D0=BA=D0=BE=D0=BD=D1=84=D0=B8?= =?UTF-8?q?=D0=B3=20Tempo=20=D0=B8=20Loki=20=D0=BF=D0=BE=20=D1=84=D0=B0?= =?UTF-8?q?=D0=BA=D1=82=D0=B8=D1=87=D0=B5=D1=81=D0=BA=D0=B8=D0=BC=20=D0=BA?= =?UTF-8?q?=D0=BB=D1=8E=D1=87=D0=B0=D0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 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 --- infra/loki.yaml | 4 +++- infra/tempo.yaml | 13 ++++++++++++- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/infra/loki.yaml b/infra/loki.yaml index e7b1e7b..008c2ba 100644 --- a/infra/loki.yaml +++ b/infra/loki.yaml @@ -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 diff --git a/infra/tempo.yaml b/infra/tempo.yaml index 0ae810c..e2d23a2 100644 --- a/infra/tempo.yaml +++ b/infra/tempo.yaml @@ -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