0.0.1 • Published 12 months ago

@yunflyjs/yunfly-plugin-apm v0.0.1

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

@yunflyjs/yunfly-plugin-apm

yunfly apm plugin.

Usage

  1. install
yarn add @yunflyjs/yunfly-plugin-apm
  1. declare plugins in config/config.plugin.ts
/**
 * yunfly plugin
 */
const plugins: {[key:string]: string}[] = [
  {
    name: 'jwt',
    package: '@yunflyjs/yunfly-plugin-apm'
  }
];
// 
export default plugins;
  1. enable plugins in config/config.default.ts
config.apm = {
  active: true,
}

api

  • getApm

get apm object.

Contribution

Contributions are extremely welcomed by our team, you can contribute to this repository by several ways below.

0.0.1

12 months ago