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
| azure |
Azure Monitor Exporter Configuration |
| browser |
Application Insights Web Instrumentation options (enabled, connectionString, src, config) |
| enabled | Enable or disable Azure Monitor export (Default true) |
| enable |
Enable Live Metrics feature (Default true) |
| enable |
Enable Performance Counter feature |
| enable |
Enable Standard Metrics feature (Default true) |
| enable |
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