From fe29067e52d874a0aa80fd3e921b1fda08dd5a09 Mon Sep 17 00:00:00 2001 From: Tyler Yahn Date: Fri, 28 Jun 2024 09:22:32 -0700 Subject: [PATCH] Deprecate baggagetrace in favor of baggagecopy --- processors/baggage/baggagetrace/doc.go | 2 ++ processors/baggage/baggagetrace/go.mod | 1 + 2 files changed, 3 insertions(+) diff --git a/processors/baggage/baggagetrace/doc.go b/processors/baggage/baggagetrace/doc.go index c2af10501d0..96b8d8cc41c 100644 --- a/processors/baggage/baggagetrace/doc.go +++ b/processors/baggage/baggagetrace/doc.go @@ -2,4 +2,6 @@ // SPDX-License-Identifier: Apache-2.0 // Package baggagetrace implements a baggage span processor. +// +// Deprecated: Use go.opentelemetry.io/contrib/processors/baggagecopy instead. package baggagetrace // import "go.opentelemetry.io/contrib/processors/baggage/baggagetrace" diff --git a/processors/baggage/baggagetrace/go.mod b/processors/baggage/baggagetrace/go.mod index bd00680e334..1ec8bf9c763 100644 --- a/processors/baggage/baggagetrace/go.mod +++ b/processors/baggage/baggagetrace/go.mod @@ -1,3 +1,4 @@ +// Deprecated: Use go.opentelemetry.io/contrib/processors/baggagecopy instead. module go.opentelemetry.io/contrib/processors/baggage/baggagetrace go 1.21