Repository navigation
Fix get_online_features telemetry to only log every 10000 times - #1786
Conversation
Signed-off-by: Felix Wang <wangfelix98@gmail.com>
Codecov Report
@@ Coverage Diff @@
## master #1786 +/- ##
==========================================
- Coverage 85.37% 85.35% -0.02%
==========================================
Files 88 88
Lines 6583 6584 +1
==========================================
Hits 5620 5620
- Misses 963 964 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
|
/kind bug |
Signed-off-by: Felix Wang <wangfelix98@gmail.com>
Signed-off-by: Felix Wang <wangfelix98@gmail.com>
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: achals, felixwang9817, woop The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/lgtm |
* Fix get_online_features telemetry to only log every 10000 times Signed-off-by: Felix Wang <wangfelix98@gmail.com> * Avoid int overflow Signed-off-by: Felix Wang <wangfelix98@gmail.com> * Log telemetry on second but not first call Signed-off-by: Felix Wang <wangfelix98@gmail.com>
Signed-off-by: Felix Wang wangfelix98@gmail.com
What this PR does / why we need it: Telemetry for
get_online_featurescurrently has a bug where telemetry is being logged during every call toget_online_features, instead of every 10000 calls. This PR fixes that bug.Which issue(s) this PR fixes:
Fixes #
Does this PR introduce a user-facing change?: