Edgewall Software
Modify

Opened 20 years ago

Closed 19 years ago

Last modified 18 years ago

#740 closed enhancement (wontfix)

Stats module

Reported by: jamesm@… Owned by: Jonas Borgström
Priority: normal Milestone:
Component: general Version: devel
Severity: normal Keywords: statistics
Cc: zilvinas@…, robert.pollak@… Branch:
Release Notes:
API Changes:
Internal Changes:

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 (4)

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

Download all attachments as: .zip

Change History (9)

comment:1 by daniel, 20 years ago

Milestone: 1.0Someday

comment:2 by zilvinas, 20 years ago

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.

by zilvinas, 20 years ago

Attachment: rrdtool.patch added

rrdtool patch for trac-admin

by zilvinas, 20 years ago

Attachment: .2 added

by zilvinas, 20 years ago

Attachment: rrdtool.2.patch added

rrdtool patch agains trunk rev. 1278

by zilvinas, 20 years ago

Attachment: tickets.rrd.png added

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

comment:3 by anonymous, 20 years ago

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

comment:4 by anonymous, 20 years ago

Cc: robert.pollak@… added

comment:5 by Christopher Lenz, 19 years ago

Resolution: wontfix
Status: newclosed

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

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.