Skip to content

Commit

Permalink
Merge branch 'main' into sync-gauge
Browse files Browse the repository at this point in the history
  • Loading branch information
cijothomas authored Dec 5, 2023
2 parents 6a68927 + ec38660 commit 7b836ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions opentelemetry-sdk/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ harness = false
[[bench]]
name = "metric_counter"
harness = false
required-features = ["metrics"]

[[bench]]
name = "attribute_set"
Expand Down
2 changes: 1 addition & 1 deletion opentelemetry-sdk/benches/metric_counter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use opentelemetry_sdk::metrics::{ManualReader, SdkMeterProvider};
use rand::{rngs::SmallRng, Rng, SeedableRng};

// Run this benchmark with:
// cargo bench --bench metric_counter --features=metrics,testing
// cargo bench --bench metric_counter --features=metrics
fn create_counter() -> Counter<u64> {
let meter_provider: SdkMeterProvider = SdkMeterProvider::builder()
.with_reader(ManualReader::builder().build())
Expand Down

0 comments on commit 7b836ce

Please sign in to comment.