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.
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.
You can use API Metrics v2 to get that information.
Disk total = builtin:host.disk.used + builtin:host.disk.avail