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(dashboard): add widget count to collapsed section rows (#5822)
Abhishek Mehandirattaafc97511af36
diff --git a/frontend/src/container/GridCardLayout/GridCardLayout.tsx b/frontend/src/container/GridCardLayout/GridCardLayout.tsxindex 4600b46dd1..c4e4279f9f 100644--- a/frontend/src/container/GridCardLayout/GridCardLayout.tsx+++ b/frontend/src/container/GridCardLayout/GridCardLayout.tsx@@ -472,6 +472,15 @@ function GraphLayout(props: GraphLayoutProps): JSX.Element {if (currentWidget?.panelTypes === PANEL_GROUP_TYPES.ROW) {const rowWidgetProperties = currentPanelMap[id] || {};+ let { title } = currentWidget;+ if (rowWidgetProperties.collapsed) {+ const widgetCount = rowWidgetProperties.widgets?.length || 0;+ const collapsedText = `(${widgetCount} widget${+ widgetCount > 1 ? 's' : ''+ })`;+ title += ` ${collapsedText}`;+ }+return (<CardContainerclassName="row-card"@@ -489,9 +498,7 @@ function GraphLayout(props: GraphLayoutProps): JSX.Element {cursor="move"/>)}- <Typography.Text className="section-title">- {currentWidget.title}- </Typography.Text>+ <Typography.Text className="section-title">{title}</Typography.Text>{rowWidgetProperties.collapsed ? (<ChevronDownsize={14}