Hello Team,

I want to know the no of instance data sending to prometheus. How do i 
formulate the query .


Basically i have below working query but issues is we have 6  instances 
hence its summing value of all instances. Instead we just need value from 
one instance.
sum(kafka_consumergroup_lag{cluster=~"$cluster",consumergroup=~
"$consumergroup",topic=~"$topic"})by (consumergroup, topic)
I was thinking to divide it / 6 but it has to be variabalise on runtime
if 3 exporters are running then it value/3 to get exact value.

-- 
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/fa5f309f-779f-45f9-b5a0-430b75ff0884n%40googlegroups.com.

Reply via email to