Skip to content

Commit

Permalink
Fix goclient request dashboard and add allocator to the drill down; C…
Browse files Browse the repository at this point in the history
…hange goclient workqueue dashboard y axis unit (#3240)

* Fix goclient request dashboard; change goclient workqueue dashboard y axis

* fix
  • Loading branch information
gongmax authored Jun 29, 2023
1 parent 3f1d804 commit 05ab9ca
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
16 changes: 9 additions & 7 deletions build/grafana/dashboard-goclient-requests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ data:
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "prometheus"
"datasource": null,
"fill": 1,
"fillGradient": 0,
"gridPos": {
Expand Down Expand Up @@ -95,7 +95,6 @@ data:
"steppedLine": false,
"targets": [
{
"datasource": "prometheus"
"editorMode": "code",
"expr": "rate(agones_k8s_client_http_request_total{$DevRole}[5m])",
"format": "time_series",
Expand Down Expand Up @@ -142,7 +141,7 @@ data:
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "prometheus"
"datasource": null,
"fill": 1,
"fillGradient": 0,
"gridPos": {
Expand Down Expand Up @@ -184,7 +183,6 @@ data:
"steppedLine": false,
"targets": [
{
"datasource": "prometheus"
"editorMode": "code",
"expr": "sum(rate(agones_k8s_client_http_request_duration_seconds_count{$DevRole}[5m])) by (endpoint,verb)",
"format": "time_series",
Expand Down Expand Up @@ -231,7 +229,7 @@ data:
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "prometheus"
"datasource": null,
"fill": 1,
"fillGradient": 0,
"gridPos": {
Expand Down Expand Up @@ -273,7 +271,6 @@ data:
"steppedLine": false,
"targets": [
{
"datasource": "prometheus"
"editorMode": "code",
"expr": "sum(rate(agones_k8s_client_http_request_duration_seconds_sum{$DevRole}[5m]) / rate(agones_k8s_client_http_request_duration_seconds_count{$DevRole}[5m])) by (endpoint,verb)",
"format": "time_series",
Expand Down Expand Up @@ -349,13 +346,18 @@ data:
"text": "controller",
"value": "agones_dev_role=\"controller\""
},
{
"selected": false,
"text": "allocator",
"value": "multicluster_agones_dev_role=\"allocator\""
},
{
"selected": false,
"text": "extensions",
"value": "agones_dev_role=\"extensions\""
}
],
"query": "controller : agones_dev_role=\"controller\", extensions : agones_dev_role=\"extensions\"",
"query": "controller : agones_dev_role=\"controller\", allocator : multicluster_agones_dev_role=\"allocator\", extensions : agones_dev_role=\"extensions\"",
"queryValue": "",
"skipUrlSync": false,
"type": "custom"
Expand Down
4 changes: 2 additions & 2 deletions build/grafana/dashboard-goclient-workqueues.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ data:
},
"yaxes": [
{
"format": "dtdurations",
"format": "s",
"label": null,
"logBase": 1,
"max": null,
Expand Down Expand Up @@ -452,7 +452,7 @@ data:
},
"yaxes": [
{
"format": "dtdurations",
"format": "s",
"label": null,
"logBase": 1,
"max": null,
Expand Down

0 comments on commit 05ab9ca

Please sign in to comment.