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

feat: populate span links #5

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

feat: populate span links #5

wants to merge 4 commits into from

Conversation

taj-p
Copy link

@taj-p taj-p commented Mar 8, 2023

Intent

Populate the span.references member appropriately so that we see the below:

image

Instead of this (which provides 0 contextualisation 🤮 )

image

Why not do this in Jaeger Query?

Doing this in Jaeger Query requires us to update a data model used across its codebase. This is simpler, more targeted, and we expect to re-investigate how to visualise these traces once we decide on a more permanent trace visualisation option (i.e. this will only be used in the short term presumably).

Note that this will send a trace query for each link in a trace. Since we don't use span links commonly, this is a presumed insignificant cost.

What happens if the linked span hasn't yet arrived in storage?

It reverts to the non-contextualised version.

@taj-p taj-p force-pushed the tajp-populateSpanLinks branch from 93ea6f5 to 5cd35b3 Compare March 8, 2023 23:26
@taj-p taj-p self-assigned this Mar 9, 2023
Copy link

@islesser-canva islesser-canva left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@tin1337 tin1337 force-pushed the tajp-populateSpanLinks branch from 36fd937 to c54d383 Compare June 13, 2023 04:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants