Skip to content

Commit bcfd863

Browse files
authored
fix(discovery): Downgrade unknown endpoint log to debug level (#48055)
Change the log level for requests to unknown endpoints in the discovery module's Rust service from `info!` to `debug!`. Some unknown endpoints are hit during flare creation (handled gracefully in the core agent), but the information is only useful for debugging. Co-authored-by: vincent.whitchurch <vincent.whitchurch@datadoghq.com>
1 parent 1a0cf76 commit bcfd863

File tree

1 file changed

+1
-1
lines changed
  • pkg/discovery/module/rust/src

1 file changed

+1
-1
lines changed

pkg/discovery/module/rust/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ async fn handle_request(
237237
(&Method::GET, "/config/by-source") => handle_config_by_source().await,
238238
(&Method::GET, "/debug/stats") => handle_debug_stats().await,
239239
_ => {
240-
info!(
240+
debug!(
241241
"{} Request to unknown endpoint: {}",
242242
req.method(),
243243
req.uri().path()

0 commit comments

Comments
 (0)