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
description :=sprintf("Attribute definition '%s' has requirement_level set to %s. Only attribute references can set requirement_level.", [attr.id, attr.requirement_level])
71
71
}
72
72
73
+
# We require attribute definitions to have stability
74
+
deny contains attr_registry_violation(description, group.id, attr.id) if {
75
+
group := input.groups[_]
76
+
attr := group.attributes[_]
77
+
not attr.stability
78
+
description :=sprintf("Attribute definition '%s' does not contain stability field. All attribute definitions must include stability level.", [attr.id])
79
+
}
80
+
81
+
# We require span, metrics, events, resources definitions to have stability
82
+
deny contains attr_registry_violation(description, group.id, "") if {
0 commit comments