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

Introduce interface to abstract out query request telemetry key generation and serialization

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.1.0-rc0
    • None
    • None
    • None
    • Query Optimization
    • Fully Compatible
    • QO 2023-05-01

    Description

      SERVER-73152 had to avoid introducing a dependency cycle between `op_metrics` (the target telemetry is in) and `pipeline` with a roundabout solution. As cleanup, we should consider creating an interface for each command type to implement (right now find and agg) with at least a method like "makeTelemetryKey". We can then have one function `registerRequest(QueryInstance)` for all request types.

      Attachments

        Activity

          People

            will.buerger@mongodb.com Will Buerger
            will.buerger@mongodb.com Will Buerger
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: