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
11
11
([ #1571 ] ( https://github.com/open-telemetry/opentelemetry-python/pull/1571 )] )
12
12
- Rename ` TRACE_ ` to ` TRACES_ ` for environment variables
13
13
([ #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 )] )
14
16
15
17
### Added
16
18
- Added ` end_on_exit ` argument to ` start_as_current_span `
Original file line number Diff line number Diff line change 61
61
logger = logging .getLogger (__name__ )
62
62
63
63
SPAN_ATTRIBUTE_COUNT_LIMIT = int (
64
- environ .get (OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT , 1000 )
64
+ environ .get (OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT , 128 )
65
65
)
66
66
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 ))
69
69
VALID_ATTR_VALUE_TYPES = (bool , str , int , float )
70
70
# pylint: disable=protected-access
71
71
TRACE_SAMPLER = sampling ._get_from_env_or_default ()
You can’t perform that action at this time.
0 commit comments