Proxy log pid hack (#5869)

## Problem

Improve observability for the compute node.

## Summary of changes

Log pid from the compute node. Doesn't work with pgbouncer.
This commit is contained in:
khanova
2023-11-16 21:46:23 +01:00
committed by GitHub
parent d0a842a509
commit 0c243faf96
6 changed files with 40 additions and 27 deletions

View File

@@ -250,7 +250,7 @@ pub async fn handle(
Ok(response)
}
#[instrument(name = "sql-over-http", skip_all)]
#[instrument(name = "sql-over-http", fields(pid = tracing::field::Empty), skip_all)]
async fn handle_inner(
request: Request<Body>,
sni_hostname: Option<String>,