Skip to content

Commit

Permalink
Nit update to stress test
Browse files Browse the repository at this point in the history
  • Loading branch information
cijothomas committed Aug 9, 2024
1 parent ce96b43 commit 418e837
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
10 changes: 9 additions & 1 deletion stress/src/logs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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."
);
}
3 changes: 3 additions & 0 deletions stress/src/metrics_histogram.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
Hardware: Intel(R) Xeon(R) Platinum 8370C CPU @ 2.80GHz, 16vCPUs,
RAM: 64.0 GB
~1.8 M/sec
Hardware: AMD EPYC 7763 64-Core Processor - 2.44 GHz, 16vCPUs,
~2.2 M /sec
*/

use lazy_static::lazy_static;
Expand Down
3 changes: 3 additions & 0 deletions stress/src/traces.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
Hardware: Intel(R) Xeon(R) Platinum 8370C CPU @ 2.80GHz, 16vCPUs,
RAM: 64.0 GB
~6.5 M/sec
Hardware: AMD EPYC 7763 64-Core Processor - 2.44 GHz, 16vCPUs,
~10.6 M /sec
*/

use lazy_static::lazy_static;
Expand Down

0 comments on commit 418e837

Please sign in to comment.