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: top endpoints table overflow

Pranshu Chittoraf22d5f0fbd0c
diff --git a/frontend/src/container/MetricsApplication/Tabs/Application.tsx b/frontend/src/container/MetricsApplication/Tabs/Application.tsx
index 09370793ab..bc072d5c97 100644
--- a/frontend/src/container/MetricsApplication/Tabs/Application.tsx
+++ b/frontend/src/container/MetricsApplication/Tabs/Application.tsx
@@ -15,7 +15,7 @@ import MetricReducer from 'types/reducer/metrics';
import { Card, Col, GraphContainer, GraphTitle, Row } from '../styles';
import TopEndpointsTable from '../TopEndpointsTable';
-import { Button } from './styles';
+import { Button, TableContainerCard } from './styles';
function Application({ getWidget }: DashboardProps): JSX.Element {
const { servicename } = useParams<{ servicename?: string }>();
@@ -232,9 +232,9 @@ function Application({ getWidget }: DashboardProps): JSX.Element {
</Col>
<Col span={12}>
- <Card>
+ <TableContainerCard>
<TopEndpointsTable data={topEndPoints} />
- </Card>
+ </TableContainerCard>
</Col>
</Row>
</>
diff --git a/frontend/src/container/MetricsApplication/Tabs/styles.ts b/frontend/src/container/MetricsApplication/Tabs/styles.ts
index 017ab95419..500e2b9b74 100644
--- a/frontend/src/container/MetricsApplication/Tabs/styles.ts
+++ b/frontend/src/container/MetricsApplication/Tabs/styles.ts
@@ -1,6 +1,8 @@
import { Button as ButtonComponent } from 'antd';
import styled from 'styled-components';
+import { Card } from '../styles';
+
export const Button = styled(ButtonComponent)`
&&& {
position: absolute;
@@ -8,3 +10,6 @@ export const Button = styled(ButtonComponent)`
display: none;
}
`;
+export const TableContainerCard = styled(Card)`
+ overflow-x: scroll;
+`;