azure.opentelemetry.exporter.azuremonitor package

class azure.opentelemetry.exporter.azuremonitor.AzureMonitorTraceExporter(**kwargs)[source]

Azure Monitor base exporter for OpenTelemetry.

Parameters

options (ExporterOptions) – Exporter configuration options.

Azure Monitor base exporter for OpenTelemetry.

Parameters

options (ExporterOptions) – Exporter configuration options.

export(spans: Sequence[opentelemetry.trace.span.Span]) → opentelemetry.sdk.trace.export.SpanExportResult[source]

Export data :param spans: Open Telemetry Spans to export. :type spans: ~opentelemetry.trace.Span

shutdown()[source]

Shuts down the exporter.

Called when the SDK is shut down.

class azure.opentelemetry.exporter.azuremonitor.ExporterOptions(connection_string: str = None)[source]

Configuration for Azure Exporters. :param str connection_string: Azure Connection String.

connection_string