💡 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
💡 Feature Description and Proposed Solution
Make OpenAI instrumentation first party by refactoring the code from
third_party/opentelemetry/instrumentation/openaiintoagentops/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 theagentops/instrumentation/openai&agentops/instrumentation/openai_agentscodebase.When installed it overrides the installed
opentelemetry-instrumentation-openaipackage with our custom implementation. So we need to add this dependency and also maintain the custom solution.🤝 Contribution