/reports/data/kpis
Generates a Key Performance Indicator (KPI) report.
Request
GET http://unravel-host
:3000/api/v1/reports/data/kpis?numDays=num-days
Path parameters
None.
Query parameters
Required parameters are highlighted
.
Name | Type | Description |
---|---|---|
| integer | Number of days to include. |
Response body
Name | Type | Description |
---|---|---|
| integer | Start time in Unix epoch format. |
| integer | End time in Unix epoch format. |
| integer | Number of tables accessed. |
| integer | Number of partitions accessed. |
| integer | Number of queries accessing the table. |
| integer | Total Read I/O due to accessing the tables. |
| integer | Number of tables created. |
| integer | Number of partitions created. |
| integer | Size of tables created. |
| integer | Size of partitions created. |
| integer | Total number of tables in the system. |
| integer | Total number of partitions in the system. |
| integer | |
| integer | |
| integer | |
| integer | |
| integer | |
| integer | |
| integer | |
| integer | |
| integer | |
| array | Comma-separated list of users. |
Examples
Request:
curl -X GET "http://myserver.com:3000/api/v1/reports/data/kpis?numDays=1" -H "accept: application/json" -H "Authorization: JWT token
"
Response:
[ { "st": 1536795705, "et": 1536882105, "nlaTb": 15, "nlaPr": 0, "nlaQr": 57, "nlaRi": 101489411821, "nlcTb": 7, "nlcPr": 0, "nlcTz": 304768890, "nlcPz": 0, "ntoTb": 378, "ntoPr": 30061, "nhtTb": 19, "nwaTb": 0, "ncoTb": 359, "nhtPr": 1823, "nwaPr": 0, "ncoPr": 28238, "rp": 30061, "rs": 92544293666, "fs": 92544293666, "users": [ "root", "hdfs" ] } ]