Add percentile wait-time metrics for Execution Control queues

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Catalog and Routing
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Execution Control currently exposes cumulative queue wait time, which only supports average wait-time calculations. Add bucketed wait-time histograms for EC queue acquisitions so downstream metrics can compute p95/p99 wait times over a time window. Expose the histogram buckets in serverStatus/FTDC for read/write and priority queues.

      Possible implementation:
      When an operation finishes, it increments the right latency bucket, with a possible distribution like

      0µs, 10µs, 25µs, 50µs, 100µs, 250µs, 500µs,
      1ms, 2.5ms, 5ms, 10ms, 25ms, 50ms,
      100ms, 250ms, 500ms, 1s, 2.5s, 5s, 10s, 30s+
      

            Assignee:
            Unassigned
            Reporter:
            Daniel Gomez Ferro
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: