checkmgr/metrics.go
func (cm *CheckManager) IsMetricActive(name string) bool {
	cm.availableMetricsmu.Lock()
	defer cm.availableMetricsmu.Unlock()

	return cm.availableMetrics[name]
}
func (cm *CheckManager) IsMetricActive(name string) bool {
	cm.availableMetricsmu.Lock()
	defer cm.availableMetricsmu.Unlock()

	return cm.availableMetrics[name]
}
// IsMetricActive checks whether a given metric name is currently active(enabled)