Unicon / cas-addons

Open source CAS customizations, extensions, and configuration aids.
http://unicon.github.io/cas-addons/
Apache License 2.0
54 stars 26 forks source link

Implement CAS statistics capturing with Redis #47

Closed dima767 closed 11 years ago

dima767 commented 11 years ago

So the idea here is to use Redis server excellent support for INCR - an atomic increment for integer values to record daily stats for key events such as sso sessions established and service tickets validated, etc. The Redis keys for these would look like cas:sso-sessions-established:yyyy-MM-dd, cas:st-tickets-validated:yyyy-MM-dd.

The implementation would use CAS server event listeners to record this data in Redis asynchronously.

This will open up a possibility to build UI stats dashboards, etc. without the need to parse unstructured CAS log files data, etc.

dima767 commented 11 years ago

Done. Scheduled for 1.9