@azure/monitor-opentelemetry-exporter package

Classes

ApplicationInsightsSampler

ApplicationInsightsSampler is responsible for the following: Implements same trace id hashing algorithm so that traces are sampled the same across multiple nodes Adds item count to span attribute if span is sampled (needed for ingestion service)

AzureMonitorBaseExporter

Azure Monitor OpenTelemetry Trace Exporter.

AzureMonitorLogExporter

Azure Monitor OpenTelemetry Log Exporter.

AzureMonitorMetricExporter

Azure Monitor OpenTelemetry Metric Exporter.

AzureMonitorTraceExporter

Azure Monitor OpenTelemetry Trace Exporter.

RateLimitedSampler

RateLimitedSampler is responsible for the following:

  • Implements a rate-limiting sampling strategy based on a specified number of requests per second.
  • Dynamically adjusts the sampling rate based on the time elapsed since the last sample.
  • Provides a sampling rate that can be used to determine whether a span should be recorded.

Interfaces

ApplicationInsightsClientOptionalParams

Optional parameters for the Application Insights client. Extends both ServiceClientOptions (for backward compatibility) and ClientOptions (REST client).

AzureMonitorExporterOptions

Provides configuration options for AzureMonitorTraceExporter.

Enums

ServiceApiVersion

Azure service API version.

Variables

AI_OPERATION_NAME

Operation Name attribute name.

Variable Details

AI_OPERATION_NAME

Operation Name attribute name.

AI_OPERATION_NAME: "ai.operation.name"

Type

"ai.operation.name"