diff --git a/src/lib.rs b/src/lib.rs index b5f81c1..3eb681c 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -541,8 +541,8 @@ impl Pool { match self.0.manager.connect().await { Ok(c) => { self.0.state.num_open.fetch_add(1, Ordering::Relaxed); - increment_gauge!(OPENED_TOTAL, 1.0); - increment_counter!(OPEN_CONNECTIONS); + increment_gauge!(OPEN_CONNECTIONS, 1.0); + increment_counter!(OPENED_TOTAL); let conn = Conn { raw: Some(c),