📜 ⬆️ ⬇️

I share usage statistics

Recently, in one of my project it took to add some unpretentious statistics. I will not go into the details of the project itself, I will just say that it is a shareware program that costs tens of thousands of users. My goal is to know how many people a day use the Trial version of the program.

The obvious solution is to install a web server, write a small script that processes a request for a URL like http: // myproject / ontrial and then my program should launch a request to this URL.

Earlier, I already did small crafts on GAE, so there is some kind of experience, and the deployment of services attracted me. Therefore, for a long time I didn’t even think about where to locate my service, especially since it consists of 1 simple method, which essentially does nothing. What is even more gratifying is the statistics in the GAE admin panel, in which you can see which methods were twitching and how many times. Further, I cite dry usage and price statistics (many pictures)
')
Simple python handler




Porosov per second




Milliseconds per request




Bytes taken per second




Bytes sent per second




CPU usage




Number of milliseconds spent every second to process the request




Number of failures




Instance Types




My billing settings




Payment statistics




Details on payment




findings



Source: https://habr.com/ru/post/136167/


All Articles