This is an automated email from the ASF dual-hosted git repository.
wusheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking-client-js.git
The following commit(s) were added to refs/heads/master by this push:
new b4066ff add isPV (#140)
b4066ff is described below
commit b4066ff21662256a964a1543b2b494b71a9472c1
Author: Fine0830 <[email protected]>
AuthorDate: Sat Sep 14 11:01:02 2024 +0800
add isPV (#140)
---
src/performance/index.ts | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/performance/index.ts b/src/performance/index.ts
index 88742f0..f750270 100644
--- a/src/performance/index.ts
+++ b/src/performance/index.ts
@@ -144,10 +144,10 @@ class TracePerf {
...perfDetail,
...this.perfInfo,
};
- this.reportPerf(perfInfo);
+ this.reportPerf({...perfInfo, isPV: true});
}
- public reportPerf(data: {[key: string]: number | string}, collector?:
string) {
+ public reportPerf(data: {[key: string]: number | string | boolean},
collector?: string) {
const perf = {
...data,
...this.perfInfo