> ## Documentation Index
> Fetch the complete documentation index at: https://praison.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Execution Metrics • AI Agent SDK

> ExecutionMetrics: Metrics collected during execution.

# ExecutionMetrics

> Defined in the [**observability**](https://praison.ai/docs/sdk/reference/praisonaiagents/modules/observability.md) module.

AI Agent

Metrics collected during execution.

## Properties

**total\_duration\_ms** `float`

No description available.

**stage\_durations\_ms** `Dict[str, float]`

No description available.

**total\_steps** `int`

No description available.

**tool\_calls** `int`

No description available.

**tool\_errors** `int`

No description available.

**escalations** `int`

No description available.

**deescalations** `int`

No description available.

**tokens\_used** `int`

No description available.

**checkpoints\_created** `int`

No description available.

**doom\_loops\_detected** `int`

No description available.

**recovery\_attempts** `int`

No description available.

> [accordion] Internal & Generic Methods
>
> * **to\_dict**: Convert to dictionary.

## Source

> [card] [View on GitHub](https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/escalation/observability.py#L77)
>
> `praisonaiagents/escalation/observability.py` at line 77


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.