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
Change the description for the uri client request observation
This commit describes what parts that are removed from the URI template
keyvalue.
Closes: gh-34116
Signed-off-by: Mattias-Sehlstedt <[email protected]>
Copy file name to clipboardExpand all lines: framework-docs/modules/ROOT/pages/integration/observability.adoc
+3-3
Original file line number
Diff line number
Diff line change
@@ -285,7 +285,7 @@ Instrumentation uses the `org.springframework.http.client.observation.ClientRequ
285
285
|===
286
286
|Name | Description
287
287
|`method` _(required)_|Name of the HTTP request method or `"none"` if not a well-known method.
288
-
|`uri` _(required)_|URI template used for HTTP request, or `"none"` if none was provided. Only the path part of the URI is considered.
288
+
|`uri` _(required)_|URI template used for HTTP request, or `"none"` if none was provided. The protocol, host and port part of the URI are not considered.
289
289
|`client.name` _(required)_|Client name derived from the request URI host.
290
290
|`status` _(required)_|HTTP response raw status code, or `"IO_ERROR"` in case of `IOException`, or `"CLIENT_ERROR"` if no response was received.
291
291
|`outcome` _(required)_|Outcome of the HTTP client exchange.
@@ -313,7 +313,7 @@ Instrumentation uses the `org.springframework.http.client.observation.ClientRequ
313
313
|===
314
314
|Name | Description
315
315
|`method` _(required)_|Name of the HTTP request method or `"none"` if the request could not be created.
316
-
|`uri` _(required)_|URI template used for HTTP request, or `"none"` if none was provided. Only the path part of the URI is considered.
316
+
|`uri` _(required)_|URI template used for HTTP request, or `"none"` if none was provided. The protocol, host and port part of the URI are not considered.
317
317
|`client.name` _(required)_|Client name derived from the request URI host.
318
318
|`status` _(required)_|HTTP response raw status code, or `"IO_ERROR"` in case of `IOException`, or `"CLIENT_ERROR"` if no response was received.
319
319
|`outcome` _(required)_|Outcome of the HTTP client exchange.
@@ -342,7 +342,7 @@ Instrumentation uses the `org.springframework.web.reactive.function.client.Clien
342
342
|===
343
343
|Name | Description
344
344
|`method` _(required)_|Name of the HTTP request method or `"none"` if not a well-known method.
345
-
|`uri` _(required)_|URI template used for HTTP request, or `"none"` if none was provided. Only the path part of the URI is considered.
345
+
|`uri` _(required)_|URI template used for HTTP request, or `"none"` if none was provided. The protocol, host and port part of the URI are not considered.
346
346
|`client.name` _(required)_|Client name derived from the request URI host.
347
347
|`status` _(required)_|HTTP response raw status code, or `"IO_ERROR"` in case of `IOException`, or `"CLIENT_ERROR"` if no response was received.
348
348
|`outcome` _(required)_|Outcome of the HTTP client exchange.
Copy file name to clipboardExpand all lines: spring-web/src/main/java/org/springframework/http/client/observation/ClientHttpObservationDocumentation.java
+1-1
Original file line number
Diff line number
Diff line change
@@ -74,7 +74,7 @@ public String asString() {
74
74
/**
75
75
* URI template used for HTTP request, or {@value KeyValue#NONE_VALUE} if
76
76
* none was provided.
77
-
* <p>Only the path part of the URI is considered.
77
+
* <p>The protocol, host and port part of the URI are not considered.
Copy file name to clipboardExpand all lines: spring-web/src/test/java/org/springframework/http/client/observation/DefaultClientRequestObservationConventionTests.java
Copy file name to clipboardExpand all lines: spring-webflux/src/main/java/org/springframework/web/reactive/function/client/ClientHttpObservationDocumentation.java
+1-1
Original file line number
Diff line number
Diff line change
@@ -71,7 +71,7 @@ public String asString() {
71
71
/**
72
72
* URI template used for HTTP request, or {@value KeyValue#NONE_VALUE} if
73
73
* none was provided.
74
-
* <p>Only the path part of the URI is considered.
74
+
* <p>The protocol, host and port part of the URI are not considered.
Copy file name to clipboardExpand all lines: spring-webflux/src/test/java/org/springframework/web/reactive/function/client/DefaultClientRequestObservationConventionTests.java
0 commit comments