From 97cabb904125919da00eff0fbf3fcc2553ebaf78 Mon Sep 17 00:00:00 2001 From: David Osemwengie Date: Thu, 2 Apr 2026 18:53:10 -0500 Subject: [PATCH] use reporter for scaling pods --- controllers/plan/scaleRevision.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/plan/scaleRevision.go b/controllers/plan/scaleRevision.go index 1273d091..cf6b4c25 100644 --- a/controllers/plan/scaleRevision.go +++ b/controllers/plan/scaleRevision.go @@ -182,7 +182,7 @@ func (p *ScaleRevision) applyHPA(ctx context.Context, cli client.Client, cluster func (p *ScaleRevision) applyAmbientKeda(ctx context.Context, cli client.Client, log logr.Logger, scaledMin int32, scaledMax int32) error { query := fmt.Sprintf( - `sum(rate(istio_requests_total{destination_workload="%s", namespace="%s"}[2m]))`, + `sum(rate(istio_requests_total{destination_workload="%s", namespace="%s", reporter=~"(waypoint|destination)"}[2m]))`, p.Tag, p.Namespace, )