Skip to content

Commit

Permalink
fix(rules): upstream recording rule switched to sum_irate (#4217)
Browse files Browse the repository at this point in the history
  • Loading branch information
Duologic authored Sep 9, 2021
1 parent 8872188 commit 236ed18
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1933,7 +1933,7 @@
"steppedLine": false,
"targets": [
{
"expr": "node_namespace_pod_container:container_cpu_usage_seconds_total:sum_rate{cluster=\"$cluster\", namespace=\"$namespace\", pod=~\"distributor.*\"}",
"expr": "node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate{cluster=\"$cluster\", namespace=\"$namespace\", pod=~\"distributor.*\"}",
"intervalFactor": 3,
"legendFormat": "{{pod}}-{{container}}",
"refId": "A"
Expand Down Expand Up @@ -2597,7 +2597,7 @@
"steppedLine": false,
"targets": [
{
"expr": "node_namespace_pod_container:container_cpu_usage_seconds_total:sum_rate{cluster=\"$cluster\", namespace=\"$namespace\", pod=~\"ingester.*\"}",
"expr": "node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate{cluster=\"$cluster\", namespace=\"$namespace\", pod=~\"ingester.*\"}",
"intervalFactor": 3,
"legendFormat": "{{pod}}-{{container}}",
"refId": "A"
Expand Down Expand Up @@ -3543,7 +3543,7 @@
"steppedLine": false,
"targets": [
{
"expr": "node_namespace_pod_container:container_cpu_usage_seconds_total:sum_rate{cluster=\"$cluster\", namespace=\"$namespace\", pod=~\"querier.*\"}",
"expr": "node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate{cluster=\"$cluster\", namespace=\"$namespace\", pod=~\"querier.*\"}",
"intervalFactor": 3,
"legendFormat": "{{pod}}-{{container}}",
"refId": "A"
Expand Down

0 comments on commit 236ed18

Please sign in to comment.