-
Notifications
You must be signed in to change notification settings - Fork 306
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MySQL databases - service naming (#3057)
* add v0 naming to mysql integrations * add v1 to mysql integrations * add tests on v1 for mysql databases --------- Co-authored-by: Thomas Hunter II <tlhunter@datadog.com>
- Loading branch information
Showing
9 changed files
with
104 additions
and
21 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
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
const { resolveNaming } = require('../../dd-trace/test/plugins/helpers') | ||
|
||
module.exports = resolveNaming({ | ||
outbound: { | ||
v0: { | ||
opName: 'mariadb.query', | ||
serviceName: 'test-mariadb' | ||
}, | ||
v1: { | ||
opName: 'mariadb.query', | ||
serviceName: 'test' | ||
} | ||
} | ||
}) |
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
const { resolveNaming } = require('../../dd-trace/test/plugins/helpers') | ||
|
||
module.exports = resolveNaming({ | ||
outbound: { | ||
v0: { | ||
opName: 'mysql.query', | ||
serviceName: 'test-mysql' | ||
}, | ||
v1: { | ||
opName: 'mysql.query', | ||
serviceName: 'test' | ||
} | ||
} | ||
}) |
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
const { resolveNaming } = require('../../dd-trace/test/plugins/helpers') | ||
|
||
module.exports = resolveNaming({ | ||
outbound: { | ||
v0: { | ||
opName: 'mysql.query', | ||
serviceName: 'test-mysql' | ||
}, | ||
v1: { | ||
opName: 'mysql.query', | ||
serviceName: 'test' | ||
} | ||
} | ||
}) |
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