Skip to content

Commit

Permalink
update metrics endpoint to v2
Browse files Browse the repository at this point in the history
  • Loading branch information
aMahanna committed Dec 30, 2023
1 parent 5e93203 commit a0fdef2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arango/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit a0fdef2

Please sign in to comment.