We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e79de5 commit 668fd95Copy full SHA for 668fd95
sdk/trace/sampling.go
@@ -47,11 +47,11 @@ 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() == true`, but `Sampled` flag
+ // RecordOnly indicates the span's IsRecording method returns true, but [trace.FlagsSampled] flag
51
// *must not* be set.
52
RecordOnly
53
54
- // RecordAndSample has span's `IsRecording() == true` and `Sampled` flag
+ // RecordAndSample indicates the span's IsRecording method returns true and [trace.FlagsSampled] flag
55
// *must* be set.
56
RecordAndSample
57
)
0 commit comments