Skip to content

Latest commit

 

History

History
52 lines (36 loc) · 955 Bytes

README.md

File metadata and controls

52 lines (36 loc) · 955 Bytes

@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.