Skip to content

Commit

Permalink
Merge branch 'main' into res-comp
Browse files Browse the repository at this point in the history
  • Loading branch information
pellared authored Feb 6, 2025
2 parents d810c79 + d46bfb0 commit 5bdbf23
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions sdk/trace/sampling.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@ const (
// Drop will not record the span and all attributes/events will be dropped.
Drop SamplingDecision = iota

// Record indicates the span's `IsRecording() == true`, but `Sampled` flag
// *must not* be set.
// RecordOnly indicates the span's IsRecording method returns true, but trace.FlagsSampled flag
// must not be set.
RecordOnly

// RecordAndSample has span's `IsRecording() == true` and `Sampled` flag
// *must* be set.
// RecordAndSample indicates the span's IsRecording method returns true and trace.FlagsSampled flag
// must be set.
RecordAndSample
)

Expand Down

0 comments on commit 5bdbf23

Please sign in to comment.