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: page break in Services overview tab (#3749)

Palash Guptadda01678e8a7
diff --git a/frontend/src/container/MetricsApplication/Tabs/Overview/ApDex/ApDexMetrics.tsx b/frontend/src/container/MetricsApplication/Tabs/Overview/ApDex/ApDexMetrics.tsx
index ade8a1bec3..ac4ae1e03b 100644
--- a/frontend/src/container/MetricsApplication/Tabs/Overview/ApDex/ApDexMetrics.tsx
+++ b/frontend/src/container/MetricsApplication/Tabs/Overview/ApDex/ApDexMetrics.tsx
@@ -77,7 +77,7 @@ function ApDexMetrics({
const isQueryEnabled =
topLevelOperationsRoute.length > 0 &&
- metricsBuckets &&
+ !!metricsBuckets &&
metricsBuckets?.length > 0 &&
delta !== undefined;
diff --git a/frontend/src/container/MetricsApplication/Tabs/Overview/ApDex/ApDexMetricsApplication.tsx b/frontend/src/container/MetricsApplication/Tabs/Overview/ApDex/ApDexMetricsApplication.tsx
index 0e1486b852..62d4e80a15 100644
--- a/frontend/src/container/MetricsApplication/Tabs/Overview/ApDex/ApDexMetricsApplication.tsx
+++ b/frontend/src/container/MetricsApplication/Tabs/Overview/ApDex/ApDexMetricsApplication.tsx
@@ -24,7 +24,7 @@ function ApDexMetricsApplication({
<ApDexMetrics
handleGraphClick={handleGraphClick}
delta={data?.data.delta}
- metricsBuckets={data?.data.le}
+ metricsBuckets={data?.data.le || []}
onDragSelect={onDragSelect}
topLevelOperationsRoute={topLevelOperationsRoute}
tagFilterItems={tagFilterItems}
diff --git a/frontend/src/types/api/metrics/getApDex.ts b/frontend/src/types/api/metrics/getApDex.ts
index 051f3994ff..60c82fefd0 100644
--- a/frontend/src/types/api/metrics/getApDex.ts
+++ b/frontend/src/types/api/metrics/getApDex.ts
@@ -10,5 +10,5 @@ export interface SetApDexPayloadProps {
export interface MetricMetaProps {
delta: boolean;
- le: number[];
+ le: number[] | null;
}