Add the sampler API following [the spec](https://github.com/open-telemetry/opentelemetry-specification/blob/master/specification/api-sampling.md).
Add the sampler API following the spec.