-
Notifications
You must be signed in to change notification settings - Fork 174
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
Sampling relevant attributes: MUST vs SHOULD #422
Comments
Discussed in 10/23 semconv meeting and decided to stay with MUST because without providing these attributes at span start sampling experience is degraded and sampling is important |
Reconsidering based on #467 (comment) The current wording:
seems to imply that if a user enhanced an HTTP span (e.g. via some callback) with one of these "sampling relevant" attributes, then they would be violating the HTTP semantic conventions. Changing I also think changing from |
I'm okay changing from MUST to SHOULD, but the way I read the full sentence "Following attributes MUST be provided at span creation time (when provided at all), so they can be considered for sampling decisions:" is:
If these intentions are not clear, let's improve them (and change MUST to SHOULD if it feels better) |
Discussed with @lmolkova and we agreed that it's good to change sampling relevant attributes from
|
re-opening until we apply the change in this repo |
Related to open-telemetry/opentelemetry-dotnet#319
Currently the HTTP semantic convention says:
We have an example where this is not possible: open-telemetry/opentelemetry-dotnet-contrib#2012
This may get resolved in .NET 9 (~1 year from now), but I think it's worth discussing MUST vs SHOULD for sampling relevant attributes.
The text was updated successfully, but these errors were encountered: