docs: replace threshold with thresholdRange

This commit is contained in:
stefanprodan
2020-03-01 22:36:08 +02:00
parent 0c998c36cf
commit b6958733e1
13 changed files with 72 additions and 28 deletions
+16
View File
@@ -23,3 +23,19 @@ Upgrade procedure:
**Note** that after upgrading Flagger, all canaries will be triggered as the hash value used for tracking changes
is computed differently. You can set `spec.skipAnalysis: true` in all canary manifests before upgrading Flagger,
do the upgrade, wait for Flagger to finish the no-op promotions and finally set `skipAnalysis` to `false`.
Update builtin metrics:
* replace `threshold` with `thresholdRange.min` for request-success-rate
* replace `threshold` with `thresholdRange.max` for request-duration
```yaml
metrics:
- name: request-success-rate
thresholdRange:
min: 99
interval: 1m
- name: request-duration
thresholdRange:
max: 500
interval: 1m
```