From a0fdef254eb976edabb991a977a251d35c652ccd Mon Sep 17 00:00:00 2001 From: Anthony Mahanna Date: Fri, 29 Dec 2023 21:02:01 -0500 Subject: [PATCH] update metrics endpoint to `v2` --- arango/database.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arango/database.py b/arango/database.py index e33bd5ae..ef64c7e5 100644 --- a/arango/database.py +++ b/arango/database.py @@ -838,7 +838,7 @@ def metrics(self) -> Result[str]: :return: Server metrics in Prometheus format. :rtype: str """ - request = Request(method="get", endpoint="/_admin/metrics") + request = Request(method="get", endpoint="/_admin/metrics/v2") def response_handler(resp: Response) -> str: if resp.is_success: