reliability
inject_gradual_traffic_into_endpoint
Load traffic into the given endpoint.
Pause the execution of the experiment until the resume state has been received.
Below are the details and signature of the activity Python module.
Type | action |
Module | chaosreliably.activities.pauses |
Name | pause_execution |
Return | null |
Usage
JSON
{
"name": "pause-execution",
"type": "",
"provider": {
"type": "python",
"module": "chaosreliably.activities.pauses",
"func": "pause_execution"
}
}
YAML
name: pause-execution
provider:
func: pause_execution
module: chaosreliably.activities.pauses
type: python
type: ""
Arguments
Name | Type | Default | Required | Title | Description |
---|---|---|---|---|---|
duration | integer | 0 | No | Duration |
Signature
def pause_execution(duration: int = 0,
username: str = '',
user_id: str = '') -> None:
pass