pub fn register<T>(metric: T, registry: &Registry) -> Result<T, Error>where
    T: 'static + Clone + Collector,