20 Nov 2022 06:37 PM - last edited on 21 Nov 2022 08:02 AM by MaciejNeumann
I have tried to find a way to get a disk size through the API. It's not there at the entity level, nor there seems to be a metric for that. We could calculate it from used + freed space, but I believe that would give way to undesired fluctuations. Anyone got an idea for obtaining this information?
Solved! Go to Solution.
22 Nov 2022 02:42 PM
Hi Antonio,
After your post I also tried it without success. It is strange. I can't imagine that dynatrace combine the used and available disk metrics in order to sum up the disk total on the host view...
Best regards,
Mizső
22 Nov 2022 07:15 PM - edited 22 Nov 2022 07:21 PM
I had a doubt if this was meta-data or another time series. Now that I have debugged how Dynatrace does it in the UI, it's clear to me that it is a timeseries.
I'm going to put out a Product Request for exposing this time-series, as the data is there...
PS: Put it in at: https://community.dynatrace.com/t5/Dynatrace-product-ideas/Expose-diskSpaceTotal-through-API-metrics...