nat.plugins.ragaai.ragaai_catalyst_exporter#

Attributes#

Classes#

RagaAICatalystExporter

RagaAI Catalyst exporter for AI workflow observability.

Module Contents#

logger#
class RagaAICatalystExporter(
context_state: nat.builder.context.ContextState | None = None,
batch_size: int = 100,
flush_interval: float = 5.0,
max_queue_size: int = 1000,
drop_on_overflow: bool = False,
shutdown_timeout: float = 10.0,
**catalyst_kwargs,
)#

Bases: nat.plugins.ragaai.mixin.ragaai_catalyst_mixin.RagaAICatalystMixin, nat.plugins.opentelemetry.otel_span_exporter.OtelSpanExporter

RagaAI Catalyst exporter for AI workflow observability.

Exports OpenTelemetry-compatible traces to RagaAI Catalyst for visualization and analysis of AI agent behavior and performance.

Features: - Automatic span conversion from NAT events - RagaAI Catalyst-specific authentication - Project and dataset-based trace organization - Integration with custom DynamicTraceExporter for optimal local file control

Args:

context_state: Execution context for isolation base_url: RagaAI Catalyst base URL access_key: RagaAI Catalyst access key secret_key: RagaAI Catalyst secret key project: Project name for trace grouping dataset: Dataset name for trace organization tracer_type: RagaAI Catalyst tracer type. debug_mode: When False (default), creates local rag_agent_traces.json file. When True, skips local file creation for cleaner operation. batch_size: Batch size for exporting flush_interval: Flush interval for exporting max_queue_size: Maximum queue size for exporting drop_on_overflow: Drop on overflow for exporting shutdown_timeout: Shutdown timeout for exporting