[prometheus-users] how to get count of no.of instance

2024-05-24 Thread Sameer Modak
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{

[prometheus-users] Re: what insecure_skip_verify will do

2024-05-24 Thread Sameer Modak
insecure_skip_verify worked for me. I put insecure_skip_verify: false hence it was not working. Thanks brian On Thursday, May 16, 2024 at 8:05:58 PM UTC+5:30 Brian Candler wrote: > Then you did something wrong in your config, but you'll need to show the > config if you want help fixing it. > >

Re: [prometheus-users] how to get count of no.of instance

2024-05-24 Thread Ben Kochie
You can use the `up` metric sum(...) / count(up{job="kafka"}) On Fri, May 24, 2024 at 5:53 PM Sameer Modak wrote: > 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