Share via


@azure/monitor-opentelemetry package

Interfaces

AzureMonitorOpenTelemetryOptions

Azure Monitor OpenTelemetry Options

BrowserSdkLoaderOptions

Application Insights Web Instrumentation Configuration interface

InstrumentationOptions

OpenTelemetry Instrumentations Configuration interface

Functions

shutdownAzureMonitor()

Shutdown Azure Monitor Open Telemetry Distro

See https://github.com/open-telemetry/opentelemetry-js/blob/0229434cb5a3179f63c021105f36270ae7897929/experimental/packages/opentelemetry-sdk-node/src/sdk.ts#L398

useAzureMonitor(AzureMonitorOpenTelemetryOptions)

Initialize Azure Monitor Distro

Function Details

shutdownAzureMonitor()

Shutdown Azure Monitor Open Telemetry Distro

See https://github.com/open-telemetry/opentelemetry-js/blob/0229434cb5a3179f63c021105f36270ae7897929/experimental/packages/opentelemetry-sdk-node/src/sdk.ts#L398

function shutdownAzureMonitor(): Promise<void>

Returns

Promise<void>

useAzureMonitor(AzureMonitorOpenTelemetryOptions)

Initialize Azure Monitor Distro

function useAzureMonitor(options?: AzureMonitorOpenTelemetryOptions)

Parameters

options
AzureMonitorOpenTelemetryOptions

Azure Monitor OpenTelemetry Options