An AnalysisTemplate is a reusable Argo Rollouts specification for automated measurements and evaluation criteria. It defines probes, providers, success conditions, and failure limits that gate release progression. section 8.3.3
Use an AnalysisTemplate to control when an AnalysisRun is created and how its result affects a rollout:
- Query service metrics through providers such as Prometheus, Datadog, New Relic, or Dynatrace. section 8.3.3
Reusable success-rate gate
Define a success-rate AnalysisTemplate with a service-name argument, a five-minute interval, a Prometheus provider, the condition result[0] >= 0.95, and failureLimit: 3. Reference it from a canary rollout and supply the canary service address as the argument.
