mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-06 21:12:55 +00:00
proxy/logging: Add "ep" and "query_id" to list of extracted fields (#12437)
Extract two more interesting fields from spans: ep (endpoint) and query_id. Useful for reliable filtering in logging.
This commit is contained in:
@@ -52,7 +52,7 @@ pub async fn init() -> anyhow::Result<LoggingGuard> {
|
|||||||
StderrWriter {
|
StderrWriter {
|
||||||
stderr: std::io::stderr(),
|
stderr: std::io::stderr(),
|
||||||
},
|
},
|
||||||
&["request_id", "session_id", "conn_id"],
|
&["conn_id", "ep", "query_id", "request_id", "session_id"],
|
||||||
))
|
))
|
||||||
} else {
|
} else {
|
||||||
None
|
None
|
||||||
|
|||||||
Reference in New Issue
Block a user