github.com/timstclair/heapster@v0.20.0-alpha1/grafana/dashboards/cluster.json (about)

     1  {
     2    "dashboard":
     3    {
     4      "title": "Kubernetes Cluster",
     5      "originalTitle": "Kubernetes Cluster",
     6      "tags": [],
     7      "style": "dark",
     8      "timezone": "browser",
     9      "editable": true,
    10      "hideControls": false,
    11      "sharedCrosshair": false,
    12      "rows": [
    13        {
    14          "collapse": true,
    15          "editable": true,
    16          "height": "100px",
    17          "panels": [
    18            {
    19              "content": "#### This dashboard displays Memory, CPU and Disk metrics at both cluster and node levels. Select a node from the above dropdown to see metrics specific to that node. Select \"All\" to see metrics for all nodes side by side.\n\n##### * Cluster metrics are sum across all nodes.\n##### * Node metrics are displayed on one panel for easy comparison.\n##### * There's also a panel for each node so one could \"double-click\" into the node for further analysis.\n",
    20              "editable": true,
    21              "error": false,
    22              "id": 23,
    23              "links": [],
    24              "mode": "markdown",
    25              "span": 12,
    26              "style": {},
    27              "title": "",
    28              "transparent": true,
    29              "type": "text"
    30            }
    31          ],
    32          "showTitle": true,
    33          "title": "Documentation"
    34        },
    35        {
    36          "collapse": false,
    37          "editable": true,
    38          "height": "250px",
    39          "panels": [
    40            {
    41              "aliasColors": {},
    42              "bars": false,
    43              "datasource": null,
    44              "decimals": 2,
    45              "editable": true,
    46              "error": false,
    47              "fill": 3,
    48              "grid": {
    49                "leftLogBase": 1,
    50                "leftMax": null,
    51                "leftMin": null,
    52                "rightLogBase": 1,
    53                "rightMax": null,
    54                "rightMin": null,
    55                "threshold1": null,
    56                "threshold1Color": "rgba(216, 200, 27, 0.27)",
    57                "threshold2": null,
    58                "threshold2Color": "rgba(234, 112, 112, 0.22)"
    59              },
    60              "id": 6,
    61              "interval": "",
    62              "leftYAxisLabel": "",
    63              "legend": {
    64                "avg": false,
    65                "current": true,
    66                "max": false,
    67                "min": false,
    68                "show": true,
    69                "total": false,
    70                "values": true
    71              },
    72              "lines": true,
    73              "linewidth": 3,
    74              "links": [],
    75              "nullPointMode": "connected",
    76              "percentage": false,
    77              "pointradius": 5,
    78              "points": false,
    79              "renderer": "flot",
    80              "seriesOverrides": [
    81                {
    82                  "alias": "Used Memory",
    83                  "yaxis": 2
    84                },
    85                {
    86                  "alias": "Total Used Memory",
    87                  "yaxis": 1
    88                },
    89                {
    90                  "alias": "Total Working Set",
    91                  "yaxis": 1
    92                }
    93              ],
    94              "span": 12,
    95              "stack": false,
    96              "steppedLine": false,
    97              "targets": [
    98                {
    99                  "alias": "Limit",
   100                  "fields": [
   101                    {
   102                      "func": "sum",
   103                      "name": "value"
   104                    }
   105                  ],
   106                  "groupByTags": [],
   107                  "measurement": "memory/limit_bytes_gauge",
   108                  "query": "SELECT sum(value) FROM \"memory/limit_bytes_gauge\" WHERE \"container_name\" = 'machine' AND $timeFilter GROUP BY time(10s)",
   109                  "rawQuery": true,
   110                  "tags": [
   111                    {
   112                      "key": "hostname",
   113                      "value": "/$node/"
   114                    },
   115                    {
   116                      "condition": "AND",
   117                      "key": "container_name",
   118                      "value": "machine"
   119                    }
   120                  ]
   121                },
   122                {
   123                  "alias": "Usage",
   124                  "fields": [
   125                    {
   126                      "func": "last",
   127                      "name": "value"
   128                    }
   129                  ],
   130                  "groupByTags": [],
   131                  "measurement": "memory/usage_bytes_gauge",
   132                  "query": "SELECT sum(value) FROM \"memory/usage_bytes_gauge\" WHERE \"container_name\" = 'machine' AND $timeFilter GROUP BY time(10s)",
   133                  "rawQuery": true,
   134                  "tags": [
   135                    {
   136                      "key": "hostname",
   137                      "value": "/$node/"
   138                    },
   139                    {
   140                      "condition": "AND",
   141                      "key": "container_name",
   142                      "value": "machine"
   143                    }
   144                  ]
   145                },
   146                {
   147                  "alias": "Working Set",
   148                  "fields": [
   149                    {
   150                      "func": "last",
   151                      "name": "value"
   152                    }
   153                  ],
   154                  "groupByTags": [],
   155                  "measurement": "memory/usage_bytes_gauge",
   156                  "query": "SELECT sum(value) FROM \"memory/working_set_bytes_gauge\" WHERE \"container_name\" = 'machine' AND $timeFilter GROUP BY time(10s)",
   157                  "rawQuery": true,
   158                  "tags": [
   159                    {
   160                      "key": "hostname",
   161                      "value": "/$node/"
   162                    },
   163                    {
   164                      "condition": "AND",
   165                      "key": "container_name",
   166                      "value": "machine"
   167                    }
   168                  ]
   169                }
   170              ],
   171              "timeFrom": null,
   172              "timeShift": null,
   173              "title": "",
   174              "tooltip": {
   175                "shared": true,
   176                "value_type": "cumulative"
   177              },
   178              "type": "graph",
   179              "x-axis": true,
   180              "y-axis": true,
   181              "y_formats": [
   182                "bytes",
   183                "bytes"
   184              ]
   185            }
   186          ],
   187          "showTitle": true,
   188          "title": "Overall Cluster Memory Usage"
   189        },
   190        {
   191          "collapse": false,
   192          "editable": true,
   193          "height": "250px",
   194          "panels": [
   195            {
   196              "aliasColors": {},
   197              "bars": false,
   198              "datasource": null,
   199              "decimals": 2,
   200              "editable": true,
   201              "error": false,
   202              "fill": 3,
   203              "grid": {
   204                "leftLogBase": 1,
   205                "leftMax": null,
   206                "leftMin": null,
   207                "rightLogBase": 1,
   208                "rightMax": null,
   209                "rightMin": null,
   210                "threshold1": null,
   211                "threshold1Color": "rgba(216, 200, 27, 0.27)",
   212                "threshold2": null,
   213                "threshold2Color": "rgba(234, 112, 112, 0.22)"
   214              },
   215              "id": 15,
   216              "interval": "",
   217              "leftYAxisLabel": "",
   218              "legend": {
   219                "avg": false,
   220                "current": true,
   221                "max": false,
   222                "min": false,
   223                "show": true,
   224                "total": false,
   225                "values": true
   226              },
   227              "lines": true,
   228              "linewidth": 3,
   229              "links": [],
   230              "nullPointMode": "connected",
   231              "percentage": false,
   232              "pointradius": 5,
   233              "points": false,
   234              "renderer": "flot",
   235              "seriesOverrides": [
   236                {
   237                  "alias": "Used Memory",
   238                  "yaxis": 2
   239                },
   240                {
   241                  "alias": "Total Used Memory",
   242                  "yaxis": 1
   243                },
   244                {
   245                  "alias": "Total Working Set",
   246                  "yaxis": 1
   247                }
   248              ],
   249              "span": 12,
   250              "stack": false,
   251              "steppedLine": false,
   252              "targets": [
   253                {
   254                  "alias": "",
   255                  "fields": [
   256                    {
   257                      "func": "mean",
   258                      "name": "value"
   259                    }
   260                  ],
   261                  "groupByTags": [
   262                    "hostname"
   263                  ],
   264                  "measurement": "memory/limit_bytes_gauge",
   265                  "query": "SELECT mean(value) FROM \"memory/limit_bytes_gauge\" WHERE \"container_name\" = 'machine' AND $timeFilter GROUP BY time($interval), \"hostname\"",
   266                  "rawQuery": false,
   267                  "tags": [
   268                    {
   269                      "key": "container_name",
   270                      "value": "machine"
   271                    }
   272                  ]
   273                },
   274                {
   275                  "alias": "",
   276                  "fields": [
   277                    {
   278                      "func": "mean",
   279                      "name": "value"
   280                    }
   281                  ],
   282                  "groupByTags": [
   283                    "hostname"
   284                  ],
   285                  "measurement": "memory/working_set_bytes_gauge",
   286                  "query": "SELECT mean(value) FROM \"memory/working_set_bytes_gauge\" WHERE \"container_name\" = 'machine' AND $timeFilter GROUP BY time($interval), \"hostname\"",
   287                  "rawQuery": false,
   288                  "tags": [
   289                    {
   290                      "key": "container_name",
   291                      "value": "machine"
   292                    }
   293                  ]
   294                }
   295              ],
   296              "timeFrom": null,
   297              "timeShift": null,
   298              "title": "",
   299              "tooltip": {
   300                "shared": true,
   301                "value_type": "cumulative"
   302              },
   303              "type": "graph",
   304              "x-axis": true,
   305              "y-axis": true,
   306              "y_formats": [
   307                "bytes",
   308                "bytes"
   309              ]
   310            }
   311          ],
   312          "showTitle": true,
   313          "title": "Memory Usage Group By Node"
   314        },
   315        {
   316          "collapse": false,
   317          "editable": true,
   318          "height": "250px",
   319          "panels": [
   320            {
   321              "aliasColors": {},
   322              "bars": false,
   323              "datasource": null,
   324              "decimals": 2,
   325              "editable": true,
   326              "error": false,
   327              "fill": 3,
   328              "grid": {
   329                "leftLogBase": 1,
   330                "leftMax": null,
   331                "leftMin": null,
   332                "rightLogBase": 1,
   333                "rightMax": null,
   334                "rightMin": null,
   335                "threshold1": null,
   336                "threshold1Color": "rgba(216, 200, 27, 0.27)",
   337                "threshold2": null,
   338                "threshold2Color": "rgba(234, 112, 112, 0.22)"
   339              },
   340              "id": 7,
   341              "leftYAxisLabel": "",
   342              "legend": {
   343                "avg": false,
   344                "current": true,
   345                "max": false,
   346                "min": false,
   347                "show": true,
   348                "total": false,
   349                "values": true
   350              },
   351              "lines": true,
   352              "linewidth": 3,
   353              "links": [],
   354              "minSpan": 6,
   355              "nullPointMode": "connected",
   356              "percentage": false,
   357              "pointradius": 5,
   358              "points": false,
   359              "renderer": "flot",
   360              "repeat": "node",
   361              "repeatIteration": 1443041003983,
   362              "scopedVars": {
   363              },
   364              "seriesOverrides": [
   365                {
   366                  "alias": "Used Memory",
   367                  "yaxis": 1
   368                },
   369                {
   370                  "alias": "Working Set",
   371                  "yaxis": 1
   372                }
   373              ],
   374              "span": 12,
   375              "stack": false,
   376              "steppedLine": false,
   377              "targets": [
   378                {
   379                  "alias": "Limit",
   380                  "fields": [
   381                    {
   382                      "func": "last",
   383                      "name": "value"
   384                    }
   385                  ],
   386                  "groupByTags": [],
   387                  "measurement": "memory/limit_bytes_gauge",
   388                  "query": "SELECT last(value) FROM \"memory/limit_bytes_gauge\" WHERE \"hostname\" =~ /$node/ AND \"container_name\" = 'machine' AND $timeFilter GROUP BY time($interval)",
   389                  "tags": [
   390                    {
   391                      "key": "hostname",
   392                      "value": "/$node/"
   393                    },
   394                    {
   395                      "condition": "AND",
   396                      "key": "container_name",
   397                      "value": "machine"
   398                    }
   399                  ]
   400                },
   401                {
   402                  "alias": "Usage",
   403                  "fields": [
   404                    {
   405                      "func": "last",
   406                      "name": "value"
   407                    }
   408                  ],
   409                  "groupByTags": [],
   410                  "measurement": "memory/usage_bytes_gauge",
   411                  "query": "SELECT last(value) FROM \"memory/usage_bytes_gauge\" WHERE \"hostname\" =~ /$node/ AND \"container_name\" = 'machine' AND $timeFilter GROUP BY time($interval)",
   412                  "tags": [
   413                    {
   414                      "key": "hostname",
   415                      "value": "/$node/"
   416                    },
   417                    {
   418                      "condition": "AND",
   419                      "key": "container_name",
   420                      "value": "machine"
   421                    }
   422                  ]
   423                },
   424                {
   425                  "alias": "Working Set",
   426                  "fields": [
   427                    {
   428                      "func": "last",
   429                      "name": "value"
   430                    }
   431                  ],
   432                  "groupByTags": [],
   433                  "measurement": "memory/working_set_bytes_gauge",
   434                  "query": "SELECT last(value) FROM \"memory/working_set_bytes_gauge\" WHERE \"hostname\" =~ /$node/ AND \"container_name\" = 'machine' AND $timeFilter GROUP BY time($interval)",
   435                  "tags": [
   436                    {
   437                      "key": "hostname",
   438                      "value": "/$node/"
   439                    },
   440                    {
   441                      "condition": "AND",
   442                      "key": "container_name",
   443                      "value": "machine"
   444                    }
   445                  ]
   446                }
   447              ],
   448              "timeFrom": null,
   449              "timeShift": null,
   450              "title": "$node Memory Usage",
   451              "tooltip": {
   452                "shared": true,
   453                "value_type": "cumulative"
   454              },
   455              "type": "graph",
   456              "x-axis": true,
   457              "y-axis": true,
   458              "y_formats": [
   459                "bytes",
   460                "bytes"
   461              ]
   462            }
   463          ],
   464          "repeat": null,
   465          "scopedVars": {
   466          },
   467          "showTitle": true,
   468          "title": "Individual Node Memory Usage"
   469        },
   470        {
   471          "collapse": false,
   472          "editable": true,
   473          "height": "250px",
   474          "panels": [
   475            {
   476              "aliasColors": {},
   477              "bars": false,
   478              "datasource": null,
   479              "decimals": 2,
   480              "editable": true,
   481              "error": false,
   482              "fill": 1,
   483              "grid": {
   484                "leftLogBase": 1,
   485                "leftMax": null,
   486                "leftMin": null,
   487                "rightLogBase": 1,
   488                "rightMax": null,
   489                "rightMin": null,
   490                "threshold1": null,
   491                "threshold1Color": "rgba(216, 200, 27, 0.27)",
   492                "threshold2": null,
   493                "threshold2Color": "rgba(234, 112, 112, 0.22)"
   494              },
   495              "id": 11,
   496              "interval": "10s",
   497              "legend": {
   498                "avg": false,
   499                "current": true,
   500                "max": false,
   501                "min": false,
   502                "show": true,
   503                "total": false,
   504                "values": true
   505              },
   506              "lines": true,
   507              "linewidth": 2,
   508              "links": [],
   509              "nullPointMode": "connected",
   510              "percentage": false,
   511              "pointradius": 5,
   512              "points": false,
   513              "renderer": "flot",
   514              "seriesOverrides": [
   515                {
   516                  "alias": "usage",
   517                  "yaxis": 2
   518                }
   519              ],
   520              "span": 12,
   521              "stack": false,
   522              "steppedLine": false,
   523              "targets": [
   524                {
   525                  "alias": "",
   526                  "fields": [
   527                    {
   528                      "func": "mean",
   529                      "name": "value"
   530                    }
   531                  ],
   532                  "groupByTags": [
   533                    "hostname"
   534                  ],
   535                  "measurement": "cpu/limit_gauge",
   536                  "query": "SELECT mean(value) FROM \"cpu/limit_gauge\" WHERE \"container_name\" = 'machine' AND $timeFilter GROUP BY time($interval), \"hostname\"",
   537                  "rawQuery": true,
   538                  "tags": [
   539                    {
   540                      "key": "container_name",
   541                      "value": "machine"
   542                    }
   543                  ]
   544                },
   545                {
   546                  "alias": "",
   547                  "fields": [
   548                    {
   549                      "func": "derivative",
   550                      "name": "value"
   551                    }
   552                  ],
   553                  "groupByTags": [],
   554                  "measurement": "cpu/usage_ns_cumulative",
   555                  "query": "SELECT derivative(value)/10000000 FROM \"cpu/usage_ns_cumulative\" WHERE \"container_name\" = 'machine' AND $timeFilter GROUP BY time($interval), \"hostname\"",
   556                  "rawQuery": true,
   557                  "tags": [
   558                    {
   559                      "key": "container_name",
   560                      "value": "machine"
   561                    },
   562                    {
   563                      "condition": "AND",
   564                      "key": "hostname",
   565                      "value": "/$node/"
   566                    }
   567                  ],
   568                  "target": ""
   569                }
   570              ],
   571              "timeFrom": null,
   572              "timeShift": null,
   573              "title": "",
   574              "tooltip": {
   575                "shared": true,
   576                "value_type": "cumulative"
   577              },
   578              "type": "graph",
   579              "x-axis": true,
   580              "y-axis": true,
   581              "y_formats": [
   582                "ms",
   583                "ms"
   584              ]
   585            }
   586          ],
   587          "showTitle": true,
   588          "title": "CPU Usage Group By Node"
   589        },
   590        {
   591          "collapse": false,
   592          "editable": true,
   593          "height": "250px",
   594          "panels": [
   595            {
   596              "aliasColors": {},
   597              "bars": false,
   598              "datasource": null,
   599              "decimals": 2,
   600              "editable": true,
   601              "error": false,
   602              "fill": 1,
   603              "grid": {
   604                "leftLogBase": 1,
   605                "leftMax": null,
   606                "leftMin": null,
   607                "rightLogBase": 1,
   608                "rightMax": null,
   609                "rightMin": null,
   610                "threshold1": null,
   611                "threshold1Color": "rgba(216, 200, 27, 0.27)",
   612                "threshold2": null,
   613                "threshold2Color": "rgba(234, 112, 112, 0.22)"
   614              },
   615              "id": 16,
   616              "interval": "10s",
   617              "legend": {
   618                "avg": false,
   619                "current": true,
   620                "max": false,
   621                "min": false,
   622                "show": true,
   623                "total": false,
   624                "values": true
   625              },
   626              "lines": true,
   627              "linewidth": 2,
   628              "links": [],
   629              "minSpan": 6,
   630              "nullPointMode": "connected",
   631              "percentage": false,
   632              "pointradius": 5,
   633              "points": false,
   634              "renderer": "flot",
   635              "repeat": "node",
   636              "scopedVars": {
   637              },
   638              "seriesOverrides": [
   639                {
   640                  "alias": "usage",
   641                  "yaxis": 2
   642                }
   643              ],
   644              "span": 12,
   645              "stack": false,
   646              "steppedLine": false,
   647              "targets": [
   648                {
   649                  "alias": "Limit",
   650                  "fields": [
   651                    {
   652                      "func": "mean",
   653                      "name": "value"
   654                    }
   655                  ],
   656                  "groupByTags": [],
   657                  "measurement": "cpu/limit_gauge",
   658                  "query": "SELECT mean(value) FROM \"cpu/limit_gauge\" WHERE \"container_name\" = 'machine' AND \"hostname\" =~ /$node/ AND $timeFilter GROUP BY time($interval)",
   659                  "rawQuery": false,
   660                  "tags": [
   661                    {
   662                      "key": "container_name",
   663                      "value": "machine"
   664                    },
   665                    {
   666                      "condition": "AND",
   667                      "key": "hostname",
   668                      "value": "/$node/"
   669                    }
   670                  ]
   671                },
   672                {
   673                  "alias": "Usage",
   674                  "fields": [
   675                    {
   676                      "func": "derivative",
   677                      "name": "value"
   678                    }
   679                  ],
   680                  "groupByTags": [],
   681                  "measurement": "cpu/usage_ns_cumulative",
   682                  "query": "SELECT derivative(value)/10000000 FROM \"cpu/usage_ns_cumulative\" WHERE \"container_name\" = 'machine' AND \"hostname\" =~ /$node/ AND $timeFilter GROUP BY time($interval)",
   683                  "rawQuery": true,
   684                  "tags": [
   685                    {
   686                      "key": "container_name",
   687                      "value": "machine"
   688                    },
   689                    {
   690                      "condition": "AND",
   691                      "key": "hostname",
   692                      "value": "/$node/"
   693                    }
   694                  ],
   695                  "target": ""
   696                }
   697              ],
   698              "timeFrom": null,
   699              "timeShift": null,
   700              "title": "$node CPU Usage",
   701              "tooltip": {
   702                "shared": true,
   703                "value_type": "cumulative"
   704              },
   705              "type": "graph",
   706              "x-axis": true,
   707              "y-axis": true,
   708              "y_formats": [
   709                "ms",
   710                "ms"
   711              ]
   712            }
   713          ],
   714          "showTitle": true,
   715          "title": "Individual Node CPU Usage"
   716        },
   717        {
   718          "collapse": false,
   719          "editable": true,
   720          "height": "250px",
   721          "panels": [
   722            {
   723              "aliasColors": {},
   724              "bars": false,
   725              "datasource": null,
   726              "decimals": 2,
   727              "editable": true,
   728              "error": false,
   729              "fill": 1,
   730              "grid": {
   731                "leftLogBase": 1,
   732                "leftMax": null,
   733                "leftMin": null,
   734                "rightLogBase": 1,
   735                "rightMax": null,
   736                "rightMin": null,
   737                "threshold1": null,
   738                "threshold1Color": "rgba(216, 200, 27, 0.27)",
   739                "threshold2": null,
   740                "threshold2Color": "rgba(234, 112, 112, 0.22)"
   741              },
   742              "id": 9,
   743              "legend": {
   744                "avg": true,
   745                "current": true,
   746                "max": true,
   747                "min": false,
   748                "show": true,
   749                "total": false,
   750                "values": true
   751              },
   752              "lines": true,
   753              "linewidth": 2,
   754              "links": [],
   755              "nullPointMode": "connected",
   756              "percentage": false,
   757              "pointradius": 5,
   758              "points": false,
   759              "renderer": "flot",
   760              "seriesOverrides": [
   761                {
   762                  "alias": "Used Disk",
   763                  "yaxis": 2
   764                },
   765                {
   766                  "alias": "Total Used Disk",
   767                  "yaxis": 2
   768                }
   769              ],
   770              "span": 12,
   771              "stack": false,
   772              "steppedLine": false,
   773              "targets": [
   774                {
   775                  "alias": "Limit",
   776                  "fields": [
   777                    {
   778                      "func": "mean",
   779                      "name": "value"
   780                    }
   781                  ],
   782                  "groupByTags": [],
   783                  "query": "SELECT sum(value) FROM \"filesystem/limit_bytes_gauge\" WHERE \"container_name\" = 'machine' AND $timeFilter GROUP BY time(10s)",
   784                  "rawQuery": true,
   785                  "tags": []
   786                },
   787                {
   788                  "alias": "Usage",
   789                  "fields": [
   790                    {
   791                      "func": "mean",
   792                      "name": "value"
   793                    }
   794                  ],
   795                  "groupByTags": [],
   796                  "query": "SELECT sum(value) FROM \"filesystem/usage_bytes_gauge\" WHERE \"container_name\" = 'machine' AND $timeFilter GROUP BY time(10s)",
   797                  "rawQuery": true,
   798                  "tags": []
   799                }
   800              ],
   801              "timeFrom": null,
   802              "timeShift": null,
   803              "title": "",
   804              "tooltip": {
   805                "shared": true,
   806                "value_type": "cumulative"
   807              },
   808              "type": "graph",
   809              "x-axis": true,
   810              "y-axis": true,
   811              "y_formats": [
   812                "bytes",
   813                "bytes"
   814              ]
   815            }
   816          ],
   817          "showTitle": true,
   818          "title": "Overall Cluster Disk Usage"
   819        },
   820        {
   821          "collapse": false,
   822          "editable": true,
   823          "height": "250px",
   824          "panels": [
   825            {
   826              "aliasColors": {},
   827              "bars": false,
   828              "datasource": null,
   829              "decimals": 2,
   830              "editable": true,
   831              "error": false,
   832              "fill": 1,
   833              "grid": {
   834                "leftLogBase": 1,
   835                "leftMax": null,
   836                "leftMin": null,
   837                "rightLogBase": 1,
   838                "rightMax": null,
   839                "rightMin": null,
   840                "threshold1": null,
   841                "threshold1Color": "rgba(216, 200, 27, 0.27)",
   842                "threshold2": null,
   843                "threshold2Color": "rgba(234, 112, 112, 0.22)"
   844              },
   845              "id": 19,
   846              "legend": {
   847                "avg": false,
   848                "current": true,
   849                "max": false,
   850                "min": false,
   851                "show": true,
   852                "total": false,
   853                "values": true
   854              },
   855              "lines": true,
   856              "linewidth": 2,
   857              "links": [],
   858              "nullPointMode": "connected",
   859              "percentage": false,
   860              "pointradius": 5,
   861              "points": false,
   862              "renderer": "flot",
   863              "seriesOverrides": [
   864                {
   865                  "alias": "Used Disk",
   866                  "yaxis": 2
   867                },
   868                {
   869                  "alias": "Total Used Disk",
   870                  "yaxis": 2
   871                }
   872              ],
   873              "span": 12,
   874              "stack": false,
   875              "steppedLine": false,
   876              "targets": [
   877                {
   878                  "alias": "",
   879                  "fields": [
   880                    {
   881                      "func": "mean",
   882                      "name": "value"
   883                    }
   884                  ],
   885                  "groupByTags": [
   886                    "hostname"
   887                  ],
   888                  "measurement": "filesystem/limit_bytes_gauge",
   889                  "query": "SELECT mean(value) FROM \"filesystem/limit_bytes_gauge\" WHERE \"container_name\" = 'machine' AND $timeFilter GROUP BY time($interval), \"hostname\"",
   890                  "rawQuery": false,
   891                  "tags": [
   892                    {
   893                      "key": "container_name",
   894                      "value": "machine"
   895                    }
   896                  ]
   897                },
   898                {
   899                  "alias": "",
   900                  "fields": [
   901                    {
   902                      "func": "mean",
   903                      "name": "value"
   904                    }
   905                  ],
   906                  "groupByTags": [
   907                    "hostname"
   908                  ],
   909                  "measurement": "filesystem/usage_bytes_gauge",
   910                  "query": "SELECT mean(value) FROM \"filesystem/usage_bytes_gauge\" WHERE \"container_name\" = 'machine' AND $timeFilter GROUP BY time($interval), \"hostname\"",
   911                  "rawQuery": false,
   912                  "tags": [
   913                    {
   914                      "key": "container_name",
   915                      "value": "machine"
   916                    }
   917                  ]
   918                }
   919              ],
   920              "timeFrom": null,
   921              "timeShift": null,
   922              "title": "",
   923              "tooltip": {
   924                "shared": true,
   925                "value_type": "cumulative"
   926              },
   927              "type": "graph",
   928              "x-axis": true,
   929              "y-axis": true,
   930              "y_formats": [
   931                "bytes",
   932                "bytes"
   933              ]
   934            }
   935          ],
   936          "showTitle": true,
   937          "title": "Disk Usage Group By Node"
   938        },
   939        {
   940          "collapse": false,
   941          "editable": true,
   942          "height": "250px",
   943          "panels": [
   944            {
   945              "aliasColors": {},
   946              "bars": false,
   947              "datasource": null,
   948              "decimals": 2,
   949              "editable": true,
   950              "error": false,
   951              "fill": 1,
   952              "grid": {
   953                "leftLogBase": 1,
   954                "leftMax": null,
   955                "leftMin": null,
   956                "rightLogBase": 1,
   957                "rightMax": null,
   958                "rightMin": null,
   959                "threshold1": null,
   960                "threshold1Color": "rgba(216, 200, 27, 0.27)",
   961                "threshold2": null,
   962                "threshold2Color": "rgba(234, 112, 112, 0.22)"
   963              },
   964              "id": 10,
   965              "legend": {
   966                "avg": true,
   967                "current": true,
   968                "max": true,
   969                "min": false,
   970                "show": true,
   971                "total": false,
   972                "values": true
   973              },
   974              "lines": true,
   975              "linewidth": 2,
   976              "links": [],
   977              "minSpan": 6,
   978              "nullPointMode": "connected",
   979              "percentage": false,
   980              "pointradius": 5,
   981              "points": false,
   982              "renderer": "flot",
   983              "repeat": "node",
   984              "scopedVars": {
   985              },
   986              "seriesOverrides": [
   987                {
   988                  "alias": "Used Disk",
   989                  "yaxis": 2
   990                }
   991              ],
   992              "span": 12,
   993              "stack": false,
   994              "steppedLine": false,
   995              "targets": [
   996                {
   997                  "alias": "Limit",
   998                  "fields": [
   999                    {
  1000                      "func": "mean",
  1001                      "name": "value"
  1002                    }
  1003                  ],
  1004                  "groupByTags": [],
  1005                  "query": "SELECT last(value) FROM \"filesystem/limit_bytes_gauge\" WHERE \"hostname\" =~ /$node/ AND \"container_name\" = 'machine' AND $timeFilter GROUP BY time($interval)",
  1006                  "rawQuery": true,
  1007                  "tags": []
  1008                },
  1009                {
  1010                  "alias": "Usage",
  1011                  "fields": [
  1012                    {
  1013                      "func": "mean",
  1014                      "name": "value"
  1015                    }
  1016                  ],
  1017                  "groupByTags": [],
  1018                  "query": "SELECT last(value) FROM \"filesystem/usage_bytes_gauge\" WHERE \"hostname\" =~ /$node/ AND \"container_name\" = 'machine' AND $timeFilter GROUP BY time($interval)",
  1019                  "rawQuery": true,
  1020                  "tags": []
  1021                }
  1022              ],
  1023              "timeFrom": null,
  1024              "timeShift": null,
  1025              "title": "$node Disk Usage",
  1026              "tooltip": {
  1027                "shared": true,
  1028                "value_type": "cumulative"
  1029              },
  1030              "type": "graph",
  1031              "x-axis": true,
  1032              "y-axis": true,
  1033              "y_formats": [
  1034                "bytes",
  1035                "bytes"
  1036              ]
  1037            }
  1038          ],
  1039          "showTitle": true,
  1040          "title": "Individual Node Disk Usage"
  1041        }
  1042      ],
  1043      "nav": [
  1044        {
  1045          "collapse": false,
  1046          "enable": true,
  1047          "notice": false,
  1048          "now": true,
  1049          "refresh_intervals": [
  1050            "5s",
  1051            "10s",
  1052            "30s",
  1053            "1m",
  1054            "5m",
  1055            "15m",
  1056            "30m",
  1057            "1h",
  1058            "2h",
  1059            "1d"
  1060          ],
  1061          "status": "Stable",
  1062          "time_options": [
  1063            "5m",
  1064            "15m",
  1065            "1h",
  1066            "6h",
  1067            "12h",
  1068            "24h",
  1069            "2d",
  1070            "7d",
  1071            "30d"
  1072          ],
  1073          "type": "timepicker"
  1074        }
  1075      ],
  1076      "time": {
  1077        "from": "now-6h",
  1078        "to": "now"
  1079      },
  1080      "templating": {
  1081        "list": [
  1082          {
  1083            "allFormat": "glob",
  1084            "current": {
  1085            },
  1086            "datasource": null,
  1087            "includeAll": true,
  1088            "label": "Node",
  1089            "multi": false,
  1090            "multiFormat": "glob",
  1091            "name": "node",
  1092            "options": [
  1093            ],
  1094            "query": "SHOW TAG VALUES FROM \"uptime_ms_cumulative\" WITH KEY = \"hostname\"\t",
  1095            "refresh": true,
  1096            "refresh_on_load": true,
  1097            "regex": "",
  1098            "type": "query",
  1099            "useTags": false
  1100          }
  1101        ]
  1102      },
  1103      "annotations": {
  1104        "list": []
  1105      },
  1106      "schemaVersion": 6,
  1107      "version": 33,
  1108      "links": []
  1109    }
  1110  }