How to filter Analysis for canary revisions? #2706
-
Hello, We are using Argo Rollouts Canary strategy, on a GKE cluster with istio (but not using Istio for Argo traffic splitting). Right now, we're using analysis runs to determine the number of 5XX responses to the service, which looks like this:
However, there is a major flaw, where this prometheus query returns the number of 5XX for both the stable AND canary revisions. We need to only run analysis on the traffic being sent to the new canary revision pods. Is this possible via a system argument? Does (or could) argo expose the new replicaset ID to the analysis run, so we could use it to filter? Or, if we used istio traffic routing, does that enable us to filter for traffic of the canary revision? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You could always pass down the canary hash from in the rollout object something like
|
Beta Was this translation helpful? Give feedback.
You could always pass down the canary hash from in the rollout object something like