1# Copyright (C) 2022-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: NETMANAGER 15 16HTTP_PERF: 17 __BASE: {type: STATISTIC, level: MINOR, desc: HTTP performance, preserve: true} 18 PACKAGE_NAME: {type: STRING, desc: package name} 19 TOTAL_TIME: {type: DOUBLE, desc: total time of all successful requests} 20 TOTAL_RATE: {type: DOUBLE, desc: total rate of all successful requets} 21 SUCCESS_COUNT: {type: UINT32, desc: successful requests count} 22 TOTAL_COUNT: {type: UINT32, desc: total requests count} 23 VERSION: {type: STRING, desc: internal http protocol version usage count} 24 TOTAL_DNS_TIME: {type: DOUBLE, desc: total dns time of all the successful request} 25 TOTAL_TCP_TIME: {type: DOUBLE, desc: total tcp time all the successful request} 26 TOTAL_TLS_TIME: {type: DOUBLE, desc: total tls time all the successful request} 27 TOTAL_FIRST_RECEIVE_TIME: {type: DOUBLE, desc: total first receive time of all the successful request} 28 29NET_STACK_HTTP_RESPONSE_ERROR: 30 __BASE: {type: FAULT, level: CRITICAL, desc: TOP_APP_HTTP_NET_STACK, preserve: true} 31 PACKAGE_NAME: {type: STRING, desc: package name} 32 TOTAL_DNS_TIME: {type: DOUBLE, arrsize: 10, desc: total dns time of all the successful request} 33 TOTAL_TCP_TIME: {type: DOUBLE, arrsize: 10, desc: total tcp time all the successful request} 34 TOTAL_TLS_TIME: {type: DOUBLE, arrsize: 10, desc: total tls time all the successful request} 35 IP_TYPE: {type: INT8, arrsize: 10, desc: IP type of all the error response} 36 OS_ERR: {type: INT64, arrsize: 10, desc: os error of all the error response} 37 ERROR_CODE: {type: INT32, arrsize: 10, desc: error code of all the error response} 38 39NET_CONN_SUPPLER_FAULT: 40 __BASE: {type: FAULT, level: CRITICAL, desc: send supplier fault event} 41 UPDATE_SUPPLIERID: {type: INT32, desc: update supplier id} 42 UPDATE_SUPPLIERINFO: {type: STRING, desc: update supplier info} 43 UPDATE_NETLINKID: {type: INT32, desc: update netlink id} 44 UPDATE_NETLINKINFO: {type: STRING, desc: update netlink info} 45 ERROR_TYPE: {type: INT32, desc: the error code} 46 ERROR_MSG: {type: STRING, desc: the error message} 47 48NET_CONN_SUPPLER_STAT: 49 __BASE: {type: BEHAVIOR, level: MINOR, desc: send supplier behavior event} 50 NETID: {type: INT32, desc: net id} 51 REGISTER_BEARERTYPE: {type: INT32, desc: register bearer type code} 52 REGISTER_IDENT: {type: STRING, desc: register ident code} 53 REGISTER_SUPPLIERID: {type: INT32, desc: register supplier id} 54 UPDATE_SUPPLIERID: {type: INT32, desc: update supplier info} 55 UPDATE_SUPPLIERINFO: {type: STRING, desc: update supplier info} 56 UPDATE_NETLINKID: {type: INT32, desc: update netlink id} 57 UPDATE_NETLINKINFO: {type: STRING, desc: update netlink info} 58 ERROR_TYPE: {type: INT32, desc: the error code} 59 ERROR_MSG: {type: STRING, desc: the error message} 60 61NET_CONN_REQUEST_FAULT: 62 __BASE: {type: FAULT, level: CRITICAL, desc: send request fault event} 63 CAPABILITIES: {type: STRING, desc: capabilities info} 64 SUPPLIERIDENT: {type: STRING, desc: request supplier ident} 65 ERROR_TYPE: {type: INT32, desc: the error code} 66 ERROR_MSG: {type: STRING, desc: the error message} 67 68NET_CONN_REQUEST_STAT: 69 __BASE: {type: BEHAVIOR, level: MINOR, desc: send request behavior event} 70 CAPABILITIES: {type: STRING, desc: capabilities info} 71 SUPPLIERIDENT: {type: STRING, desc: request supplier ident} 72 CALLBACK_AVAILABLE: {type: STRING, desc: the callback available} 73 74NET_CONN_MONITOR_FAULT: 75 __BASE: {type: FAULT, level: CRITICAL, desc: send monitor fault event} 76 SOCKETFD: {type: INT32, desc: monitor socket fd} 77 NETID: {type: INT32, desc: monitor network id} 78 ERROR_TYPE: {type: INT32, desc: the error code} 79 ERROR_MSG: {type: STRING, desc: the error message} 80 81NET_CONN_MONITOR_STAT: 82 __BASE: {type: BEHAVIOR, level: MINOR, desc: send monitor behavior event} 83 STATUS: {type: INT32, desc: monitor status} 84 85NET_SHARING_SETUP_FAULT: 86 __BASE: {type: FAULT, level: CRITICAL, desc: send setup fault event} 87 SHARING_TYPE: {type: INT32, desc: the type of sharing} 88 OPERATION_TYPE: {type: INT32, desc: the operation type} 89 ERROR_TYPE: {type: INT32, desc: the error code} 90 ERROR_MSG: {type: STRING, desc: the error message} 91 92NET_SHARING_CANCEL_FAULT: 93 __BASE: {type: FAULT, level: CRITICAL, desc: send cancel fault event} 94 SHARING_TYPE: {type: INT32, desc: the type of sharing} 95 OPERATION_TYPE: {type: INT32, desc: the operation type} 96 ERROR_TYPE: {type: INT32, desc: the error code} 97 ERROR_MSG: {type: STRING, desc: the error message} 98 99NET_SHARING_TIME_STAT: 100 __BASE: {type: BEHAVIOR, level: MINOR, desc: sharing state message} 101 SHARING_COUNT: {type: INT32, desc: the number of sharing} 102 SHARING_TYPE: {type: INT32, desc: the type of sharing} 103 104NET_MDNS_REQUEST_FAULT: 105 __BASE: {type: FAULT, level: CRITICAL, desc: send request fault event} 106 INFO: {type: STRING, desc: mDNS info} 107 ERROR_TYPE: {type: INT32, desc: the error code} 108 ERROR_MSG: {type: STRING, desc: the error message} 109 110NET_MDNS_REQUEST_BEHAVIOR: 111 __BASE: {type: BEHAVIOR, level: MINOR, desc: send request behavior event} 112 INFO: {type: STRING, desc: mDNS info} 113 114NET_VPN_CONNECT_FAULT: 115 __BASE: {type: FAULT, level: CRITICAL, desc: send setup fault event} 116 VPN_LEGACY: {type: INT32, desc: the type of vpn} 117 OPERATION_TYPE: {type: INT32, desc: the operation type} 118 VPN_ERROR_TYPE: {type: INT32, desc: the error code} 119 VPN_ERROR_MSG: {type: STRING, desc: the error message} 120 121NET_START_DIST_NETWORK_FAULT: 122 __BASE: {type: FAULT, level: CRITICAL, desc: start distributed network fault event} 123 DEVICE_ID: {type: STRING, desc: device info} 124 SESSION_ID: {type: INT32, desc: session id} 125 ERROR_TYPE: {type: INT32, desc: the error code} 126 ERROR_MSG: {type: STRING, desc: the error message} 127 128NET_START_DIST_NETWORK_BEHAVIOR: 129 __BASE: {type: BEHAVIOR, level: MINOR, desc: start distributed network behavior event} 130 DEVICE_ID: {type: STRING, desc: device info} 131 132NET_REMOTE_DEVICE_INFO_FAULT: 133 __BASE: {type: FAULT, level: CRITICAL, desc: get remote device info fault event} 134 ERROR_TYPE: {type: INT32, desc: the error code} 135 ERROR_MSG: {type: STRING, desc: the error message} 136 137NET_REMOTE_DEVICE_INFO_BEHAVIOR: 138 __BASE: {type: BEHAVIOR, level: MINOR, desc: get remote device info behavior event} 139 140NET_FIREWALL_CONF_FAULT: 141 __BASE: {type: FAULT, level: CRITICAL, desc: net firewall policy configuration and issuance failed} 142 FIREWALL_USER_ID: {type: INT32, desc: user id} 143 FIREWALL_ERROR_TYPE: {type: INT32, desc: the error code} 144 FIREWALL_ERROR_MSG: {type: STRING, desc: the error message} 145 146NET_FIREWALL_REQ_FAULT: 147 __BASE: {type: FAULT, level: CRITICAL, desc: net firewall policy acquisition failed} 148 FIREWALL_USER_ID: {type: INT32, desc: user id} 149 FIREWALL_ERROR_TYPE: {type: INT32, desc: the error code} 150 FIREWALL_ERROR_MSG: {type: STRING, desc: the error message} 151 152NET_FIREWALL_LOG_REQ_FAULT: 153 __BASE: {type: FAULT, level: CRITICAL, desc: net firewall interception log query failed} 154 FIREWALL_USER_ID: {type: INT32, desc: user id} 155 FIREWALL_ERROR_TYPE: {type: INT32, desc: the error code} 156 FIREWALL_ERROR_MSG: {type: STRING, desc: the error message} 157 158NET_FIREWALL_INIT_FAULT: 159 __BASE: {type: FAULT, level: CRITICAL, desc: built in firewall policy failed} 160 FIREWALL_USER_ID: {type: INT32, desc: user id} 161 FIREWALL_ERROR_TYPE: {type: INT32, desc: the error code} 162 FIREWALL_ERROR_MSG: {type: STRING, desc: the error message} 163 164NET_FIREWALL_CONF_BEHAVIOR: 165 __BASE: {type: BEHAVIOR, level: MINOR, desc: net firewall policy configuration behavior management} 166 FIREWALL_USER_ID: {type: INT32, desc: user id} 167 168NET_FIREWALL_REQ_BEHAVIOR: 169 __BASE: {type: BEHAVIOR, level: MINOR, desc: net firewall policy query behavior management} 170 FIREWALL_USER_ID: {type: INT32, desc: user id} 171 172NET_FIREWALL_LOG_REQ_BEHAVIOR: 173 __BASE: {type: BEHAVIOR, level: MINOR, desc: net firewall interception log query behavior management} 174 FIREWALL_USER_ID: {type: INT32, desc: user id} 175 176VPN_OPERATE_FAULT: 177 __BASE: {type: FAULT, level: CRITICAL, desc: send vpn operation fault event} 178 USER_TYPE: {type: BOOL, desc: user type} 179 VPN_TYPE: {type: INT32, desc: vpn type} 180 BUNDLE_NAME: {type: STRING, desc: the app bundle name} 181 OPERATION_TYPE: {type: INT32, desc: the vpn operation type} 182 ERROR_TYPE: {type: INT32, desc: the error code}