Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 457724 - Create statistics page with various data
Summary: Create statistics page with various data
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Infrastructure
Classification: Unclassified
Component: Bugzilla (show other bugs)
Hardware: All Linux
: Low enhancement (vote)
Assignee: Bugzilla Admins
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-15 16:43 UTC by Tomáš Chvátal (RETIRED)
Modified: 2021-08-25 21:08 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
cbugzilla collectd-web scrot (2013-06-19-113735_1078x1918_scrot.png,192.10 KB, image/png)
2013-06-19 09:39 UTC, Jan Matějka (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tomáš Chvátal (RETIRED) gentoo-dev 2013-02-15 16:43:22 UTC
Hi,

I think it would be nice to create statists page per herd and per maintainers to show up something like current open bugs, monthly additions, mothly closed and similar data.

It could be even charted later on into some graphs so we can easily identify areas that are getting foobared because nobody is caring for them.

Cheers

Tom
Comment 1 Jan Matějka (RETIRED) gentoo-dev 2013-05-15 15:58:50 UTC
FYI: i started writing a collectd plugin
Comment 2 Jan Matějka (RETIRED) gentoo-dev 2013-06-13 18:55:02 UTC
/var/lib/collectd/rrd/localhost/curl-python_herd  
root@rainbowdash # grep pdp_per_row -C 5 gauge-python-herd.xml | grep 439 -C 5                                                                                                                    
                        <!-- 2013-06-13 20:18:00 CEST / 1371147480 --> <row><v>NaN</v></row>
                </database>
        </rra>
        <rra>
                <cf>AVERAGE</cf>
                <pdp_per_row>439</pdp_per_row> <!-- 26340 seconds -->

                <params>
                <xff>1.0000000000e-01</xff>
                </params>
                <cdp_prep>


comming soon
Comment 3 Jan Matějka (RETIRED) gentoo-dev 2013-06-17 14:50:50 UTC
You can get collectd-5.3.0 with cbugzilla plugin from yac overlay.

You're gonna need cbugzilla-0.2.1 which I commited just recently.

example configuration:

collectd.conf:
<LoadPlugin cbugzilla> # enable plugin
	Interval 14400 # gather data every 4 hours
</LoadPlugin>

<Plugin cbugzilla>
  <Bugzilla "gentoo"> # bugzilla identifier
        URL "https://bugs.gentoo.org"
        User "" # user to access bugzilla as
        Password ""

        <NamedCmd "yac cc'd">  # named command to run
                MeasureResponseTime true  # with response time measuring
        </NamedCmd>

        NamedCmd "twisted" # named command to run, without response times measurements
  </Bugzilla>
</Plugin>

If you will use rrdtool as the db backend and collectd-web to display the data, you are gonna need patch from cbugzilla branch (which is not shown yet in the webui, but it's there) at https://github.com/yaccz/collectd-web to get the graph rendered.
Comment 4 Jan Matějka (RETIRED) gentoo-dev 2013-06-18 12:50:42 UTC
I was unable to display the data with 14400 interval for some unknown reason. But Interval 3600 seems to be working fine.
Comment 5 Jan Matějka (RETIRED) gentoo-dev 2013-06-19 09:37:37 UTC
So it appears I checked the results wrong. Interval 14400 works fine too.
Comment 6 Jan Matějka (RETIRED) gentoo-dev 2013-06-19 09:39:30 UTC
Created attachment 351368 [details]
cbugzilla collectd-web scrot
Comment 7 Alec Warner (RETIRED) archtester gentoo-dev Security 2021-08-25 21:08:21 UTC
I think it could be put on qa-reports (mgorny does a lot of stuff in this area) but its not something infra will do.