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

     1  ---
     2  # Copyright 2023 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-extensions-status
    21    namespace: metrics
    22    labels:
    23      grafana_dashboard: '1'
    24  data:
    25    dashboard-agones-extensions-status.json: |-
    26      {
    27        "annotations": {
    28          "list": [
    29            {
    30              "builtIn": 1,
    31              "datasource": {
    32                "type": "datasource",
    33                "uid": "grafana"
    34              },
    35              "enable": true,
    36              "hide": true,
    37              "iconColor": "rgba(0, 211, 255, 1)",
    38              "name": "Annotations & Alerts",
    39              "target": {
    40                "limit": 100,
    41                "matchAny": false,
    42                "tags": [],
    43                "type": "dashboard"
    44              },
    45              "type": "dashboard"
    46            }
    47          ]
    48        },
    49        "description": "Agones CRD controller status",
    50        "editable": true,
    51        "fiscalYearStartMonth": 0,
    52        "graphTooltip": 0,
    53        "links": [],
    54        "liveNow": false,
    55        "panels": [
    56          {
    57            "datasource": "Prometheus",
    58            "fieldConfig": {
    59              "defaults": {
    60                "color": {
    61                  "mode": "thresholds"
    62                },
    63                "mappings": [
    64                  {
    65                    "options": {
    66                      "match": "null",
    67                      "result": {
    68                        "text": "N/A"
    69                      }
    70                    },
    71                    "type": "special"
    72                  }
    73                ],
    74                "thresholds": {
    75                  "mode": "absolute",
    76                  "steps": [
    77                    {
    78                      "color": "green",
    79                      "value": null
    80                    },
    81                    {
    82                      "color": "red",
    83                      "value": 80
    84                    }
    85                  ]
    86                },
    87                "unit": "dateTimeFromNow"
    88              },
    89              "overrides": []
    90            },
    91            "gridPos": {
    92              "h": 8,
    93              "w": 12,
    94              "x": 0,
    95              "y": 0
    96            },
    97            "id": 9,
    98            "links": [],
    99            "maxDataPoints": 100,
   100            "options": {
   101              "colorMode": "none",
   102              "graphMode": "none",
   103              "justifyMode": "auto",
   104              "orientation": "horizontal",
   105              "reduceOptions": {
   106                "calcs": [
   107                  "lastNotNull"
   108                ],
   109                "fields": "",
   110                "values": false
   111              },
   112              "textMode": "auto"
   113            },
   114            "pluginVersion": "9.3.6",
   115            "targets": [
   116              {
   117                "datasource": "prometheus",
   118                "expr": "(process_start_time_seconds{app=\"agones\",agones_dev_role=\"controller\"}) * 1000",
   119                "format": "time_series",
   120                "instant": true,
   121                "intervalFactor": 1,
   122                "legendFormat": "",
   123                "refId": "A"
   124              }
   125            ],
   126            "title": "Controller Uptime",
   127            "type": "stat"
   128          },
   129          {
   130            "datasource": "Prometheus",
   131            "fieldConfig": {
   132              "defaults": {
   133                "color": {
   134                  "mode": "thresholds"
   135                },
   136                "mappings": [
   137                  {
   138                    "options": {
   139                      "0": {
   140                        "text": "DOWN"
   141                      },
   142                      "1": {
   143                        "text": "UP"
   144                      }
   145                    },
   146                    "type": "value"
   147                  }
   148                ],
   149                "thresholds": {
   150                  "mode": "absolute",
   151                  "steps": [
   152                    {
   153                      "color": "#d44a3a",
   154                      "value": null
   155                    },
   156                    {
   157                      "color": "#d44a3a",
   158                      "value": 0
   159                    },
   160                    {
   161                      "color": "#299c46",
   162                      "value": 1
   163                    }
   164                  ]
   165                },
   166                "unit": "none"
   167              },
   168              "overrides": []
   169            },
   170            "gridPos": {
   171              "h": 8,
   172              "w": 12,
   173              "x": 12,
   174              "y": 0
   175            },
   176            "id": 7,
   177            "links": [],
   178            "maxDataPoints": 100,
   179            "options": {
   180              "colorMode": "background",
   181              "graphMode": "none",
   182              "justifyMode": "auto",
   183              "orientation": "horizontal",
   184              "reduceOptions": {
   185                "calcs": [
   186                  "lastNotNull"
   187                ],
   188                "fields": "",
   189                "values": false
   190              },
   191              "textMode": "auto"
   192            },
   193            "pluginVersion": "9.3.6",
   194            "targets": [
   195              {
   196                "datasource": "Prometheus",
   197                "expr": "up{app=\"agones\",agones_dev_role=\"controller\"} OR on() vector(0)",
   198                "format": "time_series",
   199                "instant": true,
   200                "intervalFactor": 1,
   201                "legendFormat": "",
   202                "refId": "A"
   203              }
   204            ],
   205            "title": "Controller",
   206            "type": "stat"
   207          },
   208          {
   209            "datasource": "Prometheus",
   210            "fieldConfig": {
   211              "defaults": {
   212                "color": {
   213                  "mode": "thresholds"
   214                },
   215                "mappings": [
   216                  {
   217                    "options": {
   218                      "match": "null",
   219                      "result": {
   220                        "text": "N/A"
   221                      }
   222                    },
   223                    "type": "special"
   224                  }
   225                ],
   226                "thresholds": {
   227                  "mode": "absolute",
   228                  "steps": [
   229                    {
   230                      "color": "green",
   231                      "value": null
   232                    },
   233                    {
   234                      "color": "red",
   235                      "value": 80
   236                    }
   237                  ]
   238                },
   239                "unit": "dateTimeFromNow"
   240              },
   241              "overrides": []
   242            },
   243            "gridPos": {
   244              "h": 8,
   245              "w": 12,
   246              "x": 0,
   247              "y": 8
   248            },
   249            "id": 19,
   250            "links": [],
   251            "maxDataPoints": 100,
   252            "options": {
   253              "colorMode": "none",
   254              "graphMode": "none",
   255              "justifyMode": "auto",
   256              "orientation": "horizontal",
   257              "reduceOptions": {
   258                "calcs": [
   259                  "lastNotNull"
   260                ],
   261                "fields": "",
   262                "values": false
   263              },
   264              "textMode": "auto"
   265            },
   266            "pluginVersion": "9.3.6",
   267            "targets": [
   268              {
   269                "datasource": "Prometheus",
   270                "expr": "max((process_start_time_seconds{app=\"agones\",kubernetes_pod_name=~\"agones-allocator.*\"}) * 1000)",
   271                "format": "time_series",
   272                "instant": true,
   273                "intervalFactor": 1,
   274                "legendFormat": "",
   275                "refId": "A"
   276              }
   277            ],
   278            "title": "Allocators Uptime",
   279            "type": "stat"
   280          },
   281          {
   282            "datasource": "Prometheus",
   283            "fieldConfig": {
   284              "defaults": {
   285                "color": {
   286                  "mode": "thresholds"
   287                },
   288                "mappings": [
   289                  {
   290                    "options": {
   291                      "0": {
   292                        "text": "DOWN"
   293                      },
   294                      "1": {
   295                        "text": "UP"
   296                      }
   297                    },
   298                    "type": "value"
   299                  }
   300                ],
   301                "thresholds": {
   302                  "mode": "absolute",
   303                  "steps": [
   304                    {
   305                      "color": "#d44a3a",
   306                      "value": null
   307                    },
   308                    {
   309                      "color": "#d44a3a",
   310                      "value": 0
   311                    },
   312                    {
   313                      "color": "#299c46",
   314                      "value": 1
   315                    }
   316                  ]
   317                },
   318                "unit": "none"
   319              },
   320              "overrides": []
   321            },
   322            "gridPos": {
   323              "h": 8,
   324              "w": 6,
   325              "x": 12,
   326              "y": 8
   327            },
   328            "id": 20,
   329            "links": [],
   330            "maxDataPoints": 100,
   331            "options": {
   332              "colorMode": "background",
   333              "graphMode": "none",
   334              "justifyMode": "auto",
   335              "orientation": "horizontal",
   336              "reduceOptions": {
   337                "calcs": [
   338                  "lastNotNull"
   339                ],
   340                "fields": "",
   341                "values": false
   342              },
   343              "textMode": "auto"
   344            },
   345            "pluginVersion": "9.3.6",
   346            "targets": [
   347              {
   348                "datasource": "Prometheus",
   349                "expr": "sum(up{app=\"agones\",multicluster_agones_dev_role=\"allocator\"}) OR on() vector(0)",
   350                "format": "time_series",
   351                "instant": true,
   352                "intervalFactor": 1,
   353                "legendFormat": "",
   354                "refId": "A"
   355              }
   356            ],
   357            "title": "Allocators Live Pod",
   358            "type": "stat"
   359          },
   360          {
   361            "datasource": "Prometheus",
   362            "fieldConfig": {
   363              "defaults": {
   364                "color": {
   365                  "mode": "thresholds"
   366                },
   367                "mappings": [
   368                  {
   369                    "options": {
   370                      "0": {
   371                        "text": "DOWN"
   372                      },
   373                      "1": {
   374                        "text": "UP"
   375                      }
   376                    },
   377                    "type": "value"
   378                  }
   379                ],
   380                "thresholds": {
   381                  "mode": "absolute",
   382                  "steps": [
   383                    {
   384                      "color": "#d44a3a",
   385                      "value": null
   386                    },
   387                    {
   388                      "color": "#d44a3a",
   389                      "value": 0
   390                    },
   391                    {
   392                      "color": "#299c46",
   393                      "value": 1
   394                    }
   395                  ]
   396                },
   397                "unit": "none"
   398              },
   399              "overrides": []
   400            },
   401            "gridPos": {
   402              "h": 8,
   403              "w": 6,
   404              "x": 18,
   405              "y": 8
   406            },
   407            "id": 21,
   408            "links": [],
   409            "maxDataPoints": 100,
   410            "options": {
   411              "colorMode": "none",
   412              "graphMode": "none",
   413              "justifyMode": "auto",
   414              "orientation": "horizontal",
   415              "reduceOptions": {
   416                "calcs": [
   417                  "lastNotNull"
   418                ],
   419                "fields": "",
   420                "values": false
   421              },
   422              "textMode": "auto"
   423            },
   424            "pluginVersion": "9.3.6",
   425            "targets": [
   426              {
   427                "datasource": "Prometheus",
   428                "expr": "count(up{app=\"agones\",multicluster_agones_dev_role=\"allocator\"}) OR on() vector(0)",
   429                "format": "time_series",
   430                "instant": true,
   431                "intervalFactor": 1,
   432                "legendFormat": "",
   433                "refId": "A"
   434              }
   435            ],
   436            "title": "Allocators Total Pods",
   437            "type": "stat"
   438          },
   439          {
   440            "datasource": "Prometheus",
   441            "fieldConfig": {
   442              "defaults": {
   443                "color": {
   444                  "mode": "thresholds"
   445                },
   446                "mappings": [
   447                  {
   448                    "options": {
   449                      "match": "null",
   450                      "result": {
   451                        "text": "N/A"
   452                      }
   453                    },
   454                    "type": "special"
   455                  }
   456                ],
   457                "thresholds": {
   458                  "mode": "absolute",
   459                  "steps": [
   460                    {
   461                      "color": "green",
   462                      "value": null
   463                    },
   464                    {
   465                      "color": "red",
   466                      "value": 80
   467                    }
   468                  ]
   469                },
   470                "unit": "dateTimeFromNow"
   471              },
   472              "overrides": []
   473            },
   474            "gridPos": {
   475              "h": 8,
   476              "w": 12,
   477              "x": 0,
   478              "y": 16
   479            },
   480            "id": 29,
   481            "links": [],
   482            "maxDataPoints": 100,
   483            "options": {
   484              "colorMode": "none",
   485              "graphMode": "none",
   486              "justifyMode": "auto",
   487              "orientation": "horizontal",
   488              "reduceOptions": {
   489                "calcs": [
   490                  "lastNotNull"
   491                ],
   492                "fields": "",
   493                "values": false
   494              },
   495              "textMode": "auto"
   496            },
   497            "pluginVersion": "9.3.6",
   498            "targets": [
   499              {
   500                "datasource": "Prometheus",
   501                "editorMode": "code",
   502                "expr": "max((process_start_time_seconds{app=\"agones\", agones_dev_role=\"extensions\"}) * 1000)",
   503                "format": "time_series",
   504                "instant": true,
   505                "intervalFactor": 1,
   506                "legendFormat": "",
   507                "refId": "A"
   508              }
   509            ],
   510            "title": "Extensions Uptime",
   511            "type": "stat"
   512          },
   513          {
   514            "datasource": "Prometheus",
   515            "fieldConfig": {
   516              "defaults": {
   517                "color": {
   518                  "mode": "thresholds"
   519                },
   520                "mappings": [
   521                  {
   522                    "options": {
   523                      "0": {
   524                        "text": "DOWN"
   525                      },
   526                      "1": {
   527                        "text": "UP"
   528                      }
   529                    },
   530                    "type": "value"
   531                  }
   532                ],
   533                "thresholds": {
   534                  "mode": "absolute",
   535                  "steps": [
   536                    {
   537                      "color": "#d44a3a",
   538                      "value": null
   539                    },
   540                    {
   541                      "color": "#d44a3a",
   542                      "value": 0
   543                    },
   544                    {
   545                      "color": "#299c46",
   546                      "value": 1
   547                    }
   548                  ]
   549                },
   550                "unit": "none"
   551              },
   552              "overrides": []
   553            },
   554            "gridPos": {
   555              "h": 8,
   556              "w": 6,
   557              "x": 12,
   558              "y": 16
   559            },
   560            "id": 37,
   561            "links": [],
   562            "maxDataPoints": 100,
   563            "options": {
   564              "colorMode": "background",
   565              "graphMode": "none",
   566              "justifyMode": "auto",
   567              "orientation": "horizontal",
   568              "reduceOptions": {
   569                "calcs": [
   570                  "lastNotNull"
   571                ],
   572                "fields": "",
   573                "values": false
   574              },
   575              "textMode": "auto"
   576            },
   577            "pluginVersion": "9.3.6",
   578            "targets": [
   579              {
   580                "datasource": "Prometheus",
   581                "editorMode": "code",
   582                "expr": "sum(up{app=\"agones\",agones_dev_role=\"extensions\"}) OR on() vector(0)",
   583                "format": "time_series",
   584                "instant": true,
   585                "intervalFactor": 1,
   586                "legendFormat": "",
   587                "refId": "A"
   588              }
   589            ],
   590            "title": "Extensions Live Pod",
   591            "type": "stat"
   592          },
   593          {
   594            "datasource": "Prometheus",
   595            "fieldConfig": {
   596              "defaults": {
   597                "color": {
   598                  "mode": "thresholds"
   599                },
   600                "mappings": [
   601                  {
   602                    "options": {
   603                      "0": {
   604                        "text": "DOWN"
   605                      },
   606                      "1": {
   607                        "text": "UP"
   608                      }
   609                    },
   610                    "type": "value"
   611                  }
   612                ],
   613                "thresholds": {
   614                  "mode": "absolute",
   615                  "steps": [
   616                    {
   617                      "color": "#d44a3a",
   618                      "value": null
   619                    },
   620                    {
   621                      "color": "#d44a3a",
   622                      "value": 0
   623                    },
   624                    {
   625                      "color": "#299c46",
   626                      "value": 1
   627                    }
   628                  ]
   629                },
   630                "unit": "none"
   631              },
   632              "overrides": []
   633            },
   634            "gridPos": {
   635              "h": 8,
   636              "w": 6,
   637              "x": 18,
   638              "y": 16
   639            },
   640            "id": 45,
   641            "links": [],
   642            "maxDataPoints": 100,
   643            "options": {
   644              "colorMode": "none",
   645              "graphMode": "none",
   646              "justifyMode": "auto",
   647              "orientation": "horizontal",
   648              "reduceOptions": {
   649                "calcs": [
   650                  "lastNotNull"
   651                ],
   652                "fields": "",
   653                "values": false
   654              },
   655              "textMode": "auto"
   656            },
   657            "pluginVersion": "9.3.6",
   658            "targets": [
   659              {
   660                "datasource": "Prometheus",
   661                "editorMode": "code",
   662                "expr": "count(up{app=\"agones\",agones_dev_role=\"extensions\"}) OR on() vector(0)",
   663                "format": "time_series",
   664                "instant": true,
   665                "intervalFactor": 1,
   666                "legendFormat": "",
   667                "refId": "A"
   668              }
   669            ],
   670            "title": "Extensions Total Pods",
   671            "type": "stat"
   672          },
   673          {
   674            "datasource": "Prometheus",
   675            "fieldConfig": {
   676              "defaults": {
   677                "color": {
   678                  "mode": "thresholds"
   679                },
   680                "mappings": [
   681                  {
   682                    "options": {
   683                      "0": {
   684                        "text": "OK"
   685                      },
   686                      "1": {
   687                        "text": "NOK"
   688                      }
   689                    },
   690                    "type": "value"
   691                  }
   692                ],
   693                "thresholds": {
   694                  "mode": "absolute",
   695                  "steps": [
   696                    {
   697                      "color": "#299c46",
   698                      "value": null
   699                    },
   700                    {
   701                      "color": "#299c46",
   702                      "value": 0
   703                    },
   704                    {
   705                      "color": "#d44a3a",
   706                      "value": 1
   707                    }
   708                  ]
   709                },
   710                "unit": "none"
   711              },
   712              "overrides": []
   713            },
   714            "gridPos": {
   715              "h": 9,
   716              "w": 6,
   717              "x": 0,
   718              "y": 24
   719            },
   720            "id": 2,
   721            "links": [],
   722            "maxDataPoints": 100,
   723            "options": {
   724              "colorMode": "background",
   725              "graphMode": "none",
   726              "justifyMode": "auto",
   727              "orientation": "horizontal",
   728              "reduceOptions": {
   729                "calcs": [
   730                  "lastNotNull"
   731                ],
   732                "fields": "",
   733                "values": false
   734              },
   735              "textMode": "auto"
   736            },
   737            "pluginVersion": "9.3.6",
   738            "repeat": "healthcheck",
   739            "repeatDirection": "h",
   740            "targets": [
   741              {
   742                "datasource": "Prometheus",
   743                "expr": "sum(agones_healthcheck_status{check=\"$healthcheck\"}) OR on() vector(1)",
   744                "format": "time_series",
   745                "instant": true,
   746                "intervalFactor": 1,
   747                "legendFormat": "{{check}}",
   748                "refId": "A"
   749              }
   750            ],
   751            "title": "health check - $healthcheck",
   752            "type": "stat"
   753          }
   754        ],
   755        "refresh": false,
   756        "schemaVersion": 37,
   757        "style": "dark",
   758        "tags": [
   759          "agones",
   760          "controller"
   761        ],
   762        "templating": {
   763          "list": [
   764            {
   765              "current": {
   766                "selected": true,
   767                "text": [
   768                  "fleet-workerqueue",
   769                  "fleetautoscaler-workerqueue",
   770                  "gameserver-creation-workerqueue",
   771                  "gameserver-deletion-workerqueue",
   772                  "gameserver-health-workerqueue",
   773                  "gameserver-workerqueue",
   774                  "gameserverset-workerqueue",
   775                  "allocator-agones-client"
   776                ],
   777                "value": [
   778                  "fleet-workerqueue",
   779                  "fleetautoscaler-workerqueue",
   780                  "gameserver-creation-workerqueue",
   781                  "gameserver-deletion-workerqueue",
   782                  "gameserver-health-workerqueue",
   783                  "gameserver-workerqueue",
   784                  "gameserverset-workerqueue",
   785                  "allocator-agones-client"
   786                ]
   787              },
   788              "datasource": "Prometheus",
   789              "definition": "",
   790              "hide": 0,
   791              "includeAll": false,
   792              "multi": true,
   793              "name": "healthcheck",
   794              "options": [],
   795              "query": {
   796                "query": "label_values(agones_healthcheck_status, check)\t",
   797                "refId": "Prometheus-healthcheck-Variable-Query"
   798              },
   799              "refresh": 2,
   800              "regex": "",
   801              "skipUrlSync": false,
   802              "sort": 0,
   803              "tagValuesQuery": "",
   804              "tagsQuery": "",
   805              "type": "query",
   806              "useTags": false
   807            }
   808          ]
   809        },
   810        "time": {
   811          "from": "2023-02-27T18:49:46.109Z",
   812          "to": "2023-02-27T18:59:46.109Z"
   813        },
   814        "timepicker": {
   815          "refresh_intervals": [
   816            "5s",
   817            "10s",
   818            "30s",
   819            "1m",
   820            "5m",
   821            "15m",
   822            "30m",
   823            "1h",
   824            "2h",
   825            "1d"
   826          ],
   827          "time_options": [
   828            "5m",
   829            "15m",
   830            "1h",
   831            "6h",
   832            "12h",
   833            "24h",
   834            "2d",
   835            "7d",
   836            "30d"
   837          ]
   838        },
   839        "timezone": "",
   840        "title": "Alpha - Agones Status",
   841        "uid": "a1_h-nbVk",
   842        "version": 4,
   843        "weekStart": ""
   844      }