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

Add a dtrace provider for mongodb

    • Service Arch

      It would be great if we could trace mongodb using dtrace. We can do this now using the PID provider, but you need to use mangled names to trace execution. If we added the dtrace hooks, we could make it really easy to use dtrace to look at what's happening in the db kernel. I attached some simple dtrace scripts that use the mangled names to look at things like slow queries.

        1. mongocmd.d
          0.2 kB
        2. mongocmdlatency.d
          0.4 kB
        3. mongocmdslow.d
          0.6 kB
        4. mongocmdslow2.d
          1 kB

            Assignee:
            backlog-server-servicearch [DO NOT USE] Backlog - Service Architecture
            Reporter:
            jsr Jared Rosoff
            Votes:
            4 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: