Honeycomb
query_results
Retrieve the results of a query
Check query result to be lower than treshold
Type | probe |
Module | chaoshoneycomb.query.probes |
Name | result_data_must_be_lower_than |
Return | boolean |
Usage
JSON
{
"name": "result-data-must-be-lower-than",
"type": "probe",
"provider": {
"type": "python",
"module": "chaoshoneycomb.query.probes",
"func": "result_data_must_be_lower_than",
"arguments": {
"dataset_slug": "",
"query_result_id": "",
"property_name": "",
"max_value": null
}
}
}
YAML
name: result-data-must-be-lower-than
provider:
arguments:
dataset_slug: ''
max_value: null
property_name: ''
query_result_id: ''
func: result_data_must_be_lower_than
module: chaoshoneycomb.query.probes
type: python
type: probe
Arguments
Name | Type | Default | Required | Title | Description |
---|---|---|---|---|---|
dataset_slug | string | Yes | Dataset | Dataset slug | |
query_result_id | string | Yes | Query Result Identifier | ||
property_name | string | Yes | Property Name | Property to look for and evaluate against the treshold | |
max_value | float | Yes | Treshold | Maximum value the property can take | |
other_properties | object | null | No | Extra Properties | Extra properties to select the right result data. Must be a JSON encoded object of property names and values |
timeout | integer | 30 | No | Timeout | Timeout to fetch results when they are not complete yet |
Signature
def result_data_must_be_lower_than(
dataset_slug: str,
query_result_id: str,
property_name: str,
max_value: float,
other_properties: Optional[Dict[str, Any]] = None,
timeout: int = 30,
configuration: Dict[str, Dict[str, str]] = None,
secrets: Dict[str, Dict[str, str]] = None) -> bool:
pass