1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2024-12-12 10:04:29 +02:00
opentelemetry-go/sdk/trace
Will Li 98c2c9d96c
Add env support for span limits configuration (#2606)
* add env support for otel_span configuration

Signed-off-by: Cuichen Li <cuichli@cisco.com>

* update changelog

* update changelog and some logic based on comment

* Update CHANGELOG.md

Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>

* add document about retrieve value from environment variable

Signed-off-by: Cuichen Li <cuichli@cisco.com>

* remove trailing whitespace

Signed-off-by: Cuichen Li <cuichli@cisco.com>

* parse environment variable before apply the options

* Update CHANGELOG.md

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>

* Update sdk/trace/provider_test.go

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>

* Update CHANGELOG.md

Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2022-02-17 08:21:13 -08:00
..
tracetest Make the tracetest.SpanRecorder concurrent safe (#2178) 2021-08-12 09:12:31 -07:00
batch_span_processor_test.go Unexport EnvBatchSpanProcessor* constants (#2583) 2022-02-07 07:57:44 -08:00
batch_span_processor.go Fix race condition in reading the dropped spans number (#2615) 2022-02-16 09:00:31 -08:00
benchmark_test.go Replace recordingSpan attributes implementation with slice of attributes (#2576) 2022-02-07 12:58:05 -08:00
config.go Add env support for span limits configuration (#2606) 2022-02-17 08:21:13 -08:00
doc.go Prerelease v1.0.0 (#2250) 2021-09-20 13:02:46 -07:00
event.go chore: adds vanity import check. (#2255) 2021-09-27 22:37:26 -04:00
evictedqueue_test.go Update License header for all source files (#586) 2020-03-23 22:41:10 -07:00
evictedqueue.go Optimize evictedQueue implementation and use (#2556) 2022-01-27 13:55:21 -08:00
id_generator.go Interface stability documentation (#2012) 2021-06-18 07:56:11 -07:00
link.go Removed dropped link's attributes field from API package (#2118) 2021-07-26 11:06:41 -04:00
provider_test.go Add env support for span limits configuration (#2606) 2022-02-17 08:21:13 -08:00
provider.go Add env support for span limits configuration (#2606) 2022-02-17 08:21:13 -08:00
sampling_test.go Deprecated the oteltest.TraceStateFromKeyValues function (#2122) 2021-07-26 11:12:53 -04:00
sampling.go Change Options to accept type not pointer (#2558) 2022-02-01 15:51:23 -06:00
simple_span_processor_test.go Fix imports in all files except generated files in jaeger exporter (#2383) 2021-11-13 08:35:04 -08:00
simple_span_processor.go Debug Logging for sdk/trace (#2500) 2022-01-10 19:58:01 -05:00
snapshot.go chore: adds vanity import check. (#2255) 2021-09-27 22:37:26 -04:00
span_exporter.go Interface stability documentation (#2012) 2021-06-18 07:56:11 -07:00
span_processor_annotator_example_test.go Add SpanProcessor example for Span annotation on start (#1733) 2021-04-21 14:40:52 -04:00
span_processor_filter_example_test.go Redefine ExportSpans of SpanExporter with ReadOnlySpan (#1873) 2021-05-04 16:45:13 -07:00
span_processor_test.go Handle nil testSpanProcessor (#2400) 2021-11-16 08:57:10 -08:00
span_processor.go Interface stability documentation (#2012) 2021-06-18 07:56:11 -07:00
span.go Replace recordingSpan attributes implementation with slice of attributes (#2576) 2022-02-07 12:58:05 -08:00
trace_test.go Replace recordingSpan attributes implementation with slice of attributes (#2576) 2022-02-07 12:58:05 -08:00
tracer.go Replace recordingSpan attributes implementation with slice of attributes (#2576) 2022-02-07 12:58:05 -08:00
util_test.go Rename WithDefaultSampler TracerProvider option to WithSampler and update docs (#1702) 2021-03-18 09:34:47 -07:00