github.com/haalcala/mattermost-server-change-repo@v0.0.0-20210713015153-16753fbeee5f/build/docker/grafana/dashboards/mattermost/mattermost-performance-monitoring-bonus-metrics_rev2.json (about)

     1  {
     2    "annotations": {
     3      "list": [
     4        {
     5          "builtIn": 1,
     6          "datasource": "-- Grafana --",
     7          "enable": true,
     8          "hide": true,
     9          "iconColor": "rgba(0, 211, 255, 1)",
    10          "name": "Annotations & Alerts",
    11          "type": "dashboard"
    12        }
    13      ]
    14    },
    15    "editable": true,
    16    "gnetId": 2545,
    17    "graphTooltip": 0,
    18    "iteration": 1610119732885,
    19    "links": [],
    20    "panels": [
    21      {
    22        "aliasColors": {},
    23        "bars": false,
    24        "dashLength": 10,
    25        "dashes": false,
    26        "datasource": "Prometheus",
    27        "editable": true,
    28        "error": false,
    29        "fieldConfig": {
    30          "defaults": {
    31            "custom": {}
    32          },
    33          "overrides": []
    34        },
    35        "fill": 1,
    36        "fillGradient": 0,
    37        "gridPos": {
    38          "h": 9,
    39          "w": 24,
    40          "x": 0,
    41          "y": 0
    42        },
    43        "hiddenSeries": false,
    44        "id": 7,
    45        "legend": {
    46          "avg": false,
    47          "current": false,
    48          "max": false,
    49          "min": false,
    50          "show": true,
    51          "total": false,
    52          "values": false
    53        },
    54        "lines": true,
    55        "linewidth": 2,
    56        "links": [],
    57        "nullPointMode": "connected",
    58        "options": {
    59          "alertThreshold": true
    60        },
    61        "percentage": false,
    62        "pluginVersion": "7.3.6",
    63        "pointradius": 5,
    64        "points": false,
    65        "renderer": "flot",
    66        "seriesOverrides": [],
    67        "spaceLength": 10,
    68        "stack": false,
    69        "steppedLine": false,
    70        "targets": [
    71          {
    72            "expr": "mattermost_login_logins_total{instance=~\"$server\"}/(mattermost_login_logins_total{instance=~\"$server\"}+mattermost_login_logins_fail_total{instance=~\"$server\"})",
    73            "format": "time_series",
    74            "interval": "5s",
    75            "intervalFactor": 1,
    76            "legendFormat": "{{instance}}",
    77            "metric": "mattermost_login_logins_total",
    78            "refId": "A",
    79            "step": 5
    80          },
    81          {
    82            "expr": "sum(mattermost_login_logins_total{instance=~\"$server\"})/(sum(mattermost_login_logins_total{instance=~\"$server\"})+sum(mattermost_login_logins_fail_total{instance=~\"$server\"}))",
    83            "format": "time_series",
    84            "interval": "5s",
    85            "intervalFactor": 1,
    86            "legendFormat": "All",
    87            "metric": "mattermost_login_logins_total",
    88            "refId": "B",
    89            "step": 5
    90          }
    91        ],
    92        "thresholds": [],
    93        "timeFrom": null,
    94        "timeRegions": [],
    95        "timeShift": null,
    96        "title": "Number of Successful Logins / Number of Login Attempts",
    97        "tooltip": {
    98          "msResolution": false,
    99          "shared": true,
   100          "sort": 0,
   101          "value_type": "individual"
   102        },
   103        "type": "graph",
   104        "xaxis": {
   105          "buckets": null,
   106          "mode": "time",
   107          "name": null,
   108          "show": true,
   109          "values": []
   110        },
   111        "yaxes": [
   112          {
   113            "format": "percentunit",
   114            "label": "Login Success Rate",
   115            "logBase": 1,
   116            "max": "1",
   117            "min": "0",
   118            "show": true
   119          },
   120          {
   121            "format": "short",
   122            "label": null,
   123            "logBase": 1,
   124            "max": null,
   125            "min": null,
   126            "show": true
   127          }
   128        ],
   129        "yaxis": {
   130          "align": false,
   131          "alignLevel": null
   132        }
   133      },
   134      {
   135        "aliasColors": {},
   136        "bars": false,
   137        "dashLength": 10,
   138        "dashes": false,
   139        "datasource": "Prometheus",
   140        "editable": true,
   141        "error": false,
   142        "fieldConfig": {
   143          "defaults": {
   144            "custom": {}
   145          },
   146          "overrides": []
   147        },
   148        "fill": 1,
   149        "fillGradient": 0,
   150        "gridPos": {
   151          "h": 9,
   152          "w": 24,
   153          "x": 0,
   154          "y": 9
   155        },
   156        "hiddenSeries": false,
   157        "id": 8,
   158        "legend": {
   159          "avg": false,
   160          "current": false,
   161          "max": false,
   162          "min": false,
   163          "show": true,
   164          "total": false,
   165          "values": false
   166        },
   167        "lines": true,
   168        "linewidth": 2,
   169        "links": [],
   170        "nullPointMode": "connected",
   171        "options": {
   172          "alertThreshold": true
   173        },
   174        "percentage": false,
   175        "pluginVersion": "7.3.6",
   176        "pointradius": 5,
   177        "points": false,
   178        "renderer": "flot",
   179        "seriesOverrides": [],
   180        "spaceLength": 10,
   181        "stack": false,
   182        "steppedLine": false,
   183        "targets": [
   184          {
   185            "expr": "irate(mattermost_login_logins_total{instance=~\"$server\"}[1m])",
   186            "format": "time_series",
   187            "interval": "1s",
   188            "intervalFactor": 1,
   189            "legendFormat": "{{instance}}",
   190            "metric": "mattermost_login_logins_total",
   191            "refId": "A",
   192            "step": 2
   193          },
   194          {
   195            "expr": "sum(irate(mattermost_login_logins_total{instance=~\"$server\"}[1m]))",
   196            "format": "time_series",
   197            "interval": "1s",
   198            "intervalFactor": 1,
   199            "legendFormat": "Total",
   200            "refId": "B",
   201            "step": 2
   202          }
   203        ],
   204        "thresholds": [],
   205        "timeFrom": null,
   206        "timeRegions": [],
   207        "timeShift": null,
   208        "title": "Number of Successful Logins per Second",
   209        "tooltip": {
   210          "msResolution": false,
   211          "shared": true,
   212          "sort": 0,
   213          "value_type": "individual"
   214        },
   215        "type": "graph",
   216        "xaxis": {
   217          "buckets": null,
   218          "mode": "time",
   219          "name": null,
   220          "show": true,
   221          "values": []
   222        },
   223        "yaxes": [
   224          {
   225            "format": "short",
   226            "label": "Count",
   227            "logBase": 1,
   228            "max": null,
   229            "min": null,
   230            "show": true
   231          },
   232          {
   233            "format": "short",
   234            "label": null,
   235            "logBase": 1,
   236            "max": null,
   237            "min": null,
   238            "show": true
   239          }
   240        ],
   241        "yaxis": {
   242          "align": false,
   243          "alignLevel": null
   244        }
   245      },
   246      {
   247        "aliasColors": {},
   248        "bars": false,
   249        "dashLength": 10,
   250        "dashes": false,
   251        "datasource": "Prometheus",
   252        "editable": true,
   253        "error": false,
   254        "fieldConfig": {
   255          "defaults": {
   256            "custom": {}
   257          },
   258          "overrides": []
   259        },
   260        "fill": 1,
   261        "fillGradient": 0,
   262        "gridPos": {
   263          "h": 9,
   264          "w": 24,
   265          "x": 0,
   266          "y": 18
   267        },
   268        "hiddenSeries": false,
   269        "id": 9,
   270        "legend": {
   271          "avg": false,
   272          "current": false,
   273          "max": false,
   274          "min": false,
   275          "show": true,
   276          "total": false,
   277          "values": false
   278        },
   279        "lines": true,
   280        "linewidth": 2,
   281        "links": [],
   282        "nullPointMode": "connected",
   283        "options": {
   284          "alertThreshold": true
   285        },
   286        "percentage": false,
   287        "pluginVersion": "7.3.6",
   288        "pointradius": 5,
   289        "points": false,
   290        "renderer": "flot",
   291        "seriesOverrides": [],
   292        "spaceLength": 10,
   293        "stack": false,
   294        "steppedLine": false,
   295        "targets": [
   296          {
   297            "expr": "irate(mattermost_post_emails_sent_total{instance=~\"$server\"}[1m])",
   298            "format": "time_series",
   299            "interval": "5s",
   300            "intervalFactor": 1,
   301            "legendFormat": "{{instance}}",
   302            "metric": "mattermost_post_broadcasts_total",
   303            "refId": "A",
   304            "step": 5
   305          },
   306          {
   307            "expr": "sum(irate(mattermost_post_emails_sent_total{instance=~\"$server\"}[1m]))",
   308            "format": "time_series",
   309            "interval": "5s",
   310            "intervalFactor": 1,
   311            "legendFormat": "Total",
   312            "metric": "mattermost_post_broadcasts_total",
   313            "refId": "B",
   314            "step": 5
   315          }
   316        ],
   317        "thresholds": [],
   318        "timeFrom": null,
   319        "timeRegions": [],
   320        "timeShift": null,
   321        "title": "Number of Emails Sent per Second",
   322        "tooltip": {
   323          "msResolution": false,
   324          "shared": true,
   325          "sort": 0,
   326          "value_type": "individual"
   327        },
   328        "type": "graph",
   329        "xaxis": {
   330          "buckets": null,
   331          "mode": "time",
   332          "name": null,
   333          "show": true,
   334          "values": []
   335        },
   336        "yaxes": [
   337          {
   338            "format": "short",
   339            "label": "Count",
   340            "logBase": 1,
   341            "max": null,
   342            "min": null,
   343            "show": true
   344          },
   345          {
   346            "format": "short",
   347            "label": null,
   348            "logBase": 1,
   349            "max": null,
   350            "min": null,
   351            "show": true
   352          }
   353        ],
   354        "yaxis": {
   355          "align": false,
   356          "alignLevel": null
   357        }
   358      },
   359      {
   360        "aliasColors": {},
   361        "bars": false,
   362        "dashLength": 10,
   363        "dashes": false,
   364        "datasource": "Prometheus",
   365        "editable": true,
   366        "error": false,
   367        "fieldConfig": {
   368          "defaults": {
   369            "custom": {}
   370          },
   371          "overrides": []
   372        },
   373        "fill": 1,
   374        "fillGradient": 0,
   375        "gridPos": {
   376          "h": 9,
   377          "w": 24,
   378          "x": 0,
   379          "y": 27
   380        },
   381        "hiddenSeries": false,
   382        "id": 10,
   383        "legend": {
   384          "avg": false,
   385          "current": false,
   386          "max": false,
   387          "min": false,
   388          "show": true,
   389          "total": false,
   390          "values": false
   391        },
   392        "lines": true,
   393        "linewidth": 2,
   394        "links": [],
   395        "nullPointMode": "connected",
   396        "options": {
   397          "alertThreshold": true
   398        },
   399        "percentage": false,
   400        "pluginVersion": "7.3.6",
   401        "pointradius": 5,
   402        "points": false,
   403        "renderer": "flot",
   404        "seriesOverrides": [],
   405        "spaceLength": 10,
   406        "stack": false,
   407        "steppedLine": false,
   408        "targets": [
   409          {
   410            "expr": "irate(mattermost_post_pushes_sent_total{instance=~\"$server\"}[1m])",
   411            "format": "time_series",
   412            "interval": "5s",
   413            "intervalFactor": 1,
   414            "legendFormat": "{{instance}}",
   415            "refId": "A",
   416            "step": 5
   417          },
   418          {
   419            "expr": "sum(irate(mattermost_post_pushes_sent_total{instance=~\"$server\"}[1m]))",
   420            "format": "time_series",
   421            "interval": "5s",
   422            "intervalFactor": 1,
   423            "legendFormat": "Total",
   424            "refId": "B",
   425            "step": 5
   426          }
   427        ],
   428        "thresholds": [],
   429        "timeFrom": null,
   430        "timeRegions": [],
   431        "timeShift": null,
   432        "title": "Number of Mobile Push Notifications Sent per Second",
   433        "tooltip": {
   434          "msResolution": false,
   435          "shared": true,
   436          "sort": 0,
   437          "value_type": "individual"
   438        },
   439        "type": "graph",
   440        "xaxis": {
   441          "buckets": null,
   442          "mode": "time",
   443          "name": null,
   444          "show": true,
   445          "values": []
   446        },
   447        "yaxes": [
   448          {
   449            "format": "short",
   450            "label": "Count",
   451            "logBase": 1,
   452            "max": null,
   453            "min": null,
   454            "show": true
   455          },
   456          {
   457            "format": "short",
   458            "label": null,
   459            "logBase": 1,
   460            "max": null,
   461            "min": null,
   462            "show": true
   463          }
   464        ],
   465        "yaxis": {
   466          "align": false,
   467          "alignLevel": null
   468        }
   469      },
   470      {
   471        "aliasColors": {},
   472        "bars": false,
   473        "dashLength": 10,
   474        "dashes": false,
   475        "datasource": "Prometheus",
   476        "editable": true,
   477        "error": false,
   478        "fieldConfig": {
   479          "defaults": {
   480            "custom": {}
   481          },
   482          "overrides": []
   483        },
   484        "fill": 1,
   485        "fillGradient": 0,
   486        "gridPos": {
   487          "h": 9,
   488          "w": 24,
   489          "x": 0,
   490          "y": 36
   491        },
   492        "hiddenSeries": false,
   493        "id": 11,
   494        "legend": {
   495          "avg": false,
   496          "current": false,
   497          "max": false,
   498          "min": false,
   499          "show": true,
   500          "total": false,
   501          "values": false
   502        },
   503        "lines": true,
   504        "linewidth": 2,
   505        "links": [],
   506        "nullPointMode": "connected",
   507        "options": {
   508          "alertThreshold": true
   509        },
   510        "percentage": false,
   511        "pluginVersion": "7.3.6",
   512        "pointradius": 5,
   513        "points": false,
   514        "renderer": "flot",
   515        "seriesOverrides": [],
   516        "spaceLength": 10,
   517        "stack": false,
   518        "steppedLine": false,
   519        "targets": [
   520          {
   521            "expr": "irate(mattermost_post_file_attachments_total{instance=~\"$server\"}[1m])",
   522            "format": "time_series",
   523            "interval": "5s",
   524            "intervalFactor": 1,
   525            "legendFormat": "{{instance}}",
   526            "metric": "mattermost_post_file_attachments_total",
   527            "refId": "A",
   528            "step": 5
   529          },
   530          {
   531            "expr": "sum(irate(mattermost_post_file_attachments_total{instance=~\"$server\"}[1m]))",
   532            "format": "time_series",
   533            "interval": "5s",
   534            "intervalFactor": 1,
   535            "legendFormat": "Total",
   536            "metric": "mattermost_post_file_attachments_total",
   537            "refId": "B",
   538            "step": 5
   539          }
   540        ],
   541        "thresholds": [],
   542        "timeFrom": null,
   543        "timeRegions": [],
   544        "timeShift": null,
   545        "title": "Number of File Attachments per Second",
   546        "tooltip": {
   547          "msResolution": false,
   548          "shared": true,
   549          "sort": 0,
   550          "value_type": "individual"
   551        },
   552        "type": "graph",
   553        "xaxis": {
   554          "buckets": null,
   555          "mode": "time",
   556          "name": null,
   557          "show": true,
   558          "values": []
   559        },
   560        "yaxes": [
   561          {
   562            "format": "short",
   563            "label": "Count",
   564            "logBase": 1,
   565            "max": null,
   566            "min": null,
   567            "show": true
   568          },
   569          {
   570            "format": "short",
   571            "label": null,
   572            "logBase": 1,
   573            "max": null,
   574            "min": null,
   575            "show": true
   576          }
   577        ],
   578        "yaxis": {
   579          "align": false,
   580          "alignLevel": null
   581        }
   582      },
   583      {
   584        "aliasColors": {},
   585        "bars": false,
   586        "dashLength": 10,
   587        "dashes": false,
   588        "datasource": "Prometheus",
   589        "fieldConfig": {
   590          "defaults": {
   591            "custom": {}
   592          },
   593          "overrides": []
   594        },
   595        "fill": 1,
   596        "fillGradient": 0,
   597        "gridPos": {
   598          "h": 8,
   599          "w": 24,
   600          "x": 0,
   601          "y": 45
   602        },
   603        "hiddenSeries": false,
   604        "id": 23,
   605        "legend": {
   606          "avg": false,
   607          "current": false,
   608          "max": false,
   609          "min": false,
   610          "show": true,
   611          "total": false,
   612          "values": false
   613        },
   614        "lines": true,
   615        "linewidth": 1,
   616        "links": [],
   617        "nullPointMode": "null",
   618        "options": {
   619          "alertThreshold": true
   620        },
   621        "percentage": false,
   622        "pluginVersion": "7.3.6",
   623        "pointradius": 5,
   624        "points": false,
   625        "renderer": "flot",
   626        "seriesOverrides": [],
   627        "spaceLength": 10,
   628        "stack": false,
   629        "steppedLine": false,
   630        "targets": [
   631          {
   632            "expr": "irate(mattermost_search_posts_searches_total{instance=~\"$server\"}[1m])",
   633            "format": "time_series",
   634            "interval": "5s",
   635            "intervalFactor": 1,
   636            "legendFormat": "{{instance}}",
   637            "refId": "A"
   638          },
   639          {
   640            "expr": "sum(irate(mattermost_search_posts_searches_total{instance=~\"$server\"}[1m]))",
   641            "format": "time_series",
   642            "interval": "5s",
   643            "intervalFactor": 1,
   644            "legendFormat": "{{instance}}",
   645            "refId": "B"
   646          }
   647        ],
   648        "thresholds": [],
   649        "timeFrom": null,
   650        "timeRegions": [],
   651        "timeShift": null,
   652        "title": "Number of Search Queries for Posts per Second",
   653        "tooltip": {
   654          "shared": true,
   655          "sort": 0,
   656          "value_type": "individual"
   657        },
   658        "type": "graph",
   659        "xaxis": {
   660          "buckets": null,
   661          "mode": "time",
   662          "name": null,
   663          "show": true,
   664          "values": []
   665        },
   666        "yaxes": [
   667          {
   668            "format": "short",
   669            "label": null,
   670            "logBase": 1,
   671            "max": null,
   672            "min": null,
   673            "show": true
   674          },
   675          {
   676            "format": "short",
   677            "label": null,
   678            "logBase": 1,
   679            "max": null,
   680            "min": null,
   681            "show": true
   682          }
   683        ],
   684        "yaxis": {
   685          "align": false,
   686          "alignLevel": null
   687        }
   688      },
   689      {
   690        "aliasColors": {},
   691        "bars": false,
   692        "dashLength": 10,
   693        "dashes": false,
   694        "datasource": "Prometheus",
   695        "fieldConfig": {
   696          "defaults": {
   697            "custom": {}
   698          },
   699          "overrides": []
   700        },
   701        "fill": 1,
   702        "fillGradient": 0,
   703        "gridPos": {
   704          "h": 8,
   705          "w": 24,
   706          "x": 0,
   707          "y": 53
   708        },
   709        "hiddenSeries": false,
   710        "id": 21,
   711        "legend": {
   712          "avg": false,
   713          "current": false,
   714          "max": false,
   715          "min": false,
   716          "show": true,
   717          "total": false,
   718          "values": false
   719        },
   720        "lines": true,
   721        "linewidth": 2,
   722        "links": [],
   723        "nullPointMode": "null as zero",
   724        "options": {
   725          "alertThreshold": true
   726        },
   727        "percentage": false,
   728        "pluginVersion": "7.3.6",
   729        "pointradius": 5,
   730        "points": false,
   731        "renderer": "flot",
   732        "seriesOverrides": [],
   733        "spaceLength": 10,
   734        "stack": false,
   735        "steppedLine": false,
   736        "targets": [
   737          {
   738            "expr": "1000.0 * rate(mattermost_search_posts_searches_duration_seconds_sum{instance=~\"$server\"}[1m]) / rate(mattermost_search_posts_searches_duration_seconds_count{instance=~\"$server\"}[1m])",
   739            "format": "time_series",
   740            "instant": false,
   741            "interval": "5s",
   742            "intervalFactor": 1,
   743            "legendFormat": "{{instance}}",
   744            "refId": "A"
   745          }
   746        ],
   747        "thresholds": [],
   748        "timeFrom": null,
   749        "timeRegions": [],
   750        "timeShift": null,
   751        "title": "Mean Search Query Time for Posts (in milliseconds)",
   752        "tooltip": {
   753          "shared": true,
   754          "sort": 0,
   755          "value_type": "individual"
   756        },
   757        "type": "graph",
   758        "xaxis": {
   759          "buckets": null,
   760          "mode": "time",
   761          "name": null,
   762          "show": true,
   763          "values": []
   764        },
   765        "yaxes": [
   766          {
   767            "format": "short",
   768            "label": "Milliseconds (ms)",
   769            "logBase": 1,
   770            "max": null,
   771            "min": null,
   772            "show": true
   773          },
   774          {
   775            "format": "short",
   776            "label": null,
   777            "logBase": 1,
   778            "max": null,
   779            "min": null,
   780            "show": true
   781          }
   782        ],
   783        "yaxis": {
   784          "align": false,
   785          "alignLevel": null
   786        }
   787      },
   788      {
   789        "aliasColors": {},
   790        "bars": false,
   791        "dashLength": 10,
   792        "dashes": false,
   793        "datasource": "Prometheus",
   794        "editable": true,
   795        "error": false,
   796        "fieldConfig": {
   797          "defaults": {
   798            "custom": {}
   799          },
   800          "overrides": []
   801        },
   802        "fill": 1,
   803        "fillGradient": 0,
   804        "gridPos": {
   805          "h": 12,
   806          "w": 24,
   807          "x": 0,
   808          "y": 61
   809        },
   810        "hiddenSeries": false,
   811        "id": 12,
   812        "legend": {
   813          "alignAsTable": true,
   814          "avg": false,
   815          "current": false,
   816          "max": true,
   817          "min": false,
   818          "show": true,
   819          "sort": "max",
   820          "sortDesc": true,
   821          "total": false,
   822          "values": true
   823        },
   824        "lines": true,
   825        "linewidth": 1,
   826        "links": [],
   827        "nullPointMode": "connected",
   828        "options": {
   829          "alertThreshold": true
   830        },
   831        "percentage": false,
   832        "pluginVersion": "7.3.6",
   833        "pointradius": 5,
   834        "points": false,
   835        "renderer": "flot",
   836        "seriesOverrides": [],
   837        "spaceLength": 10,
   838        "stack": false,
   839        "steppedLine": false,
   840        "targets": [
   841          {
   842            "expr": "irate(mattermost_websocket_event_total{instance=~\"$server\"}[1m])",
   843            "format": "time_series",
   844            "interval": "5s",
   845            "intervalFactor": 1,
   846            "legendFormat": "{{type}}",
   847            "metric": "mattermost_websocket_event_total",
   848            "refId": "A",
   849            "step": 5
   850          }
   851        ],
   852        "thresholds": [],
   853        "timeFrom": null,
   854        "timeRegions": [],
   855        "timeShift": null,
   856        "title": "Number of Websocket Events per Second",
   857        "tooltip": {
   858          "msResolution": false,
   859          "shared": false,
   860          "sort": 0,
   861          "value_type": "individual"
   862        },
   863        "type": "graph",
   864        "xaxis": {
   865          "buckets": null,
   866          "mode": "time",
   867          "name": null,
   868          "show": true,
   869          "values": []
   870        },
   871        "yaxes": [
   872          {
   873            "format": "short",
   874            "label": "Count",
   875            "logBase": 1,
   876            "max": null,
   877            "min": null,
   878            "show": true
   879          },
   880          {
   881            "format": "short",
   882            "label": null,
   883            "logBase": 1,
   884            "max": null,
   885            "min": null,
   886            "show": true
   887          }
   888        ],
   889        "yaxis": {
   890          "align": false,
   891          "alignLevel": null
   892        }
   893      },
   894      {
   895        "aliasColors": {},
   896        "bars": false,
   897        "dashLength": 10,
   898        "dashes": false,
   899        "datasource": "Prometheus",
   900        "editable": true,
   901        "error": false,
   902        "fieldConfig": {
   903          "defaults": {
   904            "custom": {}
   905          },
   906          "overrides": []
   907        },
   908        "fill": 1,
   909        "fillGradient": 0,
   910        "gridPos": {
   911          "h": 12,
   912          "w": 24,
   913          "x": 0,
   914          "y": 73
   915        },
   916        "hiddenSeries": false,
   917        "id": 13,
   918        "legend": {
   919          "alignAsTable": true,
   920          "avg": false,
   921          "current": false,
   922          "max": true,
   923          "min": false,
   924          "show": true,
   925          "sort": "max",
   926          "sortDesc": true,
   927          "total": false,
   928          "values": true
   929        },
   930        "lines": true,
   931        "linewidth": 1,
   932        "links": [],
   933        "nullPointMode": "connected",
   934        "options": {
   935          "alertThreshold": true
   936        },
   937        "percentage": false,
   938        "pluginVersion": "7.3.6",
   939        "pointradius": 5,
   940        "points": false,
   941        "renderer": "flot",
   942        "seriesOverrides": [],
   943        "spaceLength": 10,
   944        "stack": false,
   945        "steppedLine": false,
   946        "targets": [
   947          {
   948            "expr": "irate(mattermost_websocket_broadcasts_total{instance=~\"$server\"}[1m])",
   949            "format": "time_series",
   950            "interval": "5s",
   951            "intervalFactor": 1,
   952            "legendFormat": "{{name}}",
   953            "metric": "mattermost_websocket_broadcasts_total",
   954            "refId": "A",
   955            "step": 5
   956          }
   957        ],
   958        "thresholds": [],
   959        "timeFrom": null,
   960        "timeRegions": [],
   961        "timeShift": null,
   962        "title": "Number of Websocket Broadcasts per Second",
   963        "tooltip": {
   964          "msResolution": false,
   965          "shared": false,
   966          "sort": 0,
   967          "value_type": "individual"
   968        },
   969        "type": "graph",
   970        "xaxis": {
   971          "buckets": null,
   972          "mode": "time",
   973          "name": null,
   974          "show": true,
   975          "values": []
   976        },
   977        "yaxes": [
   978          {
   979            "format": "short",
   980            "label": "Count",
   981            "logBase": 1,
   982            "max": null,
   983            "min": null,
   984            "show": true
   985          },
   986          {
   987            "format": "short",
   988            "label": null,
   989            "logBase": 1,
   990            "max": null,
   991            "min": null,
   992            "show": true
   993          }
   994        ],
   995        "yaxis": {
   996          "align": false,
   997          "alignLevel": null
   998        }
   999      },
  1000      {
  1001        "aliasColors": {},
  1002        "bars": false,
  1003        "dashLength": 10,
  1004        "dashes": false,
  1005        "datasource": "Prometheus",
  1006        "editable": true,
  1007        "error": false,
  1008        "fieldConfig": {
  1009          "defaults": {
  1010            "custom": {}
  1011          },
  1012          "overrides": []
  1013        },
  1014        "fill": 1,
  1015        "fillGradient": 0,
  1016        "gridPos": {
  1017          "h": 9,
  1018          "w": 24,
  1019          "x": 0,
  1020          "y": 85
  1021        },
  1022        "hiddenSeries": false,
  1023        "id": 17,
  1024        "legend": {
  1025          "avg": false,
  1026          "current": false,
  1027          "max": false,
  1028          "min": false,
  1029          "show": true,
  1030          "total": false,
  1031          "values": false
  1032        },
  1033        "lines": true,
  1034        "linewidth": 2,
  1035        "links": [],
  1036        "nullPointMode": "connected",
  1037        "options": {
  1038          "alertThreshold": true
  1039        },
  1040        "percentage": false,
  1041        "pluginVersion": "7.3.6",
  1042        "pointradius": 5,
  1043        "points": false,
  1044        "renderer": "flot",
  1045        "seriesOverrides": [],
  1046        "spaceLength": 10,
  1047        "stack": false,
  1048        "steppedLine": false,
  1049        "targets": [
  1050          {
  1051            "expr": "irate(mattermost_http_requests_total{instance=~\"$server\"}[1m])",
  1052            "format": "time_series",
  1053            "interval": "5s",
  1054            "intervalFactor": 1,
  1055            "legendFormat": "{{instance}}",
  1056            "metric": "mattermost_http_requests_total",
  1057            "refId": "A",
  1058            "step": 5
  1059          },
  1060          {
  1061            "expr": "sum(irate(mattermost_http_requests_total{instance=~\"$server\"}[1m]))",
  1062            "format": "time_series",
  1063            "interval": "5s",
  1064            "intervalFactor": 1,
  1065            "legendFormat": "Total",
  1066            "metric": "mattermost_http_requests_total",
  1067            "refId": "B",
  1068            "step": 5
  1069          }
  1070        ],
  1071        "thresholds": [],
  1072        "timeFrom": null,
  1073        "timeRegions": [],
  1074        "timeShift": null,
  1075        "title": "Number of API Requests per Second",
  1076        "tooltip": {
  1077          "msResolution": false,
  1078          "shared": true,
  1079          "sort": 0,
  1080          "value_type": "individual"
  1081        },
  1082        "type": "graph",
  1083        "xaxis": {
  1084          "buckets": null,
  1085          "mode": "time",
  1086          "name": null,
  1087          "show": true,
  1088          "values": []
  1089        },
  1090        "yaxes": [
  1091          {
  1092            "format": "short",
  1093            "label": "Count",
  1094            "logBase": 1,
  1095            "max": null,
  1096            "min": null,
  1097            "show": true
  1098          },
  1099          {
  1100            "format": "short",
  1101            "label": null,
  1102            "logBase": 1,
  1103            "max": null,
  1104            "min": null,
  1105            "show": true
  1106          }
  1107        ],
  1108        "yaxis": {
  1109          "align": false,
  1110          "alignLevel": null
  1111        }
  1112      },
  1113      {
  1114        "aliasColors": {},
  1115        "bars": false,
  1116        "dashLength": 10,
  1117        "dashes": false,
  1118        "datasource": "Prometheus",
  1119        "editable": true,
  1120        "error": false,
  1121        "fieldConfig": {
  1122          "defaults": {
  1123            "custom": {}
  1124          },
  1125          "overrides": []
  1126        },
  1127        "fill": 1,
  1128        "fillGradient": 0,
  1129        "gridPos": {
  1130          "h": 10,
  1131          "w": 24,
  1132          "x": 0,
  1133          "y": 94
  1134        },
  1135        "hiddenSeries": false,
  1136        "id": 18,
  1137        "legend": {
  1138          "avg": false,
  1139          "current": false,
  1140          "max": false,
  1141          "min": false,
  1142          "show": true,
  1143          "total": false,
  1144          "values": false
  1145        },
  1146        "lines": true,
  1147        "linewidth": 2,
  1148        "links": [],
  1149        "nullPointMode": "connected",
  1150        "options": {
  1151          "alertThreshold": true
  1152        },
  1153        "percentage": false,
  1154        "pluginVersion": "7.3.6",
  1155        "pointradius": 5,
  1156        "points": false,
  1157        "renderer": "flot",
  1158        "seriesOverrides": [],
  1159        "spaceLength": 10,
  1160        "stack": false,
  1161        "steppedLine": false,
  1162        "targets": [
  1163          {
  1164            "expr": "irate(mattermost_cluster_cluster_requests_total{instance=~\"$server\"}[1m])",
  1165            "format": "time_series",
  1166            "interval": "5s",
  1167            "intervalFactor": 1,
  1168            "legendFormat": "{{instance}}",
  1169            "metric": "mattermost_cluster_cluster_requests_total",
  1170            "refId": "A",
  1171            "step": 5
  1172          },
  1173          {
  1174            "expr": "sum(irate(mattermost_cluster_cluster_requests_total{instance=~\"$server\"}[1m]))",
  1175            "format": "time_series",
  1176            "interval": "5s",
  1177            "intervalFactor": 1,
  1178            "legendFormat": "Total",
  1179            "metric": "mattermost_cluster_cluster_requests_total",
  1180            "refId": "B",
  1181            "step": 5
  1182          }
  1183        ],
  1184        "thresholds": [],
  1185        "timeFrom": null,
  1186        "timeRegions": [],
  1187        "timeShift": null,
  1188        "title": "Number of Cluster Requests per Second",
  1189        "tooltip": {
  1190          "msResolution": false,
  1191          "shared": true,
  1192          "sort": 0,
  1193          "value_type": "individual"
  1194        },
  1195        "type": "graph",
  1196        "xaxis": {
  1197          "buckets": null,
  1198          "mode": "time",
  1199          "name": null,
  1200          "show": true,
  1201          "values": []
  1202        },
  1203        "yaxes": [
  1204          {
  1205            "format": "short",
  1206            "label": "Count",
  1207            "logBase": 1,
  1208            "max": null,
  1209            "min": null,
  1210            "show": true
  1211          },
  1212          {
  1213            "format": "short",
  1214            "label": null,
  1215            "logBase": 1,
  1216            "max": null,
  1217            "min": null,
  1218            "show": true
  1219          }
  1220        ],
  1221        "yaxis": {
  1222          "align": false,
  1223          "alignLevel": null
  1224        }
  1225      },
  1226      {
  1227        "aliasColors": {},
  1228        "bars": false,
  1229        "dashLength": 10,
  1230        "dashes": false,
  1231        "datasource": "Prometheus",
  1232        "editable": true,
  1233        "error": false,
  1234        "fieldConfig": {
  1235          "defaults": {
  1236            "custom": {}
  1237          },
  1238          "overrides": []
  1239        },
  1240        "fill": 1,
  1241        "fillGradient": 0,
  1242        "gridPos": {
  1243          "h": 10,
  1244          "w": 24,
  1245          "x": 0,
  1246          "y": 104
  1247        },
  1248        "hiddenSeries": false,
  1249        "id": 19,
  1250        "legend": {
  1251          "alignAsTable": true,
  1252          "avg": false,
  1253          "current": false,
  1254          "max": true,
  1255          "min": false,
  1256          "show": true,
  1257          "sort": "max",
  1258          "sortDesc": true,
  1259          "total": false,
  1260          "values": true
  1261        },
  1262        "lines": true,
  1263        "linewidth": 1,
  1264        "links": [],
  1265        "nullPointMode": "connected",
  1266        "options": {
  1267          "alertThreshold": true
  1268        },
  1269        "percentage": false,
  1270        "pluginVersion": "7.3.6",
  1271        "pointradius": 5,
  1272        "points": false,
  1273        "renderer": "flot",
  1274        "seriesOverrides": [],
  1275        "spaceLength": 10,
  1276        "stack": false,
  1277        "steppedLine": false,
  1278        "targets": [
  1279          {
  1280            "expr": "irate(mattermost_cluster_cluster_event_type_totals{instance=~\"$server\"}[1m])",
  1281            "format": "time_series",
  1282            "interval": "5s",
  1283            "intervalFactor": 1,
  1284            "legendFormat": "{{name}}",
  1285            "metric": "mattermost_websocket_broadcasts_total",
  1286            "refId": "A",
  1287            "step": 5
  1288          }
  1289        ],
  1290        "thresholds": [],
  1291        "timeFrom": null,
  1292        "timeRegions": [],
  1293        "timeShift": null,
  1294        "title": "Number of Cluster Events per Second",
  1295        "tooltip": {
  1296          "msResolution": false,
  1297          "shared": false,
  1298          "sort": 0,
  1299          "value_type": "individual"
  1300        },
  1301        "type": "graph",
  1302        "xaxis": {
  1303          "buckets": null,
  1304          "mode": "time",
  1305          "name": null,
  1306          "show": true,
  1307          "values": []
  1308        },
  1309        "yaxes": [
  1310          {
  1311            "format": "short",
  1312            "label": "Count",
  1313            "logBase": 1,
  1314            "max": null,
  1315            "min": null,
  1316            "show": true
  1317          },
  1318          {
  1319            "format": "short",
  1320            "label": null,
  1321            "logBase": 1,
  1322            "max": null,
  1323            "min": null,
  1324            "show": false
  1325          }
  1326        ],
  1327        "yaxis": {
  1328          "align": false,
  1329          "alignLevel": null
  1330        }
  1331      },
  1332      {
  1333        "aliasColors": {},
  1334        "bars": false,
  1335        "dashLength": 10,
  1336        "dashes": false,
  1337        "datasource": "Prometheus",
  1338        "editable": true,
  1339        "error": false,
  1340        "fieldConfig": {
  1341          "defaults": {
  1342            "custom": {}
  1343          },
  1344          "overrides": []
  1345        },
  1346        "fill": 1,
  1347        "fillGradient": 0,
  1348        "gridPos": {
  1349          "h": 9,
  1350          "w": 24,
  1351          "x": 0,
  1352          "y": 114
  1353        },
  1354        "hiddenSeries": false,
  1355        "id": 5,
  1356        "legend": {
  1357          "avg": false,
  1358          "current": false,
  1359          "max": false,
  1360          "min": false,
  1361          "show": true,
  1362          "total": false,
  1363          "values": false
  1364        },
  1365        "lines": true,
  1366        "linewidth": 2,
  1367        "links": [],
  1368        "nullPointMode": "connected",
  1369        "options": {
  1370          "alertThreshold": true
  1371        },
  1372        "percentage": false,
  1373        "pluginVersion": "7.3.6",
  1374        "pointradius": 5,
  1375        "points": false,
  1376        "renderer": "flot",
  1377        "seriesOverrides": [],
  1378        "spaceLength": 10,
  1379        "stack": false,
  1380        "steppedLine": false,
  1381        "targets": [
  1382          {
  1383            "expr": "go_gc_duration_seconds{instance=~\"$server\"}",
  1384            "format": "time_series",
  1385            "interval": "5s",
  1386            "intervalFactor": 1,
  1387            "legendFormat": "{{instance}} {{quantile}}",
  1388            "metric": "go_gc_duration_seconds",
  1389            "refId": "A",
  1390            "step": 5
  1391          }
  1392        ],
  1393        "thresholds": [],
  1394        "timeFrom": null,
  1395        "timeRegions": [],
  1396        "timeShift": null,
  1397        "title": "Garbage Collection Duration by Quantile (in seconds)",
  1398        "tooltip": {
  1399          "msResolution": false,
  1400          "shared": true,
  1401          "sort": 0,
  1402          "value_type": "individual"
  1403        },
  1404        "type": "graph",
  1405        "xaxis": {
  1406          "buckets": null,
  1407          "mode": "time",
  1408          "name": null,
  1409          "show": true,
  1410          "values": []
  1411        },
  1412        "yaxes": [
  1413          {
  1414            "format": "short",
  1415            "label": "Seconds",
  1416            "logBase": 1,
  1417            "max": null,
  1418            "min": null,
  1419            "show": true
  1420          },
  1421          {
  1422            "format": "short",
  1423            "label": null,
  1424            "logBase": 1,
  1425            "max": null,
  1426            "min": null,
  1427            "show": true
  1428          }
  1429        ],
  1430        "yaxis": {
  1431          "align": false,
  1432          "alignLevel": null
  1433        }
  1434      },
  1435      {
  1436        "aliasColors": {},
  1437        "bars": false,
  1438        "dashLength": 10,
  1439        "dashes": false,
  1440        "datasource": "Prometheus",
  1441        "editable": true,
  1442        "error": false,
  1443        "fieldConfig": {
  1444          "defaults": {
  1445            "custom": {}
  1446          },
  1447          "overrides": []
  1448        },
  1449        "fill": 1,
  1450        "fillGradient": 0,
  1451        "gridPos": {
  1452          "h": 9,
  1453          "w": 24,
  1454          "x": 0,
  1455          "y": 123
  1456        },
  1457        "hiddenSeries": false,
  1458        "id": 6,
  1459        "legend": {
  1460          "avg": false,
  1461          "current": false,
  1462          "max": false,
  1463          "min": false,
  1464          "show": true,
  1465          "total": false,
  1466          "values": false
  1467        },
  1468        "lines": true,
  1469        "linewidth": 2,
  1470        "links": [],
  1471        "nullPointMode": "connected",
  1472        "options": {
  1473          "alertThreshold": true
  1474        },
  1475        "percentage": false,
  1476        "pluginVersion": "7.3.6",
  1477        "pointradius": 5,
  1478        "points": false,
  1479        "renderer": "flot",
  1480        "seriesOverrides": [],
  1481        "spaceLength": 10,
  1482        "stack": false,
  1483        "steppedLine": false,
  1484        "targets": [
  1485          {
  1486            "expr": "go_memstats_heap_objects{instance=~\"$server\"}",
  1487            "format": "time_series",
  1488            "interval": "5s",
  1489            "intervalFactor": 1,
  1490            "legendFormat": "{{instance}}",
  1491            "metric": "go_memstats_heap_objects",
  1492            "refId": "A",
  1493            "step": 5
  1494          },
  1495          {
  1496            "expr": "sum(go_memstats_heap_objects{instance=~\"$server\"})",
  1497            "format": "time_series",
  1498            "interval": "5s",
  1499            "intervalFactor": 1,
  1500            "legendFormat": "Total",
  1501            "metric": "go_memstats_heap_objects",
  1502            "refId": "B",
  1503            "step": 5
  1504          }
  1505        ],
  1506        "thresholds": [],
  1507        "timeFrom": null,
  1508        "timeRegions": [],
  1509        "timeShift": null,
  1510        "title": "Number of Objects on the Heap",
  1511        "tooltip": {
  1512          "msResolution": false,
  1513          "shared": true,
  1514          "sort": 0,
  1515          "value_type": "individual"
  1516        },
  1517        "type": "graph",
  1518        "xaxis": {
  1519          "buckets": null,
  1520          "mode": "time",
  1521          "name": null,
  1522          "show": true,
  1523          "values": []
  1524        },
  1525        "yaxes": [
  1526          {
  1527            "format": "short",
  1528            "label": "Count",
  1529            "logBase": 1,
  1530            "max": null,
  1531            "min": null,
  1532            "show": true
  1533          },
  1534          {
  1535            "format": "short",
  1536            "label": null,
  1537            "logBase": 1,
  1538            "max": null,
  1539            "min": null,
  1540            "show": true
  1541          }
  1542        ],
  1543        "yaxis": {
  1544          "align": false,
  1545          "alignLevel": null
  1546        }
  1547      },
  1548      {
  1549        "aliasColors": {},
  1550        "bars": false,
  1551        "dashLength": 10,
  1552        "dashes": false,
  1553        "datasource": "Prometheus",
  1554        "editable": true,
  1555        "error": false,
  1556        "fieldConfig": {
  1557          "defaults": {
  1558            "custom": {}
  1559          },
  1560          "overrides": []
  1561        },
  1562        "fill": 1,
  1563        "fillGradient": 0,
  1564        "gridPos": {
  1565          "h": 9,
  1566          "w": 24,
  1567          "x": 0,
  1568          "y": 132
  1569        },
  1570        "hiddenSeries": false,
  1571        "id": 1,
  1572        "legend": {
  1573          "alignAsTable": true,
  1574          "avg": false,
  1575          "current": false,
  1576          "max": true,
  1577          "min": false,
  1578          "show": true,
  1579          "sort": "max",
  1580          "sortDesc": true,
  1581          "total": false,
  1582          "values": true
  1583        },
  1584        "lines": true,
  1585        "linewidth": 1,
  1586        "links": [],
  1587        "nullPointMode": "connected",
  1588        "options": {
  1589          "alertThreshold": true
  1590        },
  1591        "percentage": false,
  1592        "pluginVersion": "7.3.6",
  1593        "pointradius": 5,
  1594        "points": false,
  1595        "renderer": "flot",
  1596        "seriesOverrides": [],
  1597        "spaceLength": 10,
  1598        "stack": false,
  1599        "steppedLine": true,
  1600        "targets": [
  1601          {
  1602            "expr": "mattermost_cache_etag_hit_total{instance=~\"$server\"}/(mattermost_cache_etag_miss_total{instance=~\"$server\"} + mattermost_cache_etag_hit_total{instance=~\"$server\"})",
  1603            "format": "time_series",
  1604            "interval": "30s",
  1605            "intervalFactor": 1,
  1606            "legendFormat": "{{route}}",
  1607            "metric": "mattermost_cache_etag_hit_total",
  1608            "refId": "A",
  1609            "step": 30
  1610          }
  1611        ],
  1612        "thresholds": [],
  1613        "timeFrom": null,
  1614        "timeRegions": [],
  1615        "timeShift": null,
  1616        "title": "Etag Hit Rate",
  1617        "tooltip": {
  1618          "msResolution": false,
  1619          "shared": false,
  1620          "sort": 0,
  1621          "value_type": "individual"
  1622        },
  1623        "type": "graph",
  1624        "xaxis": {
  1625          "buckets": null,
  1626          "mode": "time",
  1627          "name": null,
  1628          "show": true,
  1629          "values": []
  1630        },
  1631        "yaxes": [
  1632          {
  1633            "format": "percentunit",
  1634            "label": "Hit Rate",
  1635            "logBase": 1,
  1636            "max": "1",
  1637            "min": "0",
  1638            "show": true
  1639          },
  1640          {
  1641            "format": "short",
  1642            "label": null,
  1643            "logBase": 1,
  1644            "max": null,
  1645            "min": null,
  1646            "show": false
  1647          }
  1648        ],
  1649        "yaxis": {
  1650          "align": false,
  1651          "alignLevel": null
  1652        }
  1653      },
  1654      {
  1655        "aliasColors": {},
  1656        "bars": false,
  1657        "dashLength": 10,
  1658        "dashes": false,
  1659        "datasource": "Prometheus",
  1660        "editable": true,
  1661        "error": false,
  1662        "fieldConfig": {
  1663          "defaults": {
  1664            "custom": {}
  1665          },
  1666          "overrides": []
  1667        },
  1668        "fill": 1,
  1669        "fillGradient": 0,
  1670        "gridPos": {
  1671          "h": 9,
  1672          "w": 24,
  1673          "x": 0,
  1674          "y": 141
  1675        },
  1676        "hiddenSeries": false,
  1677        "id": 2,
  1678        "legend": {
  1679          "alignAsTable": true,
  1680          "avg": false,
  1681          "current": false,
  1682          "max": true,
  1683          "min": false,
  1684          "show": true,
  1685          "sort": "max",
  1686          "sortDesc": true,
  1687          "total": false,
  1688          "values": true
  1689        },
  1690        "lines": true,
  1691        "linewidth": 1,
  1692        "links": [],
  1693        "nullPointMode": "connected",
  1694        "options": {
  1695          "alertThreshold": true
  1696        },
  1697        "percentage": false,
  1698        "pluginVersion": "7.3.6",
  1699        "pointradius": 5,
  1700        "points": false,
  1701        "renderer": "flot",
  1702        "seriesOverrides": [],
  1703        "spaceLength": 10,
  1704        "stack": false,
  1705        "steppedLine": false,
  1706        "targets": [
  1707          {
  1708            "expr": "mattermost_cache_mem_hit_total{instance=~\"$server\"}/(mattermost_cache_mem_miss_total{instance=~\"$server\"} + mattermost_cache_mem_hit_total{instance=~\"$server\"})",
  1709            "format": "time_series",
  1710            "interval": "30s",
  1711            "intervalFactor": 1,
  1712            "legendFormat": "{{name}}",
  1713            "metric": "mattermost_cache_mem_hit_total",
  1714            "refId": "A",
  1715            "step": 30
  1716          }
  1717        ],
  1718        "thresholds": [],
  1719        "timeFrom": null,
  1720        "timeRegions": [],
  1721        "timeShift": null,
  1722        "title": "Memory Cache Hit Rate",
  1723        "tooltip": {
  1724          "msResolution": false,
  1725          "shared": false,
  1726          "sort": 0,
  1727          "value_type": "individual"
  1728        },
  1729        "type": "graph",
  1730        "xaxis": {
  1731          "buckets": null,
  1732          "mode": "time",
  1733          "name": null,
  1734          "show": true,
  1735          "values": []
  1736        },
  1737        "yaxes": [
  1738          {
  1739            "format": "percentunit",
  1740            "label": "Hit Rate",
  1741            "logBase": 1,
  1742            "max": "1",
  1743            "min": "0",
  1744            "show": true
  1745          },
  1746          {
  1747            "format": "short",
  1748            "label": null,
  1749            "logBase": 1,
  1750            "max": null,
  1751            "min": null,
  1752            "show": false
  1753          }
  1754        ],
  1755        "yaxis": {
  1756          "align": false,
  1757          "alignLevel": null
  1758        }
  1759      },
  1760      {
  1761        "aliasColors": {},
  1762        "bars": true,
  1763        "dashLength": 10,
  1764        "dashes": false,
  1765        "datasource": "Prometheus",
  1766        "editable": true,
  1767        "error": false,
  1768        "fieldConfig": {
  1769          "defaults": {
  1770            "custom": {}
  1771          },
  1772          "overrides": []
  1773        },
  1774        "fill": 1,
  1775        "fillGradient": 0,
  1776        "gridPos": {
  1777          "h": 9,
  1778          "w": 24,
  1779          "x": 0,
  1780          "y": 150
  1781        },
  1782        "hiddenSeries": false,
  1783        "id": 3,
  1784        "legend": {
  1785          "alignAsTable": true,
  1786          "avg": true,
  1787          "current": false,
  1788          "max": false,
  1789          "min": false,
  1790          "show": true,
  1791          "sort": "avg",
  1792          "sortDesc": true,
  1793          "total": false,
  1794          "values": true
  1795        },
  1796        "lines": false,
  1797        "linewidth": 1,
  1798        "links": [],
  1799        "nullPointMode": "connected",
  1800        "options": {
  1801          "alertThreshold": true
  1802        },
  1803        "percentage": false,
  1804        "pluginVersion": "7.3.6",
  1805        "pointradius": 5,
  1806        "points": false,
  1807        "renderer": "flot",
  1808        "seriesOverrides": [],
  1809        "spaceLength": 10,
  1810        "stack": false,
  1811        "steppedLine": false,
  1812        "targets": [
  1813          {
  1814            "expr": "mattermost_cache_etag_hit_total{instance=~\"$server\"}/(mattermost_cache_etag_miss_total{instance=~\"$server\"} + mattermost_cache_etag_hit_total{instance=~\"$server\"})",
  1815            "format": "time_series",
  1816            "interval": "30s",
  1817            "intervalFactor": 1,
  1818            "legendFormat": "{{route}}",
  1819            "metric": "mattermost_cache_etag_hit_total",
  1820            "refId": "A",
  1821            "step": 30
  1822          }
  1823        ],
  1824        "thresholds": [],
  1825        "timeFrom": null,
  1826        "timeRegions": [],
  1827        "timeShift": null,
  1828        "title": "Mean Etag Hit Rate (for each server)",
  1829        "tooltip": {
  1830          "msResolution": false,
  1831          "shared": false,
  1832          "sort": 0,
  1833          "value_type": "individual"
  1834        },
  1835        "type": "graph",
  1836        "xaxis": {
  1837          "buckets": null,
  1838          "mode": "series",
  1839          "name": null,
  1840          "show": true,
  1841          "values": [
  1842            "avg"
  1843          ]
  1844        },
  1845        "yaxes": [
  1846          {
  1847            "format": "percentunit",
  1848            "label": "Hit Rate",
  1849            "logBase": 1,
  1850            "max": "1",
  1851            "min": "0",
  1852            "show": true
  1853          },
  1854          {
  1855            "format": "short",
  1856            "label": null,
  1857            "logBase": 1,
  1858            "max": null,
  1859            "min": null,
  1860            "show": false
  1861          }
  1862        ],
  1863        "yaxis": {
  1864          "align": false,
  1865          "alignLevel": null
  1866        }
  1867      },
  1868      {
  1869        "aliasColors": {},
  1870        "bars": true,
  1871        "dashLength": 10,
  1872        "dashes": false,
  1873        "datasource": "Prometheus",
  1874        "editable": true,
  1875        "error": false,
  1876        "fieldConfig": {
  1877          "defaults": {
  1878            "custom": {}
  1879          },
  1880          "overrides": []
  1881        },
  1882        "fill": 1,
  1883        "fillGradient": 0,
  1884        "gridPos": {
  1885          "h": 12,
  1886          "w": 24,
  1887          "x": 0,
  1888          "y": 159
  1889        },
  1890        "hiddenSeries": false,
  1891        "id": 4,
  1892        "legend": {
  1893          "alignAsTable": true,
  1894          "avg": true,
  1895          "current": false,
  1896          "max": false,
  1897          "min": false,
  1898          "show": true,
  1899          "sort": "avg",
  1900          "sortDesc": true,
  1901          "total": false,
  1902          "values": true
  1903        },
  1904        "lines": false,
  1905        "linewidth": 1,
  1906        "links": [],
  1907        "nullPointMode": "connected",
  1908        "options": {
  1909          "alertThreshold": true
  1910        },
  1911        "percentage": false,
  1912        "pluginVersion": "7.3.6",
  1913        "pointradius": 5,
  1914        "points": false,
  1915        "renderer": "flot",
  1916        "seriesOverrides": [],
  1917        "spaceLength": 10,
  1918        "stack": false,
  1919        "steppedLine": false,
  1920        "targets": [
  1921          {
  1922            "expr": "mattermost_cache_mem_hit_total{instance=~\"$server\"}/(mattermost_cache_mem_miss_total{instance=~\"$server\"} + mattermost_cache_mem_hit_total{instance=~\"$server\"})",
  1923            "format": "time_series",
  1924            "interval": "30s",
  1925            "intervalFactor": 1,
  1926            "legendFormat": "{{name}}",
  1927            "metric": "mattermost_cache_etag_hit_total",
  1928            "refId": "A",
  1929            "step": 30
  1930          }
  1931        ],
  1932        "thresholds": [],
  1933        "timeFrom": null,
  1934        "timeRegions": [],
  1935        "timeShift": null,
  1936        "title": "Mean Memory Cache Hit Rate (for each server)",
  1937        "tooltip": {
  1938          "msResolution": false,
  1939          "shared": false,
  1940          "sort": 0,
  1941          "value_type": "individual"
  1942        },
  1943        "type": "graph",
  1944        "xaxis": {
  1945          "buckets": null,
  1946          "mode": "series",
  1947          "name": null,
  1948          "show": true,
  1949          "values": [
  1950            "avg"
  1951          ]
  1952        },
  1953        "yaxes": [
  1954          {
  1955            "format": "percentunit",
  1956            "label": "Hit Rate",
  1957            "logBase": 1,
  1958            "max": "1",
  1959            "min": "0",
  1960            "show": true
  1961          },
  1962          {
  1963            "format": "short",
  1964            "label": null,
  1965            "logBase": 1,
  1966            "max": null,
  1967            "min": null,
  1968            "show": false
  1969          }
  1970        ],
  1971        "yaxis": {
  1972          "align": false,
  1973          "alignLevel": null
  1974        }
  1975      },
  1976      {
  1977        "aliasColors": {},
  1978        "bars": false,
  1979        "dashLength": 10,
  1980        "dashes": false,
  1981        "datasource": "Prometheus",
  1982        "editable": true,
  1983        "error": false,
  1984        "fieldConfig": {
  1985          "defaults": {
  1986            "custom": {}
  1987          },
  1988          "overrides": []
  1989        },
  1990        "fill": 1,
  1991        "fillGradient": 0,
  1992        "gridPos": {
  1993          "h": 9,
  1994          "w": 24,
  1995          "x": 0,
  1996          "y": 171
  1997        },
  1998        "hiddenSeries": false,
  1999        "id": 14,
  2000        "legend": {
  2001          "avg": false,
  2002          "current": false,
  2003          "max": false,
  2004          "min": false,
  2005          "show": true,
  2006          "total": false,
  2007          "values": false
  2008        },
  2009        "lines": true,
  2010        "linewidth": 2,
  2011        "links": [],
  2012        "nullPointMode": "connected",
  2013        "options": {
  2014          "alertThreshold": true
  2015        },
  2016        "percentage": false,
  2017        "pluginVersion": "7.3.6",
  2018        "pointradius": 5,
  2019        "points": false,
  2020        "renderer": "flot",
  2021        "seriesOverrides": [],
  2022        "spaceLength": 10,
  2023        "stack": false,
  2024        "steppedLine": false,
  2025        "targets": [
  2026          {
  2027            "expr": "mattermost_process_resident_memory_bytes{instance=~\"$server\"}/1024/1024",
  2028            "format": "time_series",
  2029            "interval": "5s",
  2030            "intervalFactor": 1,
  2031            "legendFormat": "{{instance}}",
  2032            "metric": "mattermost_process_resident_memory_bytes",
  2033            "refId": "A",
  2034            "step": 5
  2035          },
  2036          {
  2037            "expr": "sum(mattermost_process_resident_memory_bytes{instance=~\"$server\"}/1024/1024)",
  2038            "format": "time_series",
  2039            "interval": "5s",
  2040            "intervalFactor": 1,
  2041            "legendFormat": "Total",
  2042            "metric": "mattermost_process_resident_memory_bytes",
  2043            "refId": "B",
  2044            "step": 5
  2045          }
  2046        ],
  2047        "thresholds": [],
  2048        "timeFrom": null,
  2049        "timeRegions": [],
  2050        "timeShift": null,
  2051        "title": "Resident Memory Size (in MB)",
  2052        "tooltip": {
  2053          "msResolution": false,
  2054          "shared": true,
  2055          "sort": 0,
  2056          "value_type": "individual"
  2057        },
  2058        "type": "graph",
  2059        "xaxis": {
  2060          "buckets": null,
  2061          "mode": "time",
  2062          "name": null,
  2063          "show": true,
  2064          "values": []
  2065        },
  2066        "yaxes": [
  2067          {
  2068            "format": "short",
  2069            "label": "MB",
  2070            "logBase": 1,
  2071            "max": null,
  2072            "min": null,
  2073            "show": true
  2074          },
  2075          {
  2076            "format": "short",
  2077            "label": null,
  2078            "logBase": 1,
  2079            "max": null,
  2080            "min": null,
  2081            "show": true
  2082          }
  2083        ],
  2084        "yaxis": {
  2085          "align": false,
  2086          "alignLevel": null
  2087        }
  2088      },
  2089      {
  2090        "aliasColors": {},
  2091        "bars": false,
  2092        "dashLength": 10,
  2093        "dashes": false,
  2094        "datasource": "Prometheus",
  2095        "editable": true,
  2096        "error": false,
  2097        "fieldConfig": {
  2098          "defaults": {
  2099            "custom": {}
  2100          },
  2101          "overrides": []
  2102        },
  2103        "fill": 1,
  2104        "fillGradient": 0,
  2105        "gridPos": {
  2106          "h": 9,
  2107          "w": 24,
  2108          "x": 0,
  2109          "y": 180
  2110        },
  2111        "hiddenSeries": false,
  2112        "id": 15,
  2113        "legend": {
  2114          "avg": false,
  2115          "current": false,
  2116          "max": false,
  2117          "min": false,
  2118          "show": true,
  2119          "total": false,
  2120          "values": false
  2121        },
  2122        "lines": true,
  2123        "linewidth": 2,
  2124        "links": [],
  2125        "nullPointMode": "connected",
  2126        "options": {
  2127          "alertThreshold": true
  2128        },
  2129        "percentage": false,
  2130        "pluginVersion": "7.3.6",
  2131        "pointradius": 5,
  2132        "points": false,
  2133        "renderer": "flot",
  2134        "seriesOverrides": [],
  2135        "spaceLength": 10,
  2136        "stack": false,
  2137        "steppedLine": false,
  2138        "targets": [
  2139          {
  2140            "expr": "mattermost_process_virtual_memory_bytes{instance=~\"$server\"}/1024/1024",
  2141            "format": "time_series",
  2142            "interval": "5s",
  2143            "intervalFactor": 1,
  2144            "legendFormat": "{{instance}}",
  2145            "metric": "mattermost_process_virtual_memory_bytes",
  2146            "refId": "A",
  2147            "step": 5
  2148          },
  2149          {
  2150            "expr": "sum(mattermost_process_virtual_memory_bytes{instance=~\"$server\"}/1024/1024)",
  2151            "format": "time_series",
  2152            "interval": "5s",
  2153            "intervalFactor": 1,
  2154            "legendFormat": "Total",
  2155            "metric": "mattermost_process_virtual_memory_bytes",
  2156            "refId": "B",
  2157            "step": 5
  2158          }
  2159        ],
  2160        "thresholds": [],
  2161        "timeFrom": null,
  2162        "timeRegions": [],
  2163        "timeShift": null,
  2164        "title": "Virtual Memory Size (in MB)",
  2165        "tooltip": {
  2166          "msResolution": false,
  2167          "shared": true,
  2168          "sort": 0,
  2169          "value_type": "individual"
  2170        },
  2171        "type": "graph",
  2172        "xaxis": {
  2173          "buckets": null,
  2174          "mode": "time",
  2175          "name": null,
  2176          "show": true,
  2177          "values": []
  2178        },
  2179        "yaxes": [
  2180          {
  2181            "format": "short",
  2182            "label": "MB",
  2183            "logBase": 1,
  2184            "max": null,
  2185            "min": null,
  2186            "show": true
  2187          },
  2188          {
  2189            "format": "short",
  2190            "label": null,
  2191            "logBase": 1,
  2192            "max": null,
  2193            "min": null,
  2194            "show": true
  2195          }
  2196        ],
  2197        "yaxis": {
  2198          "align": false,
  2199          "alignLevel": null
  2200        }
  2201      },
  2202      {
  2203        "aliasColors": {},
  2204        "bars": false,
  2205        "dashLength": 10,
  2206        "dashes": false,
  2207        "datasource": "Prometheus",
  2208        "editable": true,
  2209        "error": false,
  2210        "fieldConfig": {
  2211          "defaults": {
  2212            "custom": {}
  2213          },
  2214          "overrides": []
  2215        },
  2216        "fill": 1,
  2217        "fillGradient": 0,
  2218        "gridPos": {
  2219          "h": 9,
  2220          "w": 24,
  2221          "x": 0,
  2222          "y": 189
  2223        },
  2224        "hiddenSeries": false,
  2225        "id": 16,
  2226        "legend": {
  2227          "avg": false,
  2228          "current": false,
  2229          "max": false,
  2230          "min": false,
  2231          "show": true,
  2232          "total": false,
  2233          "values": false
  2234        },
  2235        "lines": true,
  2236        "linewidth": 2,
  2237        "links": [],
  2238        "nullPointMode": "connected",
  2239        "options": {
  2240          "alertThreshold": true
  2241        },
  2242        "percentage": false,
  2243        "pluginVersion": "7.3.6",
  2244        "pointradius": 5,
  2245        "points": false,
  2246        "renderer": "flot",
  2247        "seriesOverrides": [],
  2248        "spaceLength": 10,
  2249        "stack": false,
  2250        "steppedLine": false,
  2251        "targets": [
  2252          {
  2253            "expr": "mattermost_process_open_fds{instance=~\"$server\"}",
  2254            "format": "time_series",
  2255            "interval": "5s",
  2256            "intervalFactor": 1,
  2257            "legendFormat": "{{instance}}",
  2258            "metric": "mattermost_process_open_fds",
  2259            "refId": "A",
  2260            "step": 5
  2261          },
  2262          {
  2263            "expr": "sum(mattermost_process_open_fds{instance=~\"$server\"})",
  2264            "format": "time_series",
  2265            "interval": "5s",
  2266            "intervalFactor": 1,
  2267            "legendFormat": "Total",
  2268            "metric": "mattermost_process_open_fds",
  2269            "refId": "B",
  2270            "step": 5
  2271          }
  2272        ],
  2273        "thresholds": [],
  2274        "timeFrom": null,
  2275        "timeRegions": [],
  2276        "timeShift": null,
  2277        "title": "Number of Open File Descriptors",
  2278        "tooltip": {
  2279          "msResolution": false,
  2280          "shared": true,
  2281          "sort": 0,
  2282          "value_type": "individual"
  2283        },
  2284        "type": "graph",
  2285        "xaxis": {
  2286          "buckets": null,
  2287          "mode": "time",
  2288          "name": null,
  2289          "show": true,
  2290          "values": []
  2291        },
  2292        "yaxes": [
  2293          {
  2294            "format": "short",
  2295            "label": "Count",
  2296            "logBase": 1,
  2297            "max": null,
  2298            "min": null,
  2299            "show": true
  2300          },
  2301          {
  2302            "format": "short",
  2303            "label": null,
  2304            "logBase": 1,
  2305            "max": null,
  2306            "min": null,
  2307            "show": true
  2308          }
  2309        ],
  2310        "yaxis": {
  2311          "align": false,
  2312          "alignLevel": null
  2313        }
  2314      }
  2315    ],
  2316    "refresh": "30s",
  2317    "schemaVersion": 26,
  2318    "style": "dark",
  2319    "tags": [
  2320      "mattermost",
  2321      "mattermost-perf"
  2322    ],
  2323    "templating": {
  2324      "list": [
  2325        {
  2326          "allValue": null,
  2327          "current": {
  2328            "selected": false,
  2329            "text": "host.docker.internal:8067",
  2330            "value": "host.docker.internal:8067"
  2331          },
  2332          "datasource": "Prometheus",
  2333          "definition": "",
  2334          "error": null,
  2335          "hide": 0,
  2336          "includeAll": false,
  2337          "label": "server",
  2338          "multi": true,
  2339          "name": "server",
  2340          "options": [],
  2341          "query": "label_values(instance)",
  2342          "refresh": 1,
  2343          "regex": "",
  2344          "skipUrlSync": false,
  2345          "sort": 0,
  2346          "tagValuesQuery": null,
  2347          "tags": [],
  2348          "tagsQuery": null,
  2349          "type": "query",
  2350          "useTags": false
  2351        }
  2352      ]
  2353    },
  2354    "time": {
  2355      "from": "now-6h",
  2356      "to": "now"
  2357    },
  2358    "timepicker": {
  2359      "refresh_intervals": [
  2360        "5s",
  2361        "10s",
  2362        "30s",
  2363        "1m",
  2364        "5m",
  2365        "15m",
  2366        "30m",
  2367        "1h",
  2368        "2h",
  2369        "1d"
  2370      ],
  2371      "time_options": [
  2372        "5m",
  2373        "15m",
  2374        "1h",
  2375        "6h",
  2376        "12h",
  2377        "24h",
  2378        "2d",
  2379        "7d",
  2380        "30d"
  2381      ]
  2382    },
  2383    "timezone": "browser",
  2384    "title": "Mattermost Performance Monitoring (Bonus Metrics)",
  2385    "uid": "000000013",
  2386    "version": 1
  2387  }