↓ Skip to main content

Prometheus

How often did your top rule actually win? A ComputeClass fulfillment dashboard

A ComputeClass is a ranked list of capacity preferences: try this shape first, fall back to that one. GKE numbers those rules from zero, so your top choice is “rule 0” — and the ccc_priority_index node annotation records which rule actually won each node. Aggregate it over time and you can finally answer the question the per-node view can’t: how much of the capacity you got came from your first choice? Here’s a working exporter, a Cloud Monitoring dashboard, and an argument about what “volume” should mean on that chart.