Skip to content

Commit

Permalink
Fix markup error in telemetry-micrometer guide
Browse files Browse the repository at this point in the history
Signed-off-by: Harald Albers <[email protected]>
(cherry picked from commit 436ac7b)
  • Loading branch information
albers authored and gsmet committed Jul 1, 2024
1 parent 444d8b0 commit b84118f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/main/asciidoc/telemetry-micrometer.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,7 @@ class, method, and exception (either "none" or the simple class name of a detect
Parameters to `@Counted` and `@Timed` can be annotated with `@MeterTag` to dynamically assign meaningful tag values.

`MeterTag.resolver` can be used to extract a tag from a method parameter, by creating a bean
implementing `io.micrometer.common.annotation.ValueResolver` and referring to this class: `@MeterTag(resolver=CustomResolver.class)
implementing `io.micrometer.common.annotation.ValueResolver` and referring to this class: `@MeterTag(resolver=CustomResolver.class)`

`MeterTag.expression` is also supported, but you have to implement the evaluation of the expression
by creating a bean implementing `io.micrometer.common.annotation.ValueExpressionResolver` that can evaluate expressions.
Expand Down

0 comments on commit b84118f

Please sign in to comment.