@resolve-js/monitoring-console
TypeScript icon, indicating that this package has built-in type declarations

0.34.3 • Public • Published

@resolve-js/monitoring-console

npm version

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 and processExit. Default: processExit.

Usage

// config.prod.js
const prodConfig = {
  monitoringAdapters: {
    default: {
      module: '@resolve-js/monitoring-console',
      options: {
        publishMode: 'processExit',
      },
    },
  },
  ...
}

Analytics

Package Sidebar

Install

npm i @resolve-js/monitoring-console

Weekly Downloads

10

Version

0.34.3

License

MIT

Unpacked Size

71.3 kB

Total Files

15

Last publish

Collaborators

  • resolve-admin