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

Telemetry end to end tests

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • QO 2022-11-28

      For all queries:

      • Verify correct aggregation of metrics across getMore() calls
      • Verify metrics as described below

      Types of queries:

      • Aggregate
        • Assert that two queries will different structures are represented by different keys
        • Assert that two queries will identical structures are represented by the same key
      • Find
        • Verify that options such as limit/sort create different keys

      Metrics:

      • docsScanned - Most queries will increment this value
      • keysScanned - Index scan
      • optTime - make sure it's greater than zero after the first batch and does not change with subsequent getMore() calls
      • execTime - should change with getMore() calls
      • execCount - make sure it's one for each query and does not change with subsequent getMore() calls

            Assignee:
            maddie.zechar@mongodb.com Maddie Zechar
            Reporter:
            joshua.lapacik@mongodb.com Joshua Lapacik (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: