We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2d81423 commit 1fc69c7Copy full SHA for 1fc69c7
sdk/trace/sampling.go
@@ -47,12 +47,12 @@ const (
47
// Drop will not record the span and all attributes/events will be dropped.
48
Drop SamplingDecision = iota
49
50
- // RecordOnly indicates the span's IsRecording method returns true, but [trace.FlagsSampled] flag
51
- // *must not* be set.
+ // RecordOnly indicates the span's IsRecording method returns true, but trace.FlagsSampled flag
+ // MUST NOT be set.
52
RecordOnly
53
54
- // RecordAndSample indicates the span's IsRecording method returns true and [trace.FlagsSampled] flag
55
- // *must* be set.
+ // RecordAndSample indicates the span's IsRecording method returns true and trace.FlagsSampled flag
+ // MUST be set.
56
RecordAndSample
57
)
58
0 commit comments