pub fn collect_diagnostics( data_dir: &Path, output_path: &Path, include_logs: bool, include_metrics: bool, ) -> Result<DiagnosticsInfo>
Collect node diagnostics for troubleshooting.