Skip to content

Commit

Permalink
chore(dashboards): fix metrics dashboards not right
Browse files Browse the repository at this point in the history
  • Loading branch information
davidgomesdev committed Dec 23, 2023
1 parent d4ca0ba commit 6d5c7c5
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions server/docker/grafana-dashboards/metrics.json
Original file line number Diff line number Diff line change
Expand Up @@ -266,8 +266,8 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "builder",
"expr": "rate(scheduled_duration_sum{task=\"$task\"}[$__rate_interval])",
"editorMode": "code",
"expr": "rate(scheduled_duration_sum{task=\"$task\"}[2m]) / rate(scheduled_duration_count{task=\"$task\"}[2m])",
"hide": false,
"legendFormat": "__auto",
"range": true,
Expand Down Expand Up @@ -404,8 +404,8 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "builder",
"expr": "rate(poll_duration_sum{task=\"$task\"}[$__rate_interval])",
"editorMode": "code",
"expr": "rate(poll_duration_sum{task=\"$task\"}[2m]) / rate(poll_duration_count{task=\"$task\"}[2m])\n",
"legendFormat": "__auto",
"range": true,
"refId": "A"
Expand Down Expand Up @@ -543,8 +543,8 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "builder",
"expr": "rate(idle_duration_sum{task=\"$task\"}[$__rate_interval])",
"editorMode": "code",
"expr": "rate(idle_duration_sum{task=\"$task\"}[2m]) / rate(idle_duration_count{task=\"$task\"}[2m])",
"legendFormat": "__auto",
"range": true,
"refId": "A"
Expand Down Expand Up @@ -611,13 +611,13 @@
"current": {
"selected": true,
"text": [
"controllers_list",
"controller_update",
"controllers_list",
"effects_update"
],
"value": [
"controllers_list",
"controller_update",
"controllers_list",
"effects_update"
]
},
Expand Down Expand Up @@ -656,13 +656,13 @@
]
},
"time": {
"from": "now-5m",
"from": "now-15m",
"to": "now"
},
"timepicker": {},
"timezone": "",
"title": "Metrics",
"uid": "TrD1CkZgk",
"version": 38,
"version": 41,
"weekStart": ""
}

0 comments on commit 6d5c7c5

Please sign in to comment.