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.
TypeScript apmapplication-monitoringdistributed-tracinggogood-first-issuejaegerloglogsmetricsmonitoringnextjsobservabilityopen-sourceopentelemetryprometheusreactreactjsself-hostedtracingtypescript
feat: enable pagination for service listing,key operations,explorer table and dashboard table (#5625)
Yunus Ma5d58008713c
diff --git a/frontend/src/container/MetricsApplication/TopOperationsTable.tsx b/frontend/src/container/MetricsApplication/TopOperationsTable.tsxindex bd518d629d..d897c8a205 100644--- a/frontend/src/container/MetricsApplication/TopOperationsTable.tsx+++ b/frontend/src/container/MetricsApplication/TopOperationsTable.tsx@@ -164,6 +164,12 @@ function TopOperationsTable({const downloadableData = convertedTracesToDownloadData(data);+ const paginationConfig = {+ pageSize: 10,+ showSizeChanger: false,+ hideOnSinglePage: true,+ };+return (<div className="top-operation"><div className="top-operation--download">@@ -181,6 +187,7 @@ function TopOperationsTable({tableLayout="fixed"dataSource={data}rowKey="name"+ pagination={paginationConfig}/></div>);diff --git a/frontend/src/container/QueryTable/QueryTable.tsx b/frontend/src/container/QueryTable/QueryTable.tsxindex 2fa1d05f65..ccf8221bfe 100644--- a/frontend/src/container/QueryTable/QueryTable.tsx+++ b/frontend/src/container/QueryTable/QueryTable.tsx@@ -48,6 +48,12 @@ export function QueryTable({const tableColumns = modifyColumns ? modifyColumns(newColumns) : newColumns;+ const paginationConfig = {+ pageSize: 10,+ showSizeChanger: false,+ hideOnSinglePage: true,+ };+return (<div className="query-table">{isDownloadEnabled && (@@ -64,6 +70,7 @@ export function QueryTable({tableLayout="fixed"dataSource={newDataSource}scroll={{ x: true }}+ pagination={paginationConfig}// eslint-disable-next-line react/jsx-props-no-spreading{...props}/>