0.2.0 • Published 1 year ago

@serverless-devs/tracker-core v0.2.0

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

OSCS Status

自定义监控探针

本探针依赖于 aliyun SLS 进行数据上报

使用方式

初始化探针

import core from "@serverless-devs/tracker-core";
// 初始化探针
core.init(productName, {
  slsRegion: "cn-hangzhou",
  slsProject: "store",
  ...initOptions,
});

使用探针

  1. 使用全局的变量
window.CN_TRACKER.send({
  name: "create-app",
});
  1. 使用局部的变量
import core from "@serverless-devs/tracker-core";
core.send({
  name: "create-app",
});
0.2.0

1 year ago

0.1.8

2 years ago

0.1.9

1 year ago

0.1.7

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago