From 999876b609d61365b2249601a972cf3fa794c788 Mon Sep 17 00:00:00 2001 From: Dylan Pearce Date: Tue, 29 Oct 2024 22:42:18 -0400 Subject: [PATCH] Update OtlpHttpTraceExporter.swift --- .../OpenTelemetryProtocolHttp/trace/OtlpHttpTraceExporter.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Exporters/OpenTelemetryProtocolHttp/trace/OtlpHttpTraceExporter.swift b/Sources/Exporters/OpenTelemetryProtocolHttp/trace/OtlpHttpTraceExporter.swift index e846282a..9b609b75 100644 --- a/Sources/Exporters/OpenTelemetryProtocolHttp/trace/OtlpHttpTraceExporter.swift +++ b/Sources/Exporters/OpenTelemetryProtocolHttp/trace/OtlpHttpTraceExporter.swift @@ -20,7 +20,7 @@ public class OtlpHttpTraceExporter: OtlpHttpExporterBase, SpanExporter { override public init(endpoint: URL = defaultOltpHttpTracesEndpoint(), config: OtlpConfiguration = OtlpConfiguration(), useSession: URLSession? = nil, envVarHeaders: [(String, String)]? = EnvVarHeaders.attributes) { - super.init(endpoint: endpoint, config: config, useSession: useSession) + super.init(endpoint: endpoint, config: config, useSession: useSession, envVarHeaders: envVarHeaders) } public func export(spans: [SpanData], explicitTimeout: TimeInterval? = nil) -> SpanExporterResultCode {