Replace deprecated max_failure_precent sla
The new sla is a failure_rate with min/max sub-keys. Update the documentation and examples to reflect this. Change-Id: Id947e4684aa84fe7d6c239a28b92e2a893ddaf66
This commit is contained in:
parent
a98b564b82
commit
349efd5330
@ -9,10 +9,10 @@ with contracted values such as maximum error rate or minimum response time.
|
||||
Currently supported criteria:
|
||||
|
||||
|
||||
max_failure_percent
|
||||
failure_rate
|
||||
-------------------
|
||||
|
||||
Maximum allowed failure rate in percent.
|
||||
A maximum and/or a minimum failure rate expressed as max or min sub-keys.
|
||||
|
||||
|
||||
max_seconds_per_iteration
|
||||
|
@ -11,7 +11,9 @@
|
||||
},
|
||||
"sla": {
|
||||
"max_seconds_per_iteration": 4,
|
||||
"max_failure_percent": 1
|
||||
"failure_rate": {
|
||||
"max": 1
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
|
@ -9,4 +9,5 @@
|
||||
concurrency: 10
|
||||
sla:
|
||||
max_seconds_per_iteration: 4
|
||||
max_failure_percent: 1
|
||||
failure_rate:
|
||||
max: 1
|
||||
|
Loading…
Reference in New Issue
Block a user