@blueking/open-telemetry 0.0.7 → 0.0.8
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/dist/bk-rum.global.js +7 -7
- package/dist/bk-rum.global.js.map +1 -1
- package/dist/index.js +130 -153
- package/dist/index.js.map +1 -1
- package/dist/plugins/csp-violation.d.ts +1 -1
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ import type { ResolvedRumPluginConfig } from '../core/config';
|
|
|
2
2
|
import type { BkOTPlugin } from '../core/plugin';
|
|
3
3
|
/**
|
|
4
4
|
* CSP 违规事件采集插件,通过监听 `securitypolicyviolation` 事件捕获被 CSP 策略拦截的脚本/资源,
|
|
5
|
-
* 以
|
|
5
|
+
* 以 error span 上报,进入统一错误分析口径。
|
|
6
6
|
*
|
|
7
7
|
* 节流策略:
|
|
8
8
|
* - 同 fingerprint(`violatedDirective + blockedURI + sourceFile + lineNumber`)
|