Skip to content

Update OpenAI instrumentation to latest sem conv + use genai utils as much as possible #107

@lzchen

Description

@lzchen

What problem do you want to solve?

OpenAI instrumentation carries mixed semantic-convention behavior, with legacy and latest GenAI semconv paths coexisting. The goal is to fully migrate to latest GenAI semconv behavior and remove legacy semconv logic.

Describe the solution you'd like

PR Plan

PR1: Remove legacy chat completion paths only, leaving embeddings and responses behavior unchanged. - #108
PR2: Migrate embeddings instrumentation to util-genai lifecycle and drop embeddings-specific legacy routing/plumbing.
PR3: Clean up responses instrumentation wrappers/flow for latest-semconv consistency while keeping non-responses paths untouched. - #92
PR4: Rebaseline tests and docs/examples for the final support model, then run conformance and final validation.

Describe alternatives you've considered

No response

Additional Context

No response

Would you like to implement it?

Yes

Tip

React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it. Learn more here.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type
No fields configured for issues without a type.

Projects

Status
New issues

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions