Class BaggageToPropagate
java.lang.Object
io.micrometer.tracing.contextpropagation.BaggageToPropagate
-
Constructor Summary
ConstructorsConstructorDescriptionBaggageToPropagate(String... baggage) Creates a new instance ofBaggageToPropagatewith a single baggage entry.BaggageToPropagate(Map<String, String> baggage) Creates a new instance ofBaggageToPropagatewith this baggage. -
Method Summary
-
Constructor Details
-
BaggageToPropagate
Creates a new instance ofBaggageToPropagatewith this baggage.- Parameters:
baggage- baggage entries
-
BaggageToPropagate
Creates a new instance ofBaggageToPropagatewith a single baggage entry.- Parameters:
baggage- array of baggage key, value pairs (e.g. "foo", "foo1", "foo2", "foo3" will result in baggage foo:foo1, foo2:foo3
-
-
Method Details
-
getBaggage
-
toString
-
equals
-
hashCode
-