func (f Filter) ShouldMetricPass(metric telegraf.Metric) bool { if f.ShouldPass(metric.Name()) && f.ShouldTagsPass(metric.Tags()) { return true } return false }