We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7eb143 commit 9201e12Copy full SHA for 9201e12
Sources/OpenTelemetryApi/OpenTelemetry.swift
@@ -45,6 +45,10 @@ public struct OpenTelemetry {
45
instance.baggageManager = baggageManager
46
}
47
48
+ public static func registerPropagators(textPropagators: [TextMapPropagator], baggagePropagator: TextMapBaggagePropagator) {
49
+ instance.propagators = DefaultContextPropagators(textPropagators: textPropagators, baggagePropagator: baggagePropagator)
50
+ }
51
+
52
public static func registerContextManager(contextManager: ContextManager) {
53
instance.contextProvider.contextManager = contextManager
54
0 commit comments