OpenTelemetry.Baggage
Baggage implementation.
Gets or sets the current Baggage.
Gets the number of key/value pairs in the baggage.
Returns a new Baggage with all the key/value pairs removed.
Create a Baggage instance from dictionary of baggage key/value pairs.
Returns the name/value pairs in the Baggage.
Returns the value associated with the given name, or null if the given name is not present.
Returns an enumerator that iterates through the Baggage.
Compare two entries of Baggage for equality.
Compare two entries of Baggage for not equality.
Returns a new Baggage with the key/value pair removed.
Returns a new Baggage which contains the new key/value pair.
public static Baggage SetBaggage(IEnumerable<KeyValuePair<string, string>> baggageItems, Baggage baggage = default)
Returns a new Baggage which contains the new key/value pairs.
Returns a new Baggage with all the key/value pairs removed.
Returns the name/value pairs in the Baggage.
Returns the value associated with the given name, or null if the given name is not present.
Returns an enumerator that iterates through the Baggage.
Returns a new Baggage with the key/value pair removed.
Returns a new Baggage which contains the new key/value pair.
Returns a new Baggage which contains the new key/value pairs.
Returns a new Baggage which contains the new key/value pairs.