Add BucketTimedMetric, tidy PluginMetricManager API