You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
assert.True(t, fieldFound(label, m.Rules), "missing label '%s' found in metric '%s'", label, metric.Spec.MetricName)
75
+
}
76
+
for_, filter:=rangemetric.Spec.Filters {
77
+
assert.True(t, fieldFound(filter.Field, m.Rules), "missing label '%s' found in filters for metric '%s'", filter.Field, metric.Spec.MetricName)
78
+
}
79
+
ifmetric.Spec.ValueField!="" {
80
+
assert.True(t, fieldFound(metric.Spec.ValueField, m.Rules), "missing '%s' used as ValueField for metric '%s'", metric.Spec.ValueField, metric.Spec.MetricName)
81
+
}
82
+
}
83
+
66
84
// override with custom rules
67
85
m, err=GetOtelTransformConfig(&[]flowslatest.GenericTransformRule{{
0 commit comments