Endpoint
/v1/analytics/activity/current
GET
Returns the current sampled IOPS and throughput from the cluster.
Parameters
Name |
Description |
Required |
type |
Filters activity to a specific type. If not specified, all activity is returned.:
* `file-iops-read` - file-iops-read,
* `file-iops-write` - file-iops-write,
* `file-throughput-read` - file-throughput-read,
* `file-throughput-write` - file-throughput-write,
* `metadata-iops-read` - metadata-iops-read,
* `metadata-iops-write` - metadata-iops-write |
No |
Response
Codes
Code |
Description |
200 |
Return value on success |
Schema
{
"description": "api_rates",
"type": "object",
"properties": {
"entries": {
"type": "array",
"items": {
"description": "entries",
"type": "object",
"properties": {
"id": {
"description": "id",
"type": "string"
},
"ip": {
"description": "ip",
"type": "string"
},
"rate": {
"description": "rate",
"type": "number"
},
"type": {
"type": "string",
"enum": [
"file-iops-read",
"file-iops-write",
"metadata-iops-read",
"metadata-iops-write",
"file-throughput-read",
"file-throughput-write"
],
"description": "type:\n * `file-iops-read` - HEAT_OP_TYPE_FILE_IOPS_READ,\n * `file-iops-write` - HEAT_OP_TYPE_FILE_IOPS_WRITE,\n * `file-throughput-read` - HEAT_OP_TYPE_FILE_THROUGHPUT_READ,\n * `file-throughput-write` - HEAT_OP_TYPE_FILE_THROUGHPUT_WRITE,\n * `metadata-iops-read` - HEAT_OP_TYPE_METADATA_IOPS_READ,\n * `metadata-iops-write` - HEAT_OP_TYPE_METADATA_IOPS_WRITE"
}
}
}
}
}
}