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_CONN_SUPPLER_FAULT:
30  __BASE: {type: FAULT, level: CRITICAL, desc: send supplier fault event}
31  UPDATE_SUPPLIERID: {type: INT32, desc: update supplier id}
32  UPDATE_SUPPLIERINFO: {type: STRING, desc: update supplier info}
33  UPDATE_NETLINKID: {type: INT32, desc: update netlink id}
34  UPDATE_NETLINKINFO: {type: STRING, desc: update netlink info}
35  ERROR_TYPE: {type: INT32, desc: the error code}
36  ERROR_MSG: {type: STRING, desc: the error message}
37
38NET_CONN_SUPPLER_STAT:
39  __BASE: {type: BEHAVIOR, level: MINOR, desc: send supplier behavior event}
40  NETID: {type: INT32, desc: net id}
41  REGISTER_BEARERTYPE: {type: INT32, desc: register bearer type code}
42  REGISTER_IDENT: {type: STRING, desc: register ident code}
43  REGISTER_SUPPLIERID: {type: INT32, desc: register supplier id}
44  UPDATE_SUPPLIERID: {type: INT32, desc: update supplier info}
45  UPDATE_SUPPLIERINFO: {type: STRING, desc: update supplier info}
46  UPDATE_NETLINKID: {type: INT32, desc: update netlink id}
47  UPDATE_NETLINKINFO: {type: STRING, desc: update netlink info}
48  ERROR_TYPE: {type: INT32, desc: the error code}
49  ERROR_MSG: {type: STRING, desc: the error message}
50
51NET_CONN_REQUEST_FAULT:
52  __BASE: {type: FAULT, level: CRITICAL, desc: send request fault event}
53  CAPABILITIES: {type: STRING, desc: capabilities info}
54  SUPPLIERIDENT: {type: STRING, desc: request supplier ident}
55  ERROR_TYPE: {type: INT32, desc: the error code}
56  ERROR_MSG: {type: STRING, desc: the error message}
57
58NET_CONN_REQUEST_STAT:
59  __BASE: {type: BEHAVIOR, level: MINOR, desc: send request behavior event}
60  CAPABILITIES: {type: STRING, desc: capabilities info}
61  SUPPLIERIDENT: {type: STRING, desc: request supplier ident}
62  CALLBACK_AVAILABLE: {type: STRING, desc: the callback available}
63
64NET_CONN_MONITOR_FAULT:
65  __BASE: {type: FAULT, level: CRITICAL, desc: send monitor fault event}
66  SOCKETFD: {type: INT32, desc: monitor socket fd}
67  NETID: {type: INT32, desc: monitor network id}
68  ERROR_TYPE: {type: INT32, desc: the error code}
69  ERROR_MSG: {type: STRING, desc: the error message}
70
71NET_CONN_MONITOR_STAT:
72  __BASE: {type: BEHAVIOR, level: MINOR, desc: send monitor behavior event}
73  STATUS: {type: INT32, desc: monitor status}
74
75NET_SHARING_SETUP_FAULT:
76  __BASE: {type: FAULT, level: CRITICAL, desc: send setup fault event}
77  SHARING_TYPE: {type: INT32, desc: the type of sharing}
78  OPERATION_TYPE: {type: INT32, desc: the operation type}
79  ERROR_TYPE: {type: INT32, desc: the error code}
80  ERROR_MSG: {type: STRING, desc: the error message}
81
82NET_SHARING_CANCEL_FAULT:
83  __BASE: {type: FAULT, level: CRITICAL, desc: send cancel fault event}
84  SHARING_TYPE: {type: INT32, desc: the type of sharing}
85  OPERATION_TYPE: {type: INT32, desc: the operation type}
86  ERROR_TYPE: {type: INT32, desc: the error code}
87  ERROR_MSG: {type: STRING, desc: the error message}
88
89NET_SHARING_TIME_STAT:
90  __BASE: {type: BEHAVIOR, level: MINOR, desc: sharing state message}
91  SHARING_COUNT: {type: INT32, desc: the number of sharing}
92  SHARING_TYPE: {type: INT32, desc: the type of sharing}
93 
94NET_MDNS_REQUEST_FAULT:
95  __BASE: {type: FAULT, level: CRITICAL, desc: send request fault event}
96  INFO: {type: STRING, desc: mDNS info}
97  ERROR_TYPE: {type: INT32, desc: the error code}
98  ERROR_MSG: {type: STRING, desc: the error message}
99
100NET_MDNS_REQUEST_BEHAVIOR:
101  __BASE: {type: BEHAVIOR, level: MINOR, desc: send request behavior event}
102  INFO: {type: STRING, desc: mDNS info}
103
104NET_VPN_CONNECT_FAULT:
105  __BASE: {type: FAULT, level: CRITICAL, desc: send setup fault event}
106  VPN_LEGACY: {type: INT32, desc: the type of vpn}
107  OPERATION_TYPE: {type: INT32, desc: the operation type}
108  VPN_ERROR_TYPE: {type: INT32, desc: the error code}
109  VPN_ERROR_MSG: {type: STRING, desc: the error message}
110
111NET_START_DIST_NETWORK_FAULT:
112  __BASE: {type: FAULT, level: CRITICAL, desc: start distributed network fault event}
113  DEVICE_ID: {type: STRING, desc: device info}
114  SESSION_ID: {type: INT32, desc: session id}
115  ERROR_TYPE: {type: INT32, desc: the error code}
116  ERROR_MSG: {type: STRING, desc: the error message}
117
118NET_START_DIST_NETWORK_BEHAVIOR:
119  __BASE: {type: BEHAVIOR, level: MINOR, desc: start distributed network behavior event}
120  DEVICE_ID: {type: STRING, desc: device info}
121
122NET_REMOTE_DEVICE_INFO_FAULT:
123  __BASE: {type: FAULT, level: CRITICAL, desc: get remote device info fault event}
124  ERROR_TYPE: {type: INT32, desc: the error code}
125  ERROR_MSG: {type: STRING, desc: the error message}
126
127NET_REMOTE_DEVICE_INFO_BEHAVIOR:
128  __BASE: {type: BEHAVIOR, level: MINOR, desc: get remote device info behavior event}
129
130NET_FIREWALL_CONF_FAULT:
131  __BASE: {type: FAULT, level: CRITICAL, desc: net firewall policy configuration and issuance failed}
132  FIREWALL_USER_ID: {type: INT32, desc: user id}
133  FIREWALL_ERROR_TYPE: {type: INT32, desc: the error code}
134  FIREWALL_ERROR_MSG: {type: STRING, desc: the error message}
135
136NET_FIREWALL_REQ_FAULT:
137  __BASE: {type: FAULT, level: CRITICAL, desc: net firewall policy acquisition failed}
138  FIREWALL_USER_ID: {type: INT32, desc: user id}
139  FIREWALL_ERROR_TYPE: {type: INT32, desc: the error code}
140  FIREWALL_ERROR_MSG: {type: STRING, desc: the error message}
141
142NET_FIREWALL_LOG_REQ_FAULT:
143  __BASE: {type: FAULT, level: CRITICAL, desc: net firewall interception log query failed}
144  FIREWALL_USER_ID: {type: INT32, desc: user id}
145  FIREWALL_ERROR_TYPE: {type: INT32, desc: the error code}
146  FIREWALL_ERROR_MSG: {type: STRING, desc: the error message}
147
148NET_FIREWALL_INIT_FAULT:
149  __BASE: {type: FAULT, level: CRITICAL, desc: built in firewall policy failed}
150  FIREWALL_USER_ID: {type: INT32, desc: user id}
151  FIREWALL_ERROR_TYPE: {type: INT32, desc: the error code}
152  FIREWALL_ERROR_MSG: {type: STRING, desc: the error message}
153
154NET_FIREWALL_CONF_BEHAVIOR:
155  __BASE: {type: BEHAVIOR, level: MINOR, desc: net firewall policy configuration behavior management}
156  FIREWALL_USER_ID: {type: INT32, desc: user id}
157
158NET_FIREWALL_REQ_BEHAVIOR:
159  __BASE: {type: BEHAVIOR, level: MINOR, desc: net firewall policy query behavior management}
160  FIREWALL_USER_ID: {type: INT32, desc: user id}
161
162NET_FIREWALL_LOG_REQ_BEHAVIOR:
163  __BASE: {type: BEHAVIOR, level: MINOR, desc: net firewall interception log query behavior management}
164  FIREWALL_USER_ID: {type: INT32, desc: user id}