File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
dd-java-agent/instrumentation/jdbc/src/test/groovy Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -277,6 +277,9 @@ abstract class RemoteJDBCInstrumentationTest extends VersionedNamingTestBase {
277277 if (usingHikari) {
278278 " $Tags . DB_POOL_NAME " String
279279 }
280+ if (addDbmTag) {
281+ " $InstrumentationTags . DBM_TRACE_INJECTED " true
282+ }
280283 peerServiceFrom(Tags . DB_INSTANCE )
281284 defaultTags()
282285 }
@@ -765,6 +768,9 @@ abstract class RemoteJDBCInstrumentationTest extends VersionedNamingTestBase {
765768 // since Connection.getClientInfo will not provide the username
766769 " $Tags . DB_USER " { it == null || it == jdbcUserNames. get(driver) }
767770 " ${ Tags.DB_OPERATION} " operation
771+ if (addDbmTag) {
772+ " $InstrumentationTags . DBM_TRACE_INJECTED " true
773+ }
768774 if (conPoolType == " hikari" ) {
769775 " $Tags . DB_POOL_NAME " String
770776 }
You can’t perform that action at this time.
0 commit comments