Reporting Information Collecting Progress
During information collection, the edge node releases the information every 5 seconds until the collection progress reaches 100%.
Message instance
{
"header": {
"msg_id": "741aec66-99b2-4d97-aaf2-63d27f53bbc5",
"parent_msg_id": "",
"timestamp": 1550107087319,
"sync": false
},
"route": {
"source": "hardware",
"group": "hub",
"operation": "update",
"resource": "websocket/info_collect_process"
},
"content": {
}
}
Parameter description
The content message is described as follows:
{
"type": "all",
"module": "all",
"percentage": "30%",
"result": "processing",
"reason":""
}
Elements are defined as follows:
Level-1 Resource Name |
Description |
Type |
Value Range |
|---|---|---|---|
type |
Type of collected information |
string |
Currently, only all is supported. |
module |
Log module |
string |
Currently, only APP and all are supported. |
percentage |
Collection progress |
string |
The value range is 0% to 100%. |
result |
Collection result |
string |
The value can be success, failed, or processing. |
reason |
Cause of the log collection failure |
string |
The return format is ERR.errcode, detailinfo. For details about the error code, see Error Code Description. |
Parent topic: Upstream Message Interfaces