From 11e6edf43465310808cd0dc147c9096db06d7237 Mon Sep 17 00:00:00 2001 From: Francesco Novy Date: Wed, 31 Jan 2024 12:53:36 +0100 Subject: [PATCH] Update MIGRATION.md Co-authored-by: Luca Forstner --- MIGRATION.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MIGRATION.md b/MIGRATION.md index 49b906fc269f..8a323c95861f 100644 --- a/MIGRATION.md +++ b/MIGRATION.md @@ -14,8 +14,8 @@ changes! Instead of an `transactionContext` being passed to the `tracesSampler` callback, the callback will directly receive `name` and `attributes` going forward. You can use these to make your sampling decisions, while `transactionContext` -will be removed in v8. Note that the `attributes` are only the attributes at transaction creation time, and some -attributes may only be set later (and thus not be available during sampling). +will be removed in v8. Note that the `attributes` are only the attributes at span creation time, and some +attributes may only be set later during the span lifecycle (and thus not be available during sampling). ## Deprecate using `getClient()` to check if the SDK was initialized