From f9fa18a8c15de640113883eee4b4b0d1fec82fdd Mon Sep 17 00:00:00 2001 From: Kumi Date: Mon, 1 Jul 2024 07:10:13 +0200 Subject: [PATCH] fix: update metrics endpoint URL Changed the metrics route from "/_metrics/" to "/metrics/" for consistency and better readability. This should enhance usability and clarity for users accessing the metrics endpoint. --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 694f5f4..e5f0c04 100644 --- a/main.py +++ b/main.py @@ -101,7 +101,7 @@ def catch_all(path): return "404 Not Found", 404 -@app.route("/_metrics/") +@app.route("/metrics/") def metrics(): finances = json.loads( (pathlib.Path(__file__).parent / "data" / "finances.json").read_text()