From f92950b474b5e6e0881de5ef74c175021736b37a 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 | 3 +++ docs/src/main/asciidoc/intro.adoc | 3 +++ 2 files changed, 6 insertions(+) diff --git a/README.adoc b/README.adoc index 85f99be14..c4f9b28fb 100644 --- a/README.adoc +++ b/README.adoc @@ -21,6 +21,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. diff --git a/docs/src/main/asciidoc/intro.adoc b/docs/src/main/asciidoc/intro.adoc index 2123efc36..3e93ec633 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.