Skip to content

Commit 9759172

Browse files
(feat) Add URL to proxy flusher error logs (#933)
https://datadoghq.atlassian.net/browse/SVLS-8005 ## Overview Proxy flush doesn't log the URL in case of error. Need to add it to better investigate the issue. ## Testing n/a
1 parent 05ca5f8 commit 9759172

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

bottlecap/src/traces/proxy_flusher.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,9 @@ impl Flusher {
165165
elapsed.as_millis()
166166
);
167167
} else {
168-
error!("PROXY_FLUSHER | Request failed with status {status}: {body:?}");
168+
error!(
169+
"PROXY_FLUSHER | Request failed with status {status} to {url}: {body:?}"
170+
);
169171
}
170172

171173
return Ok(());

0 commit comments

Comments
 (0)