Skip to content

Commit 98af38e

Browse files
committed
add set_measurement
1 parent fb1f29e commit 98af38e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docs/platforms/python/migration/2.x-to-3.x.mdx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,11 @@ The PyMongo integration doesn't set `operation_ids` anymore. The individual IDs
181181
In Redis pipeline spans, there is no `span["data"]["redis.commands"]` that contains a dictionary `{"count": 3, "first_ten": ["cmd1", "cmd2", ...]}`. Instead, there is `span["data"]["redis.commands.count"]` (containing `3`) and `span["data"]["redis.commands.first_ten"]` (containing `["cmd1", "cmd2", ...]`).
182182

183183

184+
## Measurements
185+
186+
The `set_measurement()` API was removed. You can set custom attributes on the span instead with `set_attribute()`.
187+
188+
184189
## Sessions
185190

186191
The `auto_session_tracking()` context manager was removed. Use `track_session()` instead.

0 commit comments

Comments
 (0)