SigNoz is an open-source, OpenTelemetry-native observability platform for your team and their AI agents. Get logs, metrics, and traces in one tool with features like APM, distributed tracing, log management, infra monitoring, etc. Combined with SigNoz MCP and a native AI teammate (in SigNoz Cloud) it helps you build more resilient apps.
TypeScript apmapplication-monitoringdistributed-tracinggogood-first-issuejaegerloglogsmetricsmonitoringnextjsobservabilityopen-sourceopentelemetryprometheusreactreactjsself-hostedtracingtypescript
fix: fixed handling of how and when to set ALL option (#7244)
SagarRajput-7e92e0b6e29d5
diff --git a/frontend/src/container/NewDashboard/DashboardVariablesSelection/VariableItem.tsx b/frontend/src/container/NewDashboard/DashboardVariablesSelection/VariableItem.tsxindex 4b3a962ef9..f470eac26e 100644--- a/frontend/src/container/NewDashboard/DashboardVariablesSelection/VariableItem.tsx+++ b/frontend/src/container/NewDashboard/DashboardVariablesSelection/VariableItem.tsx@@ -157,6 +157,13 @@ function VariableItem({} else {[value] = newOptionsData;}+ } else if (variableData.multiSelect) {+ const { selectedValue } = variableData;+ allSelected =+ newOptionsData.length > 0 &&+ Array.isArray(selectedValue) &&+ selectedValue.length === newOptionsData.length &&+ newOptionsData.every((option) => selectedValue.includes(option));}if (variableData && variableData?.name && variableData?.id) {@@ -235,8 +242,9 @@ function VariableItem({},);- const handleChange = (value: string | string[]): void => {- // if value is equal to selected value then return+ const handleChange = (inputValue: string | string[]): void => {+ const value = variableData.multiSelect && !inputValue ? [] : inputValue;+if (value === variableData.selectedValue ||(Array.isArray(value) &&