Skip to content

feat: Adding intial support for openai instrumentation for chat creation #2402

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

Conversation

AmanAgarwal041
Copy link

@AmanAgarwal041 AmanAgarwal041 commented Aug 23, 2024

Which problem is this PR solving?

This PR creates an initial instrumentation for openai chat creations. This PR for now supports the traces logging with streaming and non-streaming both.

Fixes #2378

Short description of the changes

Adds instrumentation support for openai in 3 areas

  • Chat creation
  • Traces
  • Both streaming and non-streaming

@AmanAgarwal041 AmanAgarwal041 requested a review from a team August 23, 2024 19:34
@AmanAgarwal041 AmanAgarwal041 marked this pull request as draft August 23, 2024 19:38
@AmanAgarwal041 AmanAgarwal041 marked this pull request as ready for review September 6, 2024 21:00
@trentm
Copy link
Contributor

trentm commented Jun 25, 2025

@AmanAgarwal041 Do you still have interest in following up on this? I.e. in adding and maintaining an instrumentation for OpenAI in this repo? I promised a long while back to review this and haven't. Sorry for the delay. If you are still interested, we should talk about plans.

@trentm
Copy link
Contributor

trentm commented Jul 30, 2025

Closing in favour of #2941

@trentm trentm closed this Jul 30, 2025
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.

[opentelemetry-instrumentation-openai] Add openai sdk
2 participants