Neologistic Paraphasic Mumbling
Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

This package has been deprecated

Author message:

go to yach.ext.elk

yach.util.data

0.0.5 • Public • Published

yach.util.data

yach性能埋点sdk

安装

$ npm i yach.util.data

导入

import _yachData from 'yach.util.data';
 
const yachData = _yachData({
    project: '13-im', // 必传  项目名称
    group:   'yach'   // 可选  组名称 默认yach
});

uploadELKPageData

// page为性能的标识,time为性能耗时
yachData.uploadELKPageData(page: string, time: number)

uploadELKApiData

// url为后端api地址,time为后端api耗时地址
yachData.uploadELKApiData(url: string, time: number)

uploadELKAgoraData

yachData.uploadELKAgoraData(args: {...})

version

0.0.4.20200705

  1. 更新readme文档

0.0.3.20200704

  1. 更新readme文档

0.0.2.20200701

  1. 增加初始化实例,使用方法变更,非向下兼容

0.0.1.20200608

  1. init project
  2. upload elk data

Keywords

none

Install

npm i yach.util.data

DownloadsWeekly Downloads

0

Version

0.0.5

License

MIT

Unpacked Size

7.64 kB

Total Files

6

Last publish

Collaborators

  • avatar