views:

1571

answers:

3

I am working on a project using Ruby on Rails and I need to monitor web requests to generate traffic analytics (hits, unique visitors etc), but I have been instructed that using an external service, such as Google Analytics, is unacceptable (don't ask me why, I may break down and cry).

I can however, use a plug in or anything else which collates and stores the data "internally". I have a Postgres database to store the data, but is there any open source plugin/project which means I don't have to write this from scratch?

+1  A: 

Here are some alternatives although there's nothing Ruby-specific there. Piwik looks like it may work for you though.

cletus
+5  A: 

I've recently used RailStat, with a decent set of features. Its structure is very good, easy enough to change and can be scoped by the subdomain.

http://www.railstat.com/

Tamer Salama
This is pretty close to perfect for what I wanted.
Ash
+2  A: 

If the problem with Analytics is your data leaving your server environment, there is the Urchin version, but that's not free.

Cebjyre