Building a sinusoidal, back from now, using vector
and label_replace
.
round(
8 # <- number of nodes
*
(1-sin(vector((time()-(${__to:date:seconds}))/(3600*10) * pi()))) / 2
)
* on() group_right() (
label_replace(vector(0.0445000) , "spend", "cpu", "", "") * 8 # <- vCPU per node