Sprog

ExportTarget Enum

Definition

Specifies which exporters to enable in the Microsoft OpenTelemetry distro. Multiple exporters can be combined using bitwise OR.

This enumeration supports a bitwise combination of its member values.

[System.Flags]
public enum ExportTarget
[<System.Flags>]
type ExportTarget = 
Public Enum ExportTarget
Inheritance
ExportTarget
Attributes

Fields

Name Value Description
None 0

No exporters enabled. Instrumentation is still active.

AzureMonitor 1

Export telemetry to Azure Monitor (Application Insights).

Agent365 2

Export telemetry to Agent365 observability service.

Otlp 4

Export telemetry via OTLP (OpenTelemetry Protocol).

Console 8

Export telemetry to console (development only).

Applies to