open-telemetry / semantic-conventions

Defines standards for generating consistent, accessible telemetry across a variety of domains
Apache License 2.0
220 stars 141 forks source link

Messaging: which semantics auxiliary operations should follow #750

Open lmolkova opened 1 year ago

lmolkova commented 1 year ago

Messaging libraries have multiple operations unrelated to publishing/consuming or settling.

For example, Azure ServiceBus supports the following operations:

Should we have a language in the spec limiting applicability of semconv to a message-related set of defined operations?

Proposal:

If messaging instrumentation wants to cover other operations, they are free to use messaging attributes, but there is no guidance or guarantees there and backends can distinguish message-flow-related operations with messaging.operation attribute value.

alevenberg commented 7 months ago

Discussed today in the WG.

Attached is a sample screenshot, we discussed the link between the receive and lease span will move to become a span between the create to the lease.

Screenshot 2023-11-29 at 10 27 54 AM

alevenberg commented 7 months ago

Screenshot 2023-11-30 at 12 19 54 PM Updated screenshot