@resolve-js/monitoring-console
v0.34.3
Published
This package serves as a monitoring adapter used to print monitoring metrics to the text console
Downloads
22
Maintainers
Readme
@resolve-js/monitoring-console
This package serves as a monitoring adapter for reSolve that prints monitoring metrics to the text console.
Available Options
You can specify the following options to configure the monitoring adapter:
publishMode
- Specifies when to display a summary on the collected metrics in the console. Available values:all
,resolveDispose
andprocessExit
. Default:processExit
.
Usage
// config.prod.js
const prodConfig = {
monitoringAdapters: {
default: {
module: '@resolve-js/monitoring-console',
options: {
publishMode: 'processExit',
},
},
},
...
}