Skip to content

Conversation

@mkuratczyk
Copy link
Contributor

document Ra metrics -> Ra counters transition

while documenting the changes, I noticed some problems with which metrics are returned when,
so this PR also fixes these issues.

  1. /metrics returns all coordination system metrics and some
    high-level QQ values

  2. /metrics/per-object returns all coordination metrics and selected
    metrics for quorum queues

  3. /metrics/detailed

    • if no vhost filter provided, returns all per-object metrics for
      all queues as well as all coordination system metrics
    • if a vhost filter is provided, returns all per-object metrics
      for all queues in that vhost, but doesn't return coordination metrics

/metrics returns all coordination system metrics and some
high-level QQ values

/metrics/per-object returns all coordination metrics and selected
metrics for quorum queues

/metrics/detailed
  * if no vhost filter provided, returns all per-object metrics for
  all queues as well as all coordination system metrics
  * if a vhost filter is provided, returns all per-object metrics
  for all queues in that vhost, but doesn't return coordination metrics
@mkuratczyk mkuratczyk marked this pull request as ready for review October 20, 2025 14:13
@mkuratczyk mkuratczyk merged commit e9baade into main Oct 20, 2025
574 of 575 checks passed
@mkuratczyk mkuratczyk deleted the ra-metrics-fixes branch October 20, 2025 14:14
mergify bot pushed a commit that referenced this pull request Oct 20, 2025
* Return the correct Ra metrics per endpoint

/metrics returns all coordination system metrics and some
high-level QQ values

/metrics/per-object returns all coordination metrics and selected
metrics for quorum queues

/metrics/detailed
  * if no vhost filter provided, returns all per-object metrics for
  all queues as well as all coordination system metrics
  * if a vhost filter is provided, returns all per-object metrics
  for all queues in that vhost, but doesn't return coordination metrics

* release notes: document Ra Metrics -> Ra Counters transition

(cherry picked from commit e9baade)
mkuratczyk added a commit that referenced this pull request Oct 20, 2025
* Return the correct Ra metrics per endpoint

/metrics returns all coordination system metrics and some
high-level QQ values

/metrics/per-object returns all coordination metrics and selected
metrics for quorum queues

/metrics/detailed
  * if no vhost filter provided, returns all per-object metrics for
  all queues as well as all coordination system metrics
  * if a vhost filter is provided, returns all per-object metrics
  for all queues in that vhost, but doesn't return coordination metrics

* release notes: document Ra Metrics -> Ra Counters transition

(cherry picked from commit e9baade)

Co-authored-by: Michal Kuratczyk <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants