Edgewall Software

Ticket #740 (closed enhancement: wontfix)

Opened 4 years ago

Last modified 2 years ago

Stats module

Reported by: jamesm@… Owned by: jonas
Priority: normal Milestone:
Component: general Version: devel
Severity: normal Keywords: statistics
Cc: zilvinas@…, robert.pollak@…

Description

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:

  1. Average changesets per day/week/month
  2. 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)
  3. Developer/changeset stats. Maybe even developer/changeset stats graphed over the course of N weeks or N months.
  4. 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.

Attachments

rrdtool.patch (4.2 KB) - added by zilvinas 4 years ago.
rrdtool patch for trac-admin
.2 (0 bytes) - added by zilvinas 4 years ago.
rrdtool.2.patch (4.6 KB) - added by zilvinas 4 years ago.
rrdtool patch agains trunk rev. 1278
tickets.rrd.png (28.3 KB) - added by zilvinas 4 years ago.
example graph - as in 'it's better to see it once, then hear 100x times'.

Change History

Changed 4 years ago by daniel

  • milestone changed from 1.0 to Someday

Changed 4 years ago by zilvinas

  • cc zilvinas@… added

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.

Changed 4 years ago by zilvinas

rrdtool patch for trac-admin

Changed 4 years ago by zilvinas

  • attachment .2 added

Changed 4 years ago by zilvinas

rrdtool patch agains trunk rev. 1278

Changed 4 years ago by zilvinas

example graph - as in 'it's better to see it once, then hear 100x times'.

Changed 4 years ago by anonymous

Updated patch against trunk 1278 revision, sample output attached too.

Changed 4 years ago by anonymous

  • cc robert.pollak@… added

Changed 3 years ago by cmlenz

  • status changed from new to closed
  • resolution set to wontfix

This kind of feature can now be done relatively easily as third-party plugin.

Add/Change #740 (Stats module)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
to The owner will change from jonas. Next status will be 'closed'
 
Note: See TracTickets for help on using tickets.