hasjob icon indicating copy to clipboard operation
hasjob copied to clipboard

Added flask-monitoringdashboard app

Open iambibhas opened this issue 6 years ago • 4 comments

Implemented flask-monitoringdashboard This app gives us some metrics about HTTP requests on the endpoints we choose. Couple of pros are -

  • it's possible to track requests per user with this if the user is logged in
  • it's possible to track request time per endpoint per version with this. The version could be a manually set version number or the deployed git commit ID. So it's possible to compare endpoint performance per release.
screen shot 2018-04-23 at 10 15 41 am screen shot 2018-04-23 at 10 56 30 am screen shot 2018-04-23 at 10 56 45 am screen shot 2018-04-23 at 11 49 30 am

iambibhas avatar Apr 23 '18 06:04 iambibhas

What is the performance impact of this extension?

jace avatar Apr 23 '18 07:04 jace

@jace it writes to a second db. I tried load testing locally using ab, didn't find much difference in performance. Any better way to measure that you can think of? This seems to be essentially what the clients for 3rd party services do. They make HTTP requests and this is writing to db.

iambibhas avatar Apr 23 '18 08:04 iambibhas

When does it write? In the same request response cycle, or in a background job? Writing to a second db will still freeze the request until the database finishes committing.

jace avatar Apr 23 '18 08:04 jace

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

CLAassistant avatar May 16 '22 15:05 CLAassistant