Package | Description |
---|---|
brave | |
brave.sampler |
Modifier and Type | Method | Description |
---|---|---|
Tracer.Builder |
Tracer.Builder.sampler(Sampler sampler) |
Deprecated.
|
Tracing.Builder |
Tracing.Builder.sampler(Sampler sampler) |
Sampler is responsible for deciding if a particular trace should be "sampled", i.e.
|
Modifier and Type | Class | Description |
---|---|---|
class |
BoundarySampler |
This sampler is appropriate for high-traffic instrumentation (ex edge web servers that each
receive >100K requests) who provision random trace ids, and make the sampling decision only once.
|
class |
CountingSampler |
This sampler is appropriate for low-traffic instrumentation (ex servers that each receive <100K
requests), or those who do not provision random trace ids.
|
Modifier and Type | Field | Description |
---|---|---|
static Sampler |
Sampler.ALWAYS_SAMPLE |
|
static Sampler |
Sampler.NEVER_SAMPLE |
Modifier and Type | Method | Description |
---|---|---|
static Sampler |
BoundarySampler.create(float rate) |
|
static Sampler |
CountingSampler.create(float rate) |
|
static Sampler |
Sampler.create(float rate) |
Returns a sampler, given a rate expressed as a percentage.
|
Copyright © 2017 OpenZipkin. All rights reserved.