Added info about root span

This commit is contained in:
Marcin Grzejszczak
2016-08-29 15:08:41 +02:00
parent ddf9bcb677
commit de19e3adfa
2 changed files with 9 additions and 0 deletions

View File

@@ -51,6 +51,9 @@ annotations (tags), the ID of the span that caused them, and process ID's (norma
Spans are started and stopped, and they keep track of their timing information. Once you create a
span, you must stop it at some point in the future.
TIP: The initial span that starts a trace is called a `root span`. The value of span id
of that span is equal to trace id.
*Trace:* A set of spans forming a tree-like structure. For example, if you are running a distributed
big-data store, a trace might be formed by a put request.
@@ -269,6 +272,9 @@ Below you can find an example of a Logback configuration (file named `https://gi
</configuration>
-----
NOTE: If you're using a custom `logback-spring.xml` then you have to pass the `spring.application.name` in
`bootstrap` instead of `application` property file. Otherwise your custom logback file won't read the property properly.
=== Adding to the project
==== Only Sleuth (log correlation)

View File

@@ -12,6 +12,9 @@ annotations (tags), the ID of the span that caused them, and process ID's (norma
Spans are started and stopped, and they keep track of their timing information. Once you create a
span, you must stop it at some point in the future.
TIP: The initial span that starts a trace is called a `root span`. The value of span id
of that span is equal to trace id.
*Trace:* A set of spans forming a tree-like structure. For example, if you are running a distributed
big-data store, a trace might be formed by a put request.