diff --git a/src/monitoring/service/MetricsDBTools.py b/src/monitoring/service/MetricsDBTools.py index f928f07b94c71fb6f378161862e96d41af8bde7f..11574e8f6577db0bab4add96da8157496d40e6f5 100644 --- a/src/monitoring/service/MetricsDBTools.py +++ b/src/monitoring/service/MetricsDBTools.py @@ -13,6 +13,7 @@ # limitations under the License. import time +import math from random import random from questdb.ingress import Sender, IngressError @@ -326,4 +327,4 @@ class MetricsDB(): else: LOGGER.debug(f"No new data for the alarm of KPI {kpi_id}") except (Exception) as e: - LOGGER.debug(f"Alarm data cannot be retrieved. {e}") \ No newline at end of file + LOGGER.debug(f"Alarm data cannot be retrieved. {e}")