| Package | Description |
|---|---|
| com.github.kristofa.brave |
| 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 |
Deprecated.
|
static Sampler |
Sampler.NEVER_SAMPLE |
Deprecated.
|
| Modifier and Type | Method | Description |
|---|---|---|
static Sampler |
BoundarySampler.create(float rate) |
|
static Sampler |
CountingSampler.create(float rate) |
|
static Sampler |
Sampler.create(float rate) |
Deprecated.
Returns a sampler, given a rate expressed as a percentage.
|
| Modifier and Type | Method | Description |
|---|---|---|
Brave.Builder |
Brave.Builder.traceSampler(Sampler sampler) |
|
ClientTracer.Builder |
ClientTracer.Builder.traceSampler(Sampler sampler) |
Deprecated.
|
ServerTracer.Builder |
ServerTracer.Builder.traceSampler(Sampler sampler) |
Deprecated.
|
Copyright © 2018 OpenZipkin. All rights reserved.