Skip to content

Commit 43deca2

Browse files
committed
Add an entry for changelog
1 parent 1d3c268 commit 43deca2

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## Unreleased
99
- Use BoundedAttributes instead of raw dict to extract attributes from LogRecord and Support dropped_attributes_count in LogRecord ([#3310](https://github.com/open-telemetry/opentelemetry-python/pull/3310))
10+
- Add unit to view instrument selection criteria
11+
([#3341](https://github.com/open-telemetry/opentelemetry-python/pull/3341))
12+
1013
## Version 1.18.0/0.39b0 (2023-05-04)
1114

1215
- Select histogram aggregation with an environment variable

opentelemetry-sdk/src/opentelemetry/sdk/metrics/_internal/view.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ class View:
5151
card characters should not be used with this attribute if the view has also a
5252
``name`` defined.
5353
54+
instrument_unit: This is an instrument matching attribute: the unit the
55+
instrument must be to match the view.
56+
5457
meter_name: This is an instrument matching attribute: the name the
5558
instrument meter must have to match the view.
5659

0 commit comments

Comments
 (0)