Fix build (#824)

This commit is contained in:
Trask Stalnaker 2020-07-28 16:49:46 -07:00 committed by GitHub
parent fbfa062694
commit d107fe5016
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 7 deletions

View File

@ -91,6 +91,11 @@ public class DelegatingSpan implements Span {
delegate.setStatus(status);
}
@Override
public void recordException(Throwable throwable) {
delegate.recordException(throwable);
}
@Override
public void updateName(final String name) {
delegate.updateName(name);

View File

@ -18,13 +18,13 @@ dependencies {
exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
}
implementation(project(':instrumentation-core:spring:spring-webmvc-3.1')){
implementation(project(':instrumentation-core:spring:spring-webmvc-3.1')) {
exclude group: 'org.slf4j', module: 'slf4j-simple'
}
implementation(project(':instrumentation-core:spring:spring-web-3.1')){
implementation(project(':instrumentation-core:spring:spring-web-3.1')) {
exclude group: 'org.slf4j', module: 'slf4j-simple'
}
implementation(project(':instrumentation-core:spring:spring-webflux-5.0')){
implementation(project(':instrumentation-core:spring:spring-webflux-5.0')) {
exclude group: 'org.slf4j', module: 'slf4j-simple'
}
@ -33,6 +33,9 @@ dependencies {
compileOnly deps.opentelemetryJaeger
compileOnly deps.opentelemetryOtlp
compileOnly deps.opentelemetryZipkin
testImplementation group: 'org.springframework.boot', name: 'spring-boot-starter-web', version: versions.springboot
testImplementation deps.opentelemetrySdk
}
test {