-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix referencing template attributes #206
Fix referencing template attributes #206
Conversation
@open-telemetry/specs-semconv-approvers , @open-telemetry/specs-semconv-maintainers PTAL and let's get this fix in. open-telemetry/semantic-conventions#208 depends on this fix. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, but wanted to make sure we also support including template attributes by extending another semconv like
- id: foo
attributes:
- id: template
type: template[string]
- id: bar
extends: foo
84ee3c7
to
ad7fdf0
Compare
@lmolkova Good point! I fixed that now as well and extended the test to cover it. |
ad7fdf0
to
6ce2d27
Compare
Signed-off-by: Alexander Wert <[email protected]>
6ce2d27
to
2e44fb7
Compare
Signed-off-by: Alexander Wert <[email protected]>
In #186 there was an oversight that template-type attributes cannot be referenced in other semantic conventions.
This PR fixes this bug and extends the corresponding test with a referenced template attribute.