Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify Flask instrumentation #444

Merged
merged 1 commit into from
Jun 30, 2020
Merged

Simplify Flask instrumentation #444

merged 1 commit into from
Jun 30, 2020

Conversation

scouredimage
Copy link
Contributor

Simplifies Flask instrumentation by hooking into dispatch_request.

This is less error prone than the earlier approach of overloading
add_url_rule and supports both Blueprints and Pluggable Views.

Fixes logandk/serverless-wsgi#130

Simplifies Flask instrumentation by hooking into `dispatch_request`.
This is less error prone than the earlier approach of overloading
`add_url_rule` and supports Blueprints and Pluggable Views.

Fixes logandk/serverless-wsgi#130
@codecov
Copy link

codecov bot commented Jun 29, 2020

Codecov Report

Merging #444 into master will increase coverage by 0.05%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #444      +/-   ##
==========================================
+ Coverage   53.64%   53.69%   +0.05%     
==========================================
  Files         107      107              
  Lines        3128     3123       -5     
==========================================
- Hits         1678     1677       -1     
+ Misses       1450     1446       -4     
Impacted Files Coverage Δ
src/index.js 0.00% <0.00%> (ø)
index.js 1.79% <0.00%> (+<0.01%) ⬆️
lib/plugin.js 86.12% <0.00%> (+0.89%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a0a1614...672503e. Read the comment docs.

Copy link
Contributor

@medikoo medikoo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 (still, I'm not a Python expert, I trust your judgement)

@scouredimage scouredimage merged commit bd6ff52 into master Jun 30, 2020
@scouredimage scouredimage deleted the flasked branch June 30, 2020 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MethodView + Serverless Enterprise = GET only?
2 participants