Skip to main content

agrag.observability

OpenTelemetry wiring for the ingestion layer.

This module imports only opentelemetry-api. The SDK and exporters stay in the optional observability extra and are never imported here; a caller wires them before opening a graph. The tracer is constructor-injected, never ambient: get_tracer(None) returns an explicit no-op tracer instead of reaching the global TracerProvider.

Functions:

Attributes: