You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spring-boot-project/spring-boot-docs/src/docs/asciidoc/actuator/metrics.adoc
+7-4Lines changed: 7 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -892,6 +892,8 @@ By default, metrics generated by an instrumented client are tagged with the foll
892
892
To customize the tags, and depending on your choice of client, you can provide a `@Bean` that implements `RestTemplateExchangeTagsProvider` or `WebClientExchangeTagsProvider`.
893
893
There are convenience static functions in `RestTemplateExchangeTags` and `WebClientExchangeTags`.
894
894
895
+
If you do not want to record metrics for all `RestTemplate` and `WebClient` requests, set configprop:management.metrics.web.client.request.autotime.enabled[] to `false`.
896
+
895
897
896
898
897
899
[[actuator.metrics.supported.tomcat]]
@@ -1234,9 +1236,9 @@ As the order of common tags cannot be guaranteed by using this approach, Graphit
0 commit comments