Include Flask 2.0 as compatible with existing flask instrumentation (#545)

This commit is contained in:
(Eliseo) Nathaniel Ruiz Nowell
2021-06-24 13:30:34 -07:00
committed by GitHub
parent 63e7561931
commit 9c81eda7a8
3 changed files with 4 additions and 2 deletions

View File

@ -6,6 +6,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased](https://github.com/open-telemetry/opentelemetry-python/compare/v1.3.0-0.22b0...HEAD) ## [Unreleased](https://github.com/open-telemetry/opentelemetry-python/compare/v1.3.0-0.22b0...HEAD)
- Include Flask 2.0 as compatible with existing flask instrumentation
([#545](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/545))
### Changed ### Changed
- `opentelemetry-instrumentation-tornado` properly instrument work done in tornado on_finish method. - `opentelemetry-instrumentation-tornado` properly instrument work done in tornado on_finish method.

View File

@ -13,4 +13,4 @@
# limitations under the License. # limitations under the License.
_instruments = ("flask ~= 1.0",) _instruments = ("flask >= 1.0, < 3.0",)

View File

@ -61,7 +61,7 @@ libraries = {
"instrumentation": "opentelemetry-instrumentation-fastapi==0.23.dev0", "instrumentation": "opentelemetry-instrumentation-fastapi==0.23.dev0",
}, },
"flask": { "flask": {
"library": "flask ~= 1.0", "library": "flask >= 1.0, < 3.0",
"instrumentation": "opentelemetry-instrumentation-flask==0.23.dev0", "instrumentation": "opentelemetry-instrumentation-flask==0.23.dev0",
}, },
"grpcio": { "grpcio": {