Stats module
The activity level on my Trac site has been pretty high as of late. It would be useful to be able to generate real-time stats from all the data that Trac monitors. Such as:
- Average changesets per day/week/month
- Maybe a graph of changeset activity vs. average changeset activity over the course of N weeks or N months (would be cool to have Roadmap reference points here to see if the development team increases activity to make a release deadline or if the project planning has been sufficient to prevent spikes)
- Developer/changeset stats. Maybe even developer/changeset stats graphed over the course of N weeks or N months.
- Once #187 is resolved ticket activity could also be compiled.
Aside from a specific stats module or link, some stats could be displayed at the top of the timeline (or as a side-bar). Examples: # changesets today, # changesets this week, # new tickets today, # tickets resolved today, most active tickets today/this week, etc.
Change History
(9)
Cc: |
robert.pollak@… added
|
Resolution: |
→ wontfix
|
Status: |
new → closed
|
Just for starters, please see the attached patch (against trunk:revision 1266). Instructions how to use :
trac-admin rrdtool create tickets.rrd - this will create a tickets.rrd RRD database. Please sources if you want to modify database parameters.
trac-admin rrdtool graph tickets.rrd - the resulting image will be stored in tickets.rrd.png file.
And finally, to get going, schedule cron at certain intervals to invoke command like this: trac-admin rrdtool update tickets.rrd
and that's it.