diff --git a/felles/log/src/main/java/no/nav/vedtak/log/tracing/OtelSpanWrapper.java b/felles/log/src/main/java/no/nav/vedtak/log/tracing/OtelSpanWrapper.java index 170317d28..71ef98a70 100644 --- a/felles/log/src/main/java/no/nav/vedtak/log/tracing/OtelSpanWrapper.java +++ b/felles/log/src/main/java/no/nav/vedtak/log/tracing/OtelSpanWrapper.java @@ -60,7 +60,7 @@ public void span(String navn, } } - public V span(String navn, + public V spanCallable(String navn, UnaryOperator spanBuilderTransformer, Callable runnable) throws Exception { var span = startSpan(navn, spanBuilderTransformer);