@qn-pandora/rum-sdk
TypeScript icon, indicating that this package has built-in type declarations

0.1.2 • Public • Published

rum-sdk

@qn-pandora/rum-sdk提供了 trace 能力。

Usage

import { ketaRum } from '@qn-pandora/rum-sdk'

ketaRum.init({
  serviceName: '<service.name>',
  serviceVersion: '<service.version>',
  deploymentEnvironment: '<deployment.environment>',
  host: '<host>',
  propagateTraceHeaderCorsUrls: [], // 允许跨域拦截的url,
  sampleRate: 10 // 采样率, 0-100
})

Readme

Keywords

none

Package Sidebar

Install

npm i @qn-pandora/rum-sdk

Weekly Downloads

10

Version

0.1.2

License

ISC

Unpacked Size

107 kB

Total Files

13

Last publish

Collaborators

  • tianxiumei
  • lansefengxinzi
  • csu-feizao
  • pandora_qiniu