hyperdx
hyperdx copied to clipboard
Can't scroll horizontally in the trace view
For long traces it's impossible to see later spans!
Ideally it'd be possible to select regions of the trace, like you can do in chrome devtool's network inspector (drag on the overview, zoom in/out).
Ah is the issue for a long root/parent span, smaller children spans get shrunk to be too small to be seen?
We can definitely enable this, the existing flame chart component actually supports zooming but it hasn't been enabled yet, probably needs a bit of testing and minor UI work.
In case anyone is interested in taking a stab before we get to it - the relevant code is here: https://github.com/hyperdxio/hyperdx/blob/main/packages/app/src/LogSidePanel.tsx#L429
Yeah that's part of it, you can also see the spans on the far right are totally cut off (though that might just be because they're too small).
Got it! Will need to look into the cutoff part whether it's a simple css thing where we need to add more padding or if it's a math bug in the chart.