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

CPU cores visibility

Hi

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

Regards,

Srikanth

6 REPLIES 6

AntonioSousa
DynaMight Guru
DynaMight Guru

In Properties & Tags you can easily see that information:

AntonioSousa_0-1724434727997.png

 

Antonio Sousa

GilesDay
Advisor

Having this as a metric would be useful

Why do App Developers have high insurance rates? (gnihsarc peek yehT)

Hi,

Looks like a nice product idea 🙂

Best regards

❤️ Emacs ❤️ Vim ❤️ Bash ❤️ Perl

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

Dynatrace Integration Engineer at CodeAttest

@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...
Antonio Sousa

Thanks!

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

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

Dynatrace Integration Engineer at CodeAttest

Featured Posts