File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
opentelemetry-exporter-gcp-trace
src/opentelemetry/exporter/cloud_trace Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 44
55- Add support for Python 3.11
66 ([ #240 ] ( https://github.com/GoogleCloudPlatform/opentelemetry-operations-python/pull/240 ) )
7+ - Upgrade ` opentelemetry-api ` dependency to version 1.4 or newer
8+ ([ #238 ] ( https://github.com/GoogleCloudPlatform/opentelemetry-operations-python/pull/238 ) )
79
810## Version 1.4.0
911
Original file line number Diff line number Diff line change @@ -478,7 +478,7 @@ def _extract_attributes(
478478 """Convert span.attributes to dict."""
479479 attributes_dict : BoundedAttributes [
480480 str , trace_types .AttributeValue
481- ] = BoundedAttributes (num_attrs_limit )
481+ ] = BoundedAttributes (num_attrs_limit , immutable = False )
482482 invalid_value_dropped_count = 0
483483 for ot_key , ot_value in attrs .items () if attrs else []:
484484 key = _truncate_str (ot_key , MAX_ATTR_KEY_BYTES )[0 ]
You can’t perform that action at this time.
0 commit comments