Install OpenLLMetry for Python by following these 3 easy steps and get instant monitoring.
Install the SDK
Annotate your workflows
@workflow
.@aworkflow
decorator is deprecated and will be removed in a future
version. Use @workflow
for both synchronous and asynchronous operations.Configure trace exporting
TRACELOOP_API_KEY
and TRACELOOP_BASE_URL
.For Traceloop, read on. For other options, see Exporting.TRACELOOP_API_KEY
.Done! You’ll get instant visibility into everything that’s happening with your LLM.
If you’re calling a vector DB, or any other external service or database, you’ll also see it in the Traceloop dashboard.