cabennett85/gittest — Issue #1204: Record snapshots of BroadCause metrics
Author: cabennett85
Created: 2012-03-02 00:40:57+00:00
State: open

We already built out real-time cause metrics, but now we should start saving snapshots of these metrics.

We need a table that saves
{{{
date
level of activity (hyperactive, active, new, inactive, other)
creation method (claimed, registered)
profile completion percentage
metric name
metric value
}}}

Just like we do with the stats_aggregate cron, we'll save these metrics once a day, and normalize the time to 00:00:00 for consistency. We will no longer be using the "XXXMetricGroup" paradigm - that was a failed experiment.

Right now we don't have very many types of metrics, so the current possible values of metric name are: "causes", "verified-causes", and "logins" (although I don't think we even have logins yet).

For the future, we'll continue to add more metrics: "events", "wishes", "contacts", "supporters", "sent-emails", etc.