func (pc *PrometheusCheck) IsExcluded(annotations map[string]string, namespacedName string) bool {
	for k, v := range pc.AD.KubeAnnotations.Excl {
		if annotations[k] == v {
			log.Debugf("'%s' matched the exclusion annotation '%s=%s' ignoring it", namespacedName, k, v)
			return true
		}
	}
	return false
}
// IsExcluded returns whether is the annotations match an AD exclusion rule
IsExcluded returns whether is the annotations match an AD exclusion rule
// IsExcluded returns whether is the annotations match an AD exclusion rule
func (pc *PrometheusCheck) IsExcluded(annotations map[string]string, namespacedName string) bool {
	for k, v := range pc.AD.KubeAnnotations.Excl {
		if annotations[k] == v {
			log.Debugf("'%s' matched the exclusion annotation '%s=%s' ignoring it", namespacedName, k, v)
			return true
		}
	}
	return false
}
func ( pc * PrometheusCheck ) IsExcluded ( annotations map [ string ] string , namespacedName string ) bool { for k , v := range pc . AD . KubeAnnotations . Excl { if annotations [ k ] == v { log . Debugf ( " " , namespacedName , k , v ) return true } } return false }
IsExcluded returns whether is the annotations match an AD exclusion rule
IsExcluded returns whether is the annotations match an AD exclusion rule