@qn-pandora/rum-sdk
v0.1.3
Published
Real user Monitor SDK
Downloads
1
Keywords
Readme
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
})