AzureMonitorOpenTelemetryOptions interface

Azure Monitor OpenTelemetry Options

Properties

azureMonitorExporterOptions

Azure Monitor Exporter Configuration

browserSdkLoaderOptions

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

enableLiveMetrics

Enable Live Metrics feature (Default false)

enablePerformanceCounters

Enable Performance Counter feature

enableStandardMetrics

Enable Standard Metrics feature (Default true)

enableTraceBasedSamplingForLogs

Enable log sampling based on trace (Default true)

instrumentationOptions

OpenTelemetry Instrumentations options included as part of Azure Monitor (azureSdk, http, mongoDb, mySql, postgreSql, redis, redis4)

logRecordProcessors

An array of log record processors to register to the logger provider.

metricReaders

An array of metric readers to register to the meter provider.

resource

OpenTelemetry Resource

samplingRatio

The rate of telemetry items tracked that should be transmitted (Default 1.0)

spanProcessors

An array of span processors to register to the tracer provider.

tracesPerSecond

The maximum number of traces to sample per second (Default 5). Set to 0 to use samplingRatio instead.

views

An array of metric views to register to the meter provider.

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

enableLiveMetrics

Enable Live Metrics feature (Default false)

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 true)

enableTraceBasedSamplingForLogs?: boolean

Property Value

boolean

instrumentationOptions

OpenTelemetry Instrumentations options included as part of Azure Monitor (azureSdk, http, mongoDb, mySql, postgreSql, redis, redis4)

instrumentationOptions?: InstrumentationOptions

Property Value

logRecordProcessors

An array of log record processors to register to the logger provider.

logRecordProcessors?: LogRecordProcessor[]

Property Value

LogRecordProcessor[]

metricReaders

An array of metric readers to register to the meter provider.

metricReaders?: MetricReader[]

Property Value

MetricReader[]

resource

OpenTelemetry Resource

resource?: Resource

Property Value

Resource

samplingRatio

The rate of telemetry items tracked that should be transmitted (Default 1.0)

samplingRatio?: number

Property Value

number

spanProcessors

An array of span processors to register to the tracer provider.

spanProcessors?: SpanProcessor[]

Property Value

SpanProcessor[]

tracesPerSecond

The maximum number of traces to sample per second (Default 5). Set to 0 to use samplingRatio instead.

tracesPerSecond?: number

Property Value

number

views

An array of metric views to register to the meter provider.

views?: ViewOptions[]

Property Value

ViewOptions[]