-
Notifications
You must be signed in to change notification settings - Fork 828
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
Implement stable database semantic conventions #11575
Open
heyams
wants to merge
58
commits into
open-telemetry:main
Choose a base branch
from
heyams:heya/implement-database-stable-semconv
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
58 commits
Select commit
Hold shift + click to select a range
9728c0d
Protype for db stable semconv
heyams 46ee9f7
Update redis db.namespace value
heyams 817dc2d
Update
heyams 8b26641
Update
heyams a0464be
Merge remote-tracking branch 'upstream/main' into heya/implement-data…
heyams cb4e57c
Use inline
heyams 338549a
Merge remote-tracking branch 'upstream/main' into heya/implement-data…
heyams 7d718cb
Fix
heyams 818c9c8
Fix compilation error
heyams 13f78f4
Fix
heyams aeac9d2
Merge remote-tracking branch 'upstream/main' into heya/implement-data…
heyams dd168ee
Update
heyams 5106782
Fix
heyams 27be3ed
Comment
heyams d4d332e
Suppress deprecation
heyams bd3a77d
Fix deprecation
heyams 6714f40
Fix span name for vertxRedisClient
heyams fc6caa5
Fix couchbaseSpringRepositoryTest
heyams 0cb4c9d
Fix
heyams 9abe6e5
Merge remote-tracking branch 'upstream/main' into heya/implement-data…
heyams 5458730
Merge remote-tracking branch 'upstream/main' into heya/implement-data…
heyams 0b41bdd
Fix network_type
heyams fe8fe48
Fix cassandra tests
heyams 7a4234d
Fix cassandraClient test
heyams 76fa8be
Fix RedissonClientTest
heyams 2007a22
Fix db.statement vs. db.query.text
heyams 2ae1354
Fix
heyams ed94de3
Fix AbstractRedissonAsyncClientTest
heyams da00aa2
Fix
heyams f62fc39
Fix
heyams 9dac540
Fix couchbase tests
heyams 066897a
Fix
heyams 181ee2c
Fix codenarc
heyams be44287
Fix cassandraclienttest 3.0
heyams c5b8888
Fix cassandra sync test
heyams dd5b1ef
Fix
heyams e80ead2
Fix
heyams 0536e20
Fix
heyams a999f1b
Deprecate getUser and getConnectionString
heyams a956705
Deprecate getOperation and getStatement
heyams 9cdd39f
Revert
heyams 566318a
Remove supressionWarning
heyams 616b243
Fix
heyams 6e09209
Fix
heyams 63261be
Fix deprecation
heyams 78278e8
Fix
heyams 63fad77
Fix
heyams a4bbdfc
Fix
heyams 3b60339
Merge remote-tracking branch 'upstream/main' into heya/implement-data…
heyams 14495e3
Fix couchbase tests
heyams 7928bb4
Fix
heyams 60c344f
Fix
heyams 39743eb
Fix
heyams 4171532
Rename getOperationName to getDbOperationName
heyams dbc596f
Rename getNamespace to getDbNamespace
heyams f449cf8
Deprecate getSystem and introduce getDbSystem
heyams 8f841e1
Delete SemconvStability.getAttributeKey
heyams 4820887
Fix unused var
heyams File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,9 +20,23 @@ | |
*/ | ||
public interface DbClientAttributesGetter<REQUEST> extends DbClientCommonAttributesGetter<REQUEST> { | ||
|
||
/** | ||
* @deprecated Use {@link #getDbQueryText(REQUEST)} instead. | ||
*/ | ||
@Deprecated | ||
@Nullable | ||
String getStatement(REQUEST request); | ||
|
||
@Nullable | ||
String getDbQueryText(REQUEST request); | ||
|
||
/** | ||
* @deprecated Use {@link #getDbOperationName(REQUEST)} instead. | ||
*/ | ||
@Deprecated | ||
@Nullable | ||
String getOperation(REQUEST request); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. similar here could add default method calling |
||
|
||
@Nullable | ||
String getDbOperationName(REQUEST request); | ||
} |
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
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.
since this was just a rename, I think could add default implementation that delegates to
getDbQueryText
, then wouldn't need to override this everywhereThere 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.
it's better to use @deprecate so that when old semconv is removed, we can use it to clean it up.