Skip to content

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

Merged
kruskall merged 2 commits into
elastic:mainfrom
JonasKunz:inferred-childs-as-links
Nov 30, 2023
Merged

Added support for receiving inferred span children as OTLP span links.#185
kruskall merged 2 commits into
elastic:mainfrom
JonasKunz:inferred-childs-as-links

Conversation

@JonasKunz

Copy link
Copy Markdown
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
Copy Markdown
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
@JonasKunz
JonasKunz deleted the inferred-childs-as-links branch November 30, 2023 08:54
@simitt

simitt commented Mar 20, 2024

Copy link
Copy Markdown
Contributor

@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