How can I set ymin
and ymax
in a timechart
render?
let resourceGroupName = "my-resource-group-name";
let hosts = Heartbeat | where ResourceGroup == resourceGroupName | summarize by Computer;
Perf
| where ObjectName == "Processor" and CounterName == "% Processor Time" and Computer in (hosts)
| summarize CPU = avg(CounterValue) by bin(TimeGenerated, 5m), Computer
| render timechart with (ymin=0, ymax=100)
I read the docs here and I tried to set it like this, but didn't work:
| render timechart with (ymin=0, ymax=100)