diff --git a/api-reference/server/utilities/opentelemetry.mdx b/api-reference/server/utilities/opentelemetry.mdx index bac94ef5..867d6640 100644 --- a/api-reference/server/utilities/opentelemetry.mdx +++ b/api-reference/server/utilities/opentelemetry.mdx @@ -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`: