Use newer version of statsd client
MODIFY
dd-trace-ot/dd-trace-ot.gradle
dd-trace-ot/dd-trace-ot.gradle
@@ -39,7 +39,7 @@ dependencies {
compile deps.opentracing
compile group: 'io.opentracing.contrib', name: 'opentracing-tracerresolver', version: '0.1.0'
- compile group: 'com.datadoghq', name: 'java-dogstatsd-client', version: '2.1.1'
+ compile group: 'com.datadoghq', name: 'java-dogstatsd-client', version: "${versions.dogstatsd}"
compile deps.slf4j
compile deps.okhttp

MODIFY
gradle/dependencies.gradle
gradle/dependencies.gradle
@@ -17,7 +17,8 @@ ext {
bytebuddy : "1.10.6",
scala : "2.11.12", // Last version to support Java 7 (2.12+ require Java 8+)
kotlin : "1.3.61",
- coroutines : "1.3.0"
+ coroutines : "1.3.0",
+ dogstatsd : "2.9.0"
]
deps = [
@@ -67,9 +68,7 @@ ext {
// Shared between agent tooling and instrumentation and JMXFetch
shared : [
- dependencies.create(group: 'com.datadoghq', name: 'java-dogstatsd-client', version: '2.8'),
- // "Explicit override jnr version because .22 caused issues" - mar-kolya
- dependencies.create(group: 'com.github.jnr', name: 'jnr-unixsocket', version: '0.23'),
+ dependencies.create(group: 'com.datadoghq', name: 'java-dogstatsd-client', version: "${versions.dogstatsd}"),
dependencies.create(group: 'com.google.guava', name: 'guava', version: "${versions.guava}")
],

Use newer version of statsd client