> ## 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.

# Get Monitor • Rust AI Agent SDK

> get_monitor: Get the global performance monitor.

# get\_monitor

<div className="flex items-center gap-2">
  <Badge color="teal">Function</Badge>
</div>

> This function is defined in the [**telemetry**](../modules/telemetry) module.

Get the global performance monitor.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def get_monitor() -> &'static PerformanceMonitor
```

### Returns

<ResponseField name="Returns" type="&'static PerformanceMonitor">
  The result of the operation.
</ResponseField>

## Uses

* `get_or_init`

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-rust/praisonai/src/telemetry/mod.rs#L462">
  `praisonai/src/telemetry/mod.rs` at line 462
</Card>
