-
Notifications
You must be signed in to change notification settings - Fork 57
docs(integrations): Add Sumo Logic OpenLLMetry integration page #172
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
Open
tarunk2
wants to merge
3
commits into
traceloop:main
Choose a base branch
from
tarunk2:docs/add-sumologic-integration
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,63 @@ | ||
| --- | ||
| title: "LLM Observability with Sumo Logic and OpenLLMetry" | ||
| sidebarTitle: "Sumo Logic" | ||
| --- | ||
|
|
||
| Sumo Logic natively supports OpenTelemetry, so you can send LLM traces directly to its OTLP/HTTP source endpoint or route them through an OpenTelemetry Collector. | ||
|
|
||
| ## Option 1: Direct OTLP/HTTP Source | ||
|
|
||
| Create an [OTLP/HTTP Source](https://www.sumologic.com/help/docs/send-data/hosted-collectors/http-source/otlp/) on a Hosted Collector in Sumo Logic. This gives you a presigned URL with the authentication token embedded. | ||
|
|
||
| Set the `TRACELOOP_BASE_URL` to your source endpoint: | ||
|
|
||
| ```bash | ||
| TRACELOOP_BASE_URL=https://collectors.sumologic.com/receiver/v1/otlp/<YOUR_TOKEN> | ||
| ``` | ||
|
|
||
| Alternatively, you can use the base endpoint with an authentication header: | ||
|
|
||
| ```bash | ||
| TRACELOOP_BASE_URL=https://collectors.sumologic.com/receiver/v1/otlp | ||
| TRACELOOP_HEADERS="x-sumo-token=<YOUR_HTTP_SOURCE_TOKEN>" | ||
| ``` | ||
|
|
||
| ## Option 2: OpenTelemetry Collector | ||
|
|
||
| Install the [Sumo Logic OpenTelemetry Collector](https://www.sumologic.com/help/docs/send-data/opentelemetry-collector/) with the default configuration. | ||
|
|
||
| Ensure the OTLP receiver is configured: | ||
|
|
||
| ```yaml | ||
| receivers: | ||
| otlp: | ||
| protocols: | ||
| grpc: | ||
| endpoint: "0.0.0.0:4317" | ||
| http: | ||
| endpoint: "0.0.0.0:4318" | ||
| ``` | ||
|
|
||
| Then point `TRACELOOP_BASE_URL` to your collector: | ||
|
|
||
| ```bash | ||
| TRACELOOP_BASE_URL=http://localhost:4318 | ||
| ``` | ||
|
|
||
| The collector handles authentication and forwarding to Sumo Logic automatically using its installation token. | ||
|
|
||
| ## Viewing Traces in Sumo Logic | ||
|
|
||
| Once configured, LLM traces will appear in Sumo Logic's tracing view: | ||
|
|
||
| <Frame> | ||
| <img src="/img/integrations/sumologic-traces.png" alt="Sumo Logic traces overview" /> | ||
| </Frame> | ||
|
|
||
| You can drill into individual traces to see detailed span information: | ||
|
|
||
| <Frame> | ||
| <img src="/img/integrations/sumologic-trace-detail.png" alt="Sumo Logic trace detail view" /> | ||
| </Frame> | ||
|
tarunk2 marked this conversation as resolved.
|
||
|
|
||
| For more information, see the [Sumo Logic OpenLLMetry documentation](https://www.sumologic.com/help/docs/integrations/aiml/opentelemetry/openllmetry/). | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.