File tree Expand file tree Collapse file tree
baggage-processor/src/main/java/io/opentelemetry/contrib/baggage/processor Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,6 +23,14 @@ public final class BaggageLogRecordProcessor implements LogRecordProcessor {
2323
2424 private final Predicate <String > baggageKeyPredicate ;
2525
26+ /**
27+ * @deprecated Use {@link #BaggageLogRecordProcessor(Collection, Collection)} instead.
28+ */
29+ @ Deprecated
30+ public BaggageLogRecordProcessor (Predicate <String > baggageKeyPredicate ) {
31+ this .baggageKeyPredicate = baggageKeyPredicate ;
32+ }
33+
2634 /**
2735 * Creates a new {@link BaggageLogRecordProcessor} that copies baggage entries with keys that pass
2836 * the provided include/exclude filtering into the newly created log record, when both arguments
Original file line number Diff line number Diff line change 2222public final class BaggageSpanProcessor implements SpanProcessor {
2323 private final Predicate <String > baggageKeyPredicate ;
2424
25+ /**
26+ * @deprecated Use {@link #BaggageSpanProcessor(Collection, Collection)} instead.
27+ */
28+ @ Deprecated
29+ public BaggageSpanProcessor (Predicate <String > baggageKeyPredicate ) {
30+ this .baggageKeyPredicate = baggageKeyPredicate ;
31+ }
32+
2533 /**
2634 * Creates a new {@link BaggageSpanProcessor} that copies baggage entries with keys that pass the
2735 * provided include/exclude filtering into the newly created {@link
You can’t perform that action at this time.
0 commit comments