github.com/munnerz/test-infra@v0.0.0-20190108210205-ce3d181dc989/velodrome/grafana-stack/dashboards/monitoring.json (about)

     1  {
     2    "__inputs": [
     3      {
     4        "name": "DS_MONITORING",
     5        "label": "monitoring",
     6        "description": "",
     7        "type": "datasource",
     8        "pluginId": "influxdb",
     9        "pluginName": "InfluxDB"
    10      },
    11      {
    12        "name": "DS_PROMETHEUS",
    13        "label": "prometheus",
    14        "description": "",
    15        "type": "datasource",
    16        "pluginId": "prometheus",
    17        "pluginName": "Prometheus"
    18      }
    19    ],
    20    "__requires": [
    21      {
    22        "type": "grafana",
    23        "id": "grafana",
    24        "name": "Grafana",
    25        "version": "4.4.2"
    26      },
    27      {
    28        "type": "panel",
    29        "id": "graph",
    30        "name": "Graph",
    31        "version": ""
    32      },
    33      {
    34        "type": "datasource",
    35        "id": "influxdb",
    36        "name": "InfluxDB",
    37        "version": "1.0.0"
    38      },
    39      {
    40        "type": "datasource",
    41        "id": "prometheus",
    42        "name": "Prometheus",
    43        "version": "1.0.0"
    44      }
    45    ],
    46    "annotations": {
    47      "list": []
    48    },
    49    "editable": true,
    50    "gnetId": null,
    51    "graphTooltip": 0,
    52    "hideControls": false,
    53    "id": null,
    54    "links": [],
    55    "refresh": false,
    56    "rows": [
    57      {
    58        "collapse": false,
    59        "height": "250px",
    60        "panels": [
    61          {
    62            "aliasColors": {
    63              "k8s-ci-robot (moving avg)": "#7EB26D",
    64              "k8s-ci-robot (week avg)": "#7EB26D",
    65              "k8s-merge-robot": "#EAB839",
    66              "k8s-merge-robot (mean)": "#EAB839",
    67              "k8s-merge-robot (moving avg)": "#EAB839",
    68              "k8s-merge-robot (week avg)": "#EAB839"
    69            },
    70            "bars": false,
    71            "dashLength": 10,
    72            "dashes": false,
    73            "datasource": "${DS_MONITORING}",
    74            "editable": true,
    75            "error": false,
    76            "fill": 1,
    77            "grid": {},
    78            "id": 1,
    79            "interval": ">1h",
    80            "legend": {
    81              "avg": false,
    82              "current": true,
    83              "max": false,
    84              "min": false,
    85              "show": true,
    86              "total": false,
    87              "values": true
    88            },
    89            "lines": true,
    90            "linewidth": 1,
    91            "links": [],
    92            "nullPointMode": "connected",
    93            "percentage": false,
    94            "pointradius": 5,
    95            "points": false,
    96            "renderer": "flot",
    97            "seriesOverrides": [
    98              {
    99                "alias": "/week avg/",
   100                "linewidth": 2
   101              }
   102            ],
   103            "spaceLength": 10,
   104            "span": 12,
   105            "stack": false,
   106            "steppedLine": false,
   107            "targets": [
   108              {
   109                "alias": "$tag_login",
   110                "dsType": "influxdb",
   111                "groupBy": [
   112                  {
   113                    "params": [
   114                      "auto"
   115                    ],
   116                    "type": "time"
   117                  },
   118                  {
   119                    "params": [
   120                      "login"
   121                    ],
   122                    "type": "tag"
   123                  },
   124                  {
   125                    "params": [
   126                      "previous"
   127                    ],
   128                    "type": "fill"
   129                  }
   130                ],
   131                "measurement": "github_token_count",
   132                "policy": "default",
   133                "refId": "A",
   134                "resultFormat": "time_series",
   135                "select": [
   136                  [
   137                    {
   138                      "params": [
   139                        "value"
   140                      ],
   141                      "type": "field"
   142                    },
   143                    {
   144                      "params": [],
   145                      "type": "mean"
   146                    }
   147                  ]
   148                ],
   149                "tags": []
   150              },
   151              {
   152                "alias": "$tag_login (week avg)",
   153                "dsType": "influxdb",
   154                "groupBy": [
   155                  {
   156                    "params": [
   157                      "1w"
   158                    ],
   159                    "type": "time"
   160                  },
   161                  {
   162                    "params": [
   163                      "login"
   164                    ],
   165                    "type": "tag"
   166                  }
   167                ],
   168                "measurement": "github_token_count",
   169                "policy": "default",
   170                "refId": "B",
   171                "resultFormat": "time_series",
   172                "select": [
   173                  [
   174                    {
   175                      "params": [
   176                        "value"
   177                      ],
   178                      "type": "field"
   179                    },
   180                    {
   181                      "params": [],
   182                      "type": "mean"
   183                    }
   184                  ]
   185                ],
   186                "tags": []
   187              }
   188            ],
   189            "thresholds": [
   190              {
   191                "colorMode": "custom",
   192                "fill": true,
   193                "fillColor": "rgba(216, 200, 27, 0.27)",
   194                "op": "gt",
   195                "value": 3000
   196              },
   197              {
   198                "colorMode": "custom",
   199                "fill": true,
   200                "fillColor": "rgba(234, 112, 112, 0.22)",
   201                "op": "gt",
   202                "value": 4000
   203              }
   204            ],
   205            "timeFrom": null,
   206            "timeShift": null,
   207            "title": "Github Token usage",
   208            "tooltip": {
   209              "msResolution": false,
   210              "shared": false,
   211              "sort": 1,
   212              "value_type": "cumulative"
   213            },
   214            "type": "graph",
   215            "xaxis": {
   216              "buckets": null,
   217              "mode": "time",
   218              "name": null,
   219              "show": true,
   220              "values": []
   221            },
   222            "yaxes": [
   223              {
   224                "format": "none",
   225                "label": "API Calls",
   226                "logBase": 1,
   227                "max": 5000,
   228                "min": null,
   229                "show": true
   230              },
   231              {
   232                "format": "short",
   233                "label": null,
   234                "logBase": 1,
   235                "max": null,
   236                "min": null,
   237                "show": false
   238              }
   239            ]
   240          }
   241        ],
   242        "repeat": null,
   243        "repeatIteration": null,
   244        "repeatRowId": null,
   245        "showTitle": false,
   246        "title": "Row",
   247        "titleSize": "h6"
   248      },
   249      {
   250        "collapse": false,
   251        "height": "250px",
   252        "panels": [
   253          {
   254            "aliasColors": {},
   255            "bars": false,
   256            "dashLength": 10,
   257            "dashes": false,
   258            "datasource": "${DS_PROMETHEUS}",
   259            "editable": true,
   260            "error": false,
   261            "fill": 1,
   262            "grid": {},
   263            "id": 2,
   264            "legend": {
   265              "avg": false,
   266              "current": true,
   267              "max": false,
   268              "min": false,
   269              "show": true,
   270              "total": false,
   271              "values": true
   272            },
   273            "lines": true,
   274            "linewidth": 2,
   275            "links": [],
   276            "nullPointMode": "connected",
   277            "percentage": false,
   278            "pointradius": 5,
   279            "points": false,
   280            "renderer": "flot",
   281            "seriesOverrides": [
   282              {
   283                "alias": "submitqueue_blocked{instance=\"submit-queue.k8s.io:80\",job=\"kubernetes-submit-queue\"}"
   284              },
   285              {
   286                "alias": "Open pull-requests",
   287                "yaxis": 2
   288              }
   289            ],
   290            "spaceLength": 10,
   291            "span": 12,
   292            "stack": false,
   293            "steppedLine": false,
   294            "targets": [
   295              {
   296                "expr": "submitqueue_queued_pullrequests_total{job=\"kubernetes-submit-queue\"}",
   297                "format": "time_series",
   298                "interval": "1h",
   299                "intervalFactor": 2,
   300                "legendFormat": "Queued pull-requests",
   301                "metric": "",
   302                "refId": "A",
   303                "step": 7200
   304              },
   305              {
   306                "expr": "submitqueue_open_pullrequests_total{job=\"kubernetes-submit-queue\"}",
   307                "format": "time_series",
   308                "interval": "1h",
   309                "intervalFactor": 2,
   310                "legendFormat": "Open pull-requests",
   311                "metric": "",
   312                "refId": "B",
   313                "step": 7200
   314              },
   315              {
   316                "expr": "increase(submitqueue_merge_total{job=\"kubernetes-submit-queue\"}[1d])",
   317                "format": "time_series",
   318                "interval": "1h",
   319                "intervalFactor": 2,
   320                "legendFormat": "Merged pull-requests (per day)",
   321                "metric": "",
   322                "refId": "C",
   323                "step": 7200
   324              }
   325            ],
   326            "thresholds": [],
   327            "timeFrom": null,
   328            "timeShift": null,
   329            "title": "Submit-queue stats",
   330            "tooltip": {
   331              "msResolution": false,
   332              "shared": true,
   333              "sort": 0,
   334              "value_type": "cumulative"
   335            },
   336            "type": "graph",
   337            "xaxis": {
   338              "buckets": null,
   339              "mode": "time",
   340              "name": null,
   341              "show": true,
   342              "values": []
   343            },
   344            "yaxes": [
   345              {
   346                "format": "short",
   347                "label": null,
   348                "logBase": 1,
   349                "max": null,
   350                "min": 0,
   351                "show": true
   352              },
   353              {
   354                "format": "short",
   355                "label": null,
   356                "logBase": 1,
   357                "max": null,
   358                "min": "0",
   359                "show": true
   360              }
   361            ]
   362          }
   363        ],
   364        "repeat": null,
   365        "repeatIteration": null,
   366        "repeatRowId": null,
   367        "showTitle": false,
   368        "title": "New row",
   369        "titleSize": "h6"
   370      },
   371      {
   372        "collapse": false,
   373        "height": "250px",
   374        "panels": [
   375          {
   376            "aliasColors": {},
   377            "bars": false,
   378            "dashLength": 10,
   379            "dashes": false,
   380            "datasource": "${DS_PROMETHEUS}",
   381            "description": "Munge loop frequency for the Kubernetes repository's mungegithub instances.",
   382            "editable": true,
   383            "error": false,
   384            "fill": 1,
   385            "grid": {},
   386            "id": 4,
   387            "legend": {
   388              "avg": false,
   389              "current": false,
   390              "max": false,
   391              "min": false,
   392              "show": true,
   393              "total": false,
   394              "values": false
   395            },
   396            "lines": true,
   397            "linewidth": 2,
   398            "links": [],
   399            "nullPointMode": "connected",
   400            "percentage": false,
   401            "pointradius": 5,
   402            "points": false,
   403            "renderer": "flot",
   404            "seriesOverrides": [],
   405            "spaceLength": 10,
   406            "span": 12,
   407            "stack": false,
   408            "steppedLine": false,
   409            "targets": [
   410              {
   411                "expr": "increase(mungegithub_loops{org=\"kubernetes\",repo=\"kubernetes\",app=\"submit-queue\"}[1h])",
   412                "format": "time_series",
   413                "intervalFactor": 2,
   414                "legendFormat": "Submit-Queue loops per hour",
   415                "metric": "mungegithub_loops",
   416                "refId": "A",
   417                "step": 600
   418              },
   419              {
   420                "expr": "increase(mungegithub_loops{org=\"kubernetes\",repo=\"kubernetes\",app=\"misc-mungers\"}[1h])",
   421                "format": "time_series",
   422                "intervalFactor": 2,
   423                "legendFormat": "Misc-Mungers loops per hour",
   424                "metric": "mungegithub_loops",
   425                "refId": "B",
   426                "step": 600
   427              }
   428            ],
   429            "thresholds": [],
   430            "timeFrom": null,
   431            "timeShift": null,
   432            "title": "Mungegithub Loop Frequency",
   433            "tooltip": {
   434              "msResolution": false,
   435              "shared": true,
   436              "sort": 0,
   437              "value_type": "cumulative"
   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": null,
   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          }
   466        ],
   467        "repeat": null,
   468        "repeatIteration": null,
   469        "repeatRowId": null,
   470        "showTitle": false,
   471        "title": "New row",
   472        "titleSize": "h6"
   473      },
   474      {
   475        "collapse": false,
   476        "height": 250,
   477        "panels": [
   478          {
   479            "alert": {
   480              "conditions": [
   481                {
   482                  "evaluator": {
   483                    "params": [
   484                      14400
   485                    ],
   486                    "type": "gt"
   487                  },
   488                  "operator": {
   489                    "type": "and"
   490                  },
   491                  "query": {
   492                    "params": [
   493                      "A",
   494                      "5m",
   495                      "now"
   496                    ]
   497                  },
   498                  "reducer": {
   499                    "params": [],
   500                    "type": "last"
   501                  },
   502                  "type": "query"
   503                },
   504                {
   505                  "evaluator": {
   506                    "params": [
   507                      172800
   508                    ],
   509                    "type": "lt"
   510                  },
   511                  "operator": {
   512                    "type": "and"
   513                  },
   514                  "query": {
   515                    "params": [
   516                      "A",
   517                      "5m",
   518                      "now"
   519                    ]
   520                  },
   521                  "reducer": {
   522                    "params": [],
   523                    "type": "last"
   524                  },
   525                  "type": "query"
   526                },
   527                {
   528                  "evaluator": {
   529                    "params": [
   530                      0
   531                    ],
   532                    "type": "gt"
   533                  },
   534                  "operator": {
   535                    "type": "and"
   536                  },
   537                  "query": {
   538                    "params": [
   539                      "B",
   540                      "4h",
   541                      "now"
   542                    ]
   543                  },
   544                  "reducer": {
   545                    "params": [],
   546                    "type": "min"
   547                  },
   548                  "type": "query"
   549                }
   550              ],
   551              "executionErrorState": "keep_state",
   552              "frequency": "60s",
   553              "handler": 1,
   554              "name": "Time since last merge alert",
   555              "noDataState": "no_data",
   556              "notifications": []
   557            },
   558            "aliasColors": {},
   559            "bars": false,
   560            "dashLength": 10,
   561            "dashes": false,
   562            "datasource": "${DS_PROMETHEUS}",
   563            "description": "This shows time since last merge (seasaw) on the left axis, and queued PRs on the right axis.",
   564            "fill": 1,
   565            "id": 5,
   566            "legend": {
   567              "avg": false,
   568              "current": true,
   569              "max": false,
   570              "min": false,
   571              "show": true,
   572              "total": false,
   573              "values": true
   574            },
   575            "lines": true,
   576            "linewidth": 1,
   577            "links": [],
   578            "nullPointMode": "null",
   579            "percentage": false,
   580            "pointradius": 5,
   581            "points": false,
   582            "renderer": "flot",
   583            "seriesOverrides": [
   584              {
   585                "alias": "Queue depth",
   586                "yaxis": 2
   587              }
   588            ],
   589            "spaceLength": 10,
   590            "span": 12,
   591            "stack": false,
   592            "steppedLine": false,
   593            "targets": [
   594              {
   595                "dsType": "influxdb",
   596                "expr": "time() - submitqueue_time_of_last_merge{job=\"kubernetes-submit-queue\"}",
   597                "format": "time_series",
   598                "groupBy": [
   599                  {
   600                    "params": [
   601                      "$__interval"
   602                    ],
   603                    "type": "time"
   604                  },
   605                  {
   606                    "params": [
   607                      "null"
   608                    ],
   609                    "type": "fill"
   610                  }
   611                ],
   612                "hide": false,
   613                "intervalFactor": 2,
   614                "legendFormat": "Time since last merge",
   615                "metric": "submitqueue_time_of_last_merge",
   616                "orderByTime": "ASC",
   617                "policy": "default",
   618                "refId": "A",
   619                "resultFormat": "time_series",
   620                "select": [
   621                  [
   622                    {
   623                      "params": [
   624                        "value"
   625                      ],
   626                      "type": "field"
   627                    },
   628                    {
   629                      "params": [],
   630                      "type": "mean"
   631                    }
   632                  ]
   633                ],
   634                "step": 600,
   635                "tags": []
   636              },
   637              {
   638                "expr": "submitqueue_queued_pullrequests_total{job=\"kubernetes-submit-queue\"}",
   639                "format": "time_series",
   640                "hide": false,
   641                "intervalFactor": 2,
   642                "legendFormat": "Queue depth",
   643                "metric": "submitqueue_queued_pullrequests_total",
   644                "refId": "B",
   645                "step": 600
   646              }
   647            ],
   648            "thresholds": [
   649              {
   650                "colorMode": "critical",
   651                "fill": true,
   652                "line": true,
   653                "op": "gt",
   654                "value": 14400
   655              }
   656            ],
   657            "timeFrom": null,
   658            "timeShift": null,
   659            "title": "Time since last merge",
   660            "tooltip": {
   661              "shared": true,
   662              "sort": 0,
   663              "value_type": "individual"
   664            },
   665            "type": "graph",
   666            "xaxis": {
   667              "buckets": null,
   668              "mode": "time",
   669              "name": null,
   670              "show": true,
   671              "values": []
   672            },
   673            "yaxes": [
   674              {
   675                "format": "s",
   676                "label": null,
   677                "logBase": 1,
   678                "max": "172800",
   679                "min": null,
   680                "show": true
   681              },
   682              {
   683                "format": "short",
   684                "label": null,
   685                "logBase": 1,
   686                "max": null,
   687                "min": null,
   688                "show": true
   689              }
   690            ]
   691          }
   692        ],
   693        "repeat": null,
   694        "repeatIteration": null,
   695        "repeatRowId": null,
   696        "showTitle": false,
   697        "title": "Dashboard Row",
   698        "titleSize": "h6"
   699      },
   700      {
   701        "collapse": false,
   702        "height": 250,
   703        "panels": [
   704          {
   705            "alert": {
   706              "conditions": [
   707                {
   708                  "evaluator": {
   709                    "params": [
   710                      0
   711                    ],
   712                    "type": "gt"
   713                  },
   714                  "operator": {
   715                    "type": "and"
   716                  },
   717                  "query": {
   718                    "params": [
   719                      "A",
   720                      "15m",
   721                      "now"
   722                    ]
   723                  },
   724                  "reducer": {
   725                    "params": [],
   726                    "type": "max"
   727                  },
   728                  "type": "query"
   729                }
   730              ],
   731              "executionErrorState": "keep_state",
   732              "frequency": "60s",
   733              "handler": 1,
   734              "message": "One or more kubernetes testing managed endpoints are down.",
   735              "name": "Blackbox Prober alert",
   736              "noDataState": "no_data",
   737              "notifications": [
   738                {
   739                  "id": 1
   740                }
   741              ]
   742            },
   743            "aliasColors": {},
   744            "bars": false,
   745            "dashLength": 10,
   746            "dashes": false,
   747            "datasource": "${DS_PROMETHEUS}",
   748            "description": "This monitors if our various web endpoints are up.",
   749            "fill": 1,
   750            "id": 6,
   751            "legend": {
   752              "avg": false,
   753              "current": false,
   754              "max": false,
   755              "min": false,
   756              "show": true,
   757              "total": false,
   758              "values": false
   759            },
   760            "lines": true,
   761            "linewidth": 1,
   762            "links": [],
   763            "nullPointMode": "null",
   764            "percentage": false,
   765            "pointradius": 5,
   766            "points": false,
   767            "renderer": "flot",
   768            "seriesOverrides": [],
   769            "spaceLength": 10,
   770            "span": 12,
   771            "stack": false,
   772            "steppedLine": false,
   773            "targets": [
   774              {
   775                "dsType": "influxdb",
   776                "expr": "up{job=\"blackbox\"}",
   777                "format": "time_series",
   778                "groupBy": [
   779                  {
   780                    "params": [
   781                      "$__interval"
   782                    ],
   783                    "type": "time"
   784                  },
   785                  {
   786                    "params": [
   787                      "null"
   788                    ],
   789                    "type": "fill"
   790                  }
   791                ],
   792                "intervalFactor": 2,
   793                "metric": "up",
   794                "orderByTime": "ASC",
   795                "policy": "default",
   796                "refId": "A",
   797                "resultFormat": "time_series",
   798                "select": [
   799                  [
   800                    {
   801                      "params": [
   802                        "value"
   803                      ],
   804                      "type": "field"
   805                    },
   806                    {
   807                      "params": [],
   808                      "type": "mean"
   809                    }
   810                  ]
   811                ],
   812                "step": 600,
   813                "tags": []
   814              }
   815            ],
   816            "thresholds": [
   817              {
   818                "colorMode": "critical",
   819                "fill": true,
   820                "line": true,
   821                "op": "gt",
   822                "value": 0
   823              }
   824            ],
   825            "timeFrom": null,
   826            "timeShift": null,
   827            "title": "Blackbox Prober",
   828            "tooltip": {
   829              "shared": true,
   830              "sort": 0,
   831              "value_type": "individual"
   832            },
   833            "type": "graph",
   834            "xaxis": {
   835              "buckets": null,
   836              "mode": "time",
   837              "name": null,
   838              "show": true,
   839              "values": []
   840            },
   841            "yaxes": [
   842              {
   843                "format": "short",
   844                "label": null,
   845                "logBase": 1,
   846                "max": null,
   847                "min": null,
   848                "show": true
   849              },
   850              {
   851                "format": "short",
   852                "label": null,
   853                "logBase": 1,
   854                "max": null,
   855                "min": null,
   856                "show": true
   857              }
   858            ]
   859          }
   860        ],
   861        "repeat": null,
   862        "repeatIteration": null,
   863        "repeatRowId": null,
   864        "showTitle": false,
   865        "title": "Dashboard Row",
   866        "titleSize": "h6"
   867      },
   868      {
   869        "collapse": false,
   870        "height": 276,
   871        "panels": [
   872          {
   873            "aliasColors": {},
   874            "bars": false,
   875            "dashLength": 10,
   876            "dashes": false,
   877            "datasource": "${DS_PROMETHEUS}",
   878            "decimals": 0,
   879            "description": "The number of PRs eligible for merge in each Tide pool.",
   880            "fill": 2,
   881            "height": "",
   882            "id": 7,
   883            "legend": {
   884              "alignAsTable": true,
   885              "avg": false,
   886              "current": true,
   887              "max": false,
   888              "min": false,
   889              "rightSide": true,
   890              "show": true,
   891              "sideWidth": 450,
   892              "sort": "current",
   893              "sortDesc": true,
   894              "total": false,
   895              "values": true
   896            },
   897            "lines": true,
   898            "linewidth": 1,
   899            "links": [],
   900            "nullPointMode": "null as zero",
   901            "percentage": false,
   902            "pointradius": 5,
   903            "points": false,
   904            "renderer": "flot",
   905            "seriesOverrides": [],
   906            "spaceLength": 10,
   907            "span": 12,
   908            "stack": false,
   909            "steppedLine": false,
   910            "targets": [
   911              {
   912                "dsType": "influxdb",
   913                "expr": "sum(pooledprs and ((time() - updatetime) < 240)) without (instance, job)",
   914                "format": "time_series",
   915                "groupBy": [
   916                  {
   917                    "params": [
   918                      "$__interval"
   919                    ],
   920                    "type": "time"
   921                  },
   922                  {
   923                    "params": [
   924                      "null"
   925                    ],
   926                    "type": "fill"
   927                  }
   928                ],
   929                "intervalFactor": 2,
   930                "legendFormat": "{{org}}/{{repo}}:{{branch}}",
   931                "metric": "updatetime",
   932                "orderByTime": "ASC",
   933                "policy": "default",
   934                "refId": "A",
   935                "resultFormat": "time_series",
   936                "select": [
   937                  [
   938                    {
   939                      "params": [
   940                        "value"
   941                      ],
   942                      "type": "field"
   943                    },
   944                    {
   945                      "params": [],
   946                      "type": "mean"
   947                    }
   948                  ]
   949                ],
   950                "step": 600,
   951                "tags": []
   952              }
   953            ],
   954            "thresholds": [],
   955            "timeFrom": null,
   956            "timeShift": null,
   957            "title": "Tide Pool Sizes",
   958            "tooltip": {
   959              "shared": true,
   960              "sort": 0,
   961              "value_type": "individual"
   962            },
   963            "type": "graph",
   964            "xaxis": {
   965              "buckets": null,
   966              "mode": "time",
   967              "name": null,
   968              "show": true,
   969              "values": []
   970            },
   971            "yaxes": [
   972              {
   973                "format": "short",
   974                "label": null,
   975                "logBase": 1,
   976                "max": null,
   977                "min": null,
   978                "show": true
   979              },
   980              {
   981                "format": "short",
   982                "label": null,
   983                "logBase": 1,
   984                "max": null,
   985                "min": null,
   986                "show": true
   987              }
   988            ]
   989          }
   990        ],
   991        "repeat": null,
   992        "repeatIteration": null,
   993        "repeatRowId": null,
   994        "showTitle": false,
   995        "title": "Dashboard Row",
   996        "titleSize": "h6"
   997      },
   998      {
   999        "collapse": false,
  1000        "height": 250,
  1001        "panels": [
  1002          {
  1003            "aliasColors": {},
  1004            "bars": false,
  1005            "dashLength": 10,
  1006            "dashes": false,
  1007            "datasource": "${DS_PROMETHEUS}",
  1008            "description": "Calculated on a 1 hour interval.",
  1009            "fill": 1,
  1010            "id": 8,
  1011            "legend": {
  1012              "alignAsTable": true,
  1013              "avg": true,
  1014              "current": false,
  1015              "max": false,
  1016              "min": false,
  1017              "rightSide": true,
  1018              "show": true,
  1019              "sideWidth": 450,
  1020              "sort": "avg",
  1021              "sortDesc": true,
  1022              "total": false,
  1023              "values": true
  1024            },
  1025            "lines": true,
  1026            "linewidth": 1,
  1027            "links": [],
  1028            "nullPointMode": "null as zero",
  1029            "percentage": false,
  1030            "pointradius": 5,
  1031            "points": false,
  1032            "renderer": "flot",
  1033            "seriesOverrides": [],
  1034            "spaceLength": 10,
  1035            "span": 12,
  1036            "stack": false,
  1037            "steppedLine": false,
  1038            "targets": [
  1039              {
  1040                "dsType": "influxdb",
  1041                "expr": "sum((rate(merges_sum[1h]) > 0) * 3600) by (org, repo, branch)",
  1042                "format": "time_series",
  1043                "groupBy": [
  1044                  {
  1045                    "params": [
  1046                      "$__interval"
  1047                    ],
  1048                    "type": "time"
  1049                  },
  1050                  {
  1051                    "params": [
  1052                      "null"
  1053                    ],
  1054                    "type": "fill"
  1055                  }
  1056                ],
  1057                "intervalFactor": 2,
  1058                "legendFormat": "{{org}}/{{repo}}:{{branch}}",
  1059                "metric": "merges_sum",
  1060                "orderByTime": "ASC",
  1061                "policy": "default",
  1062                "refId": "A",
  1063                "resultFormat": "time_series",
  1064                "select": [
  1065                  [
  1066                    {
  1067                      "params": [
  1068                        "value"
  1069                      ],
  1070                      "type": "field"
  1071                    },
  1072                    {
  1073                      "params": [],
  1074                      "type": "mean"
  1075                    }
  1076                  ]
  1077                ],
  1078                "step": 600,
  1079                "tags": []
  1080              }
  1081            ],
  1082            "thresholds": [],
  1083            "timeFrom": null,
  1084            "timeShift": null,
  1085            "title": "Hourly Merge Rate",
  1086            "tooltip": {
  1087              "shared": true,
  1088              "sort": 0,
  1089              "value_type": "individual"
  1090            },
  1091            "type": "graph",
  1092            "xaxis": {
  1093              "buckets": null,
  1094              "mode": "time",
  1095              "name": null,
  1096              "show": true,
  1097              "values": []
  1098            },
  1099            "yaxes": [
  1100              {
  1101                "format": "short",
  1102                "label": null,
  1103                "logBase": 1,
  1104                "max": null,
  1105                "min": null,
  1106                "show": true
  1107              },
  1108              {
  1109                "format": "short",
  1110                "label": null,
  1111                "logBase": 1,
  1112                "max": null,
  1113                "min": null,
  1114                "show": true
  1115              }
  1116            ]
  1117          }
  1118        ],
  1119        "repeat": null,
  1120        "repeatIteration": null,
  1121        "repeatRowId": null,
  1122        "showTitle": false,
  1123        "title": "Dashboard Row",
  1124        "titleSize": "h6"
  1125      },
  1126      {
  1127        "collapse": false,
  1128        "height": 250,
  1129        "panels": [
  1130          {
  1131            "aliasColors": {},
  1132            "bars": false,
  1133            "dashLength": 10,
  1134            "dashes": false,
  1135            "datasource": "${DS_PROMETHEUS}",
  1136            "fill": 1,
  1137            "id": 9,
  1138            "legend": {
  1139              "avg": false,
  1140              "current": false,
  1141              "max": false,
  1142              "min": false,
  1143              "show": true,
  1144              "total": false,
  1145              "values": false
  1146            },
  1147            "lines": true,
  1148            "linewidth": 1,
  1149            "links": [],
  1150            "nullPointMode": "null",
  1151            "percentage": false,
  1152            "pointradius": 5,
  1153            "points": false,
  1154            "renderer": "flot",
  1155            "seriesOverrides": [],
  1156            "spaceLength": 10,
  1157            "span": 12,
  1158            "stack": false,
  1159            "steppedLine": false,
  1160            "targets": [
  1161              {
  1162                "expr": "max(syncdur and (changes(syncdur[1h]) > 0))",
  1163                "format": "time_series",
  1164                "intervalFactor": 2,
  1165                "legendFormat": "Sync time",
  1166                "refId": "B",
  1167                "step": 600
  1168              },
  1169              {
  1170                "dsType": "influxdb",
  1171                "expr": "max(statusupdatedur and (changes(statusupdatedur[1h]) > 0))",
  1172                "format": "time_series",
  1173                "groupBy": [
  1174                  {
  1175                    "params": [
  1176                      "$__interval"
  1177                    ],
  1178                    "type": "time"
  1179                  },
  1180                  {
  1181                    "params": [
  1182                      "null"
  1183                    ],
  1184                    "type": "fill"
  1185                  }
  1186                ],
  1187                "intervalFactor": 2,
  1188                "legendFormat": "Status update time",
  1189                "metric": "statusupdatedur",
  1190                "orderByTime": "ASC",
  1191                "policy": "default",
  1192                "refId": "A",
  1193                "resultFormat": "time_series",
  1194                "select": [
  1195                  [
  1196                    {
  1197                      "params": [
  1198                        "value"
  1199                      ],
  1200                      "type": "field"
  1201                    },
  1202                    {
  1203                      "params": [],
  1204                      "type": "mean"
  1205                    }
  1206                  ]
  1207                ],
  1208                "step": 600,
  1209                "tags": []
  1210              }
  1211            ],
  1212            "thresholds": [],
  1213            "timeFrom": null,
  1214            "timeShift": null,
  1215            "title": "Tide Processing Time",
  1216            "tooltip": {
  1217              "shared": true,
  1218              "sort": 0,
  1219              "value_type": "individual"
  1220            },
  1221            "type": "graph",
  1222            "xaxis": {
  1223              "buckets": null,
  1224              "mode": "time",
  1225              "name": null,
  1226              "show": true,
  1227              "values": []
  1228            },
  1229            "yaxes": [
  1230              {
  1231                "format": "short",
  1232                "label": null,
  1233                "logBase": 1,
  1234                "max": null,
  1235                "min": null,
  1236                "show": true
  1237              },
  1238              {
  1239                "format": "short",
  1240                "label": null,
  1241                "logBase": 1,
  1242                "max": null,
  1243                "min": null,
  1244                "show": true
  1245              }
  1246            ]
  1247          }
  1248        ],
  1249        "repeat": null,
  1250        "repeatIteration": null,
  1251        "repeatRowId": null,
  1252        "showTitle": false,
  1253        "title": "Dashboard Row",
  1254        "titleSize": "h6"
  1255      }
  1256    ],
  1257    "schemaVersion": 14,
  1258    "style": "dark",
  1259    "tags": [],
  1260    "templating": {
  1261      "list": []
  1262    },
  1263    "time": {
  1264      "from": "2018-08-14T10:30:28.718Z",
  1265      "to": "2018-08-24T01:14:38.629Z"
  1266    },
  1267    "timepicker": {
  1268      "refresh_intervals": [
  1269        ""
  1270      ],
  1271      "time_options": [
  1272        "5m",
  1273        "15m",
  1274        "1h",
  1275        "6h",
  1276        "12h",
  1277        "24h",
  1278        "2d",
  1279        "7d",
  1280        "30d"
  1281      ]
  1282    },
  1283    "timezone": "browser",
  1284    "title": "Monitoring",
  1285    "version": 17
  1286  }