fix: updates to traceloop docs

This commit is contained in:
Nir Gazit 2023-10-18 19:37:12 +02:00
parent 5dc739aa7a
commit c5da6f36be
2 changed files with 7 additions and 4 deletions

View file

@ -1,4 +1,6 @@
# Traceloop Tutorial
import Image from '@theme/IdealImage';
# Traceloop (OpenLLMetry) - Tracing LLMs with OpenTelemetry
[Traceloop](https://traceloop.com) is a platform for monitoring and debugging the quality of your LLM outputs.
It provides you with a way to track the performance of your LLM application; rollout changes with confidence; and debug issues in production.
@ -8,8 +10,7 @@ It is based on [OpenTelemetry](https://opentelemetry.io), so it can provide full
## Getting Started
First, sign up to get an API key on the [Traceloop dashboard](https://app.traceloop.com).
While Traceloop is still in beta, [ping them](nir@traceloop.com) and mention you're using LiteLLM to get your early access code.
First, sign up to get an API key on the [Traceloop dashboard](https://app.traceloop.com/settings/api-keys).
Then, install the Traceloop SDK:
@ -27,7 +28,9 @@ When running your app, make sure to set the `TRACELOOP_API_KEY` environment vari
To get better visualizations on how your code behaves, you may want to annotate specific parts of your LLM chain. See [Traceloop docs on decorators](https://traceloop.com/docs/python-sdk/decorators) for more information.
Here's an example PR for such integration: https://github.com/Codium-ai/pr-agent/pull/244
## Exporting traces to other systems (e.g. Datadog, New Relic, and others)
Since Traceloop DK uses OpenTelemetry to send data, you can easily export your traces to other systems, such as Datadog, New Relic, and others. See [Traceloop docs on exporters](https://traceloop.com/docs/python-sdk/exporters) for more information.
## Support

Binary file not shown.

Before

Width:  |  Height:  |  Size: 65 KiB

After

Width:  |  Height:  |  Size: 326 KiB

Before After
Before After