PURISTA API / @purista/core / createNoopMetricsRecorder
Function: createNoopMetricsRecorder()
createNoopMetricsRecorder():
PuristaMetricsRecorderInterface
Defined in: core/metrics/createNoopMetricsRecorder.ts:12
Creates a recorder that intentionally drops all metrics.
Returns
PuristaMetricsRecorderInterface
Example
ts
const recorder = createNoopMetricsRecorder()
recorder.recordFrameworkMetric('purista.command.executions', 1)