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

Query/Write USDT (User-level Statically Defined Tracing) tracepoints

    • Service Arch

      This ticket is a continuation of SERVER-33394 and is intended to define some example initial tracing points for queries and write operations as discussed in the previously mentioned ticket.

      The following is the list of example tracing points to insert into the application:

      • Lock acquired (lock type, operation)
        * Lock released (lock type, operation)

        * Thread start (thread name)

      • Thread wait (IPC related)
        * Thread end (thread name)

      • Query stage start (readConcern, query shape, stage, database, collection)
      • Query stage end (readConcern, query shape, stage, database, collection)
      • Query saveState (query shape, stage, database, collection)
      • Query restoreStage (query shape, stage, database, collection)
      • Query parse start
      • Query parse end
        
 * Query plan cached (query shape, database, collection)
      • WiredTiger table key read
      • WiredTiger table value read
      • WiredTiger cursor created
      • WiredTiger cursor search start
      • WiredTiger cursor search end
      • WiredTiger cursor next start
      • WiredTiger cursor next end
      • WiredTiger cursor prev start
      • WiredTiger cursor prev end
      • WiredTiger cursor insert start
      • WiredTiger cursor insert end
      • WiredTiger cursor update start
      • WiredTiger cursor update end
      • WiredTiger cursor remove start
      • WiredTiger cursor remove end
      • WiredTiger cache hit
      • WiredTiger cache miss
      • WiredTiger block checksuming start (file, offset, size)
      • WiredTiger block checksuming end (file, offset, size)
      • WiredTiger block read start (file, offset, size)
      • WiredTiger block read ends (file, offset, size)
      • WiredTiger checkpoint start
      • WiredTiger checkpoint end
      • WiredTiger journal file write start (file)
      • WiredTiger journal file write end (file)
      • Write operation start (type, writeConcern)
      • Write operation end (type, writeConcern)
      • Write operation waiting for replication start (type, writeConcern)
      • Write operation waiting for replication ends (type, writeConcern)

            Assignee:
            backlog-server-servicearch [DO NOT USE] Backlog - Service Architecture
            Reporter:
            ricardo.lorenzo Ricardo Lorenzo
            Votes:
            1 Vote for this issue
            Watchers:
            16 Start watching this issue

              Created:
              Updated: