23 Aug 2024 03:57 PM - edited 28 Aug 2024 10:36 AM
Hi
Is it possible to view no. of CPU cores for a host in Dynatrace UI with oneagent installed?
Regards,
Srikanth
Solved! Go to Solution.
23 Aug 2024 06:39 PM
In Properties & Tags you can easily see that information:
28 Aug 2025 06:14 PM
Having this as a metric would be useful
29 Aug 2025 11:54 AM
Hi,
Looks like a nice product idea 🙂
Best regards
29 Aug 2025 06:49 PM
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
29 Aug 2025 07:21 PM
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:
29 Aug 2025 11:25 PM - edited 30 Aug 2025 09:55 AM
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