@alicloud-emas/apm 1.0.0 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -14,7 +14,7 @@ npm install @alicloud-emas/apm
14
14
 
15
15
  ```bash
16
16
  // Import the SDK
17
- import emas_apm from '@ali/emas-web-apm/lib';
17
+ import emas_apm from '@alicloud-emas/apm';
18
18
 
19
19
  // Initialize the SDK
20
20
  const apm = new window.EMAS.apm({
@@ -30,7 +30,7 @@ const apm = new window.EMAS.apm({
30
30
 
31
31
  // Register and use the corresponding plugin
32
32
  // Please refer to the official EMAS documentation for plugin usage
33
- apm.addPlugin(plugin, {})
33
+ apm.start()
34
34
 
35
35
  ```
36
36