You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,11 @@
1
1
# OpenTelemetryDecorator
2
2
3
+
## v1.5.1
4
+
5
+
- Fixes a bug with missing `attrs_version`
6
+
3
7
## v1.5.0
8
+
4
9
- 🚨 The decorator now uses the `O11y.set_attribute(s)` functions to set attributes on spans. This means that the attribute processing logic that was here previously has been migrated there. However, there are some backwards incompatible changes listed below.
5
10
- 🚨 The decorator no longer supports nested attributes in the `include` option. The `O11y``set_attribute` and `set_attributes` functions should now be used to handle more complex attribute specifications. The `SpanAttributes` protocol in particular is what I recommend if you need to extract a subset of fields from an object. The example below will add only `user.id` and `user.name` to the span attributes.
0 commit comments