cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to get disk size through API?

AntonioSousa
DynaMight Guru
DynaMight Guru

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?

Antonio Sousa
2 REPLIES 2

Mizső
DynaMight Guru
DynaMight Guru

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ő

Dynatrace Community RockStar 2024, Certified Dynatrace Professional

@Mizső,

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...

Antonio Sousa

Featured Posts