diff --git a/src/flight/src/profile.rs b/src/flight/src/profile.rs index 0556a6aa8c..f8fcf7e6ad 100644 --- a/src/flight/src/profile.rs +++ b/src/flight/src/profile.rs @@ -38,7 +38,7 @@ pub struct ProfileNode { pub metrics: Vec, #[serde(default, skip_serializing_if = "Vec::is_empty")] pub children: Vec, - /// Only on a remote scan, which then has no children: one entry per remote node. + /// Only on a remote scan, which then has no children: one entry per node it called directly. #[serde(default, skip_serializing_if = "Vec::is_empty")] pub remote: Vec, } @@ -85,6 +85,7 @@ pub struct RemoteNodeProfile { pub skipped: bool, #[serde(default, skip_serializing_if = "Option::is_none")] pub scan_stats: Option, + /// The plan this node ran; its own remote scans nest the nodes below it the same way. #[serde(default, skip_serializing_if = "Option::is_none")] pub plan: Option, }