mirror of
https://gitee.com/openharmony/communication_dsoftbus
synced 2024-11-23 08:49:59 +00:00
48459dd84d
Signed-off-by: w00644978 <wudy062379@126.com>
101 lines
4.9 KiB
YAML
101 lines
4.9 KiB
YAML
# 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.
|
|
|
|
#####################################################
|
|
# below is the format of defining event #
|
|
#####################################################
|
|
#domain: domain name. [Only one domain name can be defined at the top]
|
|
#
|
|
#author: the author name who defined this event.
|
|
#date: the date when this event was defined, format is YYYY-MM-DD.
|
|
#logged: source file which refer to this event.
|
|
#usage: the usage of this event.
|
|
#//Define event name and event properties.
|
|
#@EVENT_NAME: the event definition part begin.
|
|
# // __BASE is used for defining the basic info of the event.
|
|
# // "type" optional values are: FAULT, STATISTICS, SECURITY, BEHAVIOR.
|
|
# // "level" optional values are: CRITICAL, MINOR.
|
|
# // "tag" set tags with may used by subscriber of this event, multiple tags devided by space.
|
|
# // "desc" full description of this event.
|
|
# @PARAMETER: {type: parameter type, arrsize: array length(optional), desc: parameter description}.
|
|
# // follow the __BASE block, each line defines a parameter of this event.
|
|
# // "type" optional values are: INT8, UINT8, INT16, UINT16, INT32, UINT32, INT64, UINT64, FLOAT, DOUBLE, STRING.
|
|
# // "arrsize" of the parameter is an array, set a non-zero value.
|
|
# // "desc" full description of this parameter.
|
|
|
|
#####################################################
|
|
# SoftBus hisysevent definition #
|
|
#####################################################
|
|
|
|
domain: SOFTBUS
|
|
|
|
DISC_STARTUP:
|
|
__BASE: {type: BEHAVIOR, level: MINOR, desc: start discovery}
|
|
PACKAGE_NAME: {type: STRING, desc: the appname which call softbus }
|
|
|
|
FIRST_DISC_DURATION:
|
|
__BASE: {type: STATISTIC, level: MINOR, desc: first discovery device duration}
|
|
MEDIUM: {type: UINT8, desc: discovery medium }
|
|
MAX_DISC_DURATION: {type: UINT32, desc: max discovery time duration }
|
|
MIN_DISC_DURATION: {type: UINT32, desc: min discovery time duration }
|
|
AVG_DISC_DURATION: {type: UINT32, desc: average discovery time duration }
|
|
|
|
SCAN_TIMES:
|
|
__BASE: {type: STATISTIC, level: MINOR, desc: stastistic scan times }
|
|
MEDIUM: {type: UINT8, desc: scan medium }
|
|
SCAN_COUNTER: {type: UINT32, desc: scan counter}
|
|
|
|
DISC_FAULT:
|
|
__BASE: {type: STATISTIC, level: CRITICAL, desc: statistic all the exception in disc process }
|
|
MEDIUM: {type: UINT8, desc: disc medium }
|
|
ERROR_CODE: {type: INT32, desc: error code }
|
|
ERROR_COUNTER: {type: UINT32, desc: error counter }
|
|
|
|
CONN_DURATION:
|
|
__BASE: {type: STATISTIC, level: MINOR, desc: statistic the connection duration}
|
|
MEDIUM: {type: UINT8, desc: connection medium }
|
|
MAX_CONN_DURATION: {type: UINT32, desc: max connection time duration }
|
|
MIN_CONN_DURATION: {type: UINT32, desc: min connection time duration }
|
|
AVG_CONN_DURATION: {type: UINT32, desc: average connection time duration }
|
|
|
|
CONN_SUCC_RATE:
|
|
__BASE: {type: STATISTIC, level: MINOR, desc: stastistic connect success rate }
|
|
MEDIUM: {type: UINT8, desc: connection medium }
|
|
SUCC_TIMES: {type: UINT32, desc: conn success times }
|
|
FAIL_TIMES: {type: UINT32, desc: conn fail times }
|
|
SUCC_RATE: {type: FLOAT, desc: connection success rate}
|
|
|
|
CONN_FAULT:
|
|
__BASE: {type: FAULT, level: CRITICAL, desc: report the fault of connection }
|
|
MEDIUM: {type: UINT8, desc: connection medium }
|
|
ERROR_CODE: {type: INT32, desc: error code }
|
|
|
|
TRANS_OPEN_SESSION_CNT:
|
|
__BASE: {type: STATISTIC, level: MINOR, desc: the success count and the fail count of open session }
|
|
SUCCESS_CNT: {type: UINT32, desc: the success count of open session }
|
|
FAIL_CNT: {type: UINT32, desc: the fail count of open session }
|
|
SUCCESS_RATE: {type: FLOAT, desc: the success rate of open session }
|
|
|
|
TRANS_OPEN_SESSION_TIME_COST:
|
|
__BASE: {type: STATISTIC, level: MINOR, desc: the time comsuming of open session }
|
|
MAX_TIME_COST: {type: UINT32, desc: the max time comsuming of open session }
|
|
MIN_TIME_COST: {type: UINT32, desc: the min time comsuming of open session }
|
|
AVE_TIME_COST: {type: UINT32, desc: the average time comsuming of open session }
|
|
TIMES_UNDER_500MS: {type: UINT32, desc: the times unders 500ms of open session }
|
|
TIMES_BETWEEN_500MS_1S: {type: UINT32, desc: the times between 500ms~1s of open session }
|
|
TIMES_BETWEEN_1S_2S: {type: UINT32, desc: the times between 1s~2s of open session }
|
|
TIMES_ABOVE_2S: {type: UINT32, desc: the times above 2s of open session }
|
|
|
|
TRANS_FAULT:
|
|
__BASE: {type: FAULT, level: CRITICAL, desc: the transmission fail }
|
|
ERROR_CODE: {type: INT32, desc: error code } |