Skip to content

Commit

Permalink
turn off metadata collection
Browse files Browse the repository at this point in the history
  • Loading branch information
noisyscanner committed Oct 22, 2024
1 parent a37aeef commit c7d5a03
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions metrics/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {

debug!("Configuration: {:?}", config);

let terminate_rx = signal_handler();
// let terminate_rx = signal_handler();

let metric_obj: Telemetry = Telemetry::new(config.common_labels.clone().unwrap_or_default(),config.histogram_buckets.clone());
let metric_obj = web::Data::new(metric_obj);
Expand All @@ -202,7 +202,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
webserver(&config),
// logreader::read_file(&tracer, &log_file, &metric_obj, config.sleep_time, terminate_rx.clone()),
logreceiver::ws_server(&config, tracer.clone(), metric_obj.clone()),
collectors::run_metadata_collector(&config, &metric_obj, terminate_rx.clone())
// collectors::run_metadata_collector(&config, &metric_obj, terminate_rx.clone())
);

match res {
Expand Down

0 comments on commit c7d5a03

Please sign in to comment.