-
Notifications
You must be signed in to change notification settings - Fork 3.3k
HBASE-29349 Upgrade to opentelemetry-semconv 1.32.0 #7016
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: master
Are you sure you want to change the base?
Conversation
* Conventions</a>. | ||
*/ | ||
@InterfaceAudience.Private | ||
public final class HBaseSemanticAttributes { | ||
public static final AttributeKey<String> DB_SYSTEM = SemanticAttributes.DB_SYSTEM; | ||
public static final String DB_SYSTEM_VALUE = SemanticAttributes.DbSystemValues.HBASE; | ||
public static final AttributeKey<String> DB_SYSTEM = DbIncubatingAttributes.DB_SYSTEM; |
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.
Most of these have been deprecated, we need to see whether we want to continue using these
public static final String EXCEPTION_EVENT_NAME = SemanticAttributes.EXCEPTION_EVENT_NAME; | ||
public static final AttributeKey<String> EXCEPTION_TYPE = ExceptionAttributes.EXCEPTION_TYPE; | ||
public static final AttributeKey<String> EXCEPTION_MESSAGE = ExceptionAttributes.EXCEPTION_MESSAGE; | ||
public static final String EXCEPTION_EVENT_NAME = "exception"; |
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.
This key has been removed with no replacement
21cf6d5
to
3b16293
Compare
💔 -1 overall
This message was automatically generated. |
We moved to opentelemetry latest packages with HBASE-29349 but deliberately chose to not jump to latest for semconv as it introduces few deprecations, which if removed can cause incompatibilities. With this task we want to see best approach to move to latest semconv and how to deal with these deprecations.
SemanticAttributes.java has been removed and broken down into following with semantic-conventions-java#v1.30.0-rc.1
Also there has been a few deprecations, for example refer db-migration.md
db.system
has been deprecated and renamed todb.system.name
db.operation
has been deprecated and renamed todb.operation.name
But with first draft of this change we continue to use the deprecated names.
If we decide on following the migration guide we can remove and handle the change as suggested in the guide or simply change them and break the compatibility.
Docs: