Read Disk data
Changed onget/api/v1/metrics/disk
Request
- Base URLhttp://localhost:59232
- URLhttp://localhost:59232/api/v1/metrics/disk
- Authtype (a scheme the document does not define) and scheme (a scheme the document does not define) and bearerFormat (a scheme the document does not define)
Response
OK
Example response
{
"data": [
{
"device": "/dev/sda1",
"mountpoint": "/home",
"total_bytes": 1099511627776,
"free_bytes": 549755813888,
"used_bytes": 549755813888,
"usage_percent": 50,
"total_inodes": 1000000,
"free_inodes": 500000,
"used_inodes": 500000,
"inodes_usage_percent": 50,
"read_bytes": 1024000,
"write_bytes": 512000,
"read_time": 1000,
"write_time": 500
}
],
"errors": [
{
"metric": [
"cpu.temperature"
]
}
]
}Changes
- info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- info
- warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- warning