Skip to content

Commit d36385f

Browse files
committed
update
1 parent 54d4b70 commit d36385f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

rust_snuba/benches/processors.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ fn run_processor_bench(
206206

207207
fn main() {
208208
// this sends to nowhere, but because it's UDP we won't error.
209-
metrics::init(StatsDBackend::new("127.0.0.1", 8081, "snuba.consumer", 0.0)).unwrap();
209+
metrics::init(StatsDBackend::new("127.0.0.1", 8081, "snuba.consumer")).unwrap();
210210

211211
let mut c = Criterion::default().configure_from_args();
212212

rust_snuba/src/metrics/statsd.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ mod tests {
6262

6363
#[test]
6464
fn statsd_metric_backend() {
65-
let backend = StatsDBackend::new("0.0.0.0", 8125, "test", 0.0);
65+
let backend = StatsDBackend::new("0.0.0.0", 8125, "test");
6666

6767
backend.record_metric(metric!(Counter: "a", 1, "tag1" => "value1"));
6868
backend.record_metric(metric!(Gauge: "b", 20, "tag2" => "value2"));

0 commit comments

Comments
 (0)