Skip to content

Commit

Permalink
Document no support for meta-annotations with @Timed/@counted
Browse files Browse the repository at this point in the history
  • Loading branch information
izeye committed Dec 9, 2024
1 parent 0f04214 commit 0e05832
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/modules/ROOT/pages/concepts/counters.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ public class ExampleService {
}
----

NOTE: `CountedAspect` doesn't support meta-annotations with `@Counted`.

=== @MeterTag on Method Parameters

To support using the `@MeterTag` annotation on method parameters, you need to configure the `@CountedAspect` to add the `CountedMeterTagAnnotationHandler`.
Expand Down
2 changes: 2 additions & 0 deletions docs/modules/ROOT/pages/concepts/timers.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,8 @@ public class ExampleService {
}
----

NOTE: `TimedAspect` doesn't support meta-annotations with `@Timed`.

=== @MeterTag on Method Parameters

To support using the `@MeterTag` annotation on method parameters, you need to configure the `@TimedAspect` to add the `MeterTagAnnotationHandler`.
Expand Down

0 comments on commit 0e05832

Please sign in to comment.