Skip to content

Commit 4f37453

Browse files
committed
v1.5.1
1 parent 74f4be7 commit 4f37453

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
# OpenTelemetryDecorator
22

3+
## v1.5.1
4+
5+
- Fixes a bug with missing `attrs_version`
6+
37
## v1.5.0
8+
49
- 🚨 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.
510
- 🚨 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.
611

mix.exs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
defmodule OpenTelemetryDecorator.MixProject do
22
use Mix.Project
33

4-
@version "1.5.0"
4+
@version "1.5.1"
55
@github_page "https://github.com/marcdel/open_telemetry_decorator"
66

77
def project do

0 commit comments

Comments
 (0)