-
Notifications
You must be signed in to change notification settings - Fork 431
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ce96b43
commit 418e837
Showing
3 changed files
with
15 additions
and
1 deletion.
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 |
---|---|---|
|
@@ -4,6 +4,9 @@ | |
Hardware: Intel(R) Xeon(R) Platinum 8370C CPU @ 2.80GHz, 16vCPUs, | ||
RAM: 64.0 GB | ||
~31 M/sec | ||
Hardware: AMD EPYC 7763 64-Core Processor - 2.44 GHz, 16vCPUs, | ||
~38 M /sec | ||
*/ | ||
|
||
use opentelemetry_appender_tracing::layer; | ||
|
@@ -50,5 +53,10 @@ fn main() { | |
} | ||
|
||
fn test_log() { | ||
error!(target: "my-system", event_id = 20, event_name = "my-event_name", user_name = "otel", user_email = "[email protected]"); | ||
error!( | ||
name = "CheckoutFailed", | ||
book_id = "12345", | ||
book_title = "Rust Programming Adventures", | ||
message = "Unable to process checkout." | ||
); | ||
} |
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