Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions api-reference/server/utilities/opentelemetry.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,25 @@ exporter = OTLPSpanExporter(

See our [Langfuse example](https://github.com/pipecat-ai/pipecat-examples/tree/main/open-telemetry/langfuse) for details on configuring this exporter.

### Latitude

[Latitude](https://latitude.so) is an open-source LLM observability and evaluation platform that ingests OTLP traces. Use the HTTP OTLP exporter and point it at Latitude's ingestion endpoint:

```python
import os
from opentelemetry.exporter.otlp.proto.http.trace_exporter import OTLPSpanExporter

exporter = OTLPSpanExporter(
endpoint="https://ingest.latitude.so/v1/traces",
headers={
"Authorization": f"Bearer {os.environ['LATITUDE_API_KEY']}",
"X-Latitude-Project": os.environ["LATITUDE_PROJECT"],
},
)
```

Sign up at [console.latitude.so](https://console.latitude.so/login), or self-host and point the endpoint at your own ingestion host.

### Console Exporter (for debugging)

The console exporter can be enabled alongside any other exporter by setting `console_export=True`:
Expand Down