Skip to content

Commit a965a74

Browse files
authored
Merge branch 'master' into add-repseudo-tracing
2 parents b785a2f + ada94c5 commit a965a74

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/main/java/no/ssb/dlp/pseudo/service/tracing/WithSpanInterceptor.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
import io.micronaut.aop.MethodInterceptor;
44
import io.micronaut.aop.MethodInvocationContext;
5-
import jakarta.inject.Singleton;
65
import io.reactivex.Flowable;
76
import org.reactivestreams.Publisher;
87
import reactor.core.publisher.Flux;
@@ -16,8 +15,7 @@
1615
import io.opentelemetry.context.Context;
1716
import io.opentelemetry.context.Scope;
1817

19-
@Singleton
20-
public class WithSpanInterceptor implements MethodInterceptor<Object, Object> {
18+
public final class WithSpanInterceptor implements MethodInterceptor<Object, Object> {
2119

2220
private static final Class<Context> OTEL_CONTEXT_KEY = Context.class;
2321
private final Tracer tracer;

0 commit comments

Comments
 (0)