Skip to content
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

Update to semantic conventions #9

Merged

Conversation

jack-berg
Copy link
Member

  • Update codegen to point at semantic-conventions instead of opentelemetry-specification
  • Update to v1.21.0 of semantic-conventions
  • Continue using strategy of retaining deleted attributes with @Deprecated annotation

@jack-berg jack-berg requested a review from a team August 15, 2023 21:56
Copy link

@breedx-splk breedx-splk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool stuff, I commented on one oddity. 🤷🏻

@@ -69,7 +69,8 @@ public final class {{class}} {
{%- if attribute.note %}
*
* <p>Notes:
<ul> {{attribute.note | render_markdown(code="{{@code {0}}}", paragraph="<li>{0}</li>", list="{0}")}} </ul>
<ul> {{attribute.note | replace("> ", "") | render_markdown(code="{{@code {0}}}", paragraph="<li>{0}</li>", list="{0}")}} </ul>
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI, the replace("> ", "") is to remove this, which causes the generator to produce mangled javadoc which fails the build.

@jack-berg jack-berg merged commit 6738564 into open-telemetry:main Aug 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants