-
Notifications
You must be signed in to change notification settings - Fork 57
Reconsider using constraints #293
Copy link
Copy link
Closed
Labels
cleanupRefactorings, etc, that don't add new features or fix bugs.Refactorings, etc, that don't add new features or fix bugs.semconv/modelRelated to the data model or YAML format of the semantic convention generatorRelated to the data model or YAML format of the semantic convention generator
Metadata
Metadata
Assignees
Labels
cleanupRefactorings, etc, that don't add new features or fix bugs.Refactorings, etc, that don't add new features or fix bugs.semconv/modelRelated to the data model or YAML format of the semantic convention generatorRelated to the data model or YAML format of the semantic convention generator
Type
Projects
Status
Clean up YAML schema
constraintsallows to formalize that at least one of attributes should be present.We're getting away from this approach in semconv and usually define an attribute that's always available. Otherwise we use requirement level and notes mechanism to clarify when/how attributes should be populated.
As a result, we use constraints in a very few places in the semconv and it would be great to
See belowin theRequirement Leveland conflict with ReqLevel on the attribute.