-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[APM] UI changes to trace summary (above waterfall/timeline) #43247
Comments
@sqren, @nehaduggal should we stay with Transaction sample as a headline, or is there a better solution? |
Pinging @elastic/apm-ui |
This is from Stackdriver: What I really like about this is that if you click on a dot, it's much more clear that you're going to inspect the trace that that dot represents. To me it's really hard to (intuitively) make the connection between clicking on a bucket and then inspecting a sample in that bucket. And perhaps having a scatter plot opens up more visualisation possibilities, e.g. color by result, or size by the number of child spans. (Probably out of scope though 😀) |
I didn't intuitively understand the histogram in the beginning, whereas the dots do make sense immediately. It also gives the user a second dimension (time) that they can select from. But I'm definitely open to discussing whether it could replace the histogram. |
Another problem with the current histogram: it is the only viz where x-axis is not time. This is confusing initially I think. |
I'm biased - I can clearly see that ;) |
@katrin-freihofner We currently use a custom component
Is that ok? If so, I think this looks good, and the issue can be moved to the APM UI board. |
@sqren yes, actually that's perfect! |
How about we call it Trace sample instead of Transaction sample? The waterfall essentially surfaces a trace with one or more transactions so calling it Transaction sample can be misleading. |
@katrin-freihofner Did you see this related issue? Do you think the two issues should be kept separate, or do you want to combine them? |
@sqren no, I have not been aware of this issue. Thank you. I'm fine with combining them. |
Summarising our discussion in slack: Instead of the pretty big description list/grid we want to try to fit the information in one line beneath the headline, like: I suggest to move the labels to tooltips. Additionally, as discussed in this issue #29928 we should use the EUI Badge for 4XX and 5XX response codes. @sqren, @roncohen, @nehaduggal, @dgieselaar should we drop the error info if there are no errors? And can we move user ID, device and agent to the meta info? |
I updated the description according the our discussion. @sqren I think this is ready for implementation. What's your opinion? |
@katrin-freihofner I updated the description with some more sub tasks. LMK if that aligns with your thinking. Questions:
Swagger.io (API tool) groups http method and url like this: Insomnia (REST client) groups http details like this: I think the use of badges can help the information stand out more clearly. Right now all the information has the same formatting which makes it harder to distinguish. |
@sqren that is perfect, thank you.
|
@katrin-freihofner What do you think about something like this? |
@sqren I would use the |
For non-HTTP requests, we talked on Slack about doing the following:
(A non-HTTP reques is a request that does not have a You can see some non-http requests in the sample data under apm-server > Process Pending and on opbeans-python if you change the transaction type to "celery" (a background job processing framework). The celery traces have a SUCCESS or FAILURE result while the apm-server one has none. We can probably apply the same colors as 2xx/5xx to SUCCESS/FAILURE but I think a result could be anything. @katrin-freihofner let me know if this sounds good or if you would like any more changes to the non-HTTP requests. |
@smith, in general, this sounds good to me. As far as I know, we did not pick a specific success color yet. Looking at the Eui Badges (https://elastic.github.io/eui/#/display/badge) I propose to go for |
Yes, |
@katrin @sqren a few questions: The only thing left in the StickyTransactionProperties after we move everything to the single line and metadata is “Errors”, which we only show if there are related errors. It seems like it would look weird if that label and error count were just sitting there alone, so where and how should we be displaying the “[ N ] Related Errors”? For the tooltips when hovering over the values on the single-line summary, there’s some comments on the issue:
Does that mean when hovering over “20ms” I would see “transaction.duration.us” in the tooltip or “Duration”? Not sure about what we mean by “name” and “value” in this context. and also:
But the metadata tab only shows some values and does not include the span.duration or transaction.result for example. Should we add those to the metadata as well? |
@smith fyi: @dgieselaar has a fix for #42357 in #44274. I think we should get entirely rid of |
I added a todo for adding the |
@sqren |
@smith Makes sense to leave it for now. We can do that as a follow-up. |
@smith regarding the tooltip I think it is fine to show |
@dgieselaar @sqren these things seem to be in conflict:
and
@katrin-freihofner would you mind taking a look to see if there's changes we can make to present more information and prevent it from wrapping so much? |
Replace the `StickyTransactionProperties` with a trace summary that puts everything on one line. Fixes elastic#43247.
Replace the `StickyTransactionProperties` with a trace summary that puts everything on one line. Fixes #43247.
Replace the `StickyTransactionProperties` with a trace summary that puts everything on one line. Fixes elastic#43247.
This issue is about a small UI update for the information grid within the Transaction sample panel. The goal is to remove the generic grid of label/values to a single line of values without labels. (Discussion initiated by: #42357)
Sub tasks:
Show the sum of all errors in the trace (Fixes: [APM] Transaction sample error count doesn't match the errors in the trace #42357)(Fixed in [APM] Display all errors in child transactions/spans in trace overview #44274)timestamp
,duration
,url
,http method
andhttp status code
on a single lineuser_agent
fields to metadatatransaction.result
field to metadataImplementation notes:
euiText--small
GET
,...) should be boldIt should look similar to:
This work does not include the arrows which is specified in this issue #35574
The text was updated successfully, but these errors were encountered: