Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: updates to traceloop docs #639

Merged
merged 1 commit into from
Oct 18, 2023
Merged
Show file tree
Hide file tree
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
11 changes: 7 additions & 4 deletions docs/my-website/docs/observability/traceloop_integration.md
Original file line number Diff line number Diff line change
@@ -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.
Expand All @@ -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:

Expand All @@ -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

Expand Down
Binary file modified docs/my-website/img/traceloop_dash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.