You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: instrumentation/jetty-httpclient/jetty-httpclient-9.2/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/jetty/httpclient/v9_2/JettyHttpClient9Instrumentation.java
Copy file name to clipboardexpand all lines: instrumentation/jetty-httpclient/jetty-httpclient-9.2/library/src/main/java/io/opentelemetry/instrumentation/jetty/httpclient/v9_2/TracingHttpClient.java
Copy file name to clipboardexpand all lines: instrumentation/jetty-httpclient/jetty-httpclient-9.2/library/src/main/java/io/opentelemetry/instrumentation/jetty/httpclient/v9_2/internal/JettyClientTracingListener.java
+41-52
Original file line number
Diff line number
Diff line change
@@ -15,26 +15,26 @@
15
15
importjava.util.ListIterator;
16
16
importjava.util.logging.Logger;
17
17
importjavax.annotation.Nullable;
18
+
importorg.eclipse.jetty.client.HttpRequest;
18
19
importorg.eclipse.jetty.client.api.Request;
19
20
importorg.eclipse.jetty.client.api.Response;
20
21
21
22
/**
22
-
* JettyHttpClient9TracingInterceptor does three jobs stimulated from the Jetty Request object from
23
-
* attachToRequest() 1. Start the CLIENT span and create the tracer 2. Set the listener callbacks
24
-
* for each important lifecycle actions that would cause the start and close of the span 3. Set
25
-
* callback wrappers on two important request-based callbacks
23
+
* JettyClientTracingListener performs three actions when {@link #handleRequest(Context,
24
+
* HttpRequest, Instrumenter)} is called 1. Start the CLIENT span 2. Set the listener callbacks for
25
+
* each lifecycle action that signal end of the request 3. Wrap request listeners to propagate
26
+
* context into the listeners
26
27
*
27
28
* <p>This class is internal and is hence not for public use. Its APIs are unstable and can change
Copy file name to clipboardexpand all lines: instrumentation/jetty-httpclient/jetty-httpclient-9.2/library/src/main/java/io/opentelemetry/instrumentation/jetty/httpclient/v9_2/internal/JettyClientWrapUtil.java
+1-1
Original file line number
Diff line number
Diff line change
@@ -50,7 +50,7 @@ public static List<Response.ResponseListener> wrapResponseListeners(
0 commit comments