Comments (2)
Zack, System Tag Payload on Signal R 沒太大問題, 只修正了 memoryUsage 裡的 TotalSize.
目前 Phase 2.1, Edge Team 會送出來的只有 cpuUsage 以及 memoryUsage. FYI.
{
"deviceUUID": "7dc73055-2ad9-4fdc-96d6-c9d18582ce01",
"dataSource": "systemTag",
"messageTimeStamp": "2018-08-29T01:52:45.6888512Z",
"cpuUsage": {
"unit": "%",
"latest": {
"value": 10,
"updateTimeStamp": "2018-08-21T00:07:43.888Z"
},
"values": [
{ "value": 10, "updateTimeStamp": "2018-08-21T00:07:43.888Z" },
{ "value": 12, "updateTimeStamp": "2018-08-21T00:07:22.888Z" },
{ "value": 8, "updateTimeStamp": "2018-08-21T00:07:18.888Z" },
{ "value": 35, "updateTimeStamp": "2018-08-21T00:07:56.888Z" }
]
},
"memoryUsage": {
"unit": "%",
"latest": {
"value": 8,
"updateTimeStamp": "2018-08-21T00:07:43.888Z"
},
"values": [
{ "value": 8, "updateTimeStamp": "2018-08-21T00:07:18.888Z" },
{ "value": 35, "updateTimeStamp": "2018-08-21T00:07:56.888Z" }
],
"totalSize": {
"size": 1024,
"unit": "MB"
}
},
"gps": {
"latitude": {
"unit": "",
"latest": {
"value": 8,
"updateTimeStamp": "2018-08-21T00:07:43.888Z"
},
"values": [
{ "value": 8, "updateTimeStamp": "2018-08-21T00:07:18.888Z" },
{ "value": 35, "updateTimeStamp": "2018-08-21T00:07:56.888Z" }
]
},
"longitude": {
"unit": "",
"latest": {
"value": 8,
"updateTimeStamp": "2018-08-21T00:07:43.888Z"
},
"values": [
{ "value": 8, "updateTimeStamp": "2018-08-21T00:07:18.888Z" },
{ "value": 35, "updateTimeStamp": "2018-08-21T00:07:56.888Z" }
]
}
},
"wifi": [
{
"id": 1,
"name": "wan0",
"signal": {
"unit": "dB",
"latest": {
"value": 8,
"updateTimeStamp": "2018-08-21T00:07:43.888Z"
},
"values": [
{ "value": 8, "updateTimeStamp": "2018-08-21T00:07:18.888Z" },
{ "value": 35, "updateTimeStamp": "2018-08-21T00:07:56.888Z" }
]
},
"enable": {
"latest": {
"value": true,
"updateTimeStamp": "2018-08-21T00:07:43.888Z"
},
"values": [
{ "value": true, "updateTimeStamp": "2018-08-21T00:07:18.888Z" },
{ "value": true, "updateTimeStamp": "2018-08-21T00:07:56.888Z" }
]
}
}
],
"cellular": [
{
"id": 1,
"name": "cellular0",
"signal": {
"unit": "dB",
"latest": {
"value": 8,
"updateTimeStamp": "2018-08-21T00:07:43.888Z"
},
"values": [
{ "value": 8, "updateTimeStamp": "2018-08-21T00:07:18.888Z" },
{ "value": 35, "updateTimeStamp": "2018-08-21T00:07:56.888Z" }
]
},
"enable": {
"latest": {
"value": true,
"updateTimeStamp": "2018-08-21T00:07:43.888Z"
},
"values": [
{ "value": true, "updateTimeStamp": "2018-08-21T00:07:18.888Z" },
{ "value": true, "updateTimeStamp": "2018-08-21T00:07:56.888Z" }
]
}
}
],
"ethernet": [
{
"id": 1,
"name": "eth0",
"enable": {
"latest": {
"value": true,
"updateTimeStamp": "2018-08-21T00:07:43.888Z"
},
"values": [
{ "value": true, "updateTimeStamp": "2018-08-21T00:07:18.888Z" },
{ "value": false, "updateTimeStamp": "2018-08-21T00:07:56.888Z" }
]
}
}
],
"storageUsage": [
{
"id": 1,
"name": "storage0",
"size": {
"unit": "MB",
"total": 1000,
"latest": {
"value": 8,
"updateTimeStamp": "2018-08-21T00:07:43.888Z"
},
"values": [
{ "value": 8, "updateTimeStamp": "2018-08-21T00:07:18.888Z" },
{ "value": 35, "updateTimeStamp": "2018-08-21T00:07:56.888Z" }
]
}
}
]
}
from oapi-doc.
@KevinKao809 收到
我後來覺得把 xxxUsage 的 Usage 拿掉好了
from oapi-doc.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from oapi-doc.