Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use separate version in tracing example
- Loading branch information
Showing
7 changed files
with
48 additions
and
17 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
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,2 +1,2 @@ | ||
/target | ||
target/ | ||
Cargo.lock |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
[package] | ||
name = "tracing" | ||
version = "0.1.0" | ||
authors = ["Jan Kuehle <jkuehle90@gmail.com>"] | ||
edition = "2018" | ||
|
||
[dependencies] | ||
opentelemetry = "0.8.0" | ||
opentelemetry-application-insights = "0.4.0" | ||
tokio = { version = "0.3.0", features = ["macros", "process", "rt-multi-thread", "time"] } | ||
tracing = "0.1.21" | ||
tracing-attributes = "0.1.11" | ||
tracing-futures = "0.2.4" | ||
tracing-opentelemetry = "0.8.0" | ||
tracing-subscriber = "0.2.13" |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# `tracing` example | ||
|
||
This example shows how to use OpenTelemetry and the OpenTelemetry Application Insights exporter with [`tracing`](https://crates.io/crates/tracing). | ||
|
||
Note: Because this relies on `tracing-opentelemetry`, which also has a dependency on `opentelemetry` itself, this example does not use the latest master version of `opentelemetry-application-insights`. |
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