Skip to content
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

OpenTelemetry Metrics tags currently don't account for multiple logical messages encompassed in a physical message #7127

Open
lailabougria opened this issue Jul 30, 2024 · 0 comments

Comments

@lailabougria
Copy link
Contributor

Describe the suggested improvement

Is your improvement related to a problem? Please describe

Early versions of NServiceBus allowed multiple messages to be combined in a single physical payload sent over the wire. NServiceBus split the payload up and routed it to the correct message handler.

Currently, if you enable OTEL metrics, a metric is collected per physical message, not logical message.
Therefore, the metric tags will contain values that pertain to the first logical message that was part of the physical message.

Currently supported versions of NServiceBus always generate a single logical message per payload. Therefore, we currently don't support emitting the metrics per logical message.

In case you're interested in such a case, please chime in here with your use case.

Additional Context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant