I agree in the case of formatting the bucket name and parsing the trace opt, but creation of metrics.NewBucket and the call to Publish don't belong there, afaict.