Register opcounters OTel metric names

XMLWordPrintableJSON

    • Query Integration
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Overview

      Add operation counter metric names for the Query Integration team to the OpenTelemetry metric registry in metric_names.h.

      Scope of Work

      • src/mongo/otel/metrics/metric_names.h — Add MetricNames entries for insert, query, update, delete, getMore, command, and aggregate operation counters

      Technical Notes

      • The new metric names follow OTel naming conventions: pluralized, snake_case, under the opcounters.* namespace
      • The aggregate metric name is OTel-native; it does not correspond to an existing serverStatus field
      • Metrics for nestedAggregate, insertOnExistingDoc, and other niche counters are intentionally excluded from OTel for now

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

              Created:
              Updated: