Updated docs
This commit is contained in:
@@ -128,6 +128,13 @@ filter {
|
||||
}
|
||||
}
|
||||
|
||||
=== Adding to the project
|
||||
|
||||
In general if you want to profit only from Spring Cloud Sleuth without the Zipkin integration just add
|
||||
the *spring-cloud-starter-sleuth* module to your project.
|
||||
|
||||
If you want both Sleuth and Zipkin just add the *spring-cloud-starter-zipkin* dependency.
|
||||
|
||||
== Features
|
||||
|
||||
* Adds trace and span ids to the Slf4J MDC, so you can extract all the logs from a given trace or span in a log aggregator. Example logs:
|
||||
@@ -220,7 +227,7 @@ The UI should look like the screenshot above.
|
||||
|
||||
== Building
|
||||
|
||||
:jdkversion: 1.7
|
||||
:jdkversion: 1.8
|
||||
|
||||
=== Basic Compile and Test
|
||||
|
||||
|
||||
@@ -47,7 +47,7 @@ The UI should look like the screenshot above.
|
||||
|
||||
== Building
|
||||
|
||||
include::https://raw.githubusercontent.com/spring-cloud/spring-cloud-build/master/docs/src/main/asciidoc/building.adoc[]
|
||||
include::https://raw.githubusercontent.com/spring-cloud/spring-cloud-build/master/docs/src/main/asciidoc/building-jdk8.adoc[]
|
||||
|
||||
IMPORTANT: There are 2 different versions of language level used in Spring Cloud Sleuth. Java 1.7 is used for main sources and
|
||||
Java 1.8 is used for tests. When importing your project to an IDE please activate the `ide` Maven profile to turn on
|
||||
|
||||
@@ -122,4 +122,11 @@ filter {
|
||||
grok {
|
||||
match => { "message" => "(?m)OUT\s+%{TIMESTAMP_ISO8601:timestamp}\s+%{LOGLEVEL:severity}\s+\[%{DATA:service},%{DATA:trace},%{DATA:span},%{DATA:exportable}\]\s+%{DATA:pid}---\s+\[%{DATA:thread}\]\s+%{DATA:class}\s+:\s+%{GREEDYDATA:rest}" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
=== Adding to the project
|
||||
|
||||
In general if you want to profit only from Spring Cloud Sleuth without the Zipkin integration just add
|
||||
the *spring-cloud-starter-sleuth* module to your project.
|
||||
|
||||
If you want both Sleuth and Zipkin just add the *spring-cloud-starter-zipkin* dependency.
|
||||
Reference in New Issue
Block a user