From 9eafa2ca58fe6fc5bb7e25f18896d791349f66cc Mon Sep 17 00:00:00 2001 From: "Junho, Kim" Date: Fri, 20 Aug 2021 20:35:35 +0900 Subject: [PATCH] Fix an example value using TagValueExpressionResolver (#2012) --- docs/src/main/asciidoc/using.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/main/asciidoc/using.adoc b/docs/src/main/asciidoc/using.adoc index a776fe4b5..e27867ac0 100644 --- a/docs/src/main/asciidoc/using.adoc +++ b/docs/src/main/asciidoc/using.adoc @@ -263,7 +263,7 @@ Consider the following annotated method: include::{common_tests_path}/src/main/java/org/springframework/cloud/sleuth/instrument/annotation/SpanTagAnnotationHandlerTests.java[tags=spel,indent=0] ---- -No custom implementation of a `TagValueExpressionResolver` leads to evaluation of the SPEL expression, and a tag with a value of `4 characters` is set on the span. +No custom implementation of a `TagValueExpressionResolver` leads to evaluation of the SPEL expression, and a tag with a value of `hello characters` is set on the span. If you want to use some other expression resolution mechanism, you can create your own implementation of the bean. [[using-annotations-to-string]]