Hi , 

With topic name I am able to find the servers associated with that topic . 
Now I want to query cpu and memory for those server . I have cpu and 
metrics for those servers . But how to form query . 

Details : 

There are 10 servers say server1 .. server10 . 

Topic is assocated with only server1 .. server5 . I get that detail as  : 

    sum(messagein(topic="topicname"}) by (host)

Now I want to get cpudetails  for those identified hosts (server1 .. 
server5). I tried below query for the scrpas coming from telegraf as : 

cpuidle(sum(messagein(topic="topicname"}) by (host)) this is not working 
can i try something else ?

Thanks 

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to prometheus-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/24b0aee3-db64-4516-9073-5fd43e231a6b%40googlegroups.com.

Reply via email to