Skip to content

Commit

Permalink
Allow instrumentation of newer FastAPI versions
Browse files Browse the repository at this point in the history
Since the introduction of the `_instruments` runtime checks in #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.
  • Loading branch information
adamantike committed Jul 22, 2021
1 parent f70af95 commit 1cc246a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# limitations under the License.


_instruments = ("fastapi ~= 0.58.1",)
_instruments = ("fastapi ~= 0.58",)

0 comments on commit 1cc246a

Please sign in to comment.