Skip to content

Commit 8e14b33

Browse files
SylvainJugeCopilot
andauthored
Update baggage-processor/src/main/java/io/opentelemetry/contrib/baggage/processor/BaggageSpanProcessor.java
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 4827fd6 commit 8e14b33

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

baggage-processor/src/main/java/io/opentelemetry/contrib/baggage/processor/BaggageSpanProcessor.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,12 @@ public BaggageSpanProcessor(
4545
}
4646

4747
/**
48-
* Creates a new {@link BaggageLogRecordProcessor} that copies all baggage entries into the newly
48+
* Creates a new {@link BaggageSpanProcessor} that copies all baggage entries into the newly
4949
* created span.
5050
*
5151
* @return baggage span processor including all attributes
52-
* @deprecated use {@code new BaggageSpanProcessor(Collections.singletonList("*),null)} instead
52+
* @deprecated use {@code new BaggageSpanProcessor(Collections.singletonList("*"), null)}
53+
* instead
5354
*/
5455
@Deprecated
5556
public static BaggageSpanProcessor allowAllBaggageKeys() {

0 commit comments

Comments
 (0)