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

deprecation of in "db.connection_string" semconv 1.25.0 #11069

Closed
SylvainJuge opened this issue Apr 9, 2024 · 0 comments · Fixed by #11089
Closed

deprecation of in "db.connection_string" semconv 1.25.0 #11069

SylvainJuge opened this issue Apr 9, 2024 · 0 comments · Fixed by #11089

Comments

@SylvainJuge
Copy link
Contributor

The db.connection_string attribute that was available until 1.24.0 included is now deprecated as of version 1.25.0 (code).

As a shortcut, some @SuppressWarnings("deprecation") has been added in #10983 as the deprecation warnings make the build fail.

The task here is to remove all those extra @SuppressWarnings("deprecation") and replace usages of DbIncubatingAttributes.DB_CONNECTION_STRING with the following recommended (and stable) attributes:

  • server.address
  • server.port
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 a pull request may close this issue.

1 participant