mirror of
https://github.com/qdrant/landing_page.git
synced 2026-09-28 23:48:31 +02:00
* docs: Added OpenLLMetry docs * Apply suggestions from code review Co-authored-by: Mike Jang <michael.jang@qdrant.io> * Update qdrant-landing/content/documentation/frameworks/openllmetry.md Co-authored-by: Mike Jang <michael.jang@qdrant.io> --------- Co-authored-by: Mike Jang <michael.jang@qdrant.io>
1.4 KiB
1.4 KiB
title, weight
| title | weight |
|---|---|
| OpenLLMetry | 2300 |
OpenLLMetry
OpenLLMetry from Traceloop is a set of extensions built on top of OpenTelemetry that gives you complete observability over your LLM application.
OpenLLMetry supports instrumenting the qdrant_client Python library and exporting the traces to various observability platforms, as described in their Integrations catalog.
This page assumes you're using qdrant-client version 1.7.3 or above.
Usage
To set up OpenLLMetry, follow these steps:
- Install the SDK:
pip install traceloop-sdk
- Instantiate the SDK:
from traceloop.sdk import Traceloop
Traceloop.init()
You're now tracing your qdrant_client usage with OpenLLMetry!
Without the SDK
Since Traceloop provides standard OpenTelemetry instrumentations, you can use them as standalone packages. To do so, follow these steps:
- Install the package:
pip install opentelemetry-instrumentation-qdrant
- Instantiate the
QdrantInstrumentor.
from opentelemetry.instrumentation.qdrant import QdrantInstrumentor
QdrantInstrumentor().instrument()
Further Reading
- 📚 OpenLLMetry API reference