How to autoscale Nats consumer applications based on prometheus metrics #6479
Unanswered
DarkPhantom-Dev
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all,
I am using provided nats exporter by enabling it in the nats helm chart
I am also using the nats provided grafana charts to see some important metrics from interaction with nats broker.
But i am unsure how do we scale up or down the consuming applications in case of consumer lag or slow consumers? I am planning to use something like KEDA to do autoscaling of pods using grafana metrics.
Lets assume I am producing messages at the rate 500 requests per second , I am unable to see any nats dashboards which show that 500 requests per second is produce rate & what is appropriate consume rate.
Should we log our own metrics if we need this or can we rely on any custom provided metrics to keep a steady produce & consume rate?
Beta Was this translation helpful? Give feedback.
All reactions