Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-52788

Create setParameter to enable profiling and slow query logs for resource consumption metrics

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.9.0
    • 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.

      Attachments

        Activity

          People

            louis.williams@mongodb.com Louis Williams
            louis.williams@mongodb.com Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: