thresholdRange
and the window size or the time series with interval
. The builtin checks are available for every service mesh / ingress controlle and are implemented with Prometheus queries.MetricTemplate
custom resource, you configure Flagger to connect to a metric provider and run a query that returns a float64
value. The query result is used to validate the canary based on the specified threshold range.name
(canary.metadata.name)namespace
(canary.metadata.namespace)target
(canary.spec.targetRef.name)service
(canary.spec.service.name)ingress
(canary.spec.ingresRef.name)interval
(canary.spec.analysis.metrics[].interval)templateRef
:prometheus
and writing the query in PromQL.MetricTemplate
with the basic-auth credentials:MetricTemplate
:cloudwatch:GetMetricData
to use this provider.MetricTemplate
with the basic-auth credentials:MetricTemplate
:serviceAccountKey
(This method is not recommended).