-
Notifications
You must be signed in to change notification settings - Fork 450
mongodb_mongod_wiredtiger_cache_max_bytes -> mongodb_ss_wt_cache_maximum_bytes_configured (oldName and newName) #1023
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
Fixed mess with oldName and newName for mongodb_ss_wt_cache_maximum_bytes_configured
|
Hi, seems like this change made our tests failing. |
|
I tried to fix the test (blindly, as whole this PR). |
exporter/v1_compatibility.go
Outdated
| oldName: "mongodb_ss_wt_cache_maximum_bytes_configured", | ||
| newName: "mongodb_mongod_wiredtiger_cache_max_bytes", | ||
| oldName: "mongodb_mongod_wiredtiger_cache_max_bytes", | ||
| newName: "mongodb_ss_wt_cache_maximum_bytes_configured", |
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.
seems like we can remove these lines as we have the same at line 439.
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.
Looks like the reason of test fail was this duplicate. So I just removed extra rows and reverted any other changes
removed duplicate mongodb_ss_wt_cache_maximum_bytes_configured
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1023 +/- ##
==========================================
- Coverage 70.88% 65.72% -5.17%
==========================================
Files 28 28
Lines 3569 3034 -535
==========================================
- Hits 2530 1994 -536
- Misses 904 907 +3
+ Partials 135 133 -2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Looks like they're mixed up.
Fixed mess with oldName and newName for mongodb_ss_wt_cache_maximum_bytes_configured