Summary: | Create statistics page with various data | ||
---|---|---|---|
Product: | Gentoo Infrastructure | Reporter: | Tomáš Chvátal (RETIRED) <scarabeus> |
Component: | Bugzilla | Assignee: | Bugzilla Admins <bugzilla> |
Status: | RESOLVED WONTFIX | ||
Severity: | enhancement | CC: | adaptee, yac |
Priority: | Low | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | cbugzilla collectd-web scrot |
Description
Tomáš Chvátal (RETIRED)
2013-02-15 16:43:22 UTC
FYI: i started writing a collectd plugin /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 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. I was unable to display the data with 14400 interval for some unknown reason. But Interval 3600 seems to be working fine. So it appears I checked the results wrong. Interval 14400 works fine too. Created attachment 351368 [details]
cbugzilla collectd-web scrot
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. |