CPU cores visibility

Hi

Is it possible to view no. of CPU cores for a host in Dynatrace UI with oneagent installed?

Regards,

Srikanth

In Properties & Tags you can easily see that information:

Having this as a metric would be useful

Hi,

Looks like a nice product idea đꙂ

Best regards

Hi,

I’m curious what will this metric show? Some kind of changes of the cpu cores in time, or? Can’t we make a custom metric via DQL timeseries?  - we have fetch “dt.entity.host” with column cpuCores?

Thanks!

Regards, Deni

@deni

Not a fan of getting metrics that will almost always show the same value. But a couple of cases I’ve seen in the past come to mind:

  • You’ve got a system that suddenly spikes from 25% to 50%. It was shown that the number of CPUs dropped from 4 to 2, and one process was stuck.
  • Everyone praised that a process had been made more efficient. But then we proved that the system had more cores…

Thanks!

That makes sense — I was assuming the values in the time series would always be the same :slightly_smiling_face:.

I’m still learning the details of DQL (actually, the Community is where I learn the most — that’s why I keep checking other questions and searching for clarifications). But isn’t it possible to create a time series directly from something like this?

fetch dt.entity.host
| fields id, cpuCores
| filter isNotNull(cpuCores)

I couldn’t get it to work yet, and I still don’t fully understand how | makeTimeseries works. But I was imagining something like:

fetch dt.entity.host
| fields id, cpuCores
| filter isNotNull(cpuCores)
| makeTimeseries sum(cpuCores), by: {id}, time: now()

Thanks again!

Regards, Deni

This isnt available in DT Managed.