public final class Sampling extends Object
Modifier and Type | Method | Description |
---|---|---|
static TraceSampler<Object> |
alwaysSampler() |
A dummy sampler that will always sample.
|
static TraceSampler<String> |
deterministicSampler(int sampleRate) |
The standard sampling strategy used across Beelines.
|
static TraceSampler<Object> |
neverSampler() |
A dummy sampler that will never sample.
|
public static TraceSampler<Object> alwaysSampler()
public static TraceSampler<Object> neverSampler()
public static TraceSampler<String> deterministicSampler(int sampleRate)
sampleRate
- to use.DeterministicTraceSampler
Copyright © 2019–2020 Honeycomb. All rights reserved.