Consider extension stages in view definitions when counting successful/failed aggregations and other commands

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Integration
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In  SERVER-115694  and SERVER-117169 we added these counters to serverStatus:

      • to the existing 'metrics.commands.aggregate' we will add this section:
      withExtension: {
          succeeded: NumberLong(0),
          failed: NumberLong(0),
      }

      It is a bit tricky to implement so I wanted to pause and consider - should usage of extensions inside views count towards these? I think it probably should, but warrants an extra ticket anyway, as it looks like we'll have to plumb through some context, and potentially add some 'withExtension' sections to find and other commands that can work on views.

            Assignee:
            Unassigned
            Reporter:
            Charlie Swanson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: