What all parameters required to create a DORA metrics for GitHub

can anyone please help by letting me know what all inputs i would fetch from github to create a DORA metrics report like collecting no. of PR request raised, time it took to PR to merge etc. Like wise please share other data’s which i should collect for a DORA metric report.