> ## Documentation Index
> Fetch the complete documentation index at: https://portkey-docs-feat-alice-guardrail-docs.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={null}
OTEL_EXPORTER_OTLP_ENDPOINT = "https://api.portkey.com/v1/otel"
OTEL_EXPORTER_OTLP_HEADERS = "x-portkey-api-key={YOUR_PORTKEY_API_KEY}"
```


## Related topics

- [OpenAI Agents SDK (Python)](/virtual_key_old/integrations/agents/openai-agents.md)
- [Pydantic AI](/virtual_key_old/integrations/agents/pydantic-ai.md)
- [Controlled Generations](/virtual_key_old/integrations/llms/vertex-ai/controlled-generations.md)
- [Structured Outputs](/virtual_key_old/integrations/llms/openai/structured-outputs.md)
- [Predibase](/virtual_key_old/integrations/llms/predibase.md)
