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.

chore: metrics explorer minor fixes (#8042)

Amlan Kumar Nandy650cf8132914
diff --git a/frontend/src/container/MetricsExplorer/MetricDetails/MetricDetails.tsx b/frontend/src/container/MetricsExplorer/MetricDetails/MetricDetails.tsx
index 97670b5061..b0c18ab64b 100644
--- a/frontend/src/container/MetricsExplorer/MetricDetails/MetricDetails.tsx
+++ b/frontend/src/container/MetricsExplorer/MetricDetails/MetricDetails.tsx
@@ -75,7 +75,7 @@ function MetricDetails({
hour."
placement="top"
>
- <span>{`${timeSeriesTotal} ⎯ ${timeSeriesActive} active`}</span>
+ <span>{`${timeSeriesTotal} total ⎯ ${timeSeriesActive} active`}</span>
</Tooltip>
);
}, [metric]);
diff --git a/frontend/src/container/MetricsExplorer/Summary/MetricsTreemap.tsx b/frontend/src/container/MetricsExplorer/Summary/MetricsTreemap.tsx
index f9f81fa92c..ef9649be1d 100644
--- a/frontend/src/container/MetricsExplorer/Summary/MetricsTreemap.tsx
+++ b/frontend/src/container/MetricsExplorer/Summary/MetricsTreemap.tsx
@@ -154,10 +154,14 @@ function MetricsTreemap({
<foreignObject
width={nodeWidth}
height={nodeHeight}
- style={getTreemapTileStyle(node.data)}
onClick={(): void => openMetricDetails(node.data.id)}
>
- <div style={getTreemapTileTextStyle()}>
+ <div
+ style={{
+ ...getTreemapTileStyle(node.data),
+ ...getTreemapTileTextStyle(),
+ }}
+ >
{`${node.data.displayValue}%`}
</div>
</foreignObject>