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:
Jesse Keating 2015-01-21 12:25:54 -08:00
parent a98b564b82
commit 349efd5330
3 changed files with 7 additions and 4 deletions

View File

@ -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

View File

@ -11,7 +11,9 @@
},
"sla": {
"max_seconds_per_iteration": 4,
"max_failure_percent": 1
"failure_rate": {
"max": 1
}
}
}
]

View File

@ -9,4 +9,5 @@
concurrency: 10
sla:
max_seconds_per_iteration: 4
max_failure_percent: 1
failure_rate:
max: 1