Tap these hooks to record build metrics, to a file, for example.
export declare class MetricsCollectorHooks
|flush||AsyncParallelHook||This hook is called when collected metrics should be flushed|
|flushAndTeardown||AsyncParallelHook||This hook is called when collected metrics should be flushed and no more metrics will be collected.|
|recordMetric||SyncHook<string, IMetricsData>||This hook is called when a metric is recorded.|