diff --git a/selfprivacy_api/utils/prometheus.py b/selfprivacy_api/utils/prometheus.py index ba87d97..e319c63 100644 --- a/selfprivacy_api/utils/prometheus.py +++ b/selfprivacy_api/utils/prometheus.py @@ -19,7 +19,7 @@ class PrometheusInfo: class PrometheusQueries: @staticmethod - def _send_request(endpoint="/api/v1/query_range", params=None) -> PrometheusInfo: + def _send_request(endpoint="/api/v1/query", params=None) -> PrometheusInfo: try: response = requests.get(f"{PROMETHEUS_URL}{endpoint}", params=params) return PrometheusInfo(