RampUpRule Class
Routing rules for ramp up testing. This rule allows to redirect static traffic % to a slot or to gradually change routing % based on performance.
Constructor
RampUpRule(*args: Any, **kwargs: Any)
Variables
| Name | Description |
|---|---|
|
action_host_name
|
Hostname of a slot to which the traffic will be redirected if decided to. E.g. myapp-stage.azurewebsites.net. |
|
reroute_percentage
|
Percentage of the traffic which will be redirected to
|
|
change_step
|
In auto ramp up scenario this is the step to add/remove from
|
|
change_interval_in_minutes
|
Specifies interval in minutes to reevaluate ReroutePercentage. |
|
min_reroute_percentage
|
Specifies lower boundary above which ReroutePercentage will stay. |
|
max_reroute_percentage
|
Specifies upper boundary below which ReroutePercentage will stay. |
|
change_decision_callback_url
|
Custom decision algorithm can be provided in TiPCallback site extension which URL can be specified. |
|
name
|
Name of the routing rule. The recommended name would be to point to the slot which will receive the traffic in the experiment. |
Attributes
action_host_name
Hostname of a slot to which the traffic will be redirected if decided to. E.g. myapp-stage.azurewebsites.net.
action_host_name: str | None
change_decision_callback_url
Custom decision algorithm can be provided in TiPCallback site extension which URL can be specified.
change_decision_callback_url: str | None
change_interval_in_minutes
Specifies interval in minutes to reevaluate ReroutePercentage.
change_interval_in_minutes: int | None
change_step
In auto ramp up scenario this is the step to add/remove from ReroutePercentage
until it reaches
MinReroutePercentage or MaxReroutePercentage. Site
metrics are checked every N minutes specified in ChangeIntervalInMinutes.
Custom
decision algorithm can be provided in TiPCallback site extension which URL can be specified in
ChangeDecisionCallbackUrl.
change_step: float | None
max_reroute_percentage
Specifies upper boundary below which ReroutePercentage will stay.
max_reroute_percentage: float | None
min_reroute_percentage
Specifies lower boundary above which ReroutePercentage will stay.
min_reroute_percentage: float | None
name
Name of the routing rule. The recommended name would be to point to the slot which will receive the traffic in the experiment.
name: str | None
reroute_percentage
Percentage of the traffic which will be redirected to ActionHostName.
reroute_percentage: float | None