File tree 2 files changed +0
-6
lines changed
src/opentelemetry/sdk/trace
2 files changed +0
-6
lines changed 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