OpenTelemetry.Context.Propagation.EnvironmentVariableCarrier
A class containing helper methods for using environment variables as context propagation carriers.
namespace OpenTelemetry.Context.Propagation
{
public static class EnvironmentVariableCarrier
{
public static IReadOnlyDictionary<string, string> CurrentProcess { get; }
public static IReadOnlyDictionary<string, string> Capture(IEnumerable<KeyValuePair<string, string>> environmentVariables);
public static IEnumerable<string> Get<[System.Runtime.CompilerServices.Nullable(0)] T>(T carrier, string key) where T : IEnumerable<KeyValuePair<string, string>>;
public static void Set<[System.Runtime.CompilerServices.Nullable(0)] T>(T carrier, string key, string value) where T : IDictionary<string, string>;
public static string NormalizeKey(string key);
}
}