File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
opentelemetry-api/src/opentelemetry/attributes Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
8
8
## Unreleased
9
9
10
+ - Include key in attribute sequence warning
11
+ ([ #3639 ] ( https://github.com/open-telemetry/opentelemetry-python/pull/3639 ) )
10
12
- Upgrade markupsafe, Flask and related dependencies to dev and test
11
13
environments ([ #3609 ] ( https://github.com/open-telemetry/opentelemetry-python/pull/3609 ) )
12
14
- Handle HTTP 2XX responses as successful in OTLP exporters
Original file line number Diff line number Diff line change @@ -68,9 +68,10 @@ def _clean_attribute(
68
68
# Reject attribute value if sequence contains a value with an incompatible type.
69
69
if element_type not in _VALID_ATTR_VALUE_TYPES :
70
70
_logger .warning (
71
- "Invalid type %s in attribute value sequence. Expected one of "
71
+ "Invalid type %s in attribute '%s' value sequence. Expected one of "
72
72
"%s or None" ,
73
73
element_type .__name__ ,
74
+ key ,
74
75
[
75
76
valid_type .__name__
76
77
for valid_type in _VALID_ATTR_VALUE_TYPES
You can’t perform that action at this time.
0 commit comments