From ec467402b37a74cd7573d9a6452b3cf19cf5ad38 Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Fri, 18 Nov 2022 16:28:28 +0000 Subject: [PATCH] Link to Micrometer's documentation on @Timed Closes gh-33264 --- .../spring-boot-docs/src/docs/asciidoc/actuator/metrics.adoc | 2 ++ 1 file changed, 2 insertions(+) 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 962923b464..a3773bdc5c 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 @@ -1111,6 +1111,8 @@ include::{docs-java}/actuator/metrics/supported/timedannotation/change/MyControl NOTE: A `@Timed` annotation with `longTask = true` enables a long task timer for the method. Long task timers require a separate metric name and can be stacked with a short task timer. +TIP: To use `@Timed` where it is not directly supported by Spring Boot, refer to the {micrometer-concepts-docs}#_the_timed_annotation[Micrometer documentation]. + [[actuator.metrics.supported.redis]]