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.

feat: add tooltip to Endpoint Overview

Shivanshu Raj Shrivastavafd21a4955e1a
diff --git a/frontend/src/container/ApiMonitoring/utils.tsx b/frontend/src/container/ApiMonitoring/utils.tsx
index 091358967b..6c7f59c1c3 100644
--- a/frontend/src/container/ApiMonitoring/utils.tsx
+++ b/frontend/src/container/ApiMonitoring/utils.tsx
@@ -1,6 +1,6 @@
/* eslint-disable sonarjs/no-duplicate-string */
import { Color } from '@signozhq/design-tokens';
-import { Progress, Tag } from 'antd';
+import { Progress, Tag, Tooltip } from 'antd';
import { ColumnType } from 'antd/es/table';
import {
FiltersType,
@@ -13,7 +13,7 @@ import { getWidgetQueryBuilder } from 'container/MetricsApplication/MetricsAppli
import dayjs from 'dayjs';
import { GetQueryResultsProps } from 'lib/dashboard/getQueryResults';
import { cloneDeep } from 'lodash-es';
-import { ArrowUpDown, ChevronDown, ChevronRight } from 'lucide-react';
+import { ArrowUpDown, ChevronDown, ChevronRight, Info } from 'lucide-react';
import { getWidgetQuery } from 'pages/MessagingQueues/MQDetails/MetricPage/MetricPageUtil';
import { ReactNode } from 'react';
import { Widgets } from 'types/api/dashboard/getAll';
@@ -3538,6 +3538,28 @@ export const getAllEndpointsWidgetData = (
'net.peer.port': 'Port',
};
+ widget.title = (
+ <div
+ style={{
+ display: 'flex',
+ alignItems: 'center',
+ gap: '10px',
+ padding: '12px',
+ color: 'var(--Vanilla-100, #fff)',
+ fontFamily: 'Inter',
+ fontSize: '14px',
+ fontStyle: 'normal',
+ fontWeight: 400,
+ lineHeight: '18px',
+ }}
+ >
+ Endpoint Overview
+ <Tooltip title="Click on any row to get corresponding endpoint stats">
+ <Info size={16} color="white" />
+ </Tooltip>
+ </div>
+ );
+
return widget;
};