about summary refs log tree commit homepage
path: root/lib/raindrops/watcher.rb
DateCommit message (Collapse)
2012-06-18watcher: do not require Rack::Head for HEAD response
Rack webservers are not guaranteed to include Rack::Head in the middleware stack. Watcher is a standalone app, so it cannot rely on a framework which automatically includes Rack::Head.
2012-06-18watcher: sort index of listener listing
For hosts with many listeners, it should be easier to read the index page if the results are shown in a consistent order. Requested privately via email to raindrops@bogomips.org
2011-10-141.8 compatibility workarounds
Math.sqrt on 1.8.7 does not give NaN for certain errors. We'll also fix our Errno::EDOM retry loop to avoid resetting the "retried" flag.
2011-10-12avoid inadvertant object creation with invalid addresses
Just in case somebody tries to scan all addresses, we won't run out of memory as easily.
2011-10-03watcher: document new headers for users
These names are not finalized, yet.
2011-10-03watcher: add peak times for statistics
It could be useful to know when the first and last peak time of a maximum was.
2011-09-27watcher: add X-Current header to headers
It can be useful to some to see that info all at once without hitting the HTML index page.
2011-08-01watcher: add POST /reset/$LISTENER endpoint rdoc
This was always supported via the HTML (browser) interface but there was no documented way of hitting it without a browser, before.
2011-06-27fix Ruby warnings
Found in the check-warnings target in pkg.mk
2011-03-24watcher: fix documentation for X-* headers
I copied and pasted off the Raindrops::LastDataRecv documentation. While the headers and mathematical meanings are identical, they measure different things (but for the same purpose) Noticed-by: Troex Nevelin
2011-03-21watcher: remove redundant Rack::Response
No need to duplicate code
2011-03-18watcher: add title attributes to elements
It can help navigation, we think...
2011-03-18watcher: RDoc examples point to the demo
No need to waste bandwidth of example.com when we have a meaningful demo site :)
2011-03-18watcher: set Expires headers for cache invalidation
We know exactly when to invalidate based on the delay :)
2011-03-18watcher: prevent Rack::Deflater from buffering
Set "Cache-Control: no-transform" to prevent frontend proxies from flushing data.
2011-03-17watcher: add link to the Watcher documentation
Hopefully people can learn to use the REST API this way.
2011-03-16watcher: fix rdoc
2011-03-16watcher: retry on empty stats
Those will cause Aggregate to raise Errno::EDOM
2011-03-17rdoc: document the demo URLs
2011-03-17watcher: properly stream responses for <= HTTP/1.0
nginx makes HTTP/1.0 requests and expects HTTP/1.1 responses
2011-03-16add Watcher Rack application
It does streaming!