mirror of
https://github.com/fluxcd/flagger.git
synced 2026-04-15 06:57:34 +00:00
Add success rate query
This commit is contained in:
@@ -16,8 +16,33 @@ Create GA and canary deployments, services and Istio virtual service:
|
||||
kubectl apply -f ./artifacts/workloads/
|
||||
```
|
||||
|
||||
Start rollout:
|
||||
Rollout:
|
||||
|
||||

|
||||
|
||||
HTTP success rate query:
|
||||
|
||||
```sql
|
||||
sum(
|
||||
irate(
|
||||
istio_requests_total{
|
||||
reporter="destination",
|
||||
destination_workload_namespace=~"$namespace",
|
||||
destination_workload=~"$workload",
|
||||
response_code!~"5.*"
|
||||
}[$interval]
|
||||
)
|
||||
)
|
||||
/
|
||||
sum(
|
||||
irate(
|
||||
istio_requests_total{
|
||||
reporter="destination",
|
||||
destination_workload_namespace=~"$namespace",
|
||||
destination_workload=~"$workload"
|
||||
}[$interval]
|
||||
)
|
||||
)
|
||||
```
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user