You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In instrumentation_dependencies we need to use pkg_resources.get_distribution
because find_spec("fastapi") will return something even with just fastapi-slim
installed.
Then need to fix the tox environment name otherwise all the fastapi
dependencies will also be installed for fastapi-slim and tests would
pass because they find fastapi installed.
Copy file name to clipboardExpand all lines: instrumentation/opentelemetry-instrumentation-fastapi/src/opentelemetry/instrumentation/fastapi/__init__.py
0 commit comments