Log numbers as numbers (#9363)

Release Notes:

- N/A
This commit is contained in:
Conrad Irwin 2024-03-14 12:58:00 -06:00 committed by GitHub
parent 61225ecef7
commit b0ce25b67a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -486,9 +486,9 @@ impl Server {
let queue_duration_ms = total_duration_ms - processing_duration_ms;
match result {
Err(error) => {
tracing::error!(%error, ?total_duration_ms, ?processing_duration_ms, ?queue_duration_ms, "error handling message")
tracing::error!(%error, total_duration_ms, processing_duration_ms, queue_duration_ms, "error handling message")
}
Ok(()) => tracing::info!(?total_duration_ms, ?processing_duration_ms, ?queue_duration_ms, "finished handling message"),
Ok(()) => tracing::info!(total_duration_ms, processing_duration_ms, queue_duration_ms, "finished handling message"),
}
}
.instrument(span)