Skip to content

Commit dd27682

Browse files
committed
Merge pull request #10316 from michael-simons:fix-metrics-docs
* pr/10316: Polish "Fix names of metrics properties" Fix names of metrics properties
2 parents e47d868 + a8e90ad commit dd27682

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

spring-boot-docs/src/main/asciidoc/production-ready-features.adoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -876,12 +876,12 @@ its https://micrometer.io/docs[reference documentation].
876876
[[production-ready-metrics-spring-mvc]]
877877
=== Spring MVC metrics
878878
Auto-configuration will enable the instrumentation of requests handled by Spring MVC.
879-
When `metrics.web.server.auto-time-requests` is `true`, this instrumentation will occur
880-
for all requests. Alternatively, when set to `false`, instrumentation can be enabled
879+
When `spring.metrics.web.server.auto-time-requests` is `true`, this instrumentation will
880+
occur for all requests. Alternatively, when set to `false`, instrumentation can be enabled
881881
by adding `@Timed` to a request-handling method.
882882

883883
Metrics will, by default, be generated with the name `http.server.requests`. The name
884-
can be customized using the `metrics.web.server.requests-metrics-name` property.
884+
can be customized using the `spring.metrics.web.server.requests-metrics-name` property.
885885

886886

887887

@@ -904,7 +904,7 @@ controllers. A helper class, `RouterFunctionMetrics`, is also provided that can
904904
used to instrument applications using WebFlux's funtional programming model.
905905

906906
Metrics will, by default, be generated with the name `http.server.requests`. The name
907-
can be customized using the `metrics.web.server.requests-metrics-name` property.
907+
can be customized using the `spring.metrics.web.server.requests-metrics-name` property.
908908

909909

910910

@@ -939,7 +939,7 @@ instrumentation of its requests. `MetricsRestTemplateCustomizer` can be used to
939939
customize your own `RestTemplate` instances.
940940

941941
Metrics will, by default, be generated with the name `http.client.requests`. The name
942-
can be customized using the `metrics.web.client.requests-metrics-name` property.
942+
can be customized using the `spring.metrics.web.client.requests-metrics-name` property.
943943

944944

945945

0 commit comments

Comments
 (0)