Commit f7256114 authored by Konstantinos Poulakakis's avatar Konstantinos Poulakakis
Browse files

Make static thresholds for testing purposes.

parent 0f928f9c
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -168,8 +168,8 @@ def aggregation_handler_total_latency(
    result = {
        "kpi_id": output_kpi_list[0],
        "avg": total_kpi_lat,
        "THRESHOLD_RAISE": bool(total_kpi_lat > thresholds["task_parameter"][0]["total"]),
        "THRESHOLD_FALL": bool(total_kpi_lat < thresholds["task_parameter"][0]["total"])
        "THRESHOLD_RAISE": bool(total_kpi_lat > 2600),
        "THRESHOLD_FALL": bool(total_kpi_lat < 699)
    }
    results = []