-
Notifications
You must be signed in to change notification settings - Fork 293
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add peer service tag in dbm sql commenter (#7913)
* add peer.service to the SQLCommenter when explicity specified, add tests for it * Remove comments, cleanup * add working version with unit tests passing * remove comments and dev print statements * remove accidentally added extra param * add null check for ActiveSpan * refactor toComment behavior * fix small bug * clean up PR, rename variables and refactor test logic for readability
- Loading branch information
1 parent
a6b67c3
commit 6ec8455
Showing
3 changed files
with
67 additions
and
7 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,6 +33,7 @@ public void testToComment() { | |
dbService, | ||
hostname, | ||
dbName, | ||
null, | ||
env, | ||
version, | ||
traceParent); | ||
|
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