1 Star 0 Fork 1.3K

张兴泰/communication_dsoftbus

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
hisysevent.yaml 15.63 KB
一键复制 编辑 原始数据 按行查看 历史
# 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: DSOFTBUS
FIRST_DISC_DURATION:
__BASE: {type: STATISTIC, level: MINOR, desc: first discovery device duration }
SOFT_BUS_VERSION: {type: STRING, desc: softbus version }
PACKAGE_VERSION: {type: STRING, desc: package version }
LINK_TYPE: {type: UINT32, desc: link type ble 1 wlan 2 }
TOTAL_TIME: {type: UINT64, desc: total duration ms }
TOTAL_COUNT: {type: UINT32, desc: total count }
COUNT1: { type: UINT32, desc: number of times that the duration is longer than 500ms }
COUNT2: { type: UINT32, desc: number of times that the duration is longer than 1000ms }
COUNT3: { type: UINT32, desc: number of times that the duration is longer than 1500ms }
COUNT4: { type: UINT32, desc: number of times that the duration is longer than 2000ms }
COUNT5: { type: UINT32, desc: number of times that the duration is longer than 2500ms }
DISCOVERY_DETAILS:
__BASE: {type: STATISTIC, level: MINOR, desc: ble discovery details }
MODULE: {type: STRING, desc: module }
DISCTYPE: {type: UINT32, desc: discovery type }
DURATION: {type: UINT64, desc: discovery duration }
REPTIMES: {type: UINT32, desc: report times }
DEVNUM: {type: UINT32, desc: report times }
DISCTIMES: {type: UINT32, desc: discovery times }
DISCOVERY_BLE_RSSI:
__BASE: {type: STATISTIC, level: MINOR, desc: ble discovery rssi }
RANGEID: {type: UINT32, arrsize: 52, desc: range id }
RANGEDATA: {type: UINT32, arrsize: 52, desc: range data }
CONN_DURATION:
__BASE: {type: STATISTIC, level: MINOR, desc: statistic the connection duration }
SOFT_BUS_VERSION: { type: STRING, desc: softbus version }
PACKAGE_VERSION: { type: STRING, desc: package version }
CALLER_PACKAGE_NAME: {type: STRING, desc: caller package name }
LINK_TYPE: { type: UINT32, desc: link type br 0 ble 1 wlan 2 p2p 3 hml 4 }
FAIL_TOTAL_TIME: { type: UINT64, desc: fail total duration ms }
FAIL_TOTAL_COUNT: { type: UINT32, desc: fail total count }
TOTAL_TIME: { type: UINT64, desc: total duration ms }
TOTAL_COUNT: { type: UINT32, desc: total count }
COUNT1: { type: UINT32, desc: number of times that the duration is longer than 1500ms }
COUNT2: { type: UINT32, desc: number of times that the duration is longer than 2000ms }
COUNT3: { type: UINT32, desc: number of times that the duration is longer than 2500ms }
COUNT4: { type: UINT32, desc: number of times that the duration is longer than 3000ms }
COUNT5: { type: UINT32, desc: number of times that the duration is longer than 4000ms }
PROCESS_STEP_DURATION:
__BASE: {type: STATISTIC, level: MINOR, desc: statistic the p2p or hml process duration }
SOFT_BUS_VERSION: { type: STRING, desc: softbus version }
PACKAGE_VERSION: { type: STRING, desc: package version }
PROCESS_STEP: {type: UINT32, desc: process step }
LINK_TYPE: { type: UINT32, desc: link type br 0 ble 1 wlan 2 p2p 3 hml 4 }
TOTAL_TIME: { type: UINT64, desc: total duration ms }
TOTAL_COUNT: { type: UINT32, desc: total count }
COUNT1: { type: UINT32, desc: number of times that the duration is longer than 1500ms }
COUNT2: { type: UINT32, desc: number of times that the duration is longer than 2000ms }
COUNT3: { type: UINT32, desc: number of times that the duration is longer than 2500ms }
COUNT4: { type: UINT32, desc: number of times that the duration is longer than 3000ms }
COUNT5: { type: UINT32, desc: number of times that the duration is longer than 4000ms }
TRANSPORT_KPI:
__BASE: {type: STATISTIC, level: MINOR, desc: success rate of establishing softbus transmission}
LINK_TYPE: {type: INT32, desc: linktype}
TOTAL_TIME: {type: INT64, desc: total duration ms}
TOTAL_COUNT: {type: INT32, desc: total count}
FAIL_TOTAL_TIME: {type: INT64, desc: fail total time ms}
FAIL_TOTAL_COUNT: {type: INT32, desc: fail total count}
PACKAGE_VERSION: {type: STRING, desc: package version}
SOFT_BUS_VERSION: {type: STRING, desc: softbus version}
COUNT1: {type: INT32, desc: Number of times that the duration is longer than 1s}
COUNT2: {type: INT32, desc: Number of times that the duration is longer than 2s}
COUNT3: {type: INT32, desc: Number of times that the duration is longer than 4s}
COUNT4: {type: INT32, desc: Number of times that the duration is longer than 7s}
COUNT5: {type: INT32, desc: Number of times that the duration is longer than 11s}
CALLER_PACKAGE_NAME: {type: STRING, desc: caller package name}
CALLED_API_INFO:
__BASE: {type: STATISTIC, level: MINOR, desc: api called APP infor}
APP_NAME: {type: STRING, desc: caller package name}
API_NAME: {type: STRING, desc: called api name}
TOTAL_COUNT: {type: INT32, desc: total count}
SOFT_BUS_VERSION: {type: STRING, desc: softbus version}
PACKAGE_VERSION: {type: STRING, desc: package version}
CALLED_API_CNT:
__BASE: {type: STATISTIC, level: MINOR, desc: api called count}
API_NAME: {type: STRING, desc: called api name}
TOTAL_COUNT: {type: INT32, desc: total count}
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 to 1s of open session }
TIMES_BETWEEN_1S_2S: {type: UINT32, desc: the times between 1s to 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 }
TRANS_INFO:
__BASE: {type: BEHAVIOR, level: MINOR, desc: the transmission info }
ERROR_CODE: {type: STRING, desc: info msg or err msg }
BUS_CENTER_FAULT_EVT:
__BASE: {type: FAULT, level: CRITICAL, desc: bus center all the exception}
MODULE_TYPE: {type: UINT32, desc: module type}
LINK_TYPE: {type: UINT32, desc: connection type}
CHANNEL_QUALITY: {type: FLOAT, desc: channel quality}
ERROR_CODE: {type: UINT32, desc: error code}
PEER_DEVICE_TYPE: {type: UINT32, desc: peer device type}
ONLINE_DEVICE_NUM: {type: UINT32, desc: online device count}
CONNECTION_NUM: {type: UINT32, desc: connected device count}
NIGHT_MODE: {type: UINT32, desc: night mode}
WIFI_STATUS: {type: UINT32, desc: wifi status}
BLUETOOTH_STATUS: {type: UINT32, desc: bluetooth status}
CALLER_APP_MODE: {type: UINT32, desc: caller app mode}
SUB_ERROR_CODE: {type: UINT32, desc: sub error code}
CONN_BR_NUM: {type: UINT32, desc: the count of device connected by br}
CONN_BLE_NUM: {type: UINT32, desc: the count of device connected by ble}
BLUETOOTH_BROADCAST_STATUS: {type: BOOL, desc: bluetooth broadcast status}
BLUETOOTH_SCAN_STATUS: {type: BOOL, desc: bluetooth scan status}
BUSUNINESS_NAME: {type: STRING, desc: caller business name}
CALLER_PACKAGE_NAME: {type: STRING, desc: caller package name}
REMOTE_BIZ_TRUNCATED_UUID: {type: STRING, desc: remote biz truncated uuid}
SOFT_BUS_VERSION: {type: STRING, desc: softbus version}
PACKAGE_VERSION: {type: STRING, desc: softbus package version}
ONLINE_DURATION:
__BASE: {type: STATISTIC, level: MINOR, desc: the time comsuming of online}
TOTAL_TIME: {type: UINT64, desc: device online total time}
TOTAL_COUNT: {type: UINT32, desc: device online total count}
COUNT1: {type: UINT32, desc: the times above 10s of online}
COUNT2: {type: UINT32, desc: the times above 30s of online}
COUNT3: {type: UINT32, desc: the times above 5min of online}
COUNT4: {type: UINT32, desc: the times above 10min of online}
COUNT5: {type: UINT32, desc: the times above 15min of online}
SOFT_BUS_VERSION: {type: STRING, desc: softbus version}
PACKAGE_VERSION: {type: STRING, desc: softbus package version}
AUTH_DURATION:
__BASE: {type: STATISTIC, level: MINOR, desc: stastistic auth rate and time cost}
LINK_TYPE: {type: UINT32, desc: connection type}
TOTAL_TIME: {type: UINT64, desc: the total time cost of auth}
TOTAL_COUNT: {type: UINT32, desc: device auth total count}
COUNT1: {type: UINT32, desc: the times above 2000ms of single auth}
COUNT2: {type: UINT32, desc: the times above 2500ms of single auth}
COUNT3: {type: UINT32, desc: the times above 3000ms of single auth}
COUNT4: {type: UINT32, desc: the times above 3500ms of single auth}
COUNT5: {type: UINT32, desc: the times above 4000ms of single auth}
FAIL_TOTAL_COUNT: {type: UINT32, desc: auth failed total count}
FAIL_TOTAL_TIME: {type: UINT64, desc: auth failed total time}
CONNECT_FAIL_TOTAL_COUNT: {type: UINT32, desc: connect failed total count}
AUTH_FAIL_TOTAL_COUNT: {type: UINT32, desc: auth failed total count}
EXCHANGE_FAIL_TOTAL_COUNT: {type: UINT32, desc: exchange info failed total count}
SOFT_BUS_VERSION: {type: STRING, desc: softbus version}
PACKAGE_VERSION: {type: STRING, desc: softbus package version}
BUS_CENTER_DURATION:
__BASE: {type: STATISTIC, level: MINOR, desc: stastistic bus center lnn duration}
LINK_TYPE: {type: UINT32, desc: connection type}
TOTAL_TIME: {type: UINT64, desc: the total time cost of lnn}
TOTAL_COUNT: {type: UINT32, desc: lnn total count}
COUNT1: {type: UINT32, desc: the times above 800ms of single lnn}
COUNT2: {type: UINT32, desc: the times above 1000ms of single lnn}
COUNT3: {type: UINT32, desc: the times above 1200ms of single lnn}
COUNT4: {type: UINT32, desc: the times above 1500ms of single lnn}
COUNT5: {type: UINT32, desc: the times above 1800ms of single lnn}
SOFT_BUS_VERSION: {type: STRING, desc: softbus version}
PACKAGE_VERSION: {type: STRING, desc: softbus package version}
DEVICE_ONLINE_EVT:
__BASE: {type: STATISTIC, level: MINOR, desc: report the online device info}
ONLINE_DEVICE_NUM: {type: UINT32, desc: online device count}
BT_ONLINE_DEVICE_NUM: {type: UINT32, desc: online device count connection medium is bt}
WIFI_ONLINE_DEVICE_NUM: {type: UINT32, desc: online device count connection medium is wifi}
PEER_DEVICE_TYPE: {type: UINT32, desc: peer device type}
INSERT_PROFILE_RESULT: {type: UINT32, desc: the result of insert device info to profile}
PEER_SOFT_BUS_VERSION: {type: STRING, desc: softbus version of peer device}
PEER_DEVICE_NAME: {type: STRING, desc: device name of peer device}
SOFT_BUS_VERSION: {type: STRING, desc: softbus version of local device}
PEER_PACKAGE_VERSION: {type: STRING, desc: softbus package version of peer device}
PACKAGE_VERSION: {type: STRING, desc: softbus package version of local device}
DEVICE_DISCOVERY:
__BASE: {type: STATISTIC, level: MINOR, desc: stastistic device discovery count}
START_DISCOVERY_COUNT: {type: UINT64, desc: start discovery count}
SEND_BROADCAST_COUNT: {type: UINT64, desc: send broadcast count}
RECEIVE_BROADCAST_COUNT: {type: UINT64, desc: receiver broadcast count}
DEVICE_FOUND_COUNT: {type: UINT64, desc: device found count}
BUSINESS_DISCOVERY_COUNT: {type: UINT64, desc: business discovery count}
BUSINESS_DISCOVERY_DETAIL: {type: STRING, desc: business discovery detail info}
SOFT_BUS_VERSION: {type: STRING, desc: softbus version}
PACKAGE_VERSION: {type: STRING, desc: softbus package version}
APP_DISCOVERY:
__BASE: {type: STATISTIC, level: MINOR, desc: stastistic app discovery count}
APP_NAME: {type: STRING, desc: name of app who discovery device}
APP_DISCOVERY_COUNT: {type: UINT32, desc: app discovery count}
DFILE_WAIT_HEADER_TIMEOUT_EVT:
__BASE: {type: FAULT, level: CRITICAL, desc: wait file header time out}
ERROR_CODE: {type: STRING, desc: error code}
DFILE_SERVER_CREATE_EVT:
__BASE: {type: BEHAVIOR, level: MINOR, desc: server created}
DFILE_CLIENT_CREATE_EVT:
__BASE: {type: BEHAVIOR, level: MINOR, desc: client created}
DFILE_SEND_BEGIN_EVT:
__BASE: {type: BEHAVIOR, level: MINOR, desc: send begin}
DFILE_PEER_SHUTTED_EVT:
__BASE: {type: FAULT, level: CRITICAL, desc: peer shutted}
DFILE_TRANS_COMPLETE_EVT:
__BASE: {type: STATISTIC, level: MINOR, desc: transfer complete}
TRANSRATE: {type: STRING, desc: transmission speed}
DFILE_ACCEPT_SOCKET_EVT:
__BASE: {type: BEHAVIOR, level: MINOR, desc: accept socket}
FILLP_LINK_EVT:
__BASE: {type: FAULT, level: MINOR, desc: fillp link disconnect}
SOCK_IDX: {type: UINT32, desc: fillp socket index}
LINK_EVT_TYPE: {type: UINT8, desc: fillp link event type}
FILLP_PKT_EVT:
__BASE: {type: STATISTIC, level: MINOR, desc: fillp data package event}
SOCK_IDX: {type: UINT32, desc: fillp socket index}
PKT_EVT_TYPE: {type: UINT8, desc: fillp package event type}
DROP_CNT: {type: UINT32, desc: fillp package dropcnt}
FILLP_SOCK_QOS_EVT:
__BASE: {type: STATISTIC, level: MINOR, desc: fillp socket Qos event}
SOCK_IDX: {type: UINT32, desc: fillp socket index}
RTT: {type: UINT32, desc: fillp socket rtt}
TOTAL_RECV_PKT: {type: UINT32, desc: fillp socket recv package num}
TOTAL_RECV_BYTES: {type: UINT32, desc: fillp socket recv bytes}
TOTAL_SEND_PKT: {type: UINT32, desc: fillp socket send package num}
TOTAL_SEND_BYTES: {type: UINT32, desc: fillp socket send bytes}
JITTER: {type: UINT32, desc: fillp socket jitter}
DFINDER_STATS:
__BASE: {type: STATISTIC, level: MINOR, desc: dfinder statistics}
INVALID_OPTION_CNT: {type: UINT64, desc: the count of invalid option}
BUILD_PKT_FAIL_CNT: {type: UINT64, desc: the count when building packet failed}
INVALID_RSP_CNT: {type: UINT64, desc: the count of invalid message}
OVER_DEVICE_LIMIT_CNT: {type: UINT64, desc: the count when the device number is over limit}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/xing-tai-zhang/communication_dsoftbus.git
git@gitee.com:xing-tai-zhang/communication_dsoftbus.git
xing-tai-zhang
communication_dsoftbus
communication_dsoftbus
master

搜索帮助