Describe the solution you'd like
I want to get the value of the computed expression through Prometheus' API。
pc.get_metric_range_data(metric_name=train_data[0].metric_name ....)
Can I make metric_name = (1- sum(increase(node_cpu_seconds_total{mode='idle',instance='172.29.3.13:9101'}[2m])) by (instance)/sum(increase(node_cpu_seconds_total{instance='172.29.3.13:9101'}[2m])) by (instance)) *100
The calculated metrics
Additional context


Describe the solution you'd like
I want to get the value of the computed expression through Prometheus' API。
pc.get_metric_range_data(metric_name=train_data[0].metric_name ....)
Can I make metric_name = (1- sum(increase(node_cpu_seconds_total{mode='idle',instance='172.29.3.13:9101'}[2m])) by (instance)/sum(increase(node_cpu_seconds_total{instance='172.29.3.13:9101'}[2m])) by (instance)) *100
The calculated metrics
Additional context