# Copyright (c) 2022 Huawei Device Co., Ltd. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. domain: WEBVIEW JANK_STATS_APP: __BASE: {type: STATISTIC, level: MINOR, tag: performance, desc: jank statistics} ABILITY_NAME: {type: STRING, desc: ability name} BUNDLE_NAME: {type: STRING, desc: package name} DURATION: {type: INT64, desc: duration since last report} JANK_STATS: {type: UINT16, desc: jank frame stats} JANK_STATS_VER: {type: UINT32, desc: jank range version} STARTTIME: {type: INT64, desc: begin time since last report} VERSION_CODE: {type: UINT32, desc: app version code} VERSION_NAME: {type: STRING, desc: app version name} PAGE_LOAD_STATISTICS: __BASE: {type: STATISTIC, level: CRITICAL, tag: webStats, desc: page load statistics} INSTANCE_ID: {type: UINT32, desc: web instance id} ACCESS_SUM_COUNT: {type: UINT32, desc: page access sum count} ACCESS_SUCC_COUNT: {type: UINT32, desc: page access success count} ACCESS_FAIL_COUNT: {type: UINT32, desc: page access fail count} ACCESS_FAIL_RATIO: {type: FLOAT, desc: page access fail ratio} MULTI_INSTANCE_STATISTICS: __BASE: {type: STATISTIC, level: CRITICAL, tag: webStats, desc: statistics of multiple instances} INSTANCE_ID: {type: UINT32, desc: web instance id} INSTANCE_COUNT: {type: UINT32, desc: web instance count} MAX_COUNT: {type: UINT32, desc: maximum instance count} PAGE_LOAD_ERROR: __BASE: {type: FAULT, level: CRITICAL, tag: webError, desc: page load error info} INSTANCE_ID: {type: UINT32, desc: web instance id} ERROR_TYPE: {type: STRING, desc: page error type} ERROR_CODE: {type: UINT32, desc: page error code} ERROR_DESC: {type: STRING, desc: page error description}