Skip to content

Commit

Permalink
Use Attribute rather than boundattribute in logrecord
Browse files Browse the repository at this point in the history
  • Loading branch information
pegasas committed Feb 15, 2024
1 parent e9c7c75 commit 611af61
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Unreleased

- Use Attribute rather than boundattribute in logrecord
([#3567](https://github.com/open-telemetry/opentelemetry-python/pull/3567))
- Fix flush error when no LoggerProvider configured for LoggingHandler
([#3608](https://github.com/open-telemetry/opentelemetry-python/pull/3608))
- Fix `OTLPMetricExporter` ignores `preferred_aggregation` property
Expand Down
2 changes: 1 addition & 1 deletion opentelemetry-api/src/opentelemetry/attributes/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def __init__(

def __repr__(self):
return (
f"{type(self).__name__}({dict(self._dict)}, maxlen={self.maxlen})"
f"{dict(self._dict)}"
)

def __getitem__(self, key):
Expand Down

0 comments on commit 611af61

Please sign in to comment.