1616 * 
1717 * 
1818 */ 
19- use  actix_web:: { web ,   HttpRequest ,  Responder } ; 
19+ use  actix_web:: { HttpRequest ,  Responder ,  web } ; 
2020use  chrono:: { DateTime ,  Utc } ; 
2121use  clokwerk:: { AsyncScheduler ,  Interval } ; 
2222use  http:: header; 
@@ -31,19 +31,20 @@ use tracing::{error, info};
3131use  ulid:: Ulid ; 
3232
3333use  crate :: { 
34+     HTTP_CLIENT ,  INTRA_CLUSTER_CLIENT , 
3435    about:: { current,  platform} , 
3536    handlers:: { 
37+         STREAM_NAME_HEADER_KEY , 
3638        http:: { 
3739            base_path_without_preceding_slash, 
3840            cluster:: { self ,  utils:: check_liveness} , 
3941            modal:: { NodeMetadata ,  NodeType } , 
4042        } , 
41-         STREAM_NAME_HEADER_KEY , 
4243    } , 
4344    option:: Mode , 
4445    parseable:: PARSEABLE , 
4546    stats:: { self ,  Stats } , 
46-     storage,   HTTP_CLIENT ,   INTRA_CLUSTER_CLIENT , 
47+     storage, 
4748} ; 
4849
4950const  ANALYTICS_SERVER_URL :  & str  = "https://analytics.parseable.io:80" ; 
@@ -239,8 +240,8 @@ fn total_event_stats() -> (Stats, Stats, Stats) {
239240    ) 
240241} 
241242
242- async  fn  fetch_ingestors_metrics ( 
243- )   -> anyhow:: Result < ( u64 ,  u64 ,  usize ,  u64 ,  u64 ,  u64 ,  u64 ,  u64 ,  u64 ,  u64 ,  u64 ,  u64 ) >  { 
243+ async  fn  fetch_ingestors_metrics ( ) 
244+ -> anyhow:: Result < ( u64 ,  u64 ,  usize ,  u64 ,  u64 ,  u64 ,  u64 ,  u64 ,  u64 ,  u64 ,  u64 ,  u64 ) >  { 
244245    let  event_stats = total_event_stats ( ) ; 
245246    let  mut  node_metrics = NodeMetrics :: new ( 
246247        total_streams ( ) , 
0 commit comments