22 Mar 2023 12:09 PM
How to fetch total Disk capacity from Dynatrace API calls, is there any other than deriving it from used and free metrics (or free% and free amount metrics)?
Solved! Go to Solution.
22 Mar 2023 12:40 PM
Hi @RituSingh , good day.
Did you tried the Disk Analytics extension? https://www.dynatrace.com/support/help/platform-modules/infrastructure-monitoring/hosts/monitoring/h...
With this extension, you can use the metric com.dynatrace.extension.disk-devices.disk.size that will provides you the total disk capacity.
22 Mar 2023 01:38 PM - edited 22 Mar 2023 01:54 PM
Hi,
You can use API Metrics v2 to get that information.
Disk total = builtin:host.disk.used + builtin:host.disk.avail
Best regards