Skip to content

Commit

Permalink
remove useless comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mellowagain committed Oct 30, 2023
1 parent d80cedd commit 8c9007d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion am/src/commands/start.rs
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,6 @@ pub async fn handle_command(args: CliArguments, config: AmConfig, mp: MultiProgr
}

if args.scrape_self {
// add to metrics_emdpoints our own /self_metrics
let url = Url::parse(&format!("http://{}/self_metrics", args.listen_address)).unwrap();
let endpoint = Endpoint::new(url, "am_self".to_string(), true, None);
args.metrics_endpoints.push(endpoint);
Expand Down

0 comments on commit 8c9007d

Please sign in to comment.