Details
-
Task
-
Resolution: Fixed
-
Major - P3
-
None
-
None
-
None
-
Fully Compatible
-
Execution Team 2020-12-14
Description
Resource consumption metrics should only be recorded in the slow query logging and database profiler when enabled by the profileOperationResourceConsumptionMetrics setParameter.
Rename the existing measureOperationResourceConsumption feature flag into this new setParameter, since it has the same behavior.
- The profileOperationResourceConsumptionMetrics parameter will output resource consumption metrics for slow queries and the profiler (if enabled)
- The aggregateOperationResourceConsumptionMetrics parameter will include the above behavior as well as support global aggregation and querying with the $operationMetrics aggregation stage.