open-telemetry / opentelemetry-python-contrib

OpenTelemetry instrumentation for Python modules
https://opentelemetry.io
Apache License 2.0
739 stars 613 forks source link

Add openai instrumentation to opentelemetry-bootstrap #2996

Closed lzchen closed 1 week ago

lzchen commented 1 week ago

Fixes https://github.com/open-telemetry/opentelemetry-python-contrib/issues/2995

Note this does NOT include openai instrumentation as a default installation but will install it if user has openai installed.

codefromthecrypt commented 1 week ago

Thanks, so this adds the dep "opentelemetry-instrumentation-openai-v2", which users could also do manually if they don't use opentelemetry-bootstrap to setup the project. Sounds great!

lzchen commented 1 week ago

@codefromthecrypt yup! It all helps with the zero-code story.