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
Sam Xie 298c5a142f
Update span limits to conform with OpenTelemetry specification (#1535)
* Change the default span limit values to 128

* Rename and move MaxEventsPerSpan, MaxAttributesPerSpan, MaxLinksPerSpan into SpanLimits

* Add AttributePerEventCountLimit and AttributePerLinkCountLimit

* Update CHANGELOG

* Apply suggestions from code review

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

* Discard over limited attributes of links in `span.addLink`

* Change the type of droppedAttributeCount to int64

* Fix tests

* Fix label -> attribute package rename from merge

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
Co-authored-by: Tyler Yahn <codingalias@gmail.com>
2021-02-18 11:31:35 -08: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 Shutdown underlying span exporter while shutting down BatchSpanProcessor (#1443) 2021-01-13 20:14:03 -05:00
batch_span_processor.go Shutdown underlying span exporter while shutting down BatchSpanProcessor (#1443) 2021-01-13 20:14:03 -05:00
benchmark_test.go Rename otel/label -> otel/attribute (#1541) 2021-02-18 12:59:37 -05: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 Call otel.Handle with non-nil errors (#1384) 2020-12-10 21:28:41 -08:00
provider.go Update span limits to conform with OpenTelemetry specification (#1535) 2021-02-18 11:31:35 -08:00
sampling_test.go Rename otel/label -> otel/attribute (#1541) 2021-02-18 12:59:37 -05:00
sampling.go Rename otel/label -> otel/attribute (#1541) 2021-02-18 12:59:37 -05:00
simple_span_processor_test.go Add RO/RW span interfaces (#1360) 2020-12-10 21:15:44 -08:00
simple_span_processor.go Add RO/RW span interfaces (#1360) 2020-12-10 21:15:44 -08:00
span_processor_example_test.go Add RO/RW span interfaces (#1360) 2020-12-10 21:15:44 -08:00
span_processor_test.go Rename otel/label -> otel/attribute (#1541) 2021-02-18 12:59:37 -05:00
span_processor.go Add RO/RW span interfaces (#1360) 2020-12-10 21:15:44 -08:00
span.go Update span limits to conform with OpenTelemetry specification (#1535) 2021-02-18 11:31:35 -08:00
trace_test.go Update span limits to conform with OpenTelemetry specification (#1535) 2021-02-18 11:31:35 -08:00
tracer.go Remove build flags for runtime/trace support (#1498) 2021-01-29 12:41:49 -08:00
util_test.go Rename *Provider names (#1190) 2020-09-23 18:16:13 -04:00