compute_ctl: log a structured event on successful start (#4679)

This commit is contained in:
bojanserafimov
2023-07-10 15:34:26 -04:00
committed by GitHub
parent 33c2d94ba6
commit 618d36ee6d

View File

@@ -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)
}