From da33366d8ad8707a87a6b5ba87ca9f2d7f078e79 Mon Sep 17 00:00:00 2001 From: Adrian Cole Date: Thu, 9 Apr 2020 22:12:24 +0800 Subject: [PATCH] fix indent --- README.adoc | 10 +++++----- docs/src/main/asciidoc/setup.adoc | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/README.adoc b/README.adoc index 462c8e333..a4dcb8246 100644 --- a/README.adoc +++ b/README.adoc @@ -351,13 +351,13 @@ spring: :branch: master [[sleuth-adding-project]] -=== Adding Sleuth to the Project +== Adding Sleuth to your Project This section addresses how to add Sleuth to your project with either Maven or Gradle. IMPORTANT: To ensure that your application name is properly displayed in Zipkin, set the `spring.application.name` property in `bootstrap.yml`. -==== Sleuth with Zipkin via HTTP +=== Sleuth with Zipkin via HTTP If you want both Sleuth and Zipkin, add the `spring-cloud-starter-zipkin` dependency. @@ -404,7 +404,7 @@ dependencies { <2> <1> We recommend that you add the dependency management through the Spring BOM so that you need not manage versions yourself. <2> Add the dependency to `spring-cloud-starter-zipkin`. -==== Sleuth with Zipkin over RabbitMQ or Kafka +=== Sleuth with Zipkin over RabbitMQ or Kafka If you want to use RabbitMQ or Kafka instead of HTTP, add the `spring-rabbit` or `spring-kafka` dependency. The default destination name is `zipkin`. @@ -469,7 +469,7 @@ dependencies { <2> Add the dependency to `spring-cloud-starter-zipkin`. That way, all nested dependencies get downloaded. <3> To automatically configure RabbitMQ, add the `spring-rabbit` dependency. -==== Overriding the auto-configuration of Zipkin +=== Overriding the auto-configuration of Zipkin Spring Cloud Sleuth supports sending traces to multiple tracing systems as of version 2.1.0. In order to get this to work, every tracing system needs to have a `Reporter` and `Sender`. @@ -527,7 +527,7 @@ protected static class MyConfig { ---- -==== Only Sleuth (log correlation) +=== Only Sleuth (log correlation) If you want to use only Spring Cloud Sleuth without the Zipkin integration, add the `spring-cloud-starter-sleuth` module to your project. diff --git a/docs/src/main/asciidoc/setup.adoc b/docs/src/main/asciidoc/setup.adoc index b34af10f7..45afa9217 100644 --- a/docs/src/main/asciidoc/setup.adoc +++ b/docs/src/main/asciidoc/setup.adoc @@ -1,13 +1,13 @@ :branch: master [[sleuth-adding-project]] -=== Adding Sleuth to the Project +== Adding Sleuth to your Project This section addresses how to add Sleuth to your project with either Maven or Gradle. IMPORTANT: To ensure that your application name is properly displayed in Zipkin, set the `spring.application.name` property in `bootstrap.yml`. -==== Sleuth with Zipkin via HTTP +=== Sleuth with Zipkin via HTTP If you want both Sleuth and Zipkin, add the `spring-cloud-starter-zipkin` dependency. @@ -54,7 +54,7 @@ dependencies { <2> <1> We recommend that you add the dependency management through the Spring BOM so that you need not manage versions yourself. <2> Add the dependency to `spring-cloud-starter-zipkin`. -==== Sleuth with Zipkin over RabbitMQ or Kafka +=== Sleuth with Zipkin over RabbitMQ or Kafka If you want to use RabbitMQ or Kafka instead of HTTP, add the `spring-rabbit` or `spring-kafka` dependency. The default destination name is `zipkin`. @@ -119,7 +119,7 @@ dependencies { <2> Add the dependency to `spring-cloud-starter-zipkin`. That way, all nested dependencies get downloaded. <3> To automatically configure RabbitMQ, add the `spring-rabbit` dependency. -==== Overriding the auto-configuration of Zipkin +=== Overriding the auto-configuration of Zipkin Spring Cloud Sleuth supports sending traces to multiple tracing systems as of version 2.1.0. In order to get this to work, every tracing system needs to have a `Reporter` and `Sender`. @@ -131,7 +131,7 @@ To do this you can use respectively `ZipkinAutoConfiguration.REPORTER_BEAN_NAME` include::{project-root}/spring-cloud-sleuth-zipkin/src/test/java/org/springframework/cloud/sleuth/zipkin2/ZipkinAutoConfigurationTests.java[tags=override_default_beans,indent=0] ---- -==== Only Sleuth (log correlation) +=== Only Sleuth (log correlation) If you want to use only Spring Cloud Sleuth without the Zipkin integration, add the `spring-cloud-starter-sleuth` module to your project.