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
Prior to this commit, the "uri" KeyValue for low cardinality metadata
would contain the entire uri template given to the HTTP client when
creating the request. This was a breaking change for existing metrics
dashboards, as previous support was removing the protocol, host and port
parts of the URI.
Indeed, this information is available in the "client.name" and
"http.uri" KayValue.
This commit parses and removes the protocol+host+port information from
the uri template for the "uri" KeyValue.
Fixesgh-29885
Copy file name to clipboardExpand all lines: spring-web/src/main/java/org/springframework/http/client/observation/ClientHttpObservationDocumentation.java
+1
Original file line number
Diff line number
Diff line change
@@ -70,6 +70,7 @@ public String asString() {
70
70
71
71
/**
72
72
* URI template used for HTTP request, or {@value KeyValue#NONE_VALUE} if none was provided.
Copy file name to clipboardExpand all lines: spring-web/src/main/java/org/springframework/http/client/observation/DefaultClientRequestObservationConvention.java
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
+2-1
Original file line number
Diff line number
Diff line change
@@ -67,6 +67,7 @@ public String asString() {
67
67
68
68
/**
69
69
* URI template used for HTTP request, or {@value KeyValue#NONE_VALUE} if none was provided.
Copy file name to clipboardExpand all lines: spring-webflux/src/main/java/org/springframework/web/reactive/function/client/DefaultClientRequestObservationConvention.java
Copy file name to clipboardExpand all lines: spring-webflux/src/test/java/org/springframework/web/reactive/function/client/DefaultClientRequestObservationConventionTests.java
0 commit comments