Skip to content

Commit b1db3ad

Browse files
committed
Clarify reason for deprecating autotime properties
Closes gh-41745
1 parent aef56bc commit b1db3ad

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

spring-boot-project/spring-boot-actuator-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1936,15 +1936,15 @@
19361936
"defaultValue": true,
19371937
"deprecation": {
19381938
"level": "error",
1939-
"reason": "Should be applied at the ObservationRegistry level."
1939+
"reason": "Requests are timed automatically."
19401940
}
19411941
},
19421942
{
19431943
"name": "management.metrics.graphql.autotime.percentiles",
19441944
"description": "Computed non-aggregable percentiles to publish.",
19451945
"deprecation": {
19461946
"level": "error",
1947-
"reason": "Should be applied at the ObservationRegistry level."
1947+
"reason": "Should be configured globally via management.metrics.distribution.percentiles."
19481948
}
19491949
},
19501950
{
@@ -1953,7 +1953,7 @@
19531953
"defaultValue": false,
19541954
"deprecation": {
19551955
"level": "error",
1956-
"reason": "Should be applied at the ObservationRegistry level."
1956+
"reason": "Should be configured globally via management.metrics.distribution.percentiles-histogram."
19571957
}
19581958
},
19591959
{
@@ -1979,15 +1979,15 @@
19791979
"defaultValue": true,
19801980
"deprecation": {
19811981
"level": "error",
1982-
"reason": "Should be applied at the ObservationRegistry level."
1982+
"reason": "Requests are timed automatically."
19831983
}
19841984
},
19851985
{
19861986
"name": "management.metrics.web.client.request.autotime.percentiles",
19871987
"description": "Computed non-aggregable percentiles to publish.",
19881988
"deprecation": {
19891989
"level": "error",
1990-
"reason": "Should be applied at the ObservationRegistry level."
1990+
"reason": "Should be configured globally via management.metrics.distribution.percentiles."
19911991
}
19921992
},
19931993
{
@@ -1996,7 +1996,7 @@
19961996
"defaultValue": false,
19971997
"deprecation": {
19981998
"level": "error",
1999-
"reason": "Should be applied at the ObservationRegistry level."
1999+
"reason": "Should be configured globally via management.metrics.distribution.percentiles-histogram."
20002000
}
20012001
},
20022002
{
@@ -2029,15 +2029,15 @@
20292029
"defaultValue": true,
20302030
"deprecation": {
20312031
"level": "error",
2032-
"reason": "Should be applied at the ObservationRegistry level."
2032+
"reason": "Requests are timed automatically."
20332033
}
20342034
},
20352035
{
20362036
"name": "management.metrics.web.server.request.autotime.percentiles",
20372037
"description": "Computed non-aggregable percentiles to publish.",
20382038
"deprecation": {
20392039
"level": "error",
2040-
"reason": "Should be applied at the ObservationRegistry level."
2040+
"reason": "Should be configured globally via management.metrics.distribution.percentiles."
20412041
}
20422042
},
20432043
{
@@ -2046,7 +2046,7 @@
20462046
"defaultValue": false,
20472047
"deprecation": {
20482048
"level": "error",
2049-
"reason": "Should be applied at the ObservationRegistry level."
2049+
"reason": "Should be configured globally via management.metrics.distribution.percentiles-histogram."
20502050
}
20512051
},
20522052
{

0 commit comments

Comments
 (0)