-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Add metrics to count joins and window functions #13032
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #13032 +/- ##
============================================
+ Coverage 61.75% 62.03% +0.28%
+ Complexity 207 198 -9
============================================
Files 2436 2540 +104
Lines 133233 139591 +6358
Branches 20636 21597 +961
============================================
+ Hits 82274 86601 +4327
- Misses 44911 46500 +1589
- Partials 6048 6490 +442
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
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.
Please take a look at the failed tests
a2ca1c9
to
10c38b3
Compare
This PR adds 4 new metrics: * queriesWithJoins (global): How many queries with joins have been executed. For each query with at least one join, this meter is increased exactly once. * joinCount (global): How many joins have been executed. For each query with at least one join, this meter is increased as many times as joins in the query. * queriesWithWindow (global): How many queries with window functions have been executed. For each query with at least one window function, this meter is increased exactly once. * windowCount (global): How many window functions have been executed. For each query with at least one window function, this meter is increased as many times as window functions in the query.
This PR adds 4 new metrics: