I have this from grafana... 100 * (delta(process_c...
# support
m
I have this from grafana... 100 * (delta(process_cpu_time_seconds_total{state='user'}[$__rate_interval])/ignoring(state)(process_cpu_count* 30)) how to make this work in the signoz promql query?
s
There is no variable support for
$__rate_interval
yet.
m
so cant be done?
s
You could work around it by defining the varaible but that's not really a robust way to do it.
m
how to define it as a variable for 5 minutes?
s
You can create a custom type variable with the list of values you want to use. The second type here shows how to do it https://signoz.io/docs/userguide/manage-variables/#supported-variables-types.