Skip to main content
The Merge Queue Prometheus endpoint now separates CI slot usage from PR counts. If you use batching, several PRs can test together in a single CI run. Until now, the metrics endpoint reported only one testing gauge, which made it hard to tell how many CI slots were in use versus how many PRs were moving through the queue. The endpoint now exposes two point-in-time gauges:
  • mq_testing_slots_active counts active CI slots. A batch counts as one slot, so this gauge reflects actual CI capacity in use.
  • mq_prs_testing counts PRs currently in the TESTING state. With batching enabled, this can be higher than mq_testing_slots_active.
Without batching, the two gauges report the same value. With batching, you can now chart CI capacity and PR throughput independently in your dashboards. See the metrics reference for the full list of available metrics and labels.