0.2.1 • Published 8 months ago

@tigojs/faas-performance v0.2.1

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

@tigojs/faas-performance

Provide performance log support for tigo lambda.

Usage

Install this plugin with @tigojs/cli:

tigo add faas-performance

Configuration

Here's a template:

// .tigorc.js
module.exports = {
  plugins: {
    faasPerm: {
      package: '@tigojs/faas-performance',
      config: {
        mongoEngine: '',  // specific a mongodb engine, optional
        database: '', // specific a database name, optional
        maxTimeSpan: 1000 * 60 * 60 * 24, // max time span for querying logs, default 1 day
        maxKeepDays: 7,  // optional, set the max days to keep the log
      },
    },
  },
};

License

MIT

0.2.1

8 months ago

0.2.0

4 years ago

0.1.0

4 years ago