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] Support span links #126667

Closed
2 tasks
felixbarny opened this issue Mar 2, 2022 · 1 comment · Fixed by #126630
Closed
2 tasks

[APM] Support span links #126667

felixbarny opened this issue Mar 2, 2022 · 1 comment · Fixed by #126630
Assignees
Labels
apm:test-plan-done Pull request that was successfully tested during the test plan Team:APM All issues that need APM UI Team support v8.3.0

Comments

@felixbarny
Copy link
Member

felixbarny commented Mar 2, 2022

Summary

We have several use cases where Span links could come in handy. To understand what span links are, let's look at the use-cases we want to solve:

  • When a single transaction represents the batch processing of several messages, span links help to link back to the traces that have produced the messages
  • Another use case related to messaging is whenever there is a span that represents message polling. If the returned message has a traceparent header, we can infer the sender. However, since it already has a parent, we currently have no way to link to the sender.
  • The traceparent header becomes more and more pervasive. There's a good chance that applications get traceparent headers from outside a trust boundary. In this case, we want to restart the trace (creating a different trace id with its own sampling decision) and link to the originating trace.

Proposed solution

The desired solution is to show that span links are available on the individual transaction and span rows in the trace waterfall. That will enable the user to open the detail flyouts and learn what links are available for the individual transaction or span and navigate to the relevant trace that is linked.

There can be 1 or more span links available per transaction and spans, so we need to ensure that the design supports this.

  • Show span links are available for the individual transactions or spans in the Trace waterfall
  • Show span links in the transaction or span detail view

CleanShot 2022-03-09 at 09 44 27@2x

localhost_5601_enx_app_apm_services_opbeans-go_transactions_view_kuery= rangeFrom=now-24h%2Fh rangeTo=now environment=ENVIRONMENT_ALL transactionName=GET%20%2Fapi%2Forders transactionType=request comparisonEnabled=true comparisonType=day la

@felixbarny felixbarny added the Team:APM All issues that need APM UI Team support label Mar 2, 2022
@elasticmachine
Copy link
Contributor

Pinging @elastic/apm-ui (Team:apm)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
apm:test-plan-done Pull request that was successfully tested during the test plan Team:APM All issues that need APM UI Team support v8.3.0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants