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

Observability with OpenTelemetry #916

Open
nirga opened this issue Jan 15, 2024 · 2 comments
Open

Observability with OpenTelemetry #916

nirga opened this issue Jan 15, 2024 · 2 comments
Labels
ai/core enhancement New feature or request

Comments

@nirga
Copy link

nirga commented Jan 15, 2024

Feature Description

Instrument apps built with the AI SDK with OpenTelemetry so that users can connect it to any observability tool they want - Datadog, Honeycomb, Traceloop, etc. and get full traces of their LLMs.
newrelic

Use Case

Be able to debug prompts, completions as whole traces

Additional context

I'm the maintainer of OpenLLMetry where we built a set of extensions of OpenTelemetry for GenAI applications, supporting Python and Typescript.

@navkuun
Copy link

navkuun commented Jun 1, 2024

Hey @nirga currently trying to implement openLLMetry on my vercel ai sdk application, specifically I'm using vercels AI UI sdk and it doesn't seem to be logging the traces.

@nirga
Copy link
Author

nirga commented Jun 1, 2024

Hey @navkuun I'm curious to learn more. Are you on nextjs? Which version?

I'd try to do 2 things to debug it:

  1. Changing log level to debug: https://www.traceloop.com/docs/openllmetry/configuration#control-logging
  2. Manually instrumenting libraries: https://www.traceloop.com/docs/openllmetry/troubleshooting#3-ts-js-only-fix-known-instrumentation-issues

If you want, I'm also available on our community slack.

@lgrammel lgrammel added enhancement New feature or request ai/core labels Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ai/core enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants