Skip to content

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.

fix: resolves empty variables issue for imported dashboards (#1808)

Amol Umbarka46f074e22e3
diff --git a/frontend/src/lib/dashbaordVariables/getDashboardVariables.ts b/frontend/src/lib/dashbaordVariables/getDashboardVariables.ts
index 1f5a66a2a2..05707b5fa1 100644
--- a/frontend/src/lib/dashbaordVariables/getDashboardVariables.ts
+++ b/frontend/src/lib/dashbaordVariables/getDashboardVariables.ts
@@ -10,7 +10,7 @@ export const getDashboardVariables = (): Record<string, unknown> => {
} = store.getState();
const [selectedDashboard] = dashboards;
const {
- data: { variables },
+ data: { variables = {} },
} = selectedDashboard;
const minMax = GetMinMax(globalTime.selectedTime, [