I am trying to get metrics for a particular template to show when any of the applications in the template are using high memory (and maybe one for high CPU) in a dashboard.
I have found the right table with the metric(s) but it does not have the node name or component (service) name (or short name).
I realize this may require joining tables (or another method) but that is getting above my skill set.
Here is the query I used to see the correct metrics but this table does not have the component name or server name.
SELECT TOP 1000 ComponentID, ApplicationID, Availability, PercentCPU, PercentMemory, PercentVirtualMemory
FROM Orion.APM.CurrentComponentStatus
WHERE ApplicationID = '21743'
AND PercentMemory > '1'
Does anyone know how to do this?
It looks like I can get the component name from "FROM Orion.APM.Component" but that also does not contain the node name.
Thanks for any help