Server error and endpoint metrics

Summary: Better than using logs.

Reviewed By: antonk52

Differential Revision: D50012506

fbshipit-source-id: 2f0e9bf8cb7282d35dc5619e620d005b96663fd5
This commit is contained in:
Lorenzo Blasa
2023-10-06 08:26:09 -07:00
committed by Facebook GitHub Bot
parent 66dac8112b
commit b11a85c4b3
2 changed files with 8 additions and 1 deletions

View File

@@ -39,6 +39,8 @@ type ServerBootstrapPerformancePayload = {
type TrackerEvents = {
'server-bootstrap-performance': ServerBootstrapPerformancePayload;
'server-started': {port: number};
'server-error': {code: string | undefined; message: string};
'server-endpoint-hit': {name: string};
'server-auth-token-verification': {
successful: boolean;
present: boolean;