From 05b2956320752cc49cc26c3abf486427a0c431c1 Mon Sep 17 00:00:00 2001 From: Khurram Baig Date: Mon, 20 Jan 2025 21:58:06 +0530 Subject: [PATCH] Optimizing Vector Configuration to avoid missing logs Optimized the vector configuration to avoid missing logs. --- .../development/vector-helm-values.yaml | 3 ++- .../staging/vector-helm-values.yaml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/components/vector-tekton-logs-collector/development/vector-helm-values.yaml b/components/vector-tekton-logs-collector/development/vector-helm-values.yaml index 4846fb3925e..da4700aa9d4 100644 --- a/components/vector-tekton-logs-collector/development/vector-helm-values.yaml +++ b/components/vector-tekton-logs-collector/development/vector-helm-values.yaml @@ -17,7 +17,8 @@ customConfig: kubernetes_logs: type: kubernetes_logs rotate_wait_secs: 5 - glob_minimum_cooldown_ms: 15000 + glob_minimum_cooldown_ms: 500 + max_read_bytes: 3145728 auto_partial_merge: true extra_label_selector: "app.kubernetes.io/managed-by in (tekton-pipelines,pipelinesascode.tekton.dev)" internal_metrics: diff --git a/components/vector-tekton-logs-collector/staging/vector-helm-values.yaml b/components/vector-tekton-logs-collector/staging/vector-helm-values.yaml index 4846fb3925e..da4700aa9d4 100644 --- a/components/vector-tekton-logs-collector/staging/vector-helm-values.yaml +++ b/components/vector-tekton-logs-collector/staging/vector-helm-values.yaml @@ -17,7 +17,8 @@ customConfig: kubernetes_logs: type: kubernetes_logs rotate_wait_secs: 5 - glob_minimum_cooldown_ms: 15000 + glob_minimum_cooldown_ms: 500 + max_read_bytes: 3145728 auto_partial_merge: true extra_label_selector: "app.kubernetes.io/managed-by in (tekton-pipelines,pipelinesascode.tekton.dev)" internal_metrics: