From 11bbd7ea0ab3a0d8e51719a07f00c16ea7f93d0c Mon Sep 17 00:00:00 2001 From: rohow Date: Mon, 14 Apr 2025 10:21:57 +0800 Subject: [PATCH] =?UTF-8?q?fix(loki):=20=E4=BF=AE=E5=A4=8D=E6=97=A5?= =?UTF-8?q?=E5=BF=97=E5=8C=B9=E9=85=8D=E8=A7=84=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/infra/monitor/loki/helmchart-promtail.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/infra/monitor/loki/helmchart-promtail.yaml b/apps/infra/monitor/loki/helmchart-promtail.yaml index c926bb8..b0f8efa 100644 --- a/apps/infra/monitor/loki/helmchart-promtail.yaml +++ b/apps/infra/monitor/loki/helmchart-promtail.yaml @@ -25,5 +25,5 @@ spec: regex: true # 匹配log_collecting_only_errors标签并只保留stderr流 - source_labels: [__meta_kubernetes_pod_label_log_collecting_only_errors] - action: keep - regex: stderr + action: drop + regex: stdout