AWS
delete_db_instance
Deletes an RDS instance
Validates the failure rate of a specific service
Below are the details and signature of the activity Python module.
Type | probe |
Module | chaosdynatrace.probes |
Name | failure_rate |
Return | boolean |
Usage
JSON
{
"name": "failure-rate",
"type": "probe",
"provider": {
"type": "python",
"module": "chaosdynatrace.probes",
"func": "failure_rate",
"arguments": {
"entity": "",
"relative_time": "",
"failed_percentage": 0
}
}
}
YAML
name: failure-rate
provider:
arguments:
entity: ""
failed_percentage: 0
relative_time: ""
func: failure_rate
module: chaosdynatrace.probes
type: python
type: probe
Arguments
Name | Type | Default | Required | Title | Description |
---|---|---|---|---|---|
entity | string | Yes | Service | Name of the service | |
relative_time | string | Yes | Relative Time | ||
failed_percentage | integer | Yes | Expected Failed Percentage |
Returns true if the failure rate is less than the expected failure rate
For more information check the API documentation: https://www.dynatrace.com/support/help/dynatrace-api/environment-api/metric-v1/
Signature
def failure_rate(entity: str,
relative_time: str,
failed_percentage: int,
configuration: Dict[str, Dict[str, str]],
secrets: Dict[str, Dict[str, str]] = None) -> bool:
pass