Skip to content
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] Add link between errors and transactions #20981

Closed
makwarth opened this issue Jul 19, 2018 · 10 comments
Closed

[APM] Add link between errors and transactions #20981

makwarth opened this issue Jul 19, 2018 · 10 comments
Assignees
Labels
Team:APM All issues that need APM UI Team support Team:Platform-Design Team Label for Kibana Design Team. Support the Analyze group of plugins. v6.5.0

Comments

@makwarth
Copy link

All agents but the RUM agent now supports transaction.id on errors. That means we can link from a transaction sample to the error occurrence that occurred during that transaction (if any). We'll also be able to link the other way, from an error occurrence to a transaction sample.
NB: A transaction can throw multiple errors.

@makwarth makwarth added Team:APM All issues that need APM UI Team support [zube]: Design Backlog v6.5.0 labels Jul 19, 2018
@elasticmachine
Copy link
Contributor

Pinging @elastic/apm-ui

@formgeist formgeist added [zube]: In Design Team:Platform-Design Team Label for Kibana Design Team. Support the Analyze group of plugins. design and removed [zube]: Design Backlog Team:Platform-Design Team Label for Kibana Design Team. Support the Analyze group of plugins. labels Aug 7, 2018
@formgeist
Copy link
Contributor

Will look into creating some initial design screens for this 👍

@formgeist formgeist added Team:Platform-Design Team Label for Kibana Design Team. Support the Analyze group of plugins. and removed design labels Aug 8, 2018
@formgeist
Copy link
Contributor

Just a couple of thoughts around this; I immediately started thinking to add the links to the Transaction sample and Error occurrence KPIs area.

Transaction samples would show a link with number of error groups (as it could have multiple), which links to the Errors list with the selected sample's transaction.id added as filter. That way the user gets a list of all error groups involved in the sample recorded.

Error occurrences will show a Transaction sample link to the exact Transaction sample involved.

Transaction detail page
apm-transaction-detail

Errors list filtered by transaction.id
apm-errors-list-filtered

Error detail page
apm-errors-detail

@makwarth
Copy link
Author

makwarth commented Aug 9, 2018

@formgeist looks good 👍

@sorenlouv
Copy link
Member

Nice! This should be pretty easy to implement!

@sorenlouv
Copy link
Member

Btw. The transaction that is being linked to from the error details page might not exist due to sampling.

@formgeist
Copy link
Contributor

@sqren That's due to the instrumentation of the particular service and sample settings. So it will happen for some but not all, right?

@sorenlouv
Copy link
Member

Yes, exactly. It will only happen to those who enable sampling. And it will happen frequently for users with high sampling rates.

@formgeist
Copy link
Contributor

I'll convert this to an implementation issue

@formgeist
Copy link
Contributor

Created two issues for Transactions #21920 and Errors #21919

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team:APM All issues that need APM UI Team support Team:Platform-Design Team Label for Kibana Design Team. Support the Analyze group of plugins. v6.5.0
Projects
None yet
Development

No branches or pull requests

6 participants