You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In TranslateSpan, we are currently storing messageSystem in event.Span.Subtype and messageOperation in event.Span.Action.
In TranslateTransaction, messaging.system and messaging.operation are currently set as labels under default in the switch statement.
Question:
We don't have subtype and action in Transaction. Should we still keep the info in a label, after using it to determine transaction type? In that case the change will look like
Yes let's keep the information set as labels. Eventually the information should be mapped to the messaging.* field, but that would be a larger undertaking as the current apm model for message differs quite a bit from otel semantic conventions for messaging, and the apm model doesn't have attributes for system and operations.
TranslateTransaction
only considers events that havemessage_bus.destination
ormessaging.destination
set to be a transaction of typemessaging
. However,messaging.system
is a required field according to https://opentelemetry.io/docs/specs/semconv/messaging/messaging-spans/ and should also be considered for deciding the transactions type.See https://github.com/elastic/apm-data/blob/main/input/otlp/traces.go#L411-L414
The text was updated successfully, but these errors were encountered: