diff --git a/instrumentation/elasticsearch/elasticsearch-rest-5.0/src/latestDepTest/groovy/Elasticsearch6RestClientTest.groovy b/instrumentation/elasticsearch/elasticsearch-rest-5.0/src/latestDepTest/groovy/Elasticsearch6RestClientTest.groovy index e990d938b0..8852fee031 100644 --- a/instrumentation/elasticsearch/elasticsearch-rest-5.0/src/latestDepTest/groovy/Elasticsearch6RestClientTest.groovy +++ b/instrumentation/elasticsearch/elasticsearch-rest-5.0/src/latestDepTest/groovy/Elasticsearch6RestClientTest.groovy @@ -99,7 +99,6 @@ class Elasticsearch6RestClientTest extends AgentTestRunner { spanKind INTERNAL parent() attributes { - "${SemanticAttributes.NET_TRANSPORT.key()}" "IP.TCP" "${SemanticAttributes.NET_PEER_NAME.key()}" httpTransportAddress.address "${SemanticAttributes.NET_PEER_PORT.key()}" httpTransportAddress.port "${SemanticAttributes.HTTP_URL.key()}" "_cluster/health" @@ -112,6 +111,8 @@ class Elasticsearch6RestClientTest extends AgentTestRunner { spanKind CLIENT childOf span(0) attributes { + "${SemanticAttributes.NET_TRANSPORT.key()}" "IP.TCP" + "${SemanticAttributes.HTTP_FLAVOR.key()}" "1.1" "${SemanticAttributes.HTTP_URL.key()}" "_cluster/health" "${SemanticAttributes.HTTP_METHOD.key()}" "GET" "${SemanticAttributes.HTTP_STATUS_CODE.key()}" 200 diff --git a/instrumentation/elasticsearch/elasticsearch-rest-6.4/src/latestDepTest/groovy/Elasticsearch6RestClientTest.groovy b/instrumentation/elasticsearch/elasticsearch-rest-6.4/src/latestDepTest/groovy/Elasticsearch6RestClientTest.groovy index 47deb7020d..31541afa8e 100644 --- a/instrumentation/elasticsearch/elasticsearch-rest-6.4/src/latestDepTest/groovy/Elasticsearch6RestClientTest.groovy +++ b/instrumentation/elasticsearch/elasticsearch-rest-6.4/src/latestDepTest/groovy/Elasticsearch6RestClientTest.groovy @@ -104,7 +104,6 @@ class Elasticsearch6RestClientTest extends AgentTestRunner { spanKind INTERNAL parent() attributes { - "${SemanticAttributes.NET_TRANSPORT.key()}" "IP.TCP" "${SemanticAttributes.NET_PEER_NAME.key()}" httpTransportAddress.address "${SemanticAttributes.NET_PEER_PORT.key()}" httpTransportAddress.port "${SemanticAttributes.HTTP_URL.key()}" "_cluster/health" @@ -117,6 +116,7 @@ class Elasticsearch6RestClientTest extends AgentTestRunner { spanKind CLIENT childOf span(0) attributes { + "${SemanticAttributes.NET_TRANSPORT.key()}" "IP.TCP" "${SemanticAttributes.HTTP_URL.key()}" "_cluster/health" "${SemanticAttributes.HTTP_METHOD.key()}" "GET" "${SemanticAttributes.HTTP_STATUS_CODE.key()}" 200 diff --git a/instrumentation/log4j/log4j-2.7/log4j-2.7.gradle b/instrumentation/log4j/log4j-2.7/log4j-2.7.gradle index d341732feb..c0f1aba95a 100644 --- a/instrumentation/log4j/log4j-2.7/log4j-2.7.gradle +++ b/instrumentation/log4j/log4j-2.7/log4j-2.7.gradle @@ -9,7 +9,9 @@ muzzle { } dependencies { - library group: 'org.apache.logging.log4j', name: 'log4j-core', version: '2.7' + compileOnly group: 'org.apache.logging.log4j', name: 'log4j-core', version: '2.7' testImplementation project(':instrumentation:log4j:log4j-2-testing') + + latestDepTestLibrary group: 'org.apache.logging.log4j', name: 'log4j-core', version: '2.13.1' }