File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
opentelemetry-sdk/src/opentelemetry/sdk/trace Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111 ([ #1571 ] ( https://github.com/open-telemetry/opentelemetry-python/pull/1571 )] )
1212- Rename ` TRACE_ ` to ` TRACES_ ` for environment variables
1313 ([ #1595 ] ( https://github.com/open-telemetry/opentelemetry-python/pull/1595 )] )
14+ - Limits for Span attributes, events and links have been updated to 128
15+ ([ 1597] ( https://github.com/open-telemetry/opentelemetry-python/pull/1597 )] )
1416
1517### Added
1618- Added ` end_on_exit ` argument to ` start_as_current_span `
Original file line number Diff line number Diff line change 6161logger = logging .getLogger (__name__ )
6262
6363SPAN_ATTRIBUTE_COUNT_LIMIT = int (
64- environ .get (OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT , 1000 )
64+ environ .get (OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT , 128 )
6565)
6666
67- SPAN_EVENT_COUNT_LIMIT = int (environ .get (OTEL_SPAN_EVENT_COUNT_LIMIT , 1000 ))
68- SPAN_LINK_COUNT_LIMIT = int (environ .get (OTEL_SPAN_LINK_COUNT_LIMIT , 1000 ))
67+ SPAN_EVENT_COUNT_LIMIT = int (environ .get (OTEL_SPAN_EVENT_COUNT_LIMIT , 128 ))
68+ SPAN_LINK_COUNT_LIMIT = int (environ .get (OTEL_SPAN_LINK_COUNT_LIMIT , 128 ))
6969VALID_ATTR_VALUE_TYPES = (bool , str , int , float )
7070# pylint: disable=protected-access
7171TRACE_SAMPLER = sampling ._get_from_env_or_default ()
You can’t perform that action at this time.
0 commit comments