Skip to content

Commit 1cc246a

Browse files
committed
Allow instrumentation of newer FastAPI versions
Since the introduction of the `_instruments` runtime checks in open-telemetry#475, the FastAPI instrumentation has stopped working for versions >= `0.59.0`. However the current test suite passes even for the latest released version at the moment (`0.67.0`). It seems this isn't related to a limitation in the instrumentation code, but actually because of it being created when `0.58` was the latest version: open-telemetry/opentelemetry-python@7bec76a.
1 parent f70af95 commit 1cc246a

File tree

1 file changed

+1
-1
lines changed
  • instrumentation/opentelemetry-instrumentation-fastapi/src/opentelemetry/instrumentation/fastapi

1 file changed

+1
-1
lines changed

instrumentation/opentelemetry-instrumentation-fastapi/src/opentelemetry/instrumentation/fastapi/package.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# limitations under the License.
1414

1515

16-
_instruments = ("fastapi ~= 0.58.1",)
16+
_instruments = ("fastapi ~= 0.58",)

0 commit comments

Comments
 (0)