From de19e3adfa1a1d291e92b7789dc2595c7bafdd2c Mon Sep 17 00:00:00 2001 From: Marcin Grzejszczak Date: Mon, 29 Aug 2016 15:08:41 +0200 Subject: [PATCH] Added info about root span --- README.adoc | 6 ++++++ docs/src/main/asciidoc/intro.adoc | 3 +++ 2 files changed, 9 insertions(+) diff --git a/README.adoc b/README.adoc index ad2802609..d20d1c2a4 100644 --- a/README.adoc +++ b/README.adoc @@ -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 ----- +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) diff --git a/docs/src/main/asciidoc/intro.adoc b/docs/src/main/asciidoc/intro.adoc index 74afc4475..c11a21da8 100644 --- a/docs/src/main/asciidoc/intro.adoc +++ b/docs/src/main/asciidoc/intro.adoc @@ -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.