-
Notifications
You must be signed in to change notification settings - Fork 468
Fix issue with tagging non-string Flask view args #2760
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
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #2760 +/- ##
=======================================
Coverage 84.93% 84.93%
=======================================
Files 591 591
Lines 43113 43136 +23
=======================================
+ Hits 36617 36639 +22
- Misses 6496 6497 +1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
| span._set_str_tag(u".".join((FLASK_VIEW_ARGS, k)), v) | ||
| # DEV: Do not use `_set_str_tag` here since view args can be string/int/float/path/uuid/etc | ||
| # https://flask.palletsprojects.com/en/1.1.x/api/#url-route-registrations | ||
| span.set_tag(u".".join((FLASK_VIEW_ARGS, k)), v) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would it make sense to cache the result of these string concats?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah, it might. we can handle that in a different PR
|
@Mergifyio backport 0.51 |
|
Command
|
|
Command
|
Fixes #2756