AzureMonitorOpenTelemetryOptions interface

Azure Monitor scoped options.

These options control Azure Monitor-specific behavior. Global options (resource, sampling, instrumentations, processors) are defined at the distro level in MicrosoftOpenTelemetryOptions.

Properties

azureMonitorExporterOptions

Azure Monitor Exporter Configuration

browserSdkLoaderOptions

Application Insights Web Instrumentation options (enabled, connectionString, src, config)

enabled

Enable or disable Azure Monitor export (Default true)

enableLiveMetrics

Enable Live Metrics feature (Default true)

enablePerformanceCounters

Enable Performance Counter feature

enableStandardMetrics

Enable Standard Metrics feature (Default true)

enableTraceBasedSamplingForLogs

Enable log sampling based on trace (Default false)

Property Details

azureMonitorExporterOptions

Azure Monitor Exporter Configuration

azureMonitorExporterOptions?: AzureMonitorExporterOptions

Property Value

browserSdkLoaderOptions

Application Insights Web Instrumentation options (enabled, connectionString, src, config)

browserSdkLoaderOptions?: BrowserSdkLoaderOptions

Property Value

enabled

Enable or disable Azure Monitor export (Default true)

enabled?: boolean

Property Value

boolean

enableLiveMetrics

Enable Live Metrics feature (Default true)

enableLiveMetrics?: boolean

Property Value

boolean

enablePerformanceCounters

Enable Performance Counter feature

enablePerformanceCounters?: boolean

Property Value

boolean

enableStandardMetrics

Enable Standard Metrics feature (Default true)

enableStandardMetrics?: boolean

Property Value

boolean

enableTraceBasedSamplingForLogs

Enable log sampling based on trace (Default false)

enableTraceBasedSamplingForLogs?: boolean

Property Value

boolean