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

# Enable Telemetry • AI Agent SDK

> enable_telemetry: Programmatically enable telemetry (if not disabled by environment).

# enable\_telemetry

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

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

Programmatically enable telemetry (if not disabled by environment).

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def enable_telemetry() -> None
```

### Returns

<ResponseField name="Returns" type="None">
  No return value. This is a no-op if any environment opt-out variable is set (`DO_NOT_TRACK`, `PRAISONAI_TELEMETRY_DISABLED`, `PRAISONAI_DISABLE_TELEMETRY`, `PRAISONAI_PERFORMANCE_DISABLED`).
</ResponseField>

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/telemetry/__init__.py#L109">
  `praisonaiagents/telemetry/__init__.py` at line 109
</Card>
