Skip to content

Commit

Permalink
feat(logs): added log line to count number of submissions with grok e…
Browse files Browse the repository at this point in the history
…xporter and prometheus
  • Loading branch information
valearna committed Aug 18, 2021
1 parent 66a13da commit 5618cb0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions backend/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5618cb0

Please sign in to comment.