diff --git a/src/adapters/monitors/cloudwatch.rs b/src/adapters/monitors/cloudwatch.rs index 67a2717..a6e77c0 100644 --- a/src/adapters/monitors/cloudwatch.rs +++ b/src/adapters/monitors/cloudwatch.rs @@ -134,7 +134,7 @@ impl CloudWatch { } Err(err) => { println!("Error querying cloudwatch metrics: {:?}", err); - return 0; + 0 } } } diff --git a/src/adapters/monitors/mod.rs b/src/adapters/monitors/mod.rs index 04ac4d4..d85d6c7 100644 --- a/src/adapters/monitors/mod.rs +++ b/src/adapters/monitors/mod.rs @@ -1,7 +1,4 @@ -use crate::{ - pipeline::ResponseMonitor, - stats::{Group, Observation}, -}; +use crate::{pipeline::ResponseMonitor, stats::Observation}; use async_trait::async_trait; use miette::Result; use tokio::{pin, time::interval}; diff --git a/src/pipeline/mod.rs b/src/pipeline/mod.rs index 6010b7a..778f70b 100644 --- a/src/pipeline/mod.rs +++ b/src/pipeline/mod.rs @@ -1,5 +1,4 @@ use crate::adapters::{batch_observations, EngineController}; -use crate::stats::Group; use crate::{ adapters::{repeat_query, DecisionEngine, Ingress, Monitor}, metrics::ResponseStatusCode,