Volume Info

Returns a list of information about each connected volume, including volume attributes, capacity, usage, metrics, etc.

Method

GET /volume/info

Options

  • --namespace = <namespace>
  • --vset = <vset>
  • --app_name = <app_name>
  • --sc = <storage_class>

 

Status

Sample Response

200

{  

  "id": "8560f26f-76c8-473f-98c9-b76c6272e285",  

  "name": "pvc-0ba650ef-7ce0-4d27-b4c9-72dccc082cb5",  

  "vset": "1",  

  "namespace": "vizion",  

  "storage_class": "csi-ext4-sc-vset1",  

  "pod_name": "es-cold-data-1-0",  

  "app_name": "es-cold-data-1",  

  "kind": "StatefulSet",  

  "pv": "pvc-0ba650ef-7ce0-4d27-b4c9-72dccc082cb5",  

  "connect_dpl": "servicedpl-1-1-2",  

  "pvc": "es-data-store-es-cold-data-1-0",  

  "last_update_time": 1600408800,  

  "usage": 2190589800448,  

  "capacity": 21902594568192,  

  "Metrics": {  

    "tps": 56.11,  

    "read_second": 0.19,  

    "write_second": 430.82,  

    "read": 34832500,  

    "write": 15277,  

    "await": 743.37,  

    "read_wait": 66.34,  

    "write_wait": 743.58  

  }  

}