-
Notifications
You must be signed in to change notification settings - Fork 772
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
Inconsistent SamplingDecision Names #1255
Comments
The names were borrowed from the spec. We should try to change the spec naming as well. |
Ahh, yeah, I was thinking that was probably the case. Seems unlikely that we would get the spec to change, right? Consistency across the implementations/spec is much more important than the individual names. |
Small renamings are likely not controversial and you can try submitting a PR to the spec repo :) |
This is done. Thank @ejsmith for making the fix in the spec itself :) |
NotRecord
Record
RecordAndSampled
Seems like we should pick between present tense or past tense and make it consistent. Either
Recorded
/RecordedAndSampled
orRecord
/RecordAndSample
.NotRecord
doesn't make sense. It's not correct English. Maybe justSkip
orDontRecord
. Personally I like justSkip
better. It's already in an enum so it's always going to be qualified likeSamplingDecision.Skip
.My vote:
SamplingDecision.Skip
SamplingDecision.Record
SamplingDecision.RecordAndSample
https://github.com/open-telemetry/opentelemetry-dotnet/blob/master/src/OpenTelemetry/Trace/SamplingDecision.cs
The text was updated successfully, but these errors were encountered: