github.com/hernad/nomad@v1.6.112/integrations/grafana_dashboards/sample_grafana_dashboard.json (about)

     1  {
     2    "__inputs": [
     3      {
     4        "name": "DS_PROMETHEUS-DATA",
     5        "label": "prometheus-data",
     6        "description": "",
     7        "type": "datasource",
     8        "pluginId": "prometheus",
     9        "pluginName": "Prometheus"
    10      }
    11    ],
    12    "__requires": [
    13      {
    14        "type": "grafana",
    15        "id": "grafana",
    16        "name": "Grafana",
    17        "version": "4.4.3"
    18      },
    19      {
    20        "type": "panel",
    21        "id": "graph",
    22        "name": "Graph",
    23        "version": ""
    24      },
    25      {
    26        "type": "panel",
    27        "id": "heatmap",
    28        "name": "Heatmap",
    29        "version": ""
    30      },
    31      {
    32        "type": "datasource",
    33        "id": "prometheus",
    34        "name": "Prometheus",
    35        "version": "1.0.0"
    36      }
    37    ],
    38    "annotations": {
    39      "list": []
    40    },
    41    "editable": true,
    42    "gnetId": null,
    43    "graphTooltip": 0,
    44    "hideControls": false,
    45    "id": null,
    46    "links": [],
    47    "rows": [
    48      {
    49        "collapse": false,
    50        "height": "250px",
    51        "panels": [
    52          {
    53            "aliasColors": {},
    54            "bars": true,
    55            "dashLength": 10,
    56            "dashes": false,
    57            "datasource": "${DS_PROMETHEUS-DATA}",
    58            "fill": 1,
    59            "id": 1,
    60            "legend": {
    61              "avg": false,
    62              "current": false,
    63              "max": false,
    64              "min": false,
    65              "show": true,
    66              "total": false,
    67              "values": false
    68            },
    69            "lines": true,
    70            "linewidth": 1,
    71            "links": [],
    72            "nullPointMode": "null",
    73            "percentage": false,
    74            "pointradius": 5,
    75            "points": false,
    76            "renderer": "flot",
    77            "seriesOverrides": [],
    78            "spaceLength": 10,
    79            "span": 12,
    80            "stack": false,
    81            "steppedLine": false,
    82            "targets": [
    83              {
    84                "expr": "nomad_client_consul_check_registrations",
    85                "format": "time_series",
    86                "intervalFactor": 2,
    87                "metric": "nomad_client_consul_check_registrations",
    88                "refId": "B",
    89                "step": 20
    90              }
    91            ],
    92            "thresholds": [],
    93            "timeFrom": null,
    94            "timeShift": null,
    95            "title": "Client Consul Check Registrations",
    96            "tooltip": {
    97              "shared": true,
    98              "sort": 0,
    99              "value_type": "individual"
   100            },
   101            "type": "graph",
   102            "xaxis": {
   103              "buckets": null,
   104              "mode": "time",
   105              "name": null,
   106              "show": true,
   107              "values": []
   108            },
   109            "yaxes": [
   110              {
   111                "format": "short",
   112                "label": null,
   113                "logBase": 1,
   114                "max": null,
   115                "min": null,
   116                "show": true
   117              },
   118              {
   119                "format": "short",
   120                "label": null,
   121                "logBase": 1,
   122                "max": null,
   123                "min": null,
   124                "show": true
   125              }
   126            ]
   127          }
   128        ],
   129        "repeat": null,
   130        "repeatIteration": null,
   131        "repeatRowId": null,
   132        "showTitle": false,
   133        "title": "Dashboard Row",
   134        "titleSize": "h6"
   135      },
   136      {
   137        "collapse": false,
   138        "height": 250,
   139        "panels": [
   140          {
   141            "aliasColors": {},
   142            "bars": false,
   143            "dashLength": 10,
   144            "dashes": false,
   145            "datasource": "${DS_PROMETHEUS-DATA}",
   146            "fill": 1,
   147            "id": 6,
   148            "legend": {
   149              "avg": false,
   150              "current": false,
   151              "max": false,
   152              "min": false,
   153              "show": true,
   154              "total": false,
   155              "values": false
   156            },
   157            "lines": true,
   158            "linewidth": 1,
   159            "links": [],
   160            "nullPointMode": "null",
   161            "percentage": false,
   162            "pointradius": 5,
   163            "points": false,
   164            "renderer": "flot",
   165            "seriesOverrides": [],
   166            "spaceLength": 10,
   167            "span": 6,
   168            "stack": false,
   169            "steppedLine": true,
   170            "targets": [
   171              {
   172                "expr": "nomad_client_allocations_running",
   173                "format": "time_series",
   174                "intervalFactor": 2,
   175                "metric": "nomad_client_allocations_running",
   176                "refId": "A",
   177                "step": 20
   178              }
   179            ],
   180            "thresholds": [],
   181            "timeFrom": null,
   182            "timeShift": null,
   183            "title": "Client Allocations Running",
   184            "tooltip": {
   185              "shared": true,
   186              "sort": 0,
   187              "value_type": "individual"
   188            },
   189            "type": "graph",
   190            "xaxis": {
   191              "buckets": null,
   192              "mode": "time",
   193              "name": null,
   194              "show": true,
   195              "values": []
   196            },
   197            "yaxes": [
   198              {
   199                "format": "short",
   200                "label": null,
   201                "logBase": 1,
   202                "max": null,
   203                "min": null,
   204                "show": true
   205              },
   206              {
   207                "format": "short",
   208                "label": null,
   209                "logBase": 1,
   210                "max": null,
   211                "min": null,
   212                "show": true
   213              }
   214            ]
   215          },
   216          {
   217            "aliasColors": {},
   218            "bars": true,
   219            "dashLength": 10,
   220            "dashes": false,
   221            "datasource": "${DS_PROMETHEUS-DATA}",
   222            "fill": 1,
   223            "id": 5,
   224            "legend": {
   225              "avg": false,
   226              "current": false,
   227              "max": false,
   228              "min": false,
   229              "show": true,
   230              "total": false,
   231              "values": false
   232            },
   233            "lines": true,
   234            "linewidth": 1,
   235            "links": [],
   236            "nullPointMode": "null",
   237            "percentage": false,
   238            "pointradius": 5,
   239            "points": false,
   240            "renderer": "flot",
   241            "seriesOverrides": [],
   242            "spaceLength": 10,
   243            "span": 6,
   244            "stack": false,
   245            "steppedLine": false,
   246            "targets": [
   247              {
   248                "expr": "nomad_client_allocations_blocked",
   249                "format": "time_series",
   250                "intervalFactor": 2,
   251                "metric": "nomad_client_allocations_blocked",
   252                "refId": "A",
   253                "step": 40
   254              }
   255            ],
   256            "thresholds": [],
   257            "timeFrom": null,
   258            "timeShift": null,
   259            "title": "Client Allocations Blocked",
   260            "tooltip": {
   261              "shared": true,
   262              "sort": 0,
   263              "value_type": "individual"
   264            },
   265            "type": "graph",
   266            "xaxis": {
   267              "buckets": null,
   268              "mode": "time",
   269              "name": null,
   270              "show": true,
   271              "values": []
   272            },
   273            "yaxes": [
   274              {
   275                "format": "short",
   276                "label": null,
   277                "logBase": 1,
   278                "max": null,
   279                "min": null,
   280                "show": true
   281              },
   282              {
   283                "format": "short",
   284                "label": null,
   285                "logBase": 1,
   286                "max": null,
   287                "min": null,
   288                "show": true
   289              }
   290            ]
   291          }
   292        ],
   293        "repeat": null,
   294        "repeatIteration": null,
   295        "repeatRowId": null,
   296        "showTitle": false,
   297        "title": "Dashboard Row",
   298        "titleSize": "h6"
   299      },
   300      {
   301        "collapse": false,
   302        "height": 250,
   303        "panels": [
   304          {
   305            "cards": {
   306              "cardPadding": null,
   307              "cardRound": null
   308            },
   309            "color": {
   310              "cardColor": "rgb(255, 104, 0)",
   311              "colorScale": "sqrt",
   312              "colorScheme": "interpolateReds",
   313              "exponent": 0.5,
   314              "mode": "opacity"
   315            },
   316            "dataFormat": "timeseries",
   317            "datasource": "${DS_PROMETHEUS-DATA}",
   318            "heatmap": {},
   319            "highlightCards": true,
   320            "id": 3,
   321            "links": [],
   322            "span": 6,
   323            "targets": [
   324              {
   325                "expr": "nomad_runtime_total_gc_pause_ns",
   326                "format": "time_series",
   327                "intervalFactor": 2,
   328                "metric": "nomad_runtime_total_gc_pause_ns",
   329                "refId": "A",
   330                "step": 20
   331              }
   332            ],
   333            "title": "Runtime Total GS Pauses",
   334            "tooltip": {
   335              "show": true,
   336              "showHistogram": false
   337            },
   338            "type": "heatmap",
   339            "xAxis": {
   340              "show": true
   341            },
   342            "xBucketNumber": null,
   343            "xBucketSize": null,
   344            "yAxis": {
   345              "decimals": null,
   346              "format": "short",
   347              "logBase": 1,
   348              "max": null,
   349              "min": null,
   350              "show": true,
   351              "splitFactor": null
   352            },
   353            "yBucketNumber": null,
   354            "yBucketSize": null
   355          },
   356          {
   357            "aliasColors": {},
   358            "bars": true,
   359            "dashLength": 10,
   360            "dashes": false,
   361            "datasource": "${DS_PROMETHEUS-DATA}",
   362            "fill": 1,
   363            "id": 2,
   364            "legend": {
   365              "avg": false,
   366              "current": false,
   367              "max": false,
   368              "min": false,
   369              "show": true,
   370              "total": false,
   371              "values": false
   372            },
   373            "lines": true,
   374            "linewidth": 1,
   375            "links": [],
   376            "nullPointMode": "null",
   377            "percentage": false,
   378            "pointradius": 5,
   379            "points": false,
   380            "renderer": "flot",
   381            "seriesOverrides": [],
   382            "spaceLength": 10,
   383            "span": 6,
   384            "stack": false,
   385            "steppedLine": false,
   386            "targets": [
   387              {
   388                "expr": "nomad_runtime_alloc_bytes",
   389                "format": "time_series",
   390                "intervalFactor": 2,
   391                "metric": "nomad_runtime_alloc_bytes",
   392                "refId": "A",
   393                "step": 40
   394              }
   395            ],
   396            "thresholds": [],
   397            "timeFrom": null,
   398            "timeShift": null,
   399            "title": "Runtime Alloc Bytes (Linux)",
   400            "tooltip": {
   401              "shared": true,
   402              "sort": 0,
   403              "value_type": "individual"
   404            },
   405            "type": "graph",
   406            "xaxis": {
   407              "buckets": null,
   408              "mode": "time",
   409              "name": null,
   410              "show": true,
   411              "values": []
   412            },
   413            "yaxes": [
   414              {
   415                "format": "short",
   416                "label": null,
   417                "logBase": 1,
   418                "max": null,
   419                "min": null,
   420                "show": true
   421              },
   422              {
   423                "format": "short",
   424                "label": null,
   425                "logBase": 1,
   426                "max": null,
   427                "min": null,
   428                "show": true
   429              }
   430            ]
   431          }
   432        ],
   433        "repeat": null,
   434        "repeatIteration": null,
   435        "repeatRowId": null,
   436        "showTitle": false,
   437        "title": "Dashboard Row",
   438        "titleSize": "h6"
   439      },
   440      {
   441        "collapse": false,
   442        "height": 250,
   443        "panels": [],
   444        "repeat": null,
   445        "repeatIteration": null,
   446        "repeatRowId": null,
   447        "showTitle": false,
   448        "title": "Dashboard Row",
   449        "titleSize": "h6"
   450      },
   451      {
   452        "collapse": false,
   453        "height": 250,
   454        "panels": [],
   455        "repeat": null,
   456        "repeatIteration": null,
   457        "repeatRowId": null,
   458        "showTitle": false,
   459        "title": "Dashboard Row",
   460        "titleSize": "h6"
   461      },
   462      {
   463        "collapse": false,
   464        "height": 250,
   465        "panels": [],
   466        "repeat": null,
   467        "repeatIteration": null,
   468        "repeatRowId": null,
   469        "showTitle": false,
   470        "title": "Dashboard Row",
   471        "titleSize": "h6"
   472      },
   473      {
   474        "collapse": false,
   475        "height": 250,
   476        "panels": [],
   477        "repeat": null,
   478        "repeatIteration": null,
   479        "repeatRowId": null,
   480        "showTitle": false,
   481        "title": "Dashboard Row",
   482        "titleSize": "h6"
   483      },
   484      {
   485        "collapse": false,
   486        "height": 250,
   487        "panels": [],
   488        "repeat": null,
   489        "repeatIteration": null,
   490        "repeatRowId": null,
   491        "showTitle": false,
   492        "title": "Dashboard Row",
   493        "titleSize": "h6"
   494      }
   495    ],
   496    "schemaVersion": 14,
   497    "style": "dark",
   498    "tags": [],
   499    "templating": {
   500      "list": []
   501    },
   502    "time": {
   503      "from": "now-6h",
   504      "to": "now"
   505    },
   506    "timepicker": {
   507      "refresh_intervals": [
   508        "5s",
   509        "10s",
   510        "30s",
   511        "1m",
   512        "5m",
   513        "15m",
   514        "30m",
   515        "1h",
   516        "2h",
   517        "1d"
   518      ],
   519      "time_options": [
   520        "5m",
   521        "15m",
   522        "1h",
   523        "6h",
   524        "12h",
   525        "24h",
   526        "2d",
   527        "7d",
   528        "30d"
   529      ]
   530    },
   531    "timezone": "",
   532    "title": "Prometheus Nomad",
   533    "version": 7
   534  }