From 5618cb0c17d0408135505140a825c70cbfc2c44b Mon Sep 17 00:00:00 2001 From: Valerio Arnaboldi Date: Wed, 18 Aug 2021 13:53:25 -0700 Subject: [PATCH] feat(logs): added log line to count number of submissions with grok exporter and prometheus --- backend/api.py | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/api.py b/backend/api.py index c05b6a6..7ffb22b 100644 --- a/backend/api.py +++ b/backend/api.py @@ -217,6 +217,7 @@ def on_post(self, req, resp): else "{}", json.dumps(clusters)) resp.status = falcon.HTTP_OK end = datetime.now() + print("request successfully served") print(end - start) else: resp.status = falcon.HTTP_BAD_REQUEST