""" Observability Module ==================== Provides metrics, tracing, and logging for the agent governance system. Components: - metrics: Prometheus-format metrics endpoint - tracing: Distributed tracing with spans - logging: Structured JSON logging with trace correlation """ from .metrics import ( registry, router as metrics_router, record_agent_execution, record_violation, record_promotion, record_orchestration, record_template_download, MetricsMiddleware ) from .tracing import ( Tracer, Span, Trace, get_tracer, get_current_trace_id, get_current_span, router as tracing_router, TRACE_ID_HEADER, SPAN_ID_HEADER, extract_trace_context, inject_trace_context ) from .logging import ( get_logger, StructuredLogger, LogStorage, router as logging_router ) __all__ = [ # Metrics 'registry', 'metrics_router', 'record_agent_execution', 'record_violation', 'record_promotion', 'record_orchestration', 'record_template_download', 'MetricsMiddleware', # Tracing 'Tracer', 'Span', 'Trace', 'get_tracer', 'get_current_trace_id', 'get_current_span', 'tracing_router', 'TRACE_ID_HEADER', 'SPAN_ID_HEADER', 'extract_trace_context', 'inject_trace_context', # Logging 'get_logger', 'StructuredLogger', 'LogStorage', 'logging_router' ]