diff --git a/selfprivacy_api/utils/prometheus.py b/selfprivacy_api/utils/prometheus.py index c52f7cd..557937c 100644 --- a/selfprivacy_api/utils/prometheus.py +++ b/selfprivacy_api/utils/prometheus.py @@ -3,8 +3,8 @@ # pylint: disable=too-few-public-methods import time import requests - -from typing import Optional +from typing import Optional, Dict +from datetime import datetime, timedelta PROMETHEUS_URL = "http://localhost:9001" @@ -13,7 +13,7 @@ class PrometheusInfo: """ """ http_response: int - output: Optional[typing.Dict] = None + output: Optional[Dict] = None error: Optional[str] = None