@@ -2131,17 +2131,17 @@ objects:
2131
2131
"tenant_id": "FB870BF3-9F3A-44FF-9BF7-D7A047A52F43"
2132
2132
"record": "acm_top500_mcs:acm_managed_cluster_info"
2133
2133
- "expr": |
2134
- max by(_id) (sum_over_time(cluster:usage:workload:capacity_physical_cpu_cores:max:5m[1h:5m]) / scalar(count_over_time(vector(1)[1h:5m])) )
2134
+ max by(_id) (sum_over_time(cluster:usage:workload:capacity_physical_cpu_cores:max:5m[1h:5m])) / scalar(steps:count1h )
2135
2135
"labels":
2136
2136
"tenant_id": "FB870BF3-9F3A-44FF-9BF7-D7A047A52F43"
2137
2137
"record": "cluster:usage:workload:capacity_physical_cpu_hours"
2138
2138
- "expr": |
2139
- max by(_id) (count_over_time(cluster:usage:workload:capacity_physical_cpu_cores:max:5m[1h:5m])) / scalar(count_over_time(vector(1)[1h:5m]) )
2139
+ max by(_id) (count_over_time(cluster:usage:workload:capacity_physical_cpu_cores:max:5m[1h:5m])) / scalar(steps:count1h )
2140
2140
"labels":
2141
2141
"tenant_id": "FB870BF3-9F3A-44FF-9BF7-D7A047A52F43"
2142
2142
"record": "cluster:usage:workload:capacity_physical_instance_hours"
2143
2143
- "expr": |
2144
- sum( sum_over_time(cluster:capacity_cpu_cores:sum{label_node_role_kubernetes_io = ''}[1h:5m])) by (_id) / scalar(count_over_time(vector(1)[1h:5m]) )
2144
+ sum by(_id) ( sum_over_time(cluster:capacity_cpu_cores:sum{label_node_role_kubernetes_io = ''}[1h:5m])) / scalar(steps:count1h )
2145
2145
"labels":
2146
2146
"tenant_id": "FB870BF3-9F3A-44FF-9BF7-D7A047A52F43"
2147
2147
"record": "cluster:usage:workload:capacity_virtual_cpu_hours"
@@ -2178,7 +2178,7 @@ objects:
2178
2178
"tenant_id": "FB870BF3-9F3A-44FF-9BF7-D7A047A52F43"
2179
2179
"record": "acm_capacity_effective_cpu_cores"
2180
2180
- "expr": |
2181
- max by(_id)(sum_over_time(hostedcluster:hypershift_cluster_vcpus:max[1h:5m])) / scalar(count_over_time(vector(1)[1h:5m]) )
2181
+ max by(_id) (sum_over_time(hostedcluster:hypershift_cluster_vcpus:max[1h:5m])) / scalar(steps:count1h )
2182
2182
"labels":
2183
2183
"tenant_id": "FB870BF3-9F3A-44FF-9BF7-D7A047A52F43"
2184
2184
"record": "hostedcluster:hypershift_cluster_vcpus:vcpu_hours"
0 commit comments