From b1db3ad8aea0a005c304a9db5ec2bd340a70e75b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Nicoll?= Date: Mon, 9 Sep 2024 15:25:23 +0200 Subject: [PATCH] Clarify reason for deprecating autotime properties Closes gh-41745 --- ...ditional-spring-configuration-metadata.json | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/spring-boot-project/spring-boot-actuator-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/spring-boot-project/spring-boot-actuator-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json index 6ad7e633dde..9456c54af83 100644 --- a/spring-boot-project/spring-boot-actuator-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json +++ b/spring-boot-project/spring-boot-actuator-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json @@ -1936,7 +1936,7 @@ "defaultValue": true, "deprecation": { "level": "error", - "reason": "Should be applied at the ObservationRegistry level." + "reason": "Requests are timed automatically." } }, { @@ -1944,7 +1944,7 @@ "description": "Computed non-aggregable percentiles to publish.", "deprecation": { "level": "error", - "reason": "Should be applied at the ObservationRegistry level." + "reason": "Should be configured globally via management.metrics.distribution.percentiles." } }, { @@ -1953,7 +1953,7 @@ "defaultValue": false, "deprecation": { "level": "error", - "reason": "Should be applied at the ObservationRegistry level." + "reason": "Should be configured globally via management.metrics.distribution.percentiles-histogram." } }, { @@ -1979,7 +1979,7 @@ "defaultValue": true, "deprecation": { "level": "error", - "reason": "Should be applied at the ObservationRegistry level." + "reason": "Requests are timed automatically." } }, { @@ -1987,7 +1987,7 @@ "description": "Computed non-aggregable percentiles to publish.", "deprecation": { "level": "error", - "reason": "Should be applied at the ObservationRegistry level." + "reason": "Should be configured globally via management.metrics.distribution.percentiles." } }, { @@ -1996,7 +1996,7 @@ "defaultValue": false, "deprecation": { "level": "error", - "reason": "Should be applied at the ObservationRegistry level." + "reason": "Should be configured globally via management.metrics.distribution.percentiles-histogram." } }, { @@ -2029,7 +2029,7 @@ "defaultValue": true, "deprecation": { "level": "error", - "reason": "Should be applied at the ObservationRegistry level." + "reason": "Requests are timed automatically." } }, { @@ -2037,7 +2037,7 @@ "description": "Computed non-aggregable percentiles to publish.", "deprecation": { "level": "error", - "reason": "Should be applied at the ObservationRegistry level." + "reason": "Should be configured globally via management.metrics.distribution.percentiles." } }, { @@ -2046,7 +2046,7 @@ "defaultValue": false, "deprecation": { "level": "error", - "reason": "Should be applied at the ObservationRegistry level." + "reason": "Should be configured globally via management.metrics.distribution.percentiles-histogram." } }, {