Example query from REST API:
https://cluster/api/storage/volumes/Volume-UUID/top-metrics/users?top_metric=iops.read&return_records=true&return_timeout=15
Example Response:
{
"_links": {
"next": {
"href": "/api/resourcelink"
},
"self": {
"href": "/api/resourcelink"
}
},
"incomplete_response_reason": {
"code": "111411207",
"message": "Partial data has been returned for this metric report. Reason: The activity tracking report for this volume is not available because the system is busy collecting tracking data."
},
"notice": {
"code": "111411207",
"message": "No read/write traffic on volume."
},
"num_records": 1,
"records": [
{
"iops": {
"error": {
"lower_bound": 10,
"upper_bound": 11
},
"read": 10,
"write": 5
},
"svm": {
"name": "vserver_3",
"uuid": "42ee3002-67dd-11ea-8508-005056a7b8ac"
},
"throughput": {
"error": {
"lower_bound": 2,
"upper_bound": 3
},
"read": 2,
"write": 1
},
"user_id": 1876,
"user_name": "Ryan",
"volume": {
"name": "vol_9",
"uuid": "c05eb66a-685f-11ea-8508-005056a7b8ac"
}
}
]
}
Cant find nothing in Prometheus.