Add more diagnostic info to perf stats page

Summary: This will hopefully be useful for prod debugging where we have users with no data,

Reviewed By: lblasa

Differential Revision: D47053328

fbshipit-source-id: 37ecce885ebd93bf2ffdd67cf49cf33255dda429
This commit is contained in:
Luke De Feo
2023-06-27 04:06:17 -07:00
committed by Facebook GitHub Bot
parent 3354092adb
commit fcfbc352ba
4 changed files with 59 additions and 21 deletions

View File

@@ -78,7 +78,14 @@ export function Component() {
);
}
if (showPerfStats) return <PerfStats events={instance.perfEvents} />;
if (showPerfStats)
return (
<PerfStats
uiState={instance.uiState}
rootId={rootId}
events={instance.perfEvents}
/>
);
if (rootId == null || streamState.state === 'RetryingAfterError') {
return (