-
Notifications
You must be signed in to change notification settings - Fork 276
feat: Bump semantic conventions to version 1.37.0 #1952
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
base: main
Are you sure you want to change the base?
Conversation
|
Opened an issue for the weaver problem: open-telemetry/semantic-conventions#3019 |
Also, update the jinja template for attributes to handle multi- line code comments.
1cf3e76 to
d69cb7a
Compare
error on CI "missing panolint", which is not one of our dependencies
| # client.example.com | ||
| # 10.1.2.80 | ||
| # /tmp/my.sock | ||
| # # client.example.com |
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.
where are these extra octothorps # coming from? The jinja template?
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.
Good catch, I'm not sure. I can take a look next week.
| {%- if attribute.examples is sequence %} | ||
| {%- for example in attribute.examples %} | ||
| # {{ example }} | ||
| # {{ example | comment }} |
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.
Is that because the example or comment may already have an octothorp in it?
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.
I was directed to use this for multi line strings.
However, looking at the comment, I may have got something wrong:
open-telemetry/semantic-conventions#3019 (comment)
Perhaps just using the filter without the prefixed # would solve the issue.
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.
(assuming the "that" you're referring to is the addition of "| comment" )
Semantic conventions update for version 1.37.0
Also includes an adjustment to the attributes jinja template to account for multi-line comments in response to open-telemetry/semantic-conventions#3019