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 1.26.0 #73

Merged
merged 8 commits into from
Jul 1, 2024

Conversation

crossoverJie
Copy link
Contributor

Update to semantic-conventions 1.26.0

@crossoverJie crossoverJie requested a review from a team June 3, 2024 15:20
*
* @deprecated Deprecated, use `messaging.client.id` instead.
*/
@Deprecated
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Due to duplicate variable names, CI cannot pass😂.

Copy link

Choose a reason for hiding this comment

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

you could work around this by adding

  {# deprecated messaging.client_id clashes with messaging.client.id #}
  {%- if attribute.fqn != "messaging.client_id" %}

to

{% set attribute_const_name = attribute.fqn | to_const_name -%}

@lmolkova is there a better solution for this?

Copy link
Member

Choose a reason for hiding this comment

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

check out open-telemetry/semantic-conventions#1031 and open-telemetry/semantic-conventions#1118

we may want to go ahead and implement option 2 from open-telemetry/semantic-conventions#1118 (but wait to merge it until that proposal is finalized)

I've added topic to today's Java SIG meeting to discuss

Copy link
Contributor

Choose a reason for hiding this comment

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

See #75 - we'll provide build-tool fix ASAP as we have a concensus

Copy link
Contributor

@lmolkova lmolkova Jun 12, 2024

Choose a reason for hiding this comment

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

Here's the change that drops problematic attribute - crossoverJie#1 (if Java SIG will accept it as a mitigation)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Here's the change that drops problematic attribute - crossoverJie#1 (if Java SIG will accept it as a mitigation)

Thank you for your work on this issue.

@jack-berg jack-berg merged commit 9eaa73a into open-telemetry:main Jul 1, 2024
12 checks passed
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.

5 participants