From ebe05837e8da2e329baec57e6ab533cd04992749 Mon Sep 17 00:00:00 2001 From: Marcin Grzejszczak Date: Mon, 7 Mar 2016 16:32:47 +0100 Subject: [PATCH] Fixed wrong header level --- docs/src/main/asciidoc/spring-cloud-sleuth.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/main/asciidoc/spring-cloud-sleuth.adoc b/docs/src/main/asciidoc/spring-cloud-sleuth.adoc index efc3e4e97..4dcae0960 100644 --- a/docs/src/main/asciidoc/spring-cloud-sleuth.adoc +++ b/docs/src/main/asciidoc/spring-cloud-sleuth.adoc @@ -148,7 +148,7 @@ artificial like: Fortunately, for the asynchronous processing you can provide explicit naming. -==== @SpanName annotation +=== @SpanName annotation You can do name the span explicitly via the `@SpanName` annotation. @@ -166,7 +166,7 @@ include::../../../../spring-cloud-sleuth-core/src/test/java/org/springframework/ The span will be named `calculateTax`. -==== toString() method +=== toString() method It's pretty rare to create separate classes for `Runnable` or `Callable`. Typically one creates an anonymous instance of those classes. You can't annotate such classes thus to override that, if there is no `@SpanName` annotation present,