-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Backport "HBASE-26472 Adhere to semantic conventions regarding table data operations" to branch-2 #3907
Merged
ndimiduk
merged 6 commits into
apache:branch-2
from
ndimiduk:26472-semantic-conventions-for-table-data-ops-branch-2
Dec 14, 2021
Merged
Backport "HBASE-26472 Adhere to semantic conventions regarding table data operations" to branch-2 #3907
ndimiduk
merged 6 commits into
apache:branch-2
from
ndimiduk:26472-semantic-conventions-for-table-data-ops-branch-2
Dec 14, 2021
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ndimiduk
added
the
backport
This PR is a back port of some issue or issues already committed to master
label
Dec 1, 2021
The big difference between this and the |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
…tions Follows the guidance outlined in https://github.com/open-telemetry/opentelemetry-specification/blob/3e380e2/specification/trace/semantic_conventions/database.dm * all table data operations are assumed to be of type CLIENT * populate `db.name` and `db.operation` attributes * name table data operation spans as `db.operation` `db.name`:`db.hbase.table` note: this implementation deviates from the recommended `db.name`.`db.sql.table` and instead uses HBase's native String representation of namespace:tablename.
* correct places where CheckAndPut span names are emitted as "BATCH" * extend TestAsyncTableTracing to include coverage for both `AsyncTable.{CheckAndMutateBuilder,CheckAndMutateWithFilterBuilder}` * add another method to TableOperationSpanBuilder that accepts `Collection<? extends Row>`
ndimiduk
force-pushed
the
26472-semantic-conventions-for-table-data-ops-branch-2
branch
from
December 14, 2021 22:53
f5d3aad
to
da5ef57
Compare
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
ndimiduk
deleted the
26472-semantic-conventions-for-table-data-ops-branch-2
branch
December 14, 2021 23:55
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Follows the guidance outlined in https://github.com/open-telemetry/opentelemetry-specification/blob/3e380e2/specification/trace/semantic_conventions/database.dm
db.name
anddb.operation
attributesdb.operation
db.name
:db.hbase.table
note: this implementation deviates from the recommended
db.name
.db.sql.table
and insteaduses HBase's native String representation of namespace:tablename.
Backport of #3906