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
@@ -877,6 +877,8 @@ By default, metrics generated by an instrumented client are tagged with the foll
877
877
To customize the tags, and depending on your choice of client, you can provide a `@Bean` that implements `RestTemplateExchangeTagsProvider` or `WebClientExchangeTagsProvider`.
878
878
There are convenience static functions in `RestTemplateExchangeTags` and `WebClientExchangeTags`.
879
879
880
+
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`.
881
+
880
882
881
883
882
884
[[actuator.metrics.supported.tomcat]]
@@ -1223,9 +1225,9 @@ As the order of common tags cannot be guaranteed by using this approach, Graphit
0 commit comments