создаешь variable - hostname
делаешь её мультиплай
запрос для неё
select bme.DisplayName from MT_HealthService mths INNER JOIN BaseManagedEntity bme on bme.BaseManagedEntityId = mths.BaseManagedEntityId
дальше панель с графиком
select
$__timeEpoch(TimeSampled),
SampleValue as value,
path as metric
from PerformanceDataAllView pdv with (NOLOCK)
inner join PerformanceCounterView pcv on pdv.performancesourceinternalid = pcv.performancesourceinternalid
inner join BaseManagedEntity bme on pcv.ManagedEntityId = bme.BaseManagedEntityId
where
path in($hostname)
AND objectname = 'Processor Information'
AND countername = '% Processor Time'
and $__timeFilter(TimeSampled)
group by path, TimeSampled, SampleValue
order by timesampled ASC