In log_format_slowms_samplerate_loglevel.js, the test checks if the connection is mongos or mongod before determining which fields should be present in the slow query logs. With data-bearing node metrics, we would expect all except for keysInserted, keysDelted, and planSummary to appear, though this doesn't seem to be the case for all of the queries the test uses. We should update the test to check for what mongos reports with data-bearing node metrics and investigate any fields that are unexpectedly missing.
Update log_format_slowms_samplerate_loglevel.js for mongos reporting data-bearing node metrics in slow query logs
- Assignee:
-
Ryan Berryhill
- Reporter:
-
Ryan Berryhill
- Votes:
-
0 Vote for this issue - Watchers:
-
1 Start watching this issue
- Created:
- Updated:
- Resolved: