Esempio n. 1
0
// Unregister removes any entries to the metrics names in metrics context
func (s *PerCgroupStat) Unregister() {
	misc.UnregisterMetrics(s, s.m, s.prefix)
}
Esempio n. 2
0
// Unregister removes metrics from metric-context
func (s *PerFSStat) Unregister() {
	misc.UnregisterMetrics(s, s.m, "fsstat."+s.mp)
}