Condividi tramite


OpenTelemetryScope.AddBaggage(String, String) Method

Definition

Adds baggage to the current activity for distributed tracing context propagation.

protected void AddBaggage(string key, string value);
member this.AddBaggage : string * string -> unit
Protected Sub AddBaggage (key As String, value As String)

Parameters

key
String

The baggage key.

value
String

The baggage value.

Applies to