Loading...
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 | # 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} |