orka.orchestrator.metrics module

Metrics Collection and Reporting

Handles LLM metrics extraction, aggregation, and reporting.

class orka.orchestrator.metrics.MetricsCollector[source]

Bases: object

Handles metrics collection, aggregation, and reporting.

run_id: Any
static build_previous_outputs(logs: List[Dict[str, Any]]) Dict[str, Any][source]

Build a dictionary of previous agent outputs from the execution logs. Used to provide context to downstream agents.