|
@@ -84,7 +84,7 @@ const (
|
|
|
// the resolution, to make sure the irate always has two points to query
|
|
// the resolution, to make sure the irate always has two points to query
|
|
|
// in case the Prom scrape duration has been reduced to be equal to the
|
|
// in case the Prom scrape duration has been reduced to be equal to the
|
|
|
// ETL resolution.
|
|
// ETL resolution.
|
|
|
- queryFmtCPUUsageMaxSubquery = `max(max_over_time(irate(container_cpu_usage_seconds_total{container_name!="POD", container_name!="", %s}[%s])[%s:%s])) by (container_name, container, pod_name, pod, namespace, instance, %s)`
|
|
|
|
|
|
|
+ queryFmtCPUUsageMaxSubquery = `max(max_over_time(irate(container_cpu_usage_seconds_total{container!="POD", container!="", %s}[%s])[%s:%s])) by (container, pod_name, pod, namespace, instance, %s)`
|
|
|
)
|
|
)
|
|
|
|
|
|
|
|
// Constants for Network Cost Subtype
|
|
// Constants for Network Cost Subtype
|