We collect multiple traces for slow transactions for every bucket but currently the only way a customer can see more of these traces is by switching over to discover. It would be nice to have a button called view similar traces to see other traces that were collected for the selected time bucket, so a customer can visualize those collected traces in the waterfall view.
Implementation issue: https://github.com/elastic/kibana/issues/44078
Pinging @elastic/apm-ui
Open questions from the slack discussion with @nehaduggal and @sqren :
@nehaduggal An alternative that comes to my mind would look like:
As this is related to https://github.com/elastic/kibana/issues/43247 we could add the next prev buttons to the subheadline with the meta info. Like this:
@nehaduggal @hbharding
Since this could be a lot more complex than the redesign I think we should keep it separate (not that you said other-wise).
In you design, where did the "Action" popover and "View full Trace" button go?
I tested this with the condensed meta data:
As discussed with @nehaduggal I think the next/prev buttons need a label, like shown in the img.
I agree, the labels make it more clear. Although in the screenshot above they come with a lot of added whitespace and the header becomes taller, pushing the timeline below down. Could the prev/next buttons be positioned next to the Trace sample
header; the Action
button or somewhere else?
I agree, I was working on an update anyhow:
I'm not sure if we should/need to explain that we are limiting the samples we are showing.
I think that looks good. Although I'm not sure we want to show "10 / 1000 samples available". We might not know the exact number of samples (counting can be a little expensive).
Instead I suggest we show "Sample 1/10", "Sample 2/10" as the user clicks through.
EUI suggests:
Wouldn't we still need some text to explain what the user is paginating? If not I think we should just go with the compressed version:
I don't see any use cases for being able to jump to a specific sample by its number in the list. They are pretty much random.
I agree with @sqren - we should indicate how many samples there are, and which sample they are currently looking at. Otherwise, users may feel lost while paging through the samples. Here's a mockup that might work:
Looks great! One small feedback, can we drop the box around the URL because the box makes it look like its editable although its not.
@nehaduggal I don't have a strong opinion on the hollow white badge. One benefit is that it uses smaller text, which means less ellipsis. Also with badges, visually, it's 3 similar parts that make up a whole... X + Y + Z = "the reuqest". Last point - these mockups only show a portion of the screen, which makes it difficult to get a sense for the scale and font sizes. In other words, the badge might look less like a text input when viewed with the surrounding UI. Not sure.
But like i said, no strong opinion. Maybe try it both ways and make a final decision when we can see it in full context.
can we drop the box around the URL because the box makes it look like its editable although its not.
I can see that - although I think the alternative is worse. Without the borders, the url loses the connectedness to the http method and status code (imo), and it just becomes another piece of text. To understand what it is the user has to actually read it instead of intuitively understanding what it is from its visual appearance.
If there are other approaches to achieve the same effect I'd love to hear!
I guess this would work too and the URL would not look editable.
I discussed the pagination of samples and the collapsed info in the subheadline yesterday with @nehaduggal. It seems like we can move this to implementation. One more thing that should change compared to the current implementation: if we don't have the information, e.g. about the URL - we don't show it (n/a does not make sense without the labels). @sqren are there any open questions from your side?
I guess this would work too and the URL would not look editable.
Yes totally. Perhaps with GET
as bold or something to separate it from the URL (although not important if you don't think so)
if we don't have the information, e.g. about the URL - we don't show it (n/a does not make sense without the labels).
I think if we don't have a url, we won't have a http status code or a http method either. So all that info disappears (which is fine with me)
fyi: I verified this with:
not url.full :* and not transaction.page.url :* and (http.response.status_code: * or http.request.method:* )
and didn't get any results
It seems like we can move this to implementation.
馃憤
@sqren sounds good, do you want me to open a new ticket for this or should we combine it with the summary update https://github.com/elastic/kibana/issues/43247?
@katrin-freihofner Let's keep them separate. The summary update is fairly low-hanging fruit, whereas this could be more complex.
Most helpful comment
I agree with @sqren - we should indicate how many samples there are, and which sample they are currently looking at. Otherwise, users may feel lost while paging through the samples. Here's a mockup that might work: