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
feat(metrics): Add rate limits #3838
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This adds the handling of rate limits for the new metric_bucket category including handling the metric namespace. Fixes GH-3805
|
philipphofmann
commented
Apr 8, 2024
philipphofmann
commented
Apr 8, 2024
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3838 +/- ##
=============================================
+ Coverage 90.944% 90.961% +0.017%
=============================================
Files 560 560
Lines 44216 44256 +40
Branches 15764 15771 +7
=============================================
+ Hits 40212 40256 +44
+ Misses 3824 3821 -3
+ Partials 180 179 -1
... and 3 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
Performance metrics 🚀
|
Revision | Plain | With Sentry | Diff |
---|---|---|---|
af1f4dd | 1225.39 ms | 1245.48 ms | 20.09 ms |
b15521e | 1224.44 ms | 1251.13 ms | 26.68 ms |
6e342ac | 1202.98 ms | 1228.74 ms | 25.76 ms |
0204c72 | 1196.45 ms | 1208.92 ms | 12.47 ms |
66922ca | 1221.68 ms | 1235.98 ms | 14.30 ms |
02a972c | 1207.08 ms | 1221.78 ms | 14.70 ms |
dc0fe58 | 1198.56 ms | 1220.98 ms | 22.42 ms |
1ee3d54 | 1241.80 ms | 1250.67 ms | 8.87 ms |
bb5dc7d | 1240.44 ms | 1266.45 ms | 26.01 ms |
05644fe | 1244.04 ms | 1244.46 ms | 0.42 ms |
App size
Revision | Plain | With Sentry | Diff |
---|---|---|---|
af1f4dd | 22.85 KiB | 414.71 KiB | 391.86 KiB |
b15521e | 21.58 KiB | 573.18 KiB | 551.60 KiB |
6e342ac | 20.76 KiB | 436.66 KiB | 415.90 KiB |
0204c72 | 21.58 KiB | 540.04 KiB | 518.45 KiB |
66922ca | 20.76 KiB | 425.80 KiB | 405.04 KiB |
02a972c | 22.85 KiB | 413.42 KiB | 390.57 KiB |
dc0fe58 | 20.76 KiB | 436.50 KiB | 415.74 KiB |
1ee3d54 | 21.58 KiB | 571.76 KiB | 550.18 KiB |
bb5dc7d | 22.85 KiB | 412.98 KiB | 390.13 KiB |
05644fe | 22.85 KiB | 408.88 KiB | 386.03 KiB |
brustolin
approved these changes
Apr 9, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
📜 Description
This adds the handling of rate limits for the new metric_bucket category, including handling the metric namespace.
💡 Motivation and Context
Fixes GH-3805
💚 How did you test it?
Unit tests
📝 Checklist
You have to check all boxes before merging:
sendDefaultPII
is enabled.🔮 Next steps