<PackageReference Include="OpenTelemetry.Exporter.OpenTelemetryProtocol" Version="1.20.1" />

OpenTelemetry.Exporter.OtlpExporterOptionsExtensions

namespace OpenTelemetry.Exporter { internal static class OtlpExporterOptionsExtensions { public static THeaders GetHeaders<[Nullable(2)] THeaders>(this OtlpExporterOptions options, Action<THeaders, string, string> addHeader) where THeaders : new; public static OtlpExporterTransmissionHandler GetExportTransmissionHandler(this OtlpExporterOptions options, ExperimentalOptions experimentalOptions, OtlpSignalType otlpSignalType, bool deferExportClientCreation = false); public static IExportClient GetExportClient(this OtlpExporterOptions options, OtlpSignalType otlpSignalType); public static bool TryEnableIHttpClientFactoryIntegration(this OtlpExporterOptions options, IServiceProvider serviceProvider, string httpClientName); } }