From 8deef6cb42b436208dfd137836c5c7a047a2f930 Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Tue, 19 Jul 2022 17:29:14 +0100 Subject: [PATCH] Revert "Merge pull request #31713 from dreis2211" This reverts commit 590bfd8a5c8a49eb1252abb7f88bccabe00bd0db, reversing changes made to 993e1bf5f2214eaea525f3a0aa4788721e1ee769. --- .../actuate/metrics/web/client/RestTemplateExchangeTags.java | 4 ++-- .../metrics/web/reactive/client/WebClientExchangeTags.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/web/client/RestTemplateExchangeTags.java b/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/web/client/RestTemplateExchangeTags.java index 68c311a7c4f..f0043f5b9e0 100644 --- a/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/web/client/RestTemplateExchangeTags.java +++ b/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/web/client/RestTemplateExchangeTags.java @@ -84,7 +84,7 @@ public final class RestTemplateExchangeTags { /** * Creates a {@code status} {@code Tag} derived from the - * {@link ClientHttpResponse#getStatusCode() status} of the given {@code response}. + * {@link ClientHttpResponse#getRawStatusCode() status} of the given {@code response}. * @param response the response * @return the status tag */ @@ -120,7 +120,7 @@ public final class RestTemplateExchangeTags { /** * Creates an {@code outcome} {@code Tag} derived from the - * {@link ClientHttpResponse#getStatusCode() status} of the given {@code response}. + * {@link ClientHttpResponse#getRawStatusCode() status} of the given {@code response}. * @param response the response * @return the outcome tag * @since 2.2.0 diff --git a/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/web/reactive/client/WebClientExchangeTags.java b/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/web/reactive/client/WebClientExchangeTags.java index 3f8c2c4b180..ac11b00e39b 100644 --- a/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/web/reactive/client/WebClientExchangeTags.java +++ b/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/web/reactive/client/WebClientExchangeTags.java @@ -111,7 +111,7 @@ public final class WebClientExchangeTags { /** * Creates an {@code outcome} {@code Tag} derived from the - * {@link ClientResponse#statusCode() status} of the given {@code response}. + * {@link ClientResponse#rawStatusCode() status} of the given {@code response}. * @param response the response * @return the outcome tag * @since 2.2.0