Ensure Promtheus step interval is always < 11000
Using a 2 week window (1209600 seconds) and a 60s step, Math.floor() recalculates a step of 109 and results in 11097 data points in the Prometheus query (> the 11000 max set by Prometheus). Math.ceil() returns a step of 110 and 10996 data points.
Showing
Please
register
or
sign in
to comment