operator
operator copied to clipboard
api/vmagent: add global sample limit
Relates to https://github.com/VictoriaMetrics/VictoriaMetrics/pull/10168
The sampleLimit defines the maximum number of samples accepted per scrape target, consistent with Prometheus configuration.
Looks good to me. Seems we need to make sure that https://github.com/VictoriaMetrics/VictoriaMetrics/pull/10168 lands in a stable release before we can merge this?
@vrutkovs yes, the order is correct. Firstly https://github.com/VictoriaMetrics/VictoriaMetrics/pull/10168, then operator. Otherwise vmagent will not start if sampleLimit is set