Local parent span's sampling decision is propagated to children by default. Previously, the sampler was consulted for children regardless of the local parent's decision.
It is no longer possible to change a sampling decision after a SpanBuilder has been created. Previously, SpanBuilder allowed the sampled attribute to be modified.
The MaxQPS sampler was renamed to RateLimiting, and is now implemented according to the spec.
All standard samplers are now thread-safe.
The values true and false may be passed in wherever a sampler is expected. These are shortcuts for the AlwaysSample and NeverSample samplers.
Created fake Random and Time classes to simplify some of the tests.
Update version and changelog to prepare for release.
Includes the following changes:
true
andfalse
may be passed in wherever a sampler is expected. These are shortcuts for the AlwaysSample and NeverSample samplers.