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

Indicate user/system operations and collectionType in currentOp/ slow query

    • Query Execution
    • Fully Compatible
    • v7.0, v6.0, v5.0, v4.4
    • QE 2023-10-16, QE 2023-10-30, QE 2023-11-13

      Certain InTel features like the profiler, the performance advisor, and the real time performance panel consume both the output from $currentOp and slow query logs. It would improve the user experience of these if we could easily filter out internal operations. I think it would be easiest if we simply added a boolean field to each entry in the output of $currentOp and slow query log lines (and the profiler) indicating internal operations.
      It used to be the case that user operations could be identified by matching the thread name to "conn####" but this is no longer the case in newer versions of the server.

            Assignee:
            adi.agrawal@mongodb.com Adi Agrawal
            Reporter:
            milkie@mongodb.com Eric Milkie
            Votes:
            0 Vote for this issue
            Watchers:
            14 Start watching this issue

              Created:
              Updated:
              Resolved: