-
Notifications
You must be signed in to change notification settings - Fork 8k
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
Open Telemetry span links are wrong direction #183973
Comments
@MeijerM1 this doesn't sound like an APM Server problem. APM Server processes each event independently. If links are being shown in the wrong place, then it's more likely a problem with either the instrumentation or visualisation. Would you be able to share the documents for one trace? And a screenshot of Kibana to illustrate where things look wrong? |
@axw I understand what you mean but the Open Telemetry spec doesn’t have an option to specify link direction like the APM spec has so there is no way to fix it at the instrumentation side. I’ll see if I can get some data for you later today. |
Hmm, Elastic APM agents don't specify a direction on links either: https://github.com/elastic/apm/blob/main/specs/agents/span-links.md. Maybe this is a UI thing based on some heuristics - not sure. Anyway, we'll see. |
Thanks @MeijerM1, this is indeed a UI issue. I don't know the details of how the link direction is inferred - moving it over to the Kibana repo to get the UI folks to take a look. |
Pinging @elastic/apm-ui (Team:APM) |
Pinging @elastic/obs-ux-infra_services-team (Team:obs-ux-infra_services) |
APM Server version (
apm-server version
):8.12.1
Description of the problem including expected versus actual behavior:
When creating span links via the OTLP protocol the links are in the wrong direction. E.i. the producing side has incoming links
while the consuming side has outgoing links.
For us it would make more sense if the producing side had outgoing links and the consuming side had incoming links.
Steps to reproduce:
Provide logs (if relevant):
N/A
The text was updated successfully, but these errors were encountered: