mirror of
https://github.com/neondatabase/neon.git
synced 2026-06-03 13:30:38 +00:00
compute_ctl: log a structured event on successful start (#4679)
This commit is contained in:
@@ -549,6 +549,13 @@ impl ComputeNode {
|
||||
pspec.spec.cluster.cluster_id.as_deref().unwrap_or("None")
|
||||
);
|
||||
|
||||
// Log metrics so that we can search for slow operations in logs
|
||||
let metrics = {
|
||||
let state = self.state.lock().unwrap();
|
||||
state.metrics.clone()
|
||||
};
|
||||
info!(?metrics, "compute start finished");
|
||||
|
||||
Ok(pg)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user