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 #2995

Closed lzchen closed 1 week ago

lzchen commented 1 week ago

What problem do you want to solve?

bootstrap_gen.py does not include the new openai instrumentation due to it being in a different folder. Update the scripts to allow automatic installing through opentelemetry-bootstrap -a install, which should automatically install the instrumentation if the user has openai installed.