Skip to main content

Module

Deployment detection and mode-specific configuration.

DeploymentMode

Supported Splunk AO deployment modes.

O11yConfig

Configuration for a Splunk Observability Cloud deployment.

api_root

Return the realm-derived application origin used by the AO API.

crud_token

Return the API token when set, otherwise the ingest token.

from_env

Load and validate o11y configuration from the environment.

otlp_endpoint

Return the realm-derived OTLP trace ingest endpoint.

require_api_url

Return the realm-derived AO CRUD API URL.

require_console_url

Return the realm-derived AO console URL.

require_ingest_token

Return the token required for OTLP trace export.

StandaloneConfig

Configuration for a standalone Splunk AO deployment.

from_env

Load and validate standalone configuration from the environment.

otlp_endpoint

Return the explicit or console-derived OTLP trace endpoint.

resolve_deployment

Infer the deployment mode from the configured environment variables.