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."
|
hour."
|
||||||
placement="top"
|
placement="top"
|
||||||
>
|
>
|
||||||
<span>{`${timeSeriesTotal} ⎯ ${timeSeriesActive} active`}</span>
|
<span>{`${timeSeriesTotal} total ⎯ ${timeSeriesActive} active`}</span>
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
);
|
);
|
||||||
}, [metric]);
|
}, [metric]);
|
||||||
|
@ -154,10 +154,14 @@ function MetricsTreemap({
|
|||||||
<foreignObject
|
<foreignObject
|
||||||
width={nodeWidth}
|
width={nodeWidth}
|
||||||
height={nodeHeight}
|
height={nodeHeight}
|
||||||
style={getTreemapTileStyle(node.data)}
|
|
||||||
onClick={(): void => openMetricDetails(node.data.id)}
|
onClick={(): void => openMetricDetails(node.data.id)}
|
||||||
>
|
>
|
||||||
<div style={getTreemapTileTextStyle()}>
|
<div
|
||||||
|
style={{
|
||||||
|
...getTreemapTileStyle(node.data),
|
||||||
|
...getTreemapTileTextStyle(),
|
||||||
|
}}
|
||||||
|
>
|
||||||
{`${node.data.displayValue}%`}
|
{`${node.data.displayValue}%`}
|
||||||
</div>
|
</div>
|
||||||
</foreignObject>
|
</foreignObject>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user