You've already forked opentelemetry-go
mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2025-08-10 22:31:50 +02:00
Fix comment of the RecordOnly sampling decision (#6257)
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
This commit is contained in:
@@ -47,12 +47,12 @@ const (
|
|||||||
// Drop will not record the span and all attributes/events will be dropped.
|
// Drop will not record the span and all attributes/events will be dropped.
|
||||||
Drop SamplingDecision = iota
|
Drop SamplingDecision = iota
|
||||||
|
|
||||||
// Record indicates the span's `IsRecording() == true`, but `Sampled` flag
|
// RecordOnly indicates the span's IsRecording method returns true, but trace.FlagsSampled flag
|
||||||
// *must not* be set.
|
// must not be set.
|
||||||
RecordOnly
|
RecordOnly
|
||||||
|
|
||||||
// RecordAndSample has span's `IsRecording() == true` and `Sampled` flag
|
// RecordAndSample indicates the span's IsRecording method returns true and trace.FlagsSampled flag
|
||||||
// *must* be set.
|
// must be set.
|
||||||
RecordAndSample
|
RecordAndSample
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user