mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-11 15:39:13 +08:00
improving flamegraph tooltip vis
This commit is contained in:
parent
f8a05e535f
commit
4ccbe6fdd6
@ -4,14 +4,14 @@
|
||||
background: rgba(0, 0, 0, 0.8);
|
||||
color: #fff;
|
||||
border-radius: 2px;
|
||||
font-size: 6px;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
/* Creates a small triangle extender for the tooltip */
|
||||
.d3-tip:after {
|
||||
box-sizing: border-box;
|
||||
display: inline;
|
||||
font-size: 6px;
|
||||
font-size: 12px;
|
||||
width: 100%;
|
||||
line-height: 1;
|
||||
color: rgba(0, 0, 0, 0.8);
|
||||
|
@ -46,7 +46,7 @@ const _TraceGraph = (props: TraceGraphProps) => {
|
||||
.default()
|
||||
.attr("class", "d3-tip")
|
||||
.html(function (d: any) {
|
||||
return d.data.name + "<br>duration: " + d.data.value;
|
||||
return d.data.name + "<br>duration: " + d.data.value/1000000+'ms';
|
||||
});
|
||||
|
||||
const onClick = (z: any) => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user