Tuesday, 17 September 2013

Monitor Number of Requests in Sinatra

Monitor Number of Requests in Sinatra

If I have a specific link in my sinatra, for instance say /requests, how
can I monitor the number of times the page is loaded. Ideally, I want to
be able to get a hit count for how many times a specific page on my server
is accessed. Thanks.

No comments:

Post a Comment