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

Added support for receiving inferred span children as OTLP span links. #185

Merged
merged 2 commits into from
Nov 30, 2023

Conversation

JonasKunz
Copy link
Contributor

Closes #175. Span-Links received via OTLP with the attribute elastic.is_child set to true will be stored as child.ids instead of links.

This is currently in draft until naming discussions about the attribute are settled.

I've manually tested this PR with our inferred-spans Java Otel extension:
image

@JonasKunz JonasKunz marked this pull request as ready for review November 29, 2023 09:16
@JonasKunz JonasKunz requested a review from a team as a code owner November 29, 2023 09:16
@JonasKunz
Copy link
Contributor Author

We've discussed this in the APM agents weekly and decided to stay with the proposed elastic.is_child attribute name. I'll take care of also adding this to the agent specs.

@kruskall kruskall merged commit 3fce460 into elastic:main Nov 30, 2023
4 checks passed
@JonasKunz JonasKunz deleted the inferred-childs-as-links branch November 30, 2023 08:54
@simitt
Copy link
Contributor

simitt commented Mar 20, 2024

@jackshirazi ran a program to test this and sent data to an APM Server BC5 in ESS; seeing the waterfall for the trace and the span:
Screenshot 2024-03-20 at 17 32 30

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.

Map child-ids in OTel attributes
3 participants