docs - logfire

This commit is contained in:
Ishaan Jaff 2024-06-17 19:47:31 -07:00
parent e37092aab6
commit 991604986d

View file

@ -29,8 +29,7 @@ pip install opentelemetry-exporter-otlp==1.25.0
Get your Logfire token from [Logfire](https://logfire.pydantic.dev/)
```python
litellm.success_callback = ["logfire"]
litellm.failure_callback = ["logfire"] # logs errors to logfire
litellm.callbacks = ["logfire"]
```
```python