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

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

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Optimization
    • Fully Compatible
    • QO 2023-05-01

      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.

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

              Created:
              Updated:
              Resolved: