Now that Sampler API is deployed and collecting data on Drupal.org, we'll want to convert http://drupal.org/metrics to use it for consistency. sampler already provides three of the five metrics on that page by default, so some of the work is already done. Remaining is:
- Write sampler metrics for 'Commits created by month' and 'Committers by month'. we'll need to figure out where these metrics will live, it would be great if they were general enough to live in one of the versioncontrol modules.
- Backfill data for the two metrics above. The other three have already been backfilled as part of #1497332: backfill metrics collected by Sampler API
- Rework the page to use views_sparkline
Deployment
- Upgrade sampler module
drush sampler-update-storage-plugin drupalorg drupalorg_user_metric drupal_database_table_per_metricdrush sampler-update-method-plugin drupalorg drupalorg_user_metric periodicdrush sampler-sample drupalorg drupalorg_user_metric --startstamp=1010275200
Comments
Comment #1
mikey_p commentedWe'll probably need to write all new metrics for these since sampler's current metrics seem to be based on weekly stats, and trying to display a chart with reasonable time range with that granularity is fairly unreadable graph.
Comment #2
hunmonk commented@mikey_p: we can configure sampler's metrics to run on a longer sample time, i believe bdragon has a patch that adds a monthly time period to the periodic method plugin, or it currently can be configured to sample every 4 weeks.
also, we can certainly consider taking the existing weekly samples and using them for a different display. :)
Comment #3
hunmonk commented#1559916: Monthly support has landed, so we can now convert users/nodes/comments to monthly if we want.
Comment #4
webchickhttp://drupal.org/metrics is a blank page. It wasn't before this sampler stuff was done. Needs fixing.
Comment #5
hunmonk commentedit's not a blank page for me.
also, the sampler 'changes' have done nothing but populate database tables with metric data, so any UI bugs are definitely not related.
Comment #6
mikey_p commentedJust opened #1568080: Add sampler support to track metrics for commits. I'll try to get the relevant metrics created and added over there.
Comment #7
drummComment #9
drummComment #10
drummComment #11
drumm