diff --git a/checker/synapse_grafana.py b/checker/synapse_grafana.py index 0e48f6d..1ce844f 100644 --- a/checker/synapse_grafana.py +++ b/checker/synapse_grafana.py @@ -316,6 +316,7 @@ def get_waiting_for_db(api_key, interval, data_range, endpoint): for i in range(len(raw_data)): if raw_data[i] is not None: data.append(raw_data[i]) + else: null_present = True return np.round(np.average(data), 5), null_present, raw_data