On 6/19/07, Will Johnson <[EMAIL PROTECTED]> wrote:
Would it be better to have an option to record traffic for the last 'x
minutes/seconds/hours' configurable on a per handler basis? The goal is
to have hooks for nagios/cacti/etc to be able to pull live status info
for monitoring purposes. If you want fine grained performance history
then log files are the best approach, I just think a way to have beepers
go off if a server starts getting huge amounts of traffic is a good
thing.
For the record nagios and/or cacti could both keep track of 'in the last
x' type of statistics based on totals but having solr compute that
automatically would be nice.
That's a good point about totals... totalResponseTime is actually more
powerful than averageResponseTime in that a monitoring app can poll at
any frequency they wish to get averageResponseTime over the last
timeperiod.
Calculating other things such as percentiles is more difficult.
Perhaps a plugin interface there is warranted so people can make
different tradeoffs? Regardless, we should try and have good defaults
w/o further configuration.
-Yonik