-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make span duration rendering optional and turn it off by default
- Loading branch information
Showing
19 changed files
with
375 additions
and
306 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "tracing-tree" | ||
version = "0.3.1" | ||
version = "0.4.0" | ||
authors = ["David Barsky <[email protected]>", "Nathan Whitaker", "Oli Scherer <[email protected]>"] | ||
edition = "2018" | ||
license = "MIT OR Apache-2.0" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,41 @@ | ||
1:main┐basic::hierarchical-example version=0.1 | ||
1:main└┐basic::hierarchical-example version=0.1 | ||
1:main └┐basic::server host="localhost", port=8080 | ||
1:main ├─ Xms INFO basic starting | ||
1:main ├─ Xs INFO basic listening | ||
1:main ├─ INFO basic starting | ||
1:main ├─ INFO basic listening | ||
1:main └┐basic::server host="localhost", port=8080 | ||
1:main └┐basic::conn peer_addr="82.9.9.9", port=42381 | ||
1:main ├─ Xms DEBUG basic connected | ||
1:main ├─ Xms DEBUG basic message received, length=2 | ||
1:main ├─ DEBUG basic connected | ||
1:main ├─ DEBUG basic message received, length=2 | ||
1:main ┌┘basic::conn peer_addr="82.9.9.9", port=42381 | ||
1:main ┌┘basic::server host="localhost", port=8080 | ||
1:main └┐basic::server host="localhost", port=8080 | ||
1:main └┐basic::conn peer_addr="8.8.8.8", port=18230 | ||
1:main ├─ Xms DEBUG basic connected | ||
1:main ├─ DEBUG basic connected | ||
1:main ┌┘basic::conn peer_addr="8.8.8.8", port=18230 | ||
1:main ┌┘basic::server host="localhost", port=8080 | ||
1:main └┐basic::server host="localhost", port=8080 | ||
1:main └┐basic::foomp 42 <- format string, normal_var=43 | ||
1:main ├─ Xms ERROR basic hello | ||
1:main ├─ ERROR basic hello | ||
1:main ┌┘basic::foomp 42 <- format string, normal_var=43 | ||
1:main ┌┘basic::server host="localhost", port=8080 | ||
1:main └┐basic::server host="localhost", port=8080 | ||
1:main └┐basic::conn peer_addr="82.9.9.9", port=42381 | ||
1:main ├─ Xms WARN basic weak encryption requested, algo="xor" | ||
1:main ├─ Xms DEBUG basic response sent, length=8 | ||
1:main ├─ Xms DEBUG basic disconnected | ||
1:main ├─ WARN basic weak encryption requested, algo="xor" | ||
1:main ├─ DEBUG basic response sent, length=8 | ||
1:main ├─ DEBUG basic disconnected | ||
1:main ┌┘basic::conn peer_addr="82.9.9.9", port=42381 | ||
1:main ┌┘basic::server host="localhost", port=8080 | ||
1:main └┐basic::server host="localhost", port=8080 | ||
1:main └┐basic::conn peer_addr="8.8.8.8", port=18230 | ||
1:main ├─ Xms DEBUG basic message received, length=5 | ||
1:main ├─ Xms DEBUG basic response sent, length=8 | ||
1:main ├─ Xms DEBUG basic disconnected | ||
1:main ├─ DEBUG basic message received, length=5 | ||
1:main ├─ DEBUG basic response sent, length=8 | ||
1:main ├─ DEBUG basic disconnected | ||
1:main ┌┘basic::conn peer_addr="8.8.8.8", port=18230 | ||
1:main ┌┘basic::server host="localhost", port=8080 | ||
1:main ├─ Xs WARN basic internal error | ||
1:main ├─ Xs ERROR basic this is a log message | ||
1:main ├─ Xs INFO basic exit | ||
1:main ├─ WARN basic internal error | ||
1:main ├─ ERROR basic this is a log message | ||
1:main ├─ INFO basic exit | ||
1:main ┌┘basic::server host="localhost", port=8080 | ||
1:main┌┘basic::hierarchical-example version=0.1 | ||
1:main┘basic::hierarchical-example version=0.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,29 @@ | ||
1:main┐basic_non_verbose::hierarchical-example version=0.1 | ||
1:main└─┐basic_non_verbose::server host="localhost", port=8080 | ||
1:main ├─ Xms INFO basic_non_verbose starting | ||
1:main ├─ Xs INFO basic_non_verbose listening | ||
1:main ├─ INFO basic_non_verbose starting | ||
1:main ├─ INFO basic_non_verbose listening | ||
1:main └─┐basic_non_verbose::conn peer_addr="82.9.9.9", port=42381 | ||
1:main ├─ Xms DEBUG basic_non_verbose connected | ||
1:main ├─ Xms DEBUG basic_non_verbose message received, length=2 | ||
1:main ├─ DEBUG basic_non_verbose connected | ||
1:main ├─ DEBUG basic_non_verbose message received, length=2 | ||
1:main ┌─┘ | ||
1:main └─┐basic_non_verbose::conn peer_addr="8.8.8.8", port=18230 | ||
1:main ├─ Xms DEBUG basic_non_verbose connected | ||
1:main ├─ DEBUG basic_non_verbose connected | ||
1:main ┌─┘ | ||
1:main └─┐basic_non_verbose::foomp 42 <- format string, normal_var=43 | ||
1:main ├─ Xms ERROR basic_non_verbose hello | ||
1:main ├─ ERROR basic_non_verbose hello | ||
1:main ┌─┘ | ||
1:main └─┐basic_non_verbose::conn peer_addr="82.9.9.9", port=42381 | ||
1:main ├─ Xms WARN basic_non_verbose weak encryption requested, algo="xor" | ||
1:main ├─ Xms DEBUG basic_non_verbose response sent, length=8 | ||
1:main ├─ Xms DEBUG basic_non_verbose disconnected | ||
1:main ├─ WARN basic_non_verbose weak encryption requested, algo="xor" | ||
1:main ├─ DEBUG basic_non_verbose response sent, length=8 | ||
1:main ├─ DEBUG basic_non_verbose disconnected | ||
1:main ┌─┘ | ||
1:main └─┐basic_non_verbose::conn peer_addr="8.8.8.8", port=18230 | ||
1:main ├─ Xms DEBUG basic_non_verbose message received, length=5 | ||
1:main ├─ Xms DEBUG basic_non_verbose response sent, length=8 | ||
1:main ├─ Xms DEBUG basic_non_verbose disconnected | ||
1:main ├─ DEBUG basic_non_verbose message received, length=5 | ||
1:main ├─ DEBUG basic_non_verbose response sent, length=8 | ||
1:main ├─ DEBUG basic_non_verbose disconnected | ||
1:main ┌─┘ | ||
1:main ├─ Xs WARN basic_non_verbose internal error | ||
1:main ├─ Xs ERROR basic_non_verbose this is a log message | ||
1:main ├─ Xs INFO basic_non_verbose exit | ||
1:main ├─ WARN basic_non_verbose internal error | ||
1:main ├─ ERROR basic_non_verbose this is a log message | ||
1:main ├─ INFO basic_non_verbose exit | ||
1:main┌─┘ | ||
1:main┘ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,35 @@ | ||
1:main┐basic_verbose_entry::hierarchical-example version=0.1 | ||
1:main└┐basic_verbose_entry::hierarchical-example version=0.1 | ||
1:main └┐basic_verbose_entry::server host="localhost", port=8080 | ||
1:main ├─ Xms INFO basic_verbose_entry starting | ||
1:main ├─ Xs INFO basic_verbose_entry listening | ||
1:main ├─ INFO basic_verbose_entry starting | ||
1:main ├─ INFO basic_verbose_entry listening | ||
1:main └┐basic_verbose_entry::server host="localhost", port=8080 | ||
1:main └┐basic_verbose_entry::conn peer_addr="82.9.9.9", port=42381 | ||
1:main ├─ Xms DEBUG basic_verbose_entry connected | ||
1:main ├─ Xms DEBUG basic_verbose_entry message received, length=2 | ||
1:main ├─ DEBUG basic_verbose_entry connected | ||
1:main ├─ DEBUG basic_verbose_entry message received, length=2 | ||
1:main ┌─┘ | ||
1:main └┐basic_verbose_entry::server host="localhost", port=8080 | ||
1:main └┐basic_verbose_entry::conn peer_addr="8.8.8.8", port=18230 | ||
1:main ├─ Xms DEBUG basic_verbose_entry connected | ||
1:main ├─ DEBUG basic_verbose_entry connected | ||
1:main ┌─┘ | ||
1:main └┐basic_verbose_entry::server host="localhost", port=8080 | ||
1:main └┐basic_verbose_entry::foomp 42 <- format string, normal_var=43 | ||
1:main ├─ Xms ERROR basic_verbose_entry hello | ||
1:main ├─ ERROR basic_verbose_entry hello | ||
1:main ┌─┘ | ||
1:main └┐basic_verbose_entry::server host="localhost", port=8080 | ||
1:main └┐basic_verbose_entry::conn peer_addr="82.9.9.9", port=42381 | ||
1:main ├─ Xms WARN basic_verbose_entry weak encryption requested, algo="xor" | ||
1:main ├─ Xms DEBUG basic_verbose_entry response sent, length=8 | ||
1:main ├─ Xms DEBUG basic_verbose_entry disconnected | ||
1:main ├─ WARN basic_verbose_entry weak encryption requested, algo="xor" | ||
1:main ├─ DEBUG basic_verbose_entry response sent, length=8 | ||
1:main ├─ DEBUG basic_verbose_entry disconnected | ||
1:main ┌─┘ | ||
1:main └┐basic_verbose_entry::server host="localhost", port=8080 | ||
1:main └┐basic_verbose_entry::conn peer_addr="8.8.8.8", port=18230 | ||
1:main ├─ Xms DEBUG basic_verbose_entry message received, length=5 | ||
1:main ├─ Xms DEBUG basic_verbose_entry response sent, length=8 | ||
1:main ├─ Xms DEBUG basic_verbose_entry disconnected | ||
1:main ├─ DEBUG basic_verbose_entry message received, length=5 | ||
1:main ├─ DEBUG basic_verbose_entry response sent, length=8 | ||
1:main ├─ DEBUG basic_verbose_entry disconnected | ||
1:main ┌─┘ | ||
1:main ├─ Xs WARN basic_verbose_entry internal error | ||
1:main ├─ Xs ERROR basic_verbose_entry this is a log message | ||
1:main ├─ Xs INFO basic_verbose_entry exit | ||
1:main ├─ WARN basic_verbose_entry internal error | ||
1:main ├─ ERROR basic_verbose_entry this is a log message | ||
1:main ├─ INFO basic_verbose_entry exit | ||
1:main┌─┘ | ||
1:main┘ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,35 @@ | ||
1:main┐basic_verbose_exit::hierarchical-example version=0.1 | ||
1:main└─┐basic_verbose_exit::server host="localhost", port=8080 | ||
1:main ├─ Xms INFO basic_verbose_exit starting | ||
1:main ├─ Xs INFO basic_verbose_exit listening | ||
1:main ├─ INFO basic_verbose_exit starting | ||
1:main ├─ INFO basic_verbose_exit listening | ||
1:main └─┐basic_verbose_exit::conn peer_addr="82.9.9.9", port=42381 | ||
1:main ├─ Xms DEBUG basic_verbose_exit connected | ||
1:main ├─ Xms DEBUG basic_verbose_exit message received, length=2 | ||
1:main ├─ DEBUG basic_verbose_exit connected | ||
1:main ├─ DEBUG basic_verbose_exit message received, length=2 | ||
1:main ┌┘basic_verbose_exit::conn peer_addr="82.9.9.9", port=42381 | ||
1:main ┌┘basic_verbose_exit::server host="localhost", port=8080 | ||
1:main └─┐basic_verbose_exit::conn peer_addr="8.8.8.8", port=18230 | ||
1:main ├─ Xms DEBUG basic_verbose_exit connected | ||
1:main ├─ DEBUG basic_verbose_exit connected | ||
1:main ┌┘basic_verbose_exit::conn peer_addr="8.8.8.8", port=18230 | ||
1:main ┌┘basic_verbose_exit::server host="localhost", port=8080 | ||
1:main └─┐basic_verbose_exit::foomp 42 <- format string, normal_var=43 | ||
1:main ├─ Xms ERROR basic_verbose_exit hello | ||
1:main ├─ ERROR basic_verbose_exit hello | ||
1:main ┌┘basic_verbose_exit::foomp 42 <- format string, normal_var=43 | ||
1:main ┌┘basic_verbose_exit::server host="localhost", port=8080 | ||
1:main └─┐basic_verbose_exit::conn peer_addr="82.9.9.9", port=42381 | ||
1:main ├─ Xms WARN basic_verbose_exit weak encryption requested, algo="xor" | ||
1:main ├─ Xms DEBUG basic_verbose_exit response sent, length=8 | ||
1:main ├─ Xms DEBUG basic_verbose_exit disconnected | ||
1:main ├─ WARN basic_verbose_exit weak encryption requested, algo="xor" | ||
1:main ├─ DEBUG basic_verbose_exit response sent, length=8 | ||
1:main ├─ DEBUG basic_verbose_exit disconnected | ||
1:main ┌┘basic_verbose_exit::conn peer_addr="82.9.9.9", port=42381 | ||
1:main ┌┘basic_verbose_exit::server host="localhost", port=8080 | ||
1:main └─┐basic_verbose_exit::conn peer_addr="8.8.8.8", port=18230 | ||
1:main ├─ Xms DEBUG basic_verbose_exit message received, length=5 | ||
1:main ├─ Xms DEBUG basic_verbose_exit response sent, length=8 | ||
1:main ├─ Xms DEBUG basic_verbose_exit disconnected | ||
1:main ├─ DEBUG basic_verbose_exit message received, length=5 | ||
1:main ├─ DEBUG basic_verbose_exit response sent, length=8 | ||
1:main ├─ DEBUG basic_verbose_exit disconnected | ||
1:main ┌┘basic_verbose_exit::conn peer_addr="8.8.8.8", port=18230 | ||
1:main ┌┘basic_verbose_exit::server host="localhost", port=8080 | ||
1:main ├─ Xs WARN basic_verbose_exit internal error | ||
1:main ├─ Xs ERROR basic_verbose_exit this is a log message | ||
1:main ├─ Xs INFO basic_verbose_exit exit | ||
1:main ├─ WARN basic_verbose_exit internal error | ||
1:main ├─ ERROR basic_verbose_exit this is a log message | ||
1:main ├─ INFO basic_verbose_exit exit | ||
1:main ┌┘basic_verbose_exit::server host="localhost", port=8080 | ||
1:main┌┘basic_verbose_exit::hierarchical-example version=0.1 | ||
1:main┘basic_verbose_exit::hierarchical-example version=0.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,25 @@ | ||
1:main┐concurrent::hierarchical-example version=0.1 | ||
1:main└───┐concurrent::server host="localhost", port=8080 | ||
1:main ├─── Xms INFO concurrent starting | ||
1:main ├─── Xs INFO concurrent listening | ||
1:main ├─── Xs DEBUG concurrent starting countdowns | ||
1:main ├─── INFO concurrent starting | ||
1:main ├─── INFO concurrent listening | ||
1:main ├─── DEBUG concurrent starting countdowns | ||
1:main └───┐concurrent::countdowns | ||
1:main └───┐concurrent::countdown_a | ||
1:main ├─── Xms DEBUG concurrent polling countdown, label="a", count=3 | ||
1:main ├─── DEBUG concurrent polling countdown, label="a", count=3 | ||
1:main └───┐concurrent::countdown_b | ||
1:main ├─── Xms DEBUG concurrent polling countdown, label="b", count=5 | ||
1:main ├─── Xms DEBUG concurrent polling countdown, label="b", count=4 | ||
1:main ├─── DEBUG concurrent polling countdown, label="b", count=5 | ||
1:main ├─── DEBUG concurrent polling countdown, label="b", count=4 | ||
1:main └───┐concurrent::countdown_a | ||
1:main ├─── Xms DEBUG concurrent polling countdown, label="a", count=2 | ||
1:main ├─── DEBUG concurrent polling countdown, label="a", count=2 | ||
1:main └───┐concurrent::conn peer_addr="82.9.9.9", port=42381 | ||
1:main ├─── Xms WARN concurrent peer1 warning | ||
1:main ├─── WARN concurrent peer1 warning | ||
1:main └───┐concurrent::countdowns | ||
1:main ├─── Xms INFO concurrent finished polling countdowns | ||
1:main ├─── INFO concurrent finished polling countdowns | ||
1:main ┌───┘ | ||
1:main ┌───┘ | ||
1:main ┌───┘ | ||
1:main ┌───┘ | ||
1:main ├─── Xs INFO concurrent all done! | ||
1:main ├─── Xs INFO concurrent exit | ||
1:main ├─── INFO concurrent all done! | ||
1:main ├─── INFO concurrent exit | ||
1:main┌───┘ | ||
1:main┘ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.