Skip to content

add laminar observability integration #12171

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
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

dinmukhamedm
Copy link
Contributor

Title

Laminar observability docs

Relevant issues

Pre-Submission checklist

Please complete all items before asking a LiteLLM maintainer to review your PR

  • I have Added testing in the tests/litellm/ directory, Adding at least 1 test is a hard requirement - see details
  • I have added a screenshot of my new test passing locally
  • My PR passes all unit tests on make test-unit
  • My PR's scope is as isolated as possible, it only solves 1 specific problem

Type

📖 Documentation

Changes

  • Add new page with Laminar observability
  • Remove outdated Laminar / OpenTelemetry guide

Copy link

vercel bot commented Jun 30, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
litellm ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 1, 2025 1:38pm

@dinmukhamedm dinmukhamedm marked this pull request as ready for review July 1, 2025 14:32
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why does a user need to pip install your sdk to send you logs?

Isn't it OTEL compatible? if so - a simple callback should work too?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@krrishdholakia Laminar is indeed OTel-compatible, but so are many other integrations in the folder (e.g. Arize AI, Braintrust).

The raw OTel callback didn't fit our needs completely, mostly in terms of the attributes standards and shapes. In addition, it has a small issue that has not been addressed for quite a while: #8169

From Laminar SDK, we simply import LaminarLiteLLMCallback (link), which just implements CustomBatchLogger. Again, this is similar to many other observability integrations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants