Tyler Yahn
0d0a7320e6
Update span limits to comply with specification ( #2637 )
...
* PoC for span limit refactor
* Rename config.go to span_limits.go
* Add unit tests for truncateAttr
* Add unit tests for non-string attrs
* Add span limit benchmark tests
* Fix lint
* Isolate span limit tests
* Clean span limits test
* Test limits on exported spans
* Remove duplicate test code
* Fix lint
* Add WithRawSpanLimits option
* Add test for raw and orig span limits opts
* Add changes to changelog
* Add tests for span resource disabled
* Test unlimited instead of default limit
* Update docs
* Add fix to changelog
* Fix option docs
* Do no mutate attribute
* Fix truncateAttr comment
* Remake NewSpanLimits to be newEnvSpanLimits
Update and unify documentation accordingly.
* Update truncateAttr string slice update comment
* Update CHANGELOG.md
Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
2022-03-03 07:56:07 -08:00