• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2024 Huawei Device Co., Ltd.
2# Licensed under the Apache License, Version 2.0 (the "License");
3# you may not use this file except in compliance with the License.
4# You may obtain a copy of the License at
5#
6#     http://www.apache.org/licenses/LICENSE-2.0
7#
8# Unless required by applicable law or agreed to in writing, software
9# distributed under the License is distributed on an "AS IS" BASIS,
10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11# See the License for the specific language governing permissions and
12# limitations under the License.
13
14domain: WEBVIEW
15
16AUDIO_FRAME_DROP_STATISTICS:
17  __BASE: {type: STATISTIC, level: MINOR, tag: performance, desc: audio frame drop statistics, preserve: true}
18  BUNDLE_NAME: {type: STRING, desc: bundle name}
19  AUDIO_BLANK_FRAME_COUNT: {type: UINT32, desc: audo blank frame count}
20
21AUDIO_PLAY_ERROR:
22  __BASE: {type: FAULT, level: MINOR, tag: fault, desc: audio play error, preserve: true}
23  BUNDLE_NAME: {type: STRING, desc: bundle name}
24  ERROR_TYPE: {type: STRING, desc: audio play error type}
25  ERROR_CODE: {type: STRING, desc: audio play error code}
26  ERROR_DESC: {type: STRING, desc: audio play error description}
27
28CAMERA_CAPTURE_ERROR:
29  __BASE: {type: FAULT, level: MINOR, tag: fault, desc: camera capture error, preserve: true}
30  BUNDLE_NAME: {type: STRING, desc: bundle name}
31  DEVICE_ID: {type: INT32, desc: device ID of camera capture}
32  ERROR_DESC: {type: STRING, desc: camera capture error description}
33
34DRAG_DROP:
35  __BASE: {type: BEHAVIOR, level: MINOR, tag: UserBehavior, desc: drag drop, preserve: true}
36  BUNDLE_NAME: {type: STRING, desc: bundle name}
37  NWEB_ID: {type: INT32, desc: Drag Drop Nweb Id}
38  PLAIN_TEXT: {type: UINT32, desc: Drag Drop Text size}
39  LINK_URL: {type: UINT32, desc: Drag Drop Url size}
40  HTML: {type: UINT32, desc: Drag Drop Html Size}
41
42DRAG_END:
43  __BASE: {type: BEHAVIOR, level: MINOR, tag: UserBehavior, desc: drag end, preserve: true}
44  BUNDLE_NAME: {type: STRING, desc: bundle name}
45  NWEB_ID: {type: INT32, desc: Drag End Nweb Id}
46
47DRAG_ENTER:
48  __BASE: {type: BEHAVIOR, level: MINOR, tag: UserBehavior, desc: drag enter, preserve: true}
49  BUNDLE_NAME: {type: STRING, desc: bundle name}
50  NWEB_ID: {type: INT16, desc: Drag Ented Nweb Id}
51
52DRAG_LEAVE:
53  __BASE: {type: BEHAVIOR, level: MINOR, tag: UserBehavior, desc: drag leave, preserve: true}
54  BUNDLE_NAME: {type: STRING, desc: bundle name}
55  NWEB_ID: {type: INT16, desc: Drag Leave Nweb Id}
56
57DRAG_START:
58  __BASE: {type: BEHAVIOR, level: MINOR, tag: UserBehavior, desc: drag start, preserve: true}
59  BUNDLE_NAME: {type: STRING, desc: bundle name}
60  NWEB_ID: {type: INT32, desc: Drag Start Nweb Id}
61
62DYNAMIC_FRAME_DROP_STATISTICS:
63  __BASE: {type: STATISTIC, level: MINOR, tag: performance, desc: dynamic frame drop statistics, preserve: true}
64  BUNDLE_NAME: {type: STRING, desc: bundle name}
65  STARTTIME: {type: UINT16, desc: start time}
66  DURATION: {type: UINT16, desc: duration}
67  TOTAL_APP_FRAMES: {type: UINT32, desc: total app frames}
68  TOTAL_APP_MISSED_FRAMES: {type: UINT32, desc: total app missed frames}
69  MAX_APP_FRAMETIME: {type: UINT64, desc: max app frame time}
70  ABILITY_NAME: {type: STRING, desc: ability name}
71  PAGE_URL: {type: STRING, desc: page url}
72  SCENE_ID: {type: STRING, desc: interaction scene id}
73
74FORCE_ENABLE_ZOOM:
75  __BASE: {type: BEHAVIOR, level: MINOR, tag: UserBehavior, desc: force enable zoom, preserve: true}
76  BUNDLE_NAME: {type: STRING, desc: bundle name}
77  ENABLE_ZOOM_STATUS: {type: STRING, desc: force enable zoom status}
78
79GPU_DISPLAY_ERROR:
80  __BASE: {type: STATISTIC, level: MINOR, desc: GPU causes abnormal page display, preserve: true}
81  BUNDLE_NAME: {type: STRING, desc: bundle name}
82  EVENT_TYPE: {type: STRING, desc: event type}
83  EVENT_CONTENT: {type: STRING, desc: event type}
84
85INPUT_METHOD:
86  __BASE: {type: FAULT, level: MINOR, tag: fault, desc: input method error, preserve: true}
87  BUNDLE_NAME: {type: STRING, desc: bundle name}
88  ATTACH_CODE: {type: STRING, desc: attach code}
89  IS_SHOW_KEY_BOARD: {type: STRING, desc: is show key board}
90
91INSTANCE_INITIALIZE_TIME:
92  __BASE: {type: STATISTIC, level: MINOR, tag: performance, desc: web instance initialize time statistics, preserve: true}
93  BUNDLE_NAME: {type: STRING, desc: bundle name}
94  INSTANCE_ID: {type: UINT32, desc: instance id}
95  USED_TIME: {type: INT64, desc: used time}
96
97JANK_STATS_APP:
98  __BASE: {type: STATISTIC, level: MINOR, tag: performance, desc: jank statistics, preserve: true}
99  BUNDLE_NAME: {type: STRING, desc: package name}
100  VERSION_NAME: {type: STRING, desc: app version name}
101  ABILITY_NAME: {type: STRING, desc: ability name}
102  JANK_STATS: {type: UINT16, arrsize: 8, desc: jank frame stats}
103  STARTTIME: {type: INT64, desc: begin time since last report}
104  JANK_STATS_VER: {type: UINT32, desc: jank range version}
105  VERSION_CODE: {type: UINT32, desc: app version code}
106  DURATION: {type: INT64, desc: duration since last report}
107
108MULTI_INSTANCE_STATISTICS:
109  __BASE: {type: STATISTIC, level: CRITICAL, tag: webStats, desc: statistics of multiple instances, preserve: true}
110  INSTANCE_ID: {type: UINT32, desc: web instance id}
111  MAX_COUNT: {type: UINT32, desc: maximum  instance count}
112  INSTANCE_COUNT: {type: UINT32, desc: web instance count}
113  BUNDLE_NAME: {type: STRING, desc: bundle name}
114
115OPEN_PRIVATE_MODE:
116  __BASE: {type: BEHAVIOR, level: MINOR, tag: UserBehavior, desc: open private mode, preserve: true}
117  BUNDLE_NAME: {type: STRING, desc: bundle name}
118  OPEN_PRIVATE_STATUS: {type: BOOL, desc: open private status}
119
120PAGE_DOWNLOAD_ERROR:
121  __BASE: {type: FAULT, level: MINOR, tag: fault, desc: page download error, preserve: true}
122  BUNDLE_NAME: {type: STRING, desc: bundle name}
123  ERROR_CODE: {type: INT32, desc: error code}
124
125PAGE_LOAD_ERROR:
126  __BASE: {type: FAULT, level: CRITICAL, tag: webError, desc: page load error info, preserve: true}
127  ERROR_DESC: {type: STRING, desc: page error description}
128  INSTANCE_ID: {type: UINT32, desc: web instance id}
129  ERROR_CODE: {type: UINT32, desc: page error code}
130  ERROR_TYPE: {type: STRING, desc: page error type}
131  ERROR_COUNT: {type: UINT32, desc: page error count}
132  BUNDLE_NAME: {type: STRING, desc: bundle name}
133
134PAGE_LOAD_STATISTICS:
135  __BASE: {type: STATISTIC, level: CRITICAL, tag: webStats, desc: page load statistics, preserve: true}
136  ACCESS_SUM_COUNT: {type: UINT32, desc: page access sum count}
137  ACCESS_SUCC_COUNT: {type: UINT32, desc: page access success count}
138  INSTANCE_ID: {type: UINT32, desc: web instance id}
139  ACCESS_FAIL_RATIO: {type: FLOAT, desc: page access fail ratio}
140  ACCESS_FAIL_COUNT: {type: UINT32, desc: page access fail count}
141  BUNDLE_NAME: {type: STRING, desc: bundle name}
142
143PAGE_LOAD_TIME:
144  __BASE: {type: STATISTIC, level: MINOR, tag: performance, desc: page load time, preserve: true}
145  BUNDLE_NAME: {type: STRING, desc: bundle name}
146  ABILITY_NAME: {type: STRING, desc: ability name}
147  NAVIGATION_ID: {type: INT64, desc: navigation id}
148  NAVIGATION_START: {type: INT64, desc: navigation start}
149  REDIRECT_COUNT: {type: UINT32, desc: redirect count}
150  REDIRECT_START: {type: INT64, desc: redirect start}
151  REDIRECT_END: {type: INT64, desc: redirect end}
152  FETCH_START: {type: INT64, desc: fetch start}
153  WORKER_START: {type: INT64, desc: service worker start time}
154  DOMAIN_LOOKUP_START: {type: INT64, desc: domain lookup start}
155  DOMAIN_LOOKUP_END: {type: INT64, desc: domain lookup end}
156  CONNECT_START: {type: INT64, desc: connect start}
157  SECURE_CONNECT_START: {type: INT64, desc: secure connect start}
158  CONNECT_END: {type: INT64, desc: connect end}
159  REQUEST_START: {type: INT64, desc: request start}
160  RESPONSE_START: {type: INT64, desc: response start}
161  RESPONSE_END: {type: INT64, desc: response end}
162  DOM_INTERACTIVE: {type: INT64, desc: dom interactive}
163  DOM_CONTENT_LOADED_EVENT_START: {type: INT64, desc: dom content load event start}
164  DOM_CONTENT_LOADED_EVENT_END: {type: INT64, desc: dom content load event end}
165  LOAD_EVENT_START: {type: INT64, desc: load event start}
166  LOAD_EVENT_END: {type: INT64, desc: load event end}
167  FIRST_PAINT: {type: INT64, desc: first paint}
168  FIRST_CONTENTFUL_PAINT: {type: INT64, desc: first contentful paint}
169  LARGEST_CONTENTFUL_PAINT: {type: INT64, desc: largest contentful paint}
170  RENDER_INIT_BLOCK: {type: INT64, desc: render init block}
171
172PAGE_MEM_LEAK:
173  __BASE: {type: STATISTIC, level: MINOR, desc: Check memory leak of web render process, preserve: true}
174  TYPE: {type: STRING, desc: reporting type includes MEM_LEAK_DETECTED PAGE_MEM_LEAK_ERROR PAGE_MEM_LEAK_WARNING}
175  PID: {type: STRING, desc: process id}
176  RSS: {type: STRING, desc: resident set size}
177  PSS: {type: STRING, desc: proportional set size}
178  JS_HEAP_TOTAL: {type: STRING, desc: total js heap memory}
179  JS_HEAP_USED: {type: STRING, desc: used js heap memory}
180  GPU_MEM: {type: STRING, desc: gpu memory userd by renderer single process}
181  URL: {type: STRING, desc: url}
182
183PASTE_BOARD_ERROR:
184  __BASE: {type: FAULT, level: MINOR, tag: fault, desc: paste board error, preserve: true}
185  BUNDLE_NAME: {type: STRING, desc: bundle name}
186  ERROR_CODE: {type: INT32, desc: error code}
187  RECORD_SIZE: {type: INT64, desc: record size}
188
189PROCESS_CRASH:
190  __BASE: {type: FAULT, level: MINOR, desc: process crash, preserve: true}
191  BUNDLE_NAME: {type: STRING, desc: bundle name}
192  PROCESS_TYPE: {type: STRING, desc: process type}
193  ERROR_REASON: {type: STRING, desc: error reason}
194  CRASH_COUNT: {type: UINT32, desc: crash count}
195
196PROCESS_FREEZE_WARNING:
197  __BASE: {type: FAULT, level: CRITICAL, desc: render process freeze warning, preserve: true}
198  BUNDLE_NAME: {type: STRING, desc: bundle name}
199
200RENDER_JIT_LOCKDOWN:
201  __BASE: {type: BEHAVIOR, level: MINOR, tag: UserBehavior, desc: advanced security lock mode, preserve: true}
202  BUNDLE_NAME: {type: STRING, desc: bundle name}
203  JIT_LOCKDOWN_MODE: {type: BOOL, desc: jit lockdown mode}
204
205SITE_ISOLATION_MODE:
206  __BASE: {type: BEHAVIOR, level: MINOR, tag: UserBehavior, desc: site isolation mode, preserve: true}
207  BUNDLE_NAME: {type: STRING, desc: bundle name}
208  SITE_ISOLATION_STATUS: {type: BOOL, desc: site isolation status}
209
210VIDEO_FRAME_DROP_STATISTICS:
211  __BASE: {type: STATISTIC, level: MINOR, tag: performance, desc: videos frame drop statistics, preserve: true}
212  BUNDLE_NAME: {type: STRING, desc: bundle name}
213  VIDEO_FRAME_DROPPED_COUNT: {type: UINT32, desc: video frame dropped count}
214  VIDEO_FRAME_DROPPED_DURATION: {type: UINT64, desc: video frame dropped duration}
215
216VIDEO_PLAY_ERROR:
217  __BASE: {type: FAULT, level: MINOR, tag: fault, desc: video play error, preserve: true}
218  BUNDLE_NAME: {type: STRING, desc: bundle name}
219  ERROR_TYPE: {type: STRING, desc: error type}
220  ERROR_CODE: {type: UINT32, desc: error code}
221  ERROR_DESC: {type: STRING, desc: error info}
222
223CHILD_PROCESS_INIT_FAIL:
224  __BASE: {type: FAULT, level: CRITICAL, tag: fault, desc: child process init fail, preserve: true}
225  BUNDLE_NAME: {type: STRING, desc: bundle name}
226  PROCESS_TYPE: {type: STRING, desc: child process type}
227  ERROR_CODE: {type: STRING, desc: error code}
228
229RENDER_JS_FREEZE:
230  __BASE: {type: FAULT, level: CRITICAL, tag: fault, desc: render js freeze, preserve: true}
231  BUNDLE_NAME: {type: STRING, desc: bundle name}
232
233SKIA_OOM_ERROR:
234  __BASE: {type: FAULT, level: CRITICAL, desc: skia out of memory, preserve: true}
235  BUNDLE_NAME: {type: STRING, desc: bundle name}
236  ERROR_DESC: {type: STRING, desc: error description}
237