Share via


OpenTelemetryBuilderExtensions Class

Definition

Extension methods for setting up Azure Monitor in an OpenTelemetry.OpenTelemetryBuilder.

public static class OpenTelemetryBuilderExtensions
type OpenTelemetryBuilderExtensions = class
Public Module OpenTelemetryBuilderExtensions
Inheritance
OpenTelemetryBuilderExtensions

Methods

UseAzureMonitor(OpenTelemetryBuilder, Action<AzureMonitorOptions>)

Configures Azure Monitor for logging, distributed tracing, and metrics.

UseAzureMonitor(OpenTelemetryBuilder)

Configures Azure Monitor for logging, distributed tracing, and metrics.

Applies to