We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d47aee0 commit d5225beCopy full SHA for d5225be
lite_bootstrap/import_checker.py
@@ -9,4 +9,6 @@
9
is_litestar_installed = find_spec("litestar") is not None
10
is_faststream_installed = find_spec("faststream") is not None
11
is_prometheus_fastapi_instrumentator_installed = find_spec("prometheus_fastapi_instrumentator") is not None
12
-is_fastapi_opentelemetry_installed = find_spec("opentelemetry.instrumentation.fastapi") is not None
+is_fastapi_opentelemetry_installed = (
13
+ is_opentelemetry_installed and find_spec("opentelemetry.instrumentation.fastapi") is not None
14
+)
0 commit comments