Skip to content

Conversation

@codefromthecrypt
Copy link
Contributor

What does this pull request do?

When OTEL_SDK_DISABLED=true, opentelemetry-instrument still instruments OpenAI, just with NoOp tracer and meter providers. This ensures when NoOp, openai instrumentation doesn't crash.

Related issues

Closes #53

Signed-off-by: Adrian Cole <[email protected]>
@xrmx
Copy link
Member

xrmx commented Feb 27, 2025

Superseded by #56

@xrmx xrmx closed this Feb 27, 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.

openai: investigate metrics code relying on span recording

3 participants