From 27111e48d3c9746251c952f5925148762011d11c Mon Sep 17 00:00:00 2001 From: Serhii Ponomarenko <116438358+tiptophelmet@users.noreply.github.com> Date: Thu, 23 Apr 2026 18:20:22 +0300 Subject: [PATCH] :hammer: Create dashboard entries-limit helm value (#1914) * :hammer: Create dashboard entries-limit helm value * :hammer: Set default value for entries-limit env --- config/configStructs/tapConfig.go | 1 + helm-chart/templates/06-front-deployment.yaml | 2 ++ helm-chart/values.yaml | 1 + 3 files changed, 4 insertions(+) diff --git a/config/configStructs/tapConfig.go b/config/configStructs/tapConfig.go index 3d8c88ac1..2db3a7317 100644 --- a/config/configStructs/tapConfig.go +++ b/config/configStructs/tapConfig.go @@ -203,6 +203,7 @@ type DashboardConfig struct { StreamingType string `yaml:"streamingType" json:"streamingType" default:"connect-rpc"` CompleteStreamingEnabled bool `yaml:"completeStreamingEnabled" json:"completeStreamingEnabled" default:"true"` ClusterWideMapEnabled bool `yaml:"clusterWideMapEnabled" json:"clusterWideMapEnabled" default:"false"` + EntriesLimit string `yaml:"entriesLimit" json:"entriesLimit" default:"300000"` } type FrontRoutingConfig struct { diff --git a/helm-chart/templates/06-front-deployment.yaml b/helm-chart/templates/06-front-deployment.yaml index b16e63918..ab30f22a6 100644 --- a/helm-chart/templates/06-front-deployment.yaml +++ b/helm-chart/templates/06-front-deployment.yaml @@ -92,6 +92,8 @@ spec: value: '{{ default false (((.Values).tap).dashboard).clusterWideMapEnabled }}' - name: REACT_APP_RAW_CAPTURE_ENABLED value: '{{ .Values.tap.capture.raw.enabled | ternary "true" "false" }}' + - name: REACT_APP_ENTRIES_LIMIT + value: '{{ default 300000 (((.Values).tap).dashboard).entriesLimit }}' - name: REACT_APP_SENTRY_ENABLED value: '{{ (include "sentry.enabled" .) }}' - name: REACT_APP_SENTRY_ENVIRONMENT diff --git a/helm-chart/values.yaml b/helm-chart/values.yaml index 6ef893a0b..1035da19a 100644 --- a/helm-chart/values.yaml +++ b/helm-chart/values.yaml @@ -188,6 +188,7 @@ tap: streamingType: connect-rpc completeStreamingEnabled: true clusterWideMapEnabled: false + entriesLimit: 300000 telemetry: enabled: true resourceGuard: