On 2021-06-07 10:36, nina guo wrote:
Autoscaling based on the prometheus metrics load. For example, if during the recent minutes, the metrics is more than 50m, a new prometheus pod will be started.
So you are wanting to autoscale Prometheus itself? That's not normally needed, as the load should be pretty even across instances (assuming some sort of load balancing or dedup process in front that handles queries) as each instance will be scraping the same targets. If the number of targets/time series increases you might need to increase the memory usage (so vertical pod autoscaling of the two instances rather than horizontal pod autoscaling). Similarly for queries it would be more memory you might need mostly rather than additional instances - if you are expecting massive query load maybe something like Thanos might be a good option?
-- Stuart Clark -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/770808202956bbede9a5ebc9f4d85108%40Jahingo.com.

