File tree Expand file tree Collapse file tree
io/helidon/integrations/common/rest Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5252 <artifactId >helidon-http-media-jsonp</artifactId >
5353 </dependency >
5454 <dependency >
55- <groupId >io.opentracing </groupId >
56- <artifactId >opentracing-api </artifactId >
55+ <groupId >io.helidon.tracing </groupId >
56+ <artifactId >helidon-tracing </artifactId >
5757 </dependency >
5858 <dependency >
5959 <groupId >io.helidon.webserver.testing.junit5</groupId >
Original file line number Diff line number Diff line change 3535import io .helidon .http .Method ;
3636import io .helidon .http .Status ;
3737import io .helidon .integrations .common .rest .ApiOptionalResponse .BuilderBase ;
38+ import io .helidon .tracing .SpanContext ;
3839import io .helidon .webclient .api .HttpClientRequest ;
3940import io .helidon .webclient .api .HttpClientResponse ;
4041import io .helidon .webclient .api .WebClient ;
4142
42- import io .opentracing .SpanContext ;
4343import jakarta .json .JsonBuilderFactory ;
4444import jakarta .json .JsonObject ;
4545import jakarta .json .JsonReaderFactory ;
@@ -903,7 +903,7 @@ protected String requestId(ApiRequest<?> request) {
903903 return request .requestId ()
904904 .or (() -> Contexts .context ()
905905 .flatMap (it -> it .get (SpanContext .class ))
906- .map (SpanContext ::toTraceId ))
906+ .map (SpanContext ::traceId ))
907907 .orElseGet (UUID .randomUUID ()::toString );
908908 }
909909
Original file line number Diff line number Diff line change 2929 requires io .helidon .config ;
3030 requires io .helidon .faulttolerance ;
3131 requires io .helidon .http .media .jsonp ;
32+ requires io .helidon .tracing ;
3233 requires io .helidon .webclient ;
33- requires io .opentracing .api ;
3434 requires java .logging ;
3535
3636 requires transitive io .helidon .common ;
You can’t perform that action at this time.
0 commit comments