@the-/metrics-presets
Preset of the-metrics
Installation
$ npm install @the-/metrics-presets --save
Usage
'use strict'
const { RenderingCountMetrics } = require('@the-/metrics-presets')
async function tryExample() {
const Components = {
/* ... */
}
// Start rendering count metrics
const stop = RenderingCountMetrics(Components, {
interval: 30000,
})
/* ... */
stop()
}
tryExample().catch((err) => console.error(err))
API Guide
- module:@the-/metrics-presets
See API Guide for more detail
License
This software is released under the MIT License.