On 25/01/2021 12:50, Allenzh li wrote:
I want to count the average value of each hour of a metric and I have
created a recording rule as follow:
```
- name: inspection-platform-CVMAndPhysical
interval: 1h
rules:
- record: vm:xxx_cpu_usage:avg1h
expr: avg_over_ti
I want to count the average value of each hour of a metric and I have
created a recording rule as follow:
```
- name: inspection-platform-CVMAndPhysical
interval: 1h
rules:
- record: vm:xxx_cpu_usage:avg1h
expr: avg_over_time(avg by (label1, lable2) (_cpu_usag
2 matches
Mail list logo