DVReleaseThresholds class final
What the health gate tolerates, relative to the release being replaced.
Every threshold is a margin over the previous release's own number: absolute numbers encode one deployment's traffic and are wrong on the next.
Constructors
-
DVReleaseThresholds({double errorRate = 0.01, Map<
DVRequestStage, double> stages = const <DVRequestStage, double>{DVRequestStage.commit : 0.001, DVRequestStage.authorization : 0.02}, double latencyP95Increase = 0.20}) -
const
Properties
- errorRate → double
-
How far the candidate's failure rate may exceed the previous release's,
as a share of requests: 0.01 is one percentage point.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- latencyP95Increase → double
-
How much slower the candidate's p95 may be, as a share of the previous
release's: 0.20 is twenty per cent.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
stages
→ Map<
DVRequestStage, double> -
The same margin for failures at one lifecycle stage.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited