OptionalauthOAuth scopes for A365 service authentication.
OptionalclusterCluster category for the A365 service endpoint.
OptionaldomainOverride the A365 observability service domain.
OptionalenabledEnable A365 observability. When false, no A365 components are created.
OptionalenableEnable the A365 HTTP observability exporter (Agent365Exporter).
Defaults to false. When false (and enabled is true), the
A365SpanProcessor is still registered for baggage/attribute enrichment
of downstream exporters (Azure Monitor, OTLP, console, …) but no data is
sent to the A365 observability service.
Equivalent to the ENABLE_A365_OBSERVABILITY_EXPORTER environment
variable. The programmatic value wins when both are set.
Has no effect when enabled is false.
OptionalexporterMaximum time (ms) for the entire export() call.
OptionalhttpTimeout (ms) per individual HTTP request. Each retry gets a fresh timeout.
OptionallogLog level for A365 observability components.
Accepts none, info, warn, error, or a |-separated combination
(e.g. "warn|error"). Defaults to none when neither this option nor
the A365_OBSERVABILITY_LOG_LEVEL environment variable is set. When set,
this option overrides the environment variable.
OptionalmaxMaximum number of spans per export batch.
OptionalmaxMaximum estimated payload size (bytes) per HTTP chunk.
OptionalmaxMaximum span queue size before drops occur.
OptionalobservabilitySingle-string override for the A365 observability authentication scope.
Equivalent to the A365_OBSERVABILITY_SCOPES_OVERRIDE environment
variable; when supplied, it becomes the sole entry of the resolved
authScopes array. Mirrors the Python distro's
a365_observability_scope_override kwarg
(microsoft/opentelemetry-distro-python#87).
Precedence (highest to lowest): this option > env var > authScopes.
OptionalscheduledDelay (ms) between automatic batch flush attempts.
OptionaltokenToken resolver for authenticating with the A365 observability service. Called with (agentId, tenantId, authScopes) extracted from span attributes/config. Must return a bearer token string or a promise resolving to one.
OptionaluseWhen true, use the S2S endpoint path for export.
A365 observability configuration options.
These are the public-facing options passed via the
a365scope of MicrosoftOpenTelemetryOptions.