docs: sampler typo (#342)
fix BasicSampler docstring typo Co-authored-by: Steve Carlson <steve.carlson@crowdstrike.com>
This commit is contained in:
parent
164ec91b0c
commit
fad20d83d3
|
@ -38,7 +38,7 @@ func (s RandomSampler) Sample(lvl Level) bool {
|
||||||
}
|
}
|
||||||
|
|
||||||
// BasicSampler is a sampler that will send every Nth events, regardless of
|
// BasicSampler is a sampler that will send every Nth events, regardless of
|
||||||
// there level.
|
// their level.
|
||||||
type BasicSampler struct {
|
type BasicSampler struct {
|
||||||
N uint32
|
N uint32
|
||||||
counter uint32
|
counter uint32
|
||||||
|
|
Loading…
Reference in New Issue