Skip to content

Commit 5dc8f4b

Browse files
committed
Add an entry for changelog
1 parent 1d3c268 commit 5dc8f4b

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

Diff for: CHANGELOG.md

+3
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

Diff for: opentelemetry-sdk/src/opentelemetry/sdk/metrics/_internal/view.py

+3
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 have 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)