AzureMonitorExporterHelperExtensions.AddAzureMonitorTraceExporter Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Registers an Azure Monitor trace exporter that will receive Activity instances.
public static OpenTelemetry.Trace.TracerProviderBuilder AddAzureMonitorTraceExporter (this OpenTelemetry.Trace.TracerProviderBuilder builder, Action<Microsoft.OpenTelemetry.Exporter.AzureMonitor.AzureMonitorExporterOptions> configure = default);
static member AddAzureMonitorTraceExporter : OpenTelemetry.Trace.TracerProviderBuilder * Action<Microsoft.OpenTelemetry.Exporter.AzureMonitor.AzureMonitorExporterOptions> -> OpenTelemetry.Trace.TracerProviderBuilder
<Extension()>
Public Function AddAzureMonitorTraceExporter (builder As TracerProviderBuilder, Optional configure As Action(Of AzureMonitorExporterOptions) = Nothing) As TracerProviderBuilder
Parameters
- builder
- OpenTelemetry.Trace.TracerProviderBuilder
OpenTelemetry.Trace.TracerProviderBuilder builder to use.
- configure
- Action<AzureMonitorExporterOptions>
Exporter configuration options.
Returns
OpenTelemetry.Trace.TracerProviderBuilder
The instance of OpenTelemetry.Trace.TracerProviderBuilder to chain the calls.
Applies to
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.
Azure SDK for .NET