umi-plugin-apm
v1.0.2
Published
A UmiJS plug-in that is based on '@elastic/apm-rum' encapsulation.
Downloads
5
Readme
umi-plugin-apm
A UmiJS plug-in that is based on '@elastic/apm-rum' encapsulation.
# or yarn
$ npm install umi-plugin-apm
Usage
Configure in .umirc.js
,
export default {
apm: {
serviceName: 'xxx',
serverUrl: '/xxx-api/',
logLevel: 'debug',
active: true,
instrument: true,
environment: 'dev',
},
};
Development
https://www.elastic.co/guide/en/apm/agent/rum-js/current/configuration.html
LICENSE
MIT