elastic / apm-data

apm-data holds definitions and code for manipulating Elastic APM data
Apache License 2.0
12 stars 25 forks source link

service.target mapping missing for latest SemConv messaging attributes #284

Closed JonasKunz closed 2 months ago

JonasKunz commented 3 months ago

Currently, apm-data uses the OpenTelemetry attribute messaging.destination for messaging spans to derive service.target. However, in the current semconv this attribute is now called messaging.destination.name.

Due to this mismatch, the service dependency graph is currently not correctly displayed for OpenTelemetry messaging spans reported for example via a current version of the OpenTelemetry Java agent.

We should update our mapping logic to use messaging.destination.name.

kyungeunni commented 2 months ago

apm-data still uses outdated semconv and there is a ticket describing how we'd like to keep up-to-date with the semconv changes : https://github.com/elastic/apm-data/issues/116 We can try to address the mentioned issue, or keep using the outdated semconv and manually map the new attribute.

kyungeunni commented 2 months ago

addressed by #298. APM Server will have this mapping from version 8.15(ref)