dominikh/gotraceui

Splitting stack span label on the period works poorly for generics

dominikh opened this issue · 1 comments

When a label like "honnef.co/go/foo.SomeType.SomeMethod" doesn't fit in the span, we split on . and display the last element, .SomeMethod in this example.

This works poorly for (at least) CPU samples in generic functions, as these may contain [...] in their name. For example, we have a span with the label honnef.co/go/gotraceui/mysync.Distribute[...] which gets truncated to .].

I suppose it's too late to convince upstream to use a proper ellipsis instead?