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

# OTel Integration (Analytics Data)

Portkey supports sending your Analytics data to OpenTelemetry (OTel) compatible collectors, allowing you to integrate Portkey's analytics with your existing observability infrastructure.

## Overview

While Portkey leverages Clickhouse as the primary Analytics Store for the Control Panel by default, enterprise customers can integrate Portkey's analytics data with their existing data infrastructure through OpenTelemetry.

## Configuration

Portkey supports pushing your analytics data to an OTel compatible endpoint. The following environment variables are needed for pushing to OTel:

```yaml theme={"system"}
OTEL_PUSH_ENABLED: true
OTEL_ENDPOINT: http://localhost:4318
```

Additionally, you can configure arbitrary resource attributes of the OTel logs by setting a comma-separated value for `OTEL_RESOURCE_ATTRIBUTES`:

```
OTEL_RESOURCE_ATTRIBUTES: ApplicationShortName=gateway,AssetId=12323,deployment.service=production
```

## Integration Options

Enterprise customers commonly use these analytics exports with:

* **Datadog**: Monitor and analyze your AI operations alongside other application metrics
* **AWS S3**: Store analytics data for long-term retention and analysis
* **Other OTel-compatible systems**: Any system that can ingest OpenTelemetry data can be used with this feature

## Use Cases

This feature enables:

* Centralized observability across your entire tech stack
* Long-term storage of analytics data
* Custom analytics dashboards in your preferred tools
* Integration with existing alerting systems

## Getting Support

For additional assistance with setting up analytics data export:

* Join our [Discord community](https://portkey.sh/reddit-discord)
* Email us at [support@portkey.ai](mailto:support@portkey.ai)

Our team can help you with best practices for configuring your OTel collectors and integrating with your existing systems.
