1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2024-12-04 09:43:23 +02:00
opentelemetry-go/sdk/trace
Tyler Yahn 1d42be1601
Rename WithDefaultSampler TracerProvider option to WithSampler and update docs (#1702)
* 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>
2021-03-18 09:34:47 -07:00
..
attributesmap_test.go Rename otel/label -> otel/attribute (#1541) 2021-02-18 12:59:37 -05:00
attributesmap.go Rename otel/label -> otel/attribute (#1541) 2021-02-18 12:59:37 -05:00
batch_span_processor_test.go Make SpanContext Immutable (#1573) 2021-03-09 08:17:29 -08:00
batch_span_processor.go Add ForceFlush method to TracerProvider (#1608) 2021-03-08 11:12:13 -08:00
benchmark_test.go Rename WithDefaultSampler TracerProvider option to WithSampler and update docs (#1702) 2021-03-18 09:34:47 -07:00
config.go Update span limits to conform with OpenTelemetry specification (#1535) 2021-02-18 11:31:35 -08:00
doc.go Update README and documentation to better communicate pre-GA state (#1281) 2020-10-29 09:23:13 -07:00
evictedqueue_test.go Update License header for all source files (#586) 2020-03-23 22:41:10 -07:00
evictedqueue.go chore: adds vanity import for files that don't have it. (#1297) 2020-11-04 09:10:58 -08:00
id_generator.go Enable support for externally-defined ID generators (#1363) 2020-12-09 20:30:32 -05:00
provider_test.go Add ForceFlush method to TracerProvider (#1608) 2021-03-08 11:12:13 -08:00
provider.go Rename WithDefaultSampler TracerProvider option to WithSampler and update docs (#1702) 2021-03-18 09:34:47 -07:00
sampling_test.go Make SpanContext Immutable (#1573) 2021-03-09 08:17:29 -08:00
sampling.go Make SpanContext Immutable (#1573) 2021-03-09 08:17:29 -08:00
simple_span_processor_test.go Make SpanContext Immutable (#1573) 2021-03-09 08:17:29 -08:00
simple_span_processor.go Add ForceFlush method to TracerProvider (#1608) 2021-03-08 11:12:13 -08:00
span_processor_example_test.go Add ForceFlush method to TracerProvider (#1608) 2021-03-08 11:12:13 -08:00
span_processor_test.go Make SpanContext Immutable (#1573) 2021-03-09 08:17:29 -08:00
span_processor.go Add ForceFlush method to TracerProvider (#1608) 2021-03-08 11:12:13 -08:00
span.go Comply with OpenTelemetry attributes specification (#1703) 2021-03-17 20:48:43 -04:00
trace_test.go Rename WithDefaultSampler TracerProvider option to WithSampler and update docs (#1702) 2021-03-18 09:34:47 -07:00
tracer.go Remove build flags for runtime/trace support (#1498) 2021-01-29 12:41:49 -08:00
util_test.go Rename WithDefaultSampler TracerProvider option to WithSampler and update docs (#1702) 2021-03-18 09:34:47 -07:00