Add metrics for server cert generation and server start

Summary: Will provide some visibility on error rates.

Reviewed By: passy

Differential Revision: D13671492

fbshipit-source-id: 60971a7e8163c58dd4d6540e57e05b38c852744e
This commit is contained in:
John Knox
2019-01-15 09:39:37 -08:00
committed by Facebook Github Bot
parent 7120bf1201
commit a254cef98d
2 changed files with 6 additions and 1 deletions

View File

@@ -71,6 +71,7 @@ export default class Server extends EventEmitter {
this.insecureServer = this.startServer(INSECURE_PORT);
return;
});
recordSuccessMetric(this.initialisePromise, 'initializeServer');
return this.initialisePromise;
}