We currently use Dynatrace Managed and I would like to get with API v2 the number of CPU or cores configured for each of our hosts (Virtual or Physical standalone servers running windows or Linux).
I can't find any MetricId in the API V2 list that suit my need.
I could find the right MetricId for host configured memory (builtin:containers.memory.physicalTotalBytes) but not for host number of Virtual CPU(Or Cores) configured : does anyone found the right metricID ?
Thanks for your help.
Solved! Go to Solution.
Yes that's running perfect ! I could get the number of cores and many other usefull informations.
By the way, one extra question ! in the json answer fle, physical memory size is not exactly an Mb or Gb multiple.
Our server has 32Gb RAM, but in the json file we have find :
And so 33512501248 / (1024 * 1024 *1024) = 31,2109 ....
I Stay confused