Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Cherokee: dev

Issue 576 in cherokee: Simple HTTP requests/traffic counter for Server Info handler

 

 

Cherokee dev RSS feed   Index | Next | Previous | View Threaded


codesite-noreply at google

Sep 12, 2009, 4:18 PM

Post #1 of 5 (497 views)
Permalink
Issue 576 in cherokee: Simple HTTP requests/traffic counter for Server Info handler

Status: New
Owner: ----

New issue 576 by linportal: Simple HTTP requests/traffic counter for Server
Info handler
http://code.google.com/p/cherokee/issues/detail?id=576

This is an enhancement request.

I would like to see very simple hit counter (number of HTTP requests since
server started) and total traffic (number of bytes transferred since server
started) in the Server Info handler.

It shouldn't be too hard to code, but would be very helpful for people who
want to extract that info to process it outside server (for graphing,
alerting or similar).

Apache has such functionality in its server-status and it looks like this:

Total accesses: 83699 - Total Traffic: 2.8 GB

Thank you for the greatest web server on this planet!


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
_______________________________________________
Cherokee-dev mailing list
Cherokee-dev [at] lists
http://lists.octality.com/listinfo/cherokee-dev


codesite-noreply at google

Sep 12, 2009, 5:30 PM

Post #2 of 5 (465 views)
Permalink
Issue 576 in cherokee: Simple HTTP requests/traffic counter for Server Info handler [In reply to]

Comment #1 on issue 576 by pubcrawler.com: Simple HTTP requests/traffic
counter for Server Info handler
http://code.google.com/p/cherokee/issues/detail?id=576

I am all for this sort of functionality as an option in Cherokee.

Since the new graphing that exists in recent versions I'd think this sort
of data is
available within Cherokee already or could be made user accessible...

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
_______________________________________________
Cherokee-dev mailing list
Cherokee-dev [at] lists
http://lists.octality.com/listinfo/cherokee-dev


codesite-noreply at google

Sep 13, 2009, 1:30 AM

Post #3 of 5 (461 views)
Permalink
Issue 576 in cherokee: Simple HTTP requests/traffic counter for Server Info handler [In reply to]

Updates:
Owner: alobbs

Comment #2 on issue 576 by alobbs: Simple HTTP requests/traffic counter for
Server Info handler
http://code.google.com/p/cherokee/issues/detail?id=576

The information handler already implements that. Check out this example:

http://www.alobbs.com/about/

When you access the handler, it renders HTML table out of the formatted
information.
However you can also request raw information in various formats. For
instance, in
Python (so it can be imported, exec()ed):

http://www.alobbs.com/about/info/py

Is that what you were looking for?

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
_______________________________________________
Cherokee-dev mailing list
Cherokee-dev [at] lists
http://lists.octality.com/listinfo/cherokee-dev


codesite-noreply at google

Sep 13, 2009, 6:24 AM

Post #4 of 5 (455 views)
Permalink
Issue 576 in cherokee: Simple HTTP requests/traffic counter for Server Info handler [In reply to]

Comment #3 on issue 576 by linportal: Simple HTTP requests/traffic counter
for Server Info handler
http://code.google.com/p/cherokee/issues/detail?id=576

I see detailed and useful traffic counter, yes, thank you. What I don't see
is
counter of HTTP accesses, UNLESS that is the number of fetches I/O cache
reports, but
I'd need a confirmation on that one, because it is not obvious to me.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
_______________________________________________
Cherokee-dev mailing list
Cherokee-dev [at] lists
http://lists.octality.com/listinfo/cherokee-dev


codesite-noreply at google

Sep 26, 2009, 10:27 PM

Post #5 of 5 (417 views)
Permalink
Issue 576 in cherokee: Simple HTTP requests/traffic counter for Server Info handler [In reply to]

Updates:
Status: WaitingQA
Owner: ste...@konink.de
Labels: Type-Enhancement Priority-Low OpSys-All Component-Logic Usability

Comment #4 on issue 576 by ste...@konink.de: Simple HTTP requests/traffic
counter for Server Info handler
http://code.google.com/p/cherokee/issues/detail?id=576

I have created a new collector called 'dummy'. This will Cherokee at least
collect
stuff also when you are totally not interested in RRD graphs. (Sounds
useful to me.)

So I also made sure the server_info_page now outputs total
accepts/timeouts. Bug 447
still mentions the rendering of connections (and probably each individual
vserver
with nice tabs etc.) at least I read that from it.

Attached patch (WILL apply with line differences) but gives all the
functionality
(maybe except for 'hits') in here. I also fixed an output glitz when no
collector is
selected and the output traffic is still generated based on that.

Attachments:
counters.diff 13.1 KB

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
_______________________________________________
Cherokee-dev mailing list
Cherokee-dev [at] lists
http://lists.octality.com/listinfo/cherokee-dev

Cherokee dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.