agones.dev/agones@v1.53.0/build/grafana/dashboard-gameservers.yaml (about)

     1  ---
     2  # Copyright 2018 Google LLC All Rights Reserved.
     3  #
     4  # Licensed under the Apache License, Version 2.0 (the "License");
     5  # you may not use this file except in compliance with the License.
     6  # You may obtain a copy of the License at
     7  #
     8  #     http://www.apache.org/licenses/LICENSE-2.0
     9  #
    10  # Unless required by applicable law or agreed to in writing, software
    11  # distributed under the License is distributed on an "AS IS" BASIS,
    12  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    13  # See the License for the specific language governing permissions and
    14  # limitations under the License.
    15  
    16  # configs map used by grafana
    17  apiVersion: v1
    18  kind: ConfigMap
    19  metadata:
    20    name: agones-gameservers
    21    namespace: metrics
    22    labels:
    23      grafana_dashboard: '1'
    24  data:
    25    dashboard-agones-gameservers.json: |-
    26      {
    27        "annotations": {
    28          "list": [
    29            {
    30              "$$hashKey": "object:261",
    31              "builtIn": 1,
    32              "datasource": {
    33                "type": "datasource",
    34                "uid": "grafana"
    35              },
    36              "enable": true,
    37              "hide": true,
    38              "iconColor": "rgba(0, 211, 255, 1)",
    39              "name": "Annotations & Alerts",
    40              "type": "dashboard"
    41            }
    42          ]
    43        },
    44        "description": "",
    45        "editable": true,
    46        "fiscalYearStartMonth": 0,
    47        "graphTooltip": 0,
    48        "links": [],
    49        "panels": [
    50          {
    51            "gridPos": {
    52              "h": 6,
    53              "w": 5,
    54              "x": 0,
    55              "y": 0
    56            },
    57            "datasource": {
    58              "type": "prometheus",
    59              "uid": "PBFA97CFB590B2093"
    60            },
    61            "targets": [
    62              {
    63                "expr": "sum(agones_fleet_rollout_percent{name=~\"$fleet\", namespace=~\"$namespace\", type=\"current_replicas\"}) / sum(agones_fleet_rollout_percent{name=~\"$fleet\", namespace=~\"$namespace\", type=\"desired_replicas\"}) * 100",
    64                "format": "time_series",
    65                "interval": "",
    66                "intervalFactor": 1,
    67                "legendFormat": "{{type}}",
    68                "refId": "A"
    69              }
    70            ],
    71            "options": {
    72              "reduceOptions": {
    73                "calcs": ["lastNotNull"],
    74                "fields": "",
    75                "values": true
    76              },
    77              "orientation": "horizontal",
    78              "textMode": "value",
    79              "colorMode": "value",
    80              "valueMappings": []
    81            },
    82            "fieldConfig": {
    83              "defaults": {
    84               "color": {
    85                  "mode": "thresholds"
    86                },
    87                "custom": {},
    88                 "thresholds": {
    89                  "mode": "percentage",
    90                  "steps": [
    91                    {
    92                      "color": "dark-red",
    93                      "value": null
    94                    },
    95                    {
    96                      "color": "dark-orange",
    97                      "value": 20
    98                    },
    99                    {
   100                      "color": "dark-green",
   101                      "value": 50
   102                    }
   103                  ]
   104                },
   105                "unit": "percent",
   106                "links": []
   107              },
   108              "overrides": []
   109            },
   110            "legend": {
   111              "show": false
   112            },
   113            "timeShift": null,
   114            "nullPointMode": "null",
   115            "options": {
   116              "showThresholdLabels": false,
   117              "showThresholdMarkers": true
   118            },
   119            "tooltip": {
   120              "shared": false,
   121              "value_type": "individual"
   122            },
   123            "type": "stat",
   124            "title": "Fleet RollOut Percentage"
   125          },
   126          {
   127            "aliasColors": {},
   128            "breakPoint": "50%",
   129            "cacheTimeout": null,
   130            "combine": {
   131              "label": "Others",
   132              "threshold": 0
   133            },
   134            "fieldConfig": {
   135              "defaults": {
   136                "color": {
   137                  "mode": "palette-classic"
   138                },
   139                "custom": {
   140                  "hideFrom": {
   141                    "legend": false,
   142                    "tooltip": false,
   143                    "viz": false
   144                  }
   145                },
   146                "decimals": 0,
   147                "mappings": [],
   148                "unit": "short"
   149              },
   150              "overrides": []
   151            },
   152            "gridPos": {
   153              "h": 6,
   154              "w": 5,
   155              "x": 5,
   156              "y": 0
   157            },
   158            "id": 4,
   159            "options": {
   160              "legend": {
   161                "calcs": [],
   162                "displayMode": "table",
   163                "placement": "bottom",
   164                "showLegend": true,
   165                "values": [
   166                  "value"
   167                ]
   168              },
   169              "pieType": "pie",
   170              "reduceOptions": {
   171                "calcs": [
   172                  "lastNotNull"
   173                ],
   174                "fields": "",
   175                "values": false
   176              },
   177              "tooltip": {
   178                "maxHeight": 600,
   179                "mode": "single",
   180                "sort": "none"
   181              }
   182            },
   183            "targets": [
   184              {
   185                "datasource": {
   186                  "type": "prometheus",
   187                  "uid": "PBFA97CFB590B2093"
   188                },
   189                "expr": "sum(agones_gameservers_count{fleet_name=~\"$fleet\", namespace=~\"$namespace\"}) by (type)",
   190                "format": "time_series",
   191                "hide": false,
   192                "instant": true,
   193                "interval": "",
   194                "intervalFactor": 1,
   195                "legendFormat": "{{type}}",
   196                "refId": "A"
   197              }
   198            ],
   199            "title": "GameServers count per type",
   200            "type": "piechart"
   201          },
   202          {
   203            "datasource": {
   204              "type": "prometheus",
   205              "uid": "PBFA97CFB590B2093"
   206            },
   207            "fieldConfig": {
   208              "defaults": {
   209                "color": {
   210                  "mode": "palette-classic"
   211                },
   212                "custom": {
   213                  "axisBorderShow": false,
   214                  "axisCenteredZero": false,
   215                  "axisColorMode": "text",
   216                  "axisLabel": "",
   217                  "axisPlacement": "auto",
   218                  "barAlignment": 0,
   219                  "drawStyle": "line",
   220                  "fillOpacity": 10,
   221                  "gradientMode": "none",
   222                  "hideFrom": {
   223                    "legend": false,
   224                    "tooltip": false,
   225                    "viz": false
   226                  },
   227                  "insertNulls": false,
   228                  "lineInterpolation": "linear",
   229                  "lineWidth": 1,
   230                  "pointSize": 5,
   231                  "scaleDistribution": {
   232                    "type": "linear"
   233                  },
   234                  "showPoints": "never",
   235                  "spanNulls": false,
   236                  "stacking": {
   237                    "group": "A",
   238                    "mode": "none"
   239                  },
   240                  "thresholdsStyle": {
   241                    "mode": "off"
   242                  }
   243                },
   244                "links": [],
   245                "mappings": [],
   246                "thresholds": {
   247                  "mode": "absolute",
   248                  "steps": [
   249                    {
   250                      "color": "green",
   251                      "value": null
   252                    },
   253                    {
   254                      "color": "red",
   255                      "value": 80
   256                    }
   257                  ]
   258                },
   259                "unit": "short"
   260              },
   261              "overrides": [
   262                {
   263                  "matcher": {
   264                    "id": "byValue",
   265                    "options": {
   266                      "op": "gte",
   267                      "reducer": "allIsZero",
   268                      "value": 0
   269                    }
   270                  },
   271                  "properties": [
   272                    {
   273                      "id": "custom.hideFrom",
   274                      "value": {
   275                        "legend": true,
   276                        "tooltip": true,
   277                        "viz": false
   278                      }
   279                    }
   280                  ]
   281                },
   282                {
   283                  "matcher": {
   284                    "id": "byValue",
   285                    "options": {
   286                      "op": "gte",
   287                      "reducer": "allIsNull",
   288                      "value": 0
   289                    }
   290                  },
   291                  "properties": [
   292                    {
   293                      "id": "custom.hideFrom",
   294                      "value": {
   295                        "legend": true,
   296                        "tooltip": true,
   297                        "viz": false
   298                      }
   299                    }
   300                  ]
   301                }
   302              ]
   303            },
   304            "gridPos": {
   305              "h": 6,
   306              "w": 14,
   307              "x": 10,
   308              "y": 0
   309            },
   310            "id": 2,
   311            "options": {
   312              "legend": {
   313                "calcs": [
   314                  "mean",
   315                  "lastNotNull"
   316                ],
   317                "displayMode": "table",
   318                "placement": "right",
   319                "showLegend": true
   320              },
   321              "tooltip": {
   322                "maxHeight": 600,
   323                "mode": "multi",
   324                "sort": "none"
   325              }
   326            },
   327            "targets": [
   328              {
   329                "datasource": {
   330                  "type": "prometheus",
   331                  "uid": "PBFA97CFB590B2093"
   332                },
   333                "expr": "sum(rate(agones_gameservers_total{fleet_name=~\"$fleet\", namespace=~\"$namespace\"}[$interval])) by (type)",
   334                "format": "time_series",
   335                "interval": "",
   336                "intervalFactor": 1,
   337                "legendFormat": "{{type}}",
   338                "refId": "A"
   339              }
   340            ],
   341            "title": "GameServers rate per type",
   342            "type": "timeseries"
   343          },
   344          {
   345            "datasource": {
   346              "type": "prometheus",
   347              "uid": "PBFA97CFB590B2093"
   348            },
   349            "fieldConfig": {
   350              "defaults": {
   351                "color": {
   352                  "mode": "palette-classic"
   353                },
   354                "custom": {
   355                  "axisBorderShow": false,
   356                  "axisCenteredZero": false,
   357                  "axisColorMode": "text",
   358                  "axisLabel": "",
   359                  "axisPlacement": "auto",
   360                  "barAlignment": 0,
   361                  "drawStyle": "line",
   362                  "fillOpacity": 100,
   363                  "gradientMode": "none",
   364                  "hideFrom": {
   365                    "legend": false,
   366                    "tooltip": false,
   367                    "viz": false
   368                  },
   369                  "insertNulls": false,
   370                  "lineInterpolation": "linear",
   371                  "lineWidth": 1,
   372                  "pointSize": 5,
   373                  "scaleDistribution": {
   374                    "type": "linear"
   375                  },
   376                  "showPoints": "never",
   377                  "spanNulls": false,
   378                  "stacking": {
   379                    "group": "A",
   380                    "mode": "normal"
   381                  },
   382                  "thresholdsStyle": {
   383                    "mode": "off"
   384                  }
   385                },
   386                "links": [],
   387                "mappings": [],
   388                "thresholds": {
   389                  "mode": "absolute",
   390                  "steps": [
   391                    {
   392                      "color": "green",
   393                      "value": null
   394                    },
   395                    {
   396                      "color": "red",
   397                      "value": 80
   398                    }
   399                  ]
   400                },
   401                "unit": "short"
   402              },
   403              "overrides": [
   404                {
   405                  "matcher": {
   406                    "id": "byValue",
   407                    "options": {
   408                      "op": "gte",
   409                      "reducer": "allIsZero",
   410                      "value": 0
   411                    }
   412                  },
   413                  "properties": [
   414                    {
   415                      "id": "custom.hideFrom",
   416                      "value": {
   417                        "legend": true,
   418                        "tooltip": true,
   419                        "viz": false
   420                      }
   421                    }
   422                  ]
   423                },
   424                {
   425                  "matcher": {
   426                    "id": "byValue",
   427                    "options": {
   428                      "op": "gte",
   429                      "reducer": "allIsNull",
   430                      "value": 0
   431                    }
   432                  },
   433                  "properties": [
   434                    {
   435                      "id": "custom.hideFrom",
   436                      "value": {
   437                        "legend": true,
   438                        "tooltip": true,
   439                        "viz": false
   440                      }
   441                    }
   442                  ]
   443                }
   444              ]
   445            },
   446            "gridPos": {
   447              "h": 7,
   448              "w": 12,
   449              "x": 0,
   450              "y": 6
   451            },
   452            "id": 7,
   453            "options": {
   454              "legend": {
   455                "calcs": [
   456                  "mean",
   457                  "lastNotNull"
   458                ],
   459                "displayMode": "table",
   460                "placement": "right",
   461                "showLegend": true
   462              },
   463              "tooltip": {
   464                "maxHeight": 600,
   465                "mode": "multi",
   466                "sort": "none"
   467              }
   468            },
   469            "targets": [
   470              {
   471                "datasource": {
   472                  "type": "prometheus",
   473                  "uid": "PBFA97CFB590B2093"
   474                },
   475                "expr": "sum(agones_gameservers_count{fleet_name=~\"$fleet\", namespace=~\"$namespace\"}) by (type)",
   476                "format": "time_series",
   477                "interval": "",
   478                "intervalFactor": 1,
   479                "legendFormat": "{{type}}",
   480                "refId": "A"
   481              }
   482            ],
   483            "thresholds": [],
   484            "timeFrom": null,
   485            "timeRegions": [],
   486            "timeShift": null,
   487            "title": "GameServer count overview",
   488            "tooltip": {
   489              "shared": true,
   490              "sort": 0,
   491              "value_type": "individual"
   492            },
   493            "type": "graph",
   494            "xaxis": {
   495              "buckets": null,
   496              "mode": "time",
   497              "name": null,
   498              "show": true,
   499              "values": []
   500            },
   501            "yaxes": [
   502              {
   503                "format": "short",
   504                "label": null,
   505                "logBase": 1,
   506                "max": null,
   507                "min": null,
   508                "show": true
   509              },
   510              {
   511                "format": "short",
   512                "label": null,
   513                "logBase": 1,
   514                "max": null,
   515                "min": null,
   516                "show": true
   517              }
   518            ],
   519            "yaxis": {
   520              "align": false,
   521              "alignLevel": null
   522            }
   523          },
   524          {
   525            "datasource": {
   526              "type": "prometheus",
   527              "uid": "PBFA97CFB590B2093"
   528            },
   529            "fieldConfig": {
   530              "defaults": {
   531                "color": {
   532                  "mode": "palette-classic"
   533                },
   534                "custom": {
   535                  "axisBorderShow": false,
   536                  "axisCenteredZero": false,
   537                  "axisColorMode": "text",
   538                  "axisLabel": "",
   539                  "axisPlacement": "auto",
   540                  "barAlignment": 0,
   541                  "drawStyle": "line",
   542                  "fillOpacity": 10,
   543                  "gradientMode": "none",
   544                  "hideFrom": {
   545                    "legend": false,
   546                    "tooltip": false,
   547                    "viz": false
   548                  },
   549                  "insertNulls": false,
   550                  "lineInterpolation": "linear",
   551                  "lineWidth": 1,
   552                  "pointSize": 5,
   553                  "scaleDistribution": {
   554                    "type": "linear"
   555                  },
   556                  "showPoints": "never",
   557                  "spanNulls": false,
   558                  "stacking": {
   559                    "group": "A",
   560                    "mode": "none"
   561                  },
   562                  "thresholdsStyle": {
   563                    "mode": "off"
   564                  }
   565                },
   566                "links": [],
   567                "mappings": [],
   568                "thresholds": {
   569                  "mode": "absolute",
   570                  "steps": [
   571                    {
   572                      "color": "green",
   573                      "value": null
   574                    },
   575                    {
   576                      "color": "red",
   577                      "value": 80
   578                    }
   579                  ]
   580                },
   581                "unit": "short"
   582              },
   583              "overrides": [
   584                {
   585                  "matcher": {
   586                    "id": "byName",
   587                    "options": "allocated"
   588                  },
   589                  "properties": [
   590                    {
   591                      "id": "color",
   592                      "value": {
   593                        "fixedColor": "#511749",
   594                        "mode": "fixed"
   595                      }
   596                    }
   597                  ]
   598                },
   599                {
   600                  "matcher": {
   601                    "id": "byName",
   602                    "options": "desired"
   603                  },
   604                  "properties": [
   605                    {
   606                      "id": "color",
   607                      "value": {
   608                        "fixedColor": "#ef843c",
   609                        "mode": "fixed"
   610                      }
   611                    }
   612                  ]
   613                },
   614                {
   615                  "matcher": {
   616                    "id": "byName",
   617                    "options": "ready"
   618                  },
   619                  "properties": [
   620                    {
   621                      "id": "color",
   622                      "value": {
   623                        "fixedColor": "#3f6833",
   624                        "mode": "fixed"
   625                      }
   626                    }
   627                  ]
   628                },
   629                {
   630                  "matcher": {
   631                    "id": "byName",
   632                    "options": "total"
   633                  },
   634                  "properties": [
   635                    {
   636                      "id": "color",
   637                      "value": {
   638                        "fixedColor": "#0a50a1",
   639                        "mode": "fixed"
   640                      }
   641                    }
   642                  ]
   643                }
   644              ]
   645            },
   646            "gridPos": {
   647              "h": 7,
   648              "w": 12,
   649              "x": 12,
   650              "y": 6
   651            },
   652            "id": 9,
   653            "options": {
   654              "legend": {
   655                "calcs": [
   656                  "mean",
   657                  "lastNotNull"
   658                ],
   659                "displayMode": "table",
   660                "placement": "right",
   661                "showLegend": true
   662              },
   663              "tooltip": {
   664                "maxHeight": 600,
   665                "mode": "multi",
   666                "sort": "none"
   667              }
   668            },
   669            "targets": [
   670              {
   671                "datasource": {
   672                  "type": "prometheus",
   673                  "uid": "PBFA97CFB590B2093"
   674                },
   675                "expr": "sum(agones_fleets_replicas_count{name=~\"$fleet\", namespace=~\"$namespace\"}) by (type)",
   676                "format": "time_series",
   677                "interval": "",
   678                "intervalFactor": 1,
   679                "legendFormat": "{{type}}",
   680                "refId": "A"
   681              }
   682            ],
   683            "title": "Fleet Replicas Count",
   684            "type": "timeseries"
   685          },
   686          {
   687            "datasource": {
   688              "type": "prometheus",
   689              "uid": "PBFA97CFB590B2093"
   690            },
   691            "fieldConfig": {
   692              "defaults": {
   693                "color": {
   694                  "mode": "palette-classic"
   695                },
   696                "custom": {
   697                  "axisBorderShow": false,
   698                  "axisCenteredZero": false,
   699                  "axisColorMode": "text",
   700                  "axisLabel": "",
   701                  "axisPlacement": "auto",
   702                  "barAlignment": 0,
   703                  "drawStyle": "line",
   704                  "fillOpacity": 10,
   705                  "gradientMode": "none",
   706                  "hideFrom": {
   707                    "legend": false,
   708                    "tooltip": false,
   709                    "viz": false
   710                  },
   711                  "insertNulls": false,
   712                  "lineInterpolation": "linear",
   713                  "lineWidth": 1,
   714                  "pointSize": 5,
   715                  "scaleDistribution": {
   716                    "type": "linear"
   717                  },
   718                  "showPoints": "never",
   719                  "spanNulls": false,
   720                  "stacking": {
   721                    "group": "A",
   722                    "mode": "none"
   723                  },
   724                  "thresholdsStyle": {
   725                    "mode": "off"
   726                  }
   727                },
   728                "links": [],
   729                "mappings": [],
   730                "thresholds": {
   731                  "mode": "absolute",
   732                  "steps": [
   733                    {
   734                      "color": "green",
   735                      "value": null
   736                    },
   737                    {
   738                      "color": "red",
   739                      "value": 80
   740                    }
   741                  ]
   742                },
   743                "unit": "short"
   744              },
   745              "overrides": []
   746            },
   747            "gridPos": {
   748              "h": 7,
   749              "w": 11,
   750              "x": 0,
   751              "y": 13
   752            },
   753            "id": 12,
   754            "options": {
   755              "legend": {
   756                "calcs": [
   757                  "lastNotNull"
   758                ],
   759                "displayMode": "table",
   760                "placement": "right",
   761                "showLegend": true
   762              },
   763              "tooltip": {
   764                "maxHeight": 600,
   765                "mode": "multi",
   766                "sort": "none"
   767              }
   768            },
   769            "targets": [
   770              {
   771                "datasource": {
   772                  "type": "prometheus",
   773                  "uid": "PBFA97CFB590B2093"
   774                },
   775                "expr": "histogram_quantile(1, sum(rate(agones_gameservers_node_count_bucket[1m])) by (le))",
   776                "format": "time_series",
   777                "intervalFactor": 1,
   778                "legendFormat": "max",
   779                "refId": "F"
   780              },
   781              {
   782                "datasource": {
   783                  "type": "prometheus",
   784                  "uid": "PBFA97CFB590B2093"
   785                },
   786                "expr": "histogram_quantile(0.99, sum(rate(agones_gameservers_node_count_bucket[1m])) by (le))",
   787                "format": "time_series",
   788                "intervalFactor": 1,
   789                "legendFormat": "99th",
   790                "refId": "A"
   791              },
   792              {
   793                "datasource": {
   794                  "type": "prometheus",
   795                  "uid": "PBFA97CFB590B2093"
   796                },
   797                "expr": "histogram_quantile(0.90, sum(rate(agones_gameservers_node_count_bucket[1m])) by (le))",
   798                "format": "time_series",
   799                "intervalFactor": 1,
   800                "legendFormat": "90th",
   801                "refId": "B"
   802              },
   803              {
   804                "datasource": {
   805                  "type": "prometheus",
   806                  "uid": "PBFA97CFB590B2093"
   807                },
   808                "expr": "histogram_quantile(0.50, sum(rate(agones_gameservers_node_count_bucket[1m])) by (le))",
   809                "format": "time_series",
   810                "intervalFactor": 1,
   811                "legendFormat": "50th",
   812                "refId": "C"
   813              },
   814              {
   815                "datasource": {
   816                  "type": "prometheus",
   817                  "uid": "PBFA97CFB590B2093"
   818                },
   819                "expr": "histogram_quantile(0, sum(rate(agones_gameservers_node_count_bucket[1m])) by (le))",
   820                "format": "time_series",
   821                "intervalFactor": 1,
   822                "legendFormat": "min",
   823                "refId": "E"
   824              },
   825              {
   826                "datasource": {
   827                  "type": "prometheus",
   828                  "uid": "PBFA97CFB590B2093"
   829                },
   830                "expr": "avg(delta(agones_gameservers_node_count_sum[1m]) / delta(agones_gameservers_node_count_count[1m]))",
   831                "format": "time_series",
   832                "interval": "",
   833                "intervalFactor": 1,
   834                "legendFormat": "avg",
   835                "refId": "D"
   836              }
   837            ],
   838            "title": "GameServers per node",
   839            "type": "timeseries"
   840          },
   841          {
   842            "datasource": {
   843              "type": "prometheus",
   844              "uid": "PBFA97CFB590B2093"
   845            },
   846            "fieldConfig": {
   847              "defaults": {
   848                "color": {
   849                  "mode": "palette-classic"
   850                },
   851                "custom": {
   852                  "axisBorderShow": false,
   853                  "axisCenteredZero": false,
   854                  "axisColorMode": "text",
   855                  "axisLabel": "",
   856                  "axisPlacement": "auto",
   857                  "barAlignment": 0,
   858                  "drawStyle": "line",
   859                  "fillOpacity": 10,
   860                  "gradientMode": "none",
   861                  "hideFrom": {
   862                    "legend": false,
   863                    "tooltip": false,
   864                    "viz": false
   865                  },
   866                  "insertNulls": false,
   867                  "lineInterpolation": "linear",
   868                  "lineWidth": 1,
   869                  "pointSize": 5,
   870                  "scaleDistribution": {
   871                    "type": "linear"
   872                  },
   873                  "showPoints": "never",
   874                  "spanNulls": false,
   875                  "stacking": {
   876                    "group": "A",
   877                    "mode": "normal"
   878                  },
   879                  "thresholdsStyle": {
   880                    "mode": "off"
   881                  }
   882                },
   883                "links": [],
   884                "mappings": [],
   885                "thresholds": {
   886                  "mode": "absolute",
   887                  "steps": [
   888                    {
   889                      "color": "green",
   890                      "value": null
   891                    },
   892                    {
   893                      "color": "red",
   894                      "value": 80
   895                    }
   896                  ]
   897                },
   898                "unit": "short"
   899              },
   900              "overrides": []
   901            },
   902            "gridPos": {
   903              "h": 7,
   904              "w": 13,
   905              "x": 11,
   906              "y": 13
   907            },
   908            "id": 14,
   909            "options": {
   910              "legend": {
   911                "calcs": [
   912                  "mean",
   913                  "lastNotNull",
   914                  "max"
   915                ],
   916                "displayMode": "table",
   917                "placement": "right",
   918                "showLegend": true
   919              },
   920              "tooltip": {
   921                "maxHeight": 600,
   922                "mode": "multi",
   923                "sort": "none"
   924              }
   925            },
   926            "targets": [
   927              {
   928                "datasource": {
   929                  "type": "prometheus",
   930                  "uid": "PBFA97CFB590B2093"
   931                },
   932                "expr": "agones_nodes_count{empty=\"true\"}",
   933                "format": "time_series",
   934                "intervalFactor": 1,
   935                "legendFormat": "unused",
   936                "refId": "A"
   937              },
   938              {
   939                "datasource": {
   940                  "type": "prometheus",
   941                  "uid": "PBFA97CFB590B2093"
   942                },
   943                "expr": "agones_nodes_count{empty=\"false\"}",
   944                "format": "time_series",
   945                "intervalFactor": 1,
   946                "legendFormat": "used",
   947                "refId": "B"
   948              }
   949            ],
   950            "title": "Node availability (stacked)",
   951            "type": "timeseries"
   952          },
   953          {
   954            "datasource": {
   955              "type": "prometheus",
   956              "uid": "PBFA97CFB590B2093"
   957            },
   958            "fieldConfig": {
   959              "defaults": {
   960                "color": {
   961                  "mode": "palette-classic"
   962                },
   963                "custom": {
   964                  "axisBorderShow": false,
   965                  "axisCenteredZero": false,
   966                  "axisColorMode": "text",
   967                  "axisGridShow": true,
   968                  "axisLabel": "",
   969                  "axisPlacement": "auto",
   970                  "barAlignment": 0,
   971                  "drawStyle": "line",
   972                  "fillOpacity": 10,
   973                  "gradientMode": "none",
   974                  "hideFrom": {
   975                    "legend": false,
   976                    "tooltip": false,
   977                    "viz": false
   978                  },
   979                  "insertNulls": false,
   980                  "lineInterpolation": "linear",
   981                  "lineWidth": 1,
   982                  "pointSize": 1,
   983                  "scaleDistribution": {
   984                    "type": "linear"
   985                  },
   986                  "showPoints": "auto",
   987                  "spanNulls": false,
   988                  "stacking": {
   989                    "group": "A",
   990                    "mode": "none"
   991                  },
   992                  "thresholdsStyle": {
   993                    "mode": "off"
   994                  }
   995                },
   996                "mappings": [],
   997                "thresholds": {
   998                  "mode": "absolute",
   999                  "steps": [
  1000                    {
  1001                      "color": "green",
  1002                      "value": null
  1003                    },
  1004                    {
  1005                      "color": "red",
  1006                      "value": 80
  1007                    }
  1008                  ]
  1009                },
  1010                "unit": "s"
  1011              },
  1012              "overrides": []
  1013            },
  1014            "gridPos": {
  1015              "h": 8,
  1016              "w": 24,
  1017              "x": 0,
  1018              "y": 20
  1019            },
  1020            "id": 15,
  1021            "options": {
  1022              "legend": {
  1023                "calcs": [
  1024                  "lastNotNull",
  1025                  "min",
  1026                  "max",
  1027                  "mean"
  1028                ],
  1029                "displayMode": "table",
  1030                "placement": "right",
  1031                "showLegend": true
  1032              },
  1033              "tooltip": {
  1034                "maxHeight": 600,
  1035                "mode": "single",
  1036                "sort": "none"
  1037              }
  1038            },
  1039            "targets": [
  1040              {
  1041                "datasource": {
  1042                  "type": "prometheus",
  1043                  "uid": "PBFA97CFB590B2093"
  1044                },
  1045                "editorMode": "code",
  1046                "expr": "sum (rate(agones_gameserver_state_duration_sum[5m]) / rate(agones_gameserver_state_duration_count[5m])) by(__name__,type)",
  1047                "instant": false,
  1048                "legendFormat": "__auto",
  1049                "range": true,
  1050                "refId": "A"
  1051              }
  1052            ],
  1053            "title": "Average GameServer State duration",
  1054            "type": "timeseries"
  1055          }
  1056        ],
  1057        "refresh": "5s",
  1058        "schemaVersion": 39,
  1059        "tags": [
  1060          "agones",
  1061          "state",
  1062          "gameservers"
  1063        ],
  1064        "templating": {
  1065          "list": [
  1066            {
  1067              "allValue": ".*",
  1068              "current": {
  1069                "selected": true,
  1070                "text": [
  1071                  "All"
  1072                ],
  1073                "value": [
  1074                  "$__all"
  1075                ]
  1076              },
  1077              "datasource": {
  1078                "type": "prometheus",
  1079                "uid": "PBFA97CFB590B2093"
  1080              },
  1081              "definition": "label_values(agones_gameservers_count, fleet_name)",
  1082              "hide": 0,
  1083              "includeAll": true,
  1084              "multi": true,
  1085              "name": "fleet",
  1086              "options": [],
  1087              "query": "label_values(agones_gameservers_count, fleet_name)",
  1088              "refresh": 2,
  1089              "regex": "",
  1090              "skipUrlSync": false,
  1091              "sort": 0,
  1092              "tagValuesQuery": "",
  1093              "tagsQuery": "",
  1094              "type": "query",
  1095              "useTags": false
  1096            },
  1097            {
  1098              "auto": true,
  1099              "auto_count": 30,
  1100              "auto_min": "1m",
  1101              "current": {
  1102                "selected": false,
  1103                "text": "auto",
  1104                "value": "$__auto_interval_interval"
  1105              },
  1106              "hide": 0,
  1107              "name": "interval",
  1108              "options": [
  1109                {
  1110                  "selected": true,
  1111                  "text": "auto",
  1112                  "value": "$__auto_interval_interval"
  1113                },
  1114                {
  1115                  "selected": false,
  1116                  "text": "1m",
  1117                  "value": "1m"
  1118                },
  1119                {
  1120                  "selected": false,
  1121                  "text": "10m",
  1122                  "value": "10m"
  1123                },
  1124                {
  1125                  "selected": false,
  1126                  "text": "30m",
  1127                  "value": "30m"
  1128                },
  1129                {
  1130                  "selected": false,
  1131                  "text": "1h",
  1132                  "value": "1h"
  1133                },
  1134                {
  1135                  "selected": false,
  1136                  "text": "6h",
  1137                  "value": "6h"
  1138                },
  1139                {
  1140                  "selected": false,
  1141                  "text": "12h",
  1142                  "value": "12h"
  1143                },
  1144                {
  1145                  "selected": false,
  1146                  "text": "1d",
  1147                  "value": "1d"
  1148                },
  1149                {
  1150                  "selected": false,
  1151                  "text": "7d",
  1152                  "value": "7d"
  1153                },
  1154                {
  1155                  "selected": false,
  1156                  "text": "14d",
  1157                  "value": "14d"
  1158                },
  1159                {
  1160                  "selected": false,
  1161                  "text": "30d",
  1162                  "value": "30d"
  1163                }
  1164              ],
  1165              "query": "1m,10m,30m,1h,6h,12h,1d,7d,14d,30d",
  1166              "refresh": 2,
  1167              "skipUrlSync": false,
  1168              "type": "interval"
  1169            },
  1170            {
  1171              "current": {
  1172                "selected": true,
  1173                "text": [
  1174                  "All"
  1175                ],
  1176                "value": [
  1177                  "$__all"
  1178                ]
  1179              },
  1180              "datasource": {
  1181                "type": "prometheus",
  1182                "uid": "PBFA97CFB590B2093"
  1183              },
  1184              "definition": "label_values(agones_gameservers_count, namespace)",
  1185              "hide": 0,
  1186              "includeAll": true,
  1187              "multi": true,
  1188              "name": "namespace",
  1189              "options": [],
  1190              "query": "label_values(agones_gameservers_count, namespace)",
  1191              "refresh": 2,
  1192              "regex": "",
  1193              "skipUrlSync": false,
  1194              "sort": 0,
  1195              "tagValuesQuery": "",
  1196              "tagsQuery": "",
  1197              "type": "query",
  1198              "useTags": false
  1199            }
  1200          ]
  1201        },
  1202        "time": {
  1203          "from": "now-24h",
  1204          "to": "now"
  1205        },
  1206        "timeRangeUpdatedDuringEditOrView": false,
  1207        "timepicker": {
  1208          "refresh_intervals": [
  1209            "5s",
  1210            "10s",
  1211            "30s",
  1212            "1m",
  1213            "5m",
  1214            "15m",
  1215            "30m",
  1216            "1h",
  1217            "2h",
  1218            "1d"
  1219          ],
  1220          "time_options": [
  1221            "5m",
  1222            "15m",
  1223            "1h",
  1224            "6h",
  1225            "12h",
  1226            "24h",
  1227            "2d",
  1228            "7d",
  1229            "30d"
  1230          ]
  1231        },
  1232        "timezone": "",
  1233        "title": "Agones GameServers",
  1234        "uid": "D78OotUmk",
  1235        "version": 1,
  1236        "weekStart": ""
  1237      }