diff --git a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/actuator/metrics.adoc b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/actuator/metrics.adoc index dabe4463ab..d4c38854df 100644 --- a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/actuator/metrics.adoc +++ b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/actuator/metrics.adoc @@ -862,10 +862,10 @@ For that, you have to inject the auto-configured builder and use it to create in * `RestTemplateBuilder` for `RestTemplate` * `WebClient.Builder` for `WebClient` -You can also manually apply the customizers responsible for this instrumentation, namely `MetricsRestTemplateCustomizer` and `MetricsWebClientCustomizer`. +You can also manually apply the customizers responsible for this instrumentation, namely `ObservationRestTemplateCustomizer` and `MetricsWebClientCustomizer`. By default, metrics are generated with the name, `http.client.requests`. -You can customize the name by setting the configprop:management.metrics.web.client.request.metric-name[] property. +You can customize the name by setting the configprop:management.observations.http.client.requests.name[] property. By default, metrics generated by an instrumented client are tagged with the following information: