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

Track usage of match expressions in serverStatus

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.4.11, 4.2.18, 5.0.4, 5.1.0-rc0
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Backport Requested:
      v5.0, v4.4, v4.2
    • Sprint:
      Query Optimization 2021-05-31, Query Optimization 2021-06-14, Query Optimization 2021-06-28, Query Optimization 2021-07-12, Query Optimization 2021-07-26, Query Optimization 2021-08-09

      Description

      Add counters for match expressions (https://docs.mongodb.com/manual/reference/operator/query/

      Something like this:

      "metrics" : {
         "matchExpressionsCounters" : {
               "$text" : <num>,
               "$elemMatch" : <num>,
               ...
               "<expression>" : <num>
               }
         },
         ...
      }
      

       

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              milena.ivanova Milena Ivanova
              Reporter:
              kateryna.kamenieva Katya Kamenieva
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              15 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: