Skip to content

Commit b325edb

Browse files
committed
Polish
See gh-32484
1 parent eac50a8 commit b325edb

File tree

1 file changed

+2
-2
lines changed
  • spring-boot-project/spring-boot-docs/src/docs/asciidoc/actuator

1 file changed

+2
-2
lines changed

spring-boot-project/spring-boot-docs/src/docs/asciidoc/actuator/metrics.adoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -862,10 +862,10 @@ For that, you have to inject the auto-configured builder and use it to create in
862862
* `RestTemplateBuilder` for `RestTemplate`
863863
* `WebClient.Builder` for `WebClient`
864864

865-
You can also manually apply the customizers responsible for this instrumentation, namely `MetricsRestTemplateCustomizer` and `MetricsWebClientCustomizer`.
865+
You can also manually apply the customizers responsible for this instrumentation, namely `ObservationRestTemplateCustomizer` and `MetricsWebClientCustomizer`.
866866

867867
By default, metrics are generated with the name, `http.client.requests`.
868-
You can customize the name by setting the configprop:management.metrics.web.client.request.metric-name[] property.
868+
You can customize the name by setting the configprop:management.observations.http.client.requests.name[] property.
869869

870870
By default, metrics generated by an instrumented client are tagged with the following information:
871871

0 commit comments

Comments
 (0)