prometheus
pub fn unregister(c: Box<dyn Collector>) -> Result<()>
Unregisters the Collector that equals the Collector passed in as an argument. (Two Collectors are considered equal if their Describe method yields the same set of descriptors.) The function returns an error if a Collector was not registered.
Collector