Skip to content

[Feature]: OpenAI instrumentation must be first partyΒ #1016

@dot-agi

Description

@dot-agi

πŸ’‘ Feature Description and Proposed Solution

Make OpenAI instrumentation first party by refactoring the code from third_party/opentelemetry/instrumentation/openai into agentops/instrumentation/openai.

πŸ€” Related Problem

Currently the OpenAI instrumentation relies on the third_party/opentelemetry/instrumentation/openai/ code for the core implementation which is used in the agentops/instrumentation/openai & agentops/instrumentation/openai_agents codebase.

When installed it overrides the installed opentelemetry-instrumentation-openai package with our custom implementation. So we need to add this dependency and also maintain the custom solution.

🀝 Contribution

  • Yes, I'd be happy to submit a pull request with these changes.
  • I need some guidance on how to contribute.
  • I'd prefer the AgentOps team to handle this update.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions