mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2024-11-21 19:51:28 +00:00
fix: query to query_range
This commit is contained in:
parent
c5b0257105
commit
ae2686e799
|
@ -36,7 +36,7 @@ class MonitoringQueries:
|
|||
def _send_query(query: str, start: int, end: int, step: int) -> MonitoringResponse:
|
||||
try:
|
||||
response = requests.get(
|
||||
f"{PROMETHEUS_URL}/api/v1/query",
|
||||
f"{PROMETHEUS_URL}/api/v1/query_range",
|
||||
params={
|
||||
"query": query,
|
||||
"start": start,
|
||||
|
|
Loading…
Reference in a new issue