We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 51cf2d7 commit d46bfb0Copy full SHA for d46bfb0
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
- // Record indicates the span's `IsRecording() == true`, but `Sampled` 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 has span's `IsRecording() == true` and `Sampled` 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