You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm looking for a way to say "run at a certain weight until at least x amount of traffic has hit the canary". Is that possible?
Extending this I'd like to be able to wait for any metric to be true, so I can say "wait for x amount of messages to be ingested from queue y", in addition to the ingress traffic.
What I've tried
Inuitively, I'd want the following flow in my Rollout:
steps:
# Route 10% of traffic to canary
- setWeight: 10# Pause until 5 requests have been made
- analysis:
templates:
- templateName: wait-for-trafficargs:
- name: minimum-requestsvalue: "5"# Ensure the canary is preforming as expected
- analysis:
templates:
- templateName: success-rate# Route 30% of traffic to canary
- setWeight: 30# Pause until 50 requests have been made
- analysis:
templates:
- templateName: wait-for-trafficargs:
- name: minimum-requestsvalue: "50"# Ensure the canary is preforming as expected
- analysis:
templates:
- templateName: success-rate# and so on
This almost does what I want, but I seem to be missing the ability to specify successThreshold: 1 and inconclusiveLimit: 100. I'd like the analysis to pass as soon as the threshold is met.
As far as I can tell, count is the proxy for successThreshold and there is a built-in requirement that count >= limits (failure and inconclusive). So to allow an inconclusiveLimit of 99 periods, count has to be 100, making it necessary to have 100 successes.
Hopefully I'm missing an existing feature here. If not, does this use-case seem reasonable?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi!
I'm looking for a way to say "run at a certain weight until at least x amount of traffic has hit the canary". Is that possible?
Extending this I'd like to be able to wait for any metric to be true, so I can say "wait for x amount of messages to be ingested from queue y", in addition to the ingress traffic.
What I've tried
Inuitively, I'd want the following flow in my
Rollout
:I set up a template like this:
This almost does what I want, but I seem to be missing the ability to specify
successThreshold: 1
andinconclusiveLimit: 100
. I'd like the analysis to pass as soon as the threshold is met.As far as I can tell,
count
is the proxy forsuccessThreshold
and there is a built-in requirement thatcount >= limits
(failure and inconclusive). So to allow aninconclusiveLimit
of 99 periods, count has to be 100, making it necessary to have 100 successes.Hopefully I'm missing an existing feature here. If not, does this use-case seem reasonable?
Seems kind of related to #3071.
Beta Was this translation helpful? Give feedback.
All reactions