06 Aug 2024 05:10 PM - last edited on 20 Aug 2024 08:03 AM by MaciejNeumann
Hi,
I am using the below metric API
r = requests.get('https://xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/api/v2/metrics/query', verify=False, headers=headers, params=payload)
"metricSelector": "builtin:host.disk.used" .
This API returns the disk used values in 3159478272 format. What is this format how to convert this values to GB ??
How to do memory prediction without using davis?
Solved! Go to Solution.
06 Aug 2024 05:56 PM
Hi @geet28 The metric builtin:host.disk.used measure the amount of used space in file system in bytes. 1 GB = 1073741824 B
06 Aug 2024 06:00 PM
for conversion just divide the result: 3159478272/1073741824= 2.94GB