mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2024-12-04 09:43:23 +02:00
1d42be1601
* Rename WithDefaultSampler TracerProvider option to WithSampler The term "DefaultSampler" comes from early ideas of this project where there would be overriding samplers lower in the trace SDK. This overriding does not exist and if it is going to be introduced in the future the sampler associated with the TracerProvider is already scoped based on that association (no need to scope with a name). This renames the TracerProvider option to not include this anachronism. * Update PR number in CHANGELOG * Propagate rename * Update defaults documentation for TracerProvider * Update sdk/trace/provider.go Co-authored-by: Steven E. Harris <seh@panix.com> * Update sdk/trace/provider.go Co-authored-by: Steven E. Harris <seh@panix.com> |
||
---|---|---|
.. | ||
foo | ||
go.mod | ||
go.sum | ||
main.go |