github.com/abayer/test-infra@v0.0.5/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    "__requires": [
    13      {
    14        "type": "panel",
    15        "id": "graph",
    16        "name": "Graph",
    17        "version": ""
    18      },
    19      {
    20        "type": "grafana",
    21        "id": "grafana",
    22        "name": "Grafana",
    23        "version": "3.1.1"
    24      },
    25      {
    26        "type": "datasource",
    27        "id": "influxdb",
    28        "name": "InfluxDB",
    29        "version": "1.0.0"
    30      }
    31    ],
    32    "id": null,
    33    "title": "Monitoring",
    34    "tags": [],
    35    "style": "dark",
    36    "timezone": "browser",
    37    "editable": true,
    38    "hideControls": true,
    39    "sharedCrosshair": false,
    40    "rows": [
    41      {
    42        "collapse": false,
    43        "editable": true,
    44        "height": "250px",
    45        "panels": [
    46          {
    47            "aliasColors": {},
    48            "bars": false,
    49            "datasource": "${DS_MONITORING}",
    50            "editable": true,
    51            "error": false,
    52            "fill": 1,
    53            "grid": {
    54              "threshold1": 3000,
    55              "threshold1Color": "rgba(216, 200, 27, 0.27)",
    56              "threshold2": 4000,
    57              "threshold2Color": "rgba(234, 112, 112, 0.22)"
    58            },
    59            "id": 1,
    60            "interval": ">1h",
    61            "isNew": true,
    62            "legend": {
    63              "avg": false,
    64              "current": false,
    65              "max": false,
    66              "min": false,
    67              "show": true,
    68              "total": false,
    69              "values": false
    70            },
    71            "lines": true,
    72            "linewidth": 2,
    73            "links": [],
    74            "nullPointMode": "connected",
    75            "percentage": false,
    76            "pointradius": 5,
    77            "points": false,
    78            "renderer": "flot",
    79            "seriesOverrides": [],
    80            "span": 12,
    81            "stack": false,
    82            "steppedLine": false,
    83            "targets": [
    84              {
    85                "alias": "$tag_login",
    86                "dsType": "influxdb",
    87                "groupBy": [
    88                  {
    89                    "params": [
    90                      "auto"
    91                    ],
    92                    "type": "time"
    93                  },
    94                  {
    95                    "params": [
    96                      "login"
    97                    ],
    98                    "type": "tag"
    99                  },
   100                  {
   101                    "params": [
   102                      "previous"
   103                    ],
   104                    "type": "fill"
   105                  }
   106                ],
   107                "measurement": "github_token_count",
   108                "policy": "default",
   109                "refId": "A",
   110                "resultFormat": "time_series",
   111                "select": [
   112                  [
   113                    {
   114                      "params": [
   115                        "value"
   116                      ],
   117                      "type": "field"
   118                    },
   119                    {
   120                      "params": [],
   121                      "type": "mean"
   122                    },
   123                    {
   124                      "params": [
   125                        "Number of calls"
   126                      ],
   127                      "type": "alias"
   128                    }
   129                  ]
   130                ],
   131                "tags": []
   132              }
   133            ],
   134            "timeFrom": null,
   135            "timeShift": null,
   136            "title": "Github Token usage",
   137            "tooltip": {
   138              "msResolution": false,
   139              "shared": true,
   140              "sort": 0,
   141              "value_type": "cumulative"
   142            },
   143            "type": "graph",
   144            "xaxis": {
   145              "show": true
   146            },
   147            "yaxes": [
   148              {
   149                "format": "none",
   150                "label": "API Calls",
   151                "logBase": 1,
   152                "max": null,
   153                "min": null,
   154                "show": true
   155              },
   156              {
   157                "format": "short",
   158                "label": null,
   159                "logBase": 1,
   160                "max": null,
   161                "min": null,
   162                "show": false
   163              }
   164            ]
   165          }
   166        ],
   167        "title": "Row"
   168      }
   169    ],
   170    "time": {
   171      "from": "now-30d",
   172      "to": "now"
   173    },
   174    "timepicker": {
   175      "refresh_intervals": [
   176        ""
   177      ],
   178      "time_options": [
   179        "5m",
   180        "15m",
   181        "1h",
   182        "6h",
   183        "12h",
   184        "24h",
   185        "2d",
   186        "7d",
   187        "30d"
   188      ]
   189    },
   190    "templating": {
   191      "list": []
   192    },
   193    "annotations": {
   194      "list": []
   195    },
   196    "refresh": false,
   197    "schemaVersion": 12,
   198    "version": 10,
   199    "links": [],
   200    "gnetId": null
   201  }