ethercrow / opentelemetry-haskell

The OpenTelemetry Haskell Client https://opentelemetry.io
Other
65 stars 6 forks source link

Alternate thread presentation mode for tracy export #40

Closed expipiplus1 closed 3 years ago

expipiplus1 commented 3 years ago

At the moment with --split-threads and many short-lived threads the output can become full of empty space before and after thread lifetimes, picture below.

I'm not sure exactly what would work, but I wonder if it would be possible to somehow overlap threads, so in the below example, 3670, 3671, 3673... would share the same row, overlapping safely as one starts only after the preceding threads have died.

Perhaps this would be better tackled after https://github.com/wolfpld/tracy/issues/106 lands, although I don't know exactly what that'll look like.

image

Either way, thanks for the great tool!

ethercrow commented 3 years ago

@expipiplus1 Hi! I feel your pain and like this idea. Let me see if I can do some thread renaming in the exporter.

expipiplus1 commented 3 years ago

Thanks!