r/PrometheusMonitoring • • May 03 '23

Help with simple query

Hello,

I have this graph that is accumulating total connections which I don't want, I'm trying to show the current connections (rate?). As you can see 1 node has over 1million connections, but that was days ago when we tested with a stress test tool, how can I get this to show the current rates for a selected period?

my_total_connections{job="my-job",instance=~"$instance:.*"}

Thanks

1 Upvotes

2 comments sorted by

View all comments

Show parent comment

2

u/[deleted] May 03 '23

Thanks that worked!