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(metrics-explorer): handle in case .atributes is undefined (#11528)

Vinicius Lourenço64730661936b
diff --git a/frontend/src/container/MetricsExplorer/MetricDetails/AllAttributes.tsx b/frontend/src/container/MetricsExplorer/MetricDetails/AllAttributes.tsx
index 77937a9203..0ab0e687bc 100644
--- a/frontend/src/container/MetricsExplorer/MetricDetails/AllAttributes.tsx
+++ b/frontend/src/container/MetricsExplorer/MetricDetails/AllAttributes.tsx
@@ -59,7 +59,7 @@ function AllAttributes({
);
const attributes = useMemo(
- () => attributesData?.data.attributes ?? [],
+ () => attributesData?.data?.attributes ?? [],
[attributesData],
);