Skip to content

Commit

Permalink
Update samplers/aws/xray/traceid_ratio_sampler.go
Browse files Browse the repository at this point in the history
Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
  • Loading branch information
alanprot and Aneurysm9 authored Dec 21, 2022
1 parent 155a91c commit d2d150f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samplers/aws/xray/traceid_ratio_sampler.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ type traceIDRatioBasedSampler struct {
desc string
}

// NewTraceIDRatioBased creates a sampler based on random number.
// NewTraceIDRatioBased creates a sampler based on (presumably) random parts of the TraceID.
// fraction parameter should be between 0 and 1 where:
// fraction >= 1 it will always sample
// fraction <= 0 it will never sample
Expand Down

0 comments on commit d2d150f

Please sign in to comment.