On Monday, 20 April 2020 07:25:10 UTC+1, Marek Fiala wrote:
>
> This is my load expression: 
> avg(node_load1) / count(count(node_cpu_seconds_total) by (cpu)) * 100
>
> I'm not sure, how to convert it to range vector.
>
>
Use a subquery 
<https://prometheus.io/docs/prometheus/latest/querying/basics/#subquery>.  
It looks almost like a range vector, but add [10m:] instead of [10m]. Wrap 
your expression in parentheses first.

-- 
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/4ff5ebca-6d83-4236-9a33-e82d4ce59448%40googlegroups.com.

Reply via email to