Introduce DurationCounter64 for tracking time metrics

XMLWordPrintableJSON

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

      This PR introduces a new `DurationCounter64` class that extends `Counter64` to better handle duration-based metrics. The class provides a type-safe way to track elapsed time with specific duration units.

      Key changes:

      • Added `DurationCounter64<T>` template class that extends `Counter64` with duration-specific functionality
      • Updated `ScopedTimerMetric` to work with the new duration counter type
      • Modified the `ServerStatusMetricPolicySelection` template to support all `Counter64` derived types
      • Refactored the extension stage execution time tracking to use the new duration counter

      These changes improve type safety when tracking time-based metrics and make the code more maintainable by ensuring duration units are consistently handled.

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

              Created:
              Updated:
              Resolved: