Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
cijothomas committed Nov 15, 2024
1 parent 9262828 commit d586db8
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions opentelemetry-etw-metrics/src/exporter/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -350,49 +350,49 @@ mod tests {
.u64_histogram("Testu64Histogram")
.with_description("u64_histogram_test_description")
.with_unit("u64_histogram_test_unit")
.init();
.build();

let f64_histogram = meter
.f64_histogram("TestHistogram")
.with_description("f64_histogram_test_description")
.with_unit("f64_histogram_test_unit")
.init();
.build();

let u64_counter = meter
.u64_counter("Testu64Counter")
.with_description("u64_counter_test_description")
.with_unit("u64_counter_test_units")
.init();
.build();

let f64_counter = meter
.f64_counter("Testf64Counter")
.with_description("f64_counter_test_description")
.with_unit("f64_counter_test_units")
.init();
.build();

let i64_counter = meter
.i64_up_down_counter("Testi64Counter")
.with_description("i64_counter_test_description")
.with_unit("i64_counter_test_units")
.init();
.build();

let u64_gauge = meter
.u64_gauge("Testu64Gauge")
.with_description("u64_gauge_test_description")
.with_unit("u64_gauge_test_unit")
.init();
.build();

let i64_gauge = meter
.i64_gauge("Testi64Gauge")
.with_description("i64_gauge_test_description")
.with_unit("i64_gauge_test_unit")
.init();
.build();

let f64_gauge = meter
.f64_gauge("Testf64Gauge")
.with_description("f64_gauge_test_description")
.with_unit("f64_gauge_test_unit")
.init();
.build();

// Create a key that is 1/10th the size of the MAX_EVENT_SIZE
let key_size = etw::MAX_EVENT_SIZE / 10;
Expand Down

0 comments on commit d586db8

Please sign in to comment.