File tree 3 files changed +2
-6
lines changed
src/opentelemetry/sdk/trace
3 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
18
18
([ #2101 ] ( https://github.com/open-telemetry/opentelemetry-python/pull/2101 ) )
19
19
- Fix incorrect headers parsing via environment variables
20
20
([ #2103 ] ( https://github.com/open-telemetry/opentelemetry-python/pull/2103 ) )
21
+ - Attribute limits no longer apply to Resource attributes
22
+ ([ #2138 ] ( https://github.com/open-telemetry/opentelemetry-python/pull/2138 ) )
21
23
22
24
## [ 1.5.0-0.24b0] ( https://github.com/open-telemetry/opentelemetry-python/releases/tag/v1.5.0-0.24b0 ) - 2021-08-26
23
25
Original file line number Diff line number Diff line change @@ -1069,11 +1069,6 @@ def __init__(
1069
1069
self ._span_limits = span_limits or SpanLimits ()
1070
1070
self ._atexit_handler = None
1071
1071
1072
- self ._resource ._attributes = BoundedAttributes (
1073
- self ._span_limits .max_attributes ,
1074
- self ._resource ._attributes ,
1075
- max_value_len = self ._span_limits .max_attribute_length ,
1076
- )
1077
1072
if shutdown_on_exit :
1078
1073
self ._atexit_handler = atexit .register (self .shutdown )
1079
1074
Original file line number Diff line number Diff line change @@ -1490,7 +1490,6 @@ def test_dropped_attributes(self):
1490
1490
self .assertEqual (3 , span .dropped_events )
1491
1491
self .assertEqual (2 , span .events [0 ].attributes .dropped )
1492
1492
self .assertEqual (2 , span .links [0 ].attributes .dropped )
1493
- self .assertEqual (2 , span .resource .attributes .dropped )
1494
1493
1495
1494
def _test_span_limits (
1496
1495
self ,
You can’t perform that action at this time.
0 commit comments