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

# Pydantic Logfire

> Logfire is a tool for comprehensive observability of your LLM applications with OpenTelemetry.

[Logfire](https://pydantic.dev/logfire) and any opentelemetry compatible tracing library works out of the box with Portkey.

All you need to do is set the following environment variables in your application:

```sh theme={"system"}
OTEL_EXPORTER_OTLP_ENDPOINT = "https://api.portkey.com/v1/otel"
OTEL_EXPORTER_OTLP_HEADERS = "x-portkey-api-key={YOUR_PORTKEY_API_KEY}"
```
