Surface SearchIdLookupMetrics to extensions

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 9.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Query Integration
    • Fully Compatible
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Implement host + C API plumbing to expose a snapshot of SearchIdLookupMetrics through MongoExtensionQueryExecutionContext::get_host_metrics, so the $search extension can tune batch size dynamically based on idLookup success rate. Add appropriate unit and integration tests.

      Since get_host_metrics and get_metrics are similar but with different purposes and paths, we should make sure to document the distinction between them in api.h.

            Assignee:
            Alyssa Clark
            Reporter:
            Adithi Raghavan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: