mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-12 15:39:06 +08:00
chore: metrics explorer minor fixes (#8042)
This commit is contained in:
parent
cdbf23d053
commit
650cf81329
@ -75,7 +75,7 @@ function MetricDetails({
|
||||
hour."
|
||||
placement="top"
|
||||
>
|
||||
<span>{`${timeSeriesTotal} ⎯ ${timeSeriesActive} active`}</span>
|
||||
<span>{`${timeSeriesTotal} total ⎯ ${timeSeriesActive} active`}</span>
|
||||
</Tooltip>
|
||||
);
|
||||
}, [metric]);
|
||||
|
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user