Grafana dashboard: GitHub activity of dcos org
Description: Shows the activity on GitHub of the dcos organization. 

Uses a [fetcher](https://github.com/mhausenblas/github-api-fetcher/) to ingest data from GitHub into InfluxDB and displays activities on repos and individual contributors.

{
  "__inputs": [
    {
      "name": "DS_INFLUX",
      "label": "influx",
      "description": "",
      "type": "datasource",
      "pluginId": "influxdb",
      "pluginName": "InfluxDB"
    }
  ],
  "__requires": [
    {
      "type": "panel",
      "id": "graph",
      "name": "Graph",
      "version": ""
    },
    {
      "type": "grafana",
      "id": "grafana",
      "name": "Grafana",
      "version": "3.1.1"
    },
    {
      "type": "datasource",
      "id": "influxdb",
      "name": "InfluxDB",
      "version": "1.0.0"
    }
  ],
  "id": null,
  "title": "GitHub activity of dcos org",
  "tags": [],
  "style": "dark",
  "timezone": "browser",
  "editable": true,
  "hideControls": false,
  "sharedCrosshair": false,
  "rows": [
    {
      "collapse": false,
      "editable": true,
      "height": "250px",
      "panels": [
        {
          "aliasColors": {},
          "bars": false,
          "datasource": "${DS_INFLUX}",
          "editable": true,
          "error": false,
          "fill": 1,
          "grid": {
            "threshold1": null,
            "threshold1Color": "rgba(216, 200, 27, 0.27)",
            "threshold2": null,
            "threshold2Color": "rgba(234, 112, 112, 0.22)"
          },
          "id": 1,
          "isNew": true,
          "legend": {
            "avg": false,
            "current": false,
            "max": false,
            "min": false,
            "show": true,
            "total": true,
            "values": true,
            "hideEmpty": false,
            "hideZero": false
          },
          "lines": true,
          "linewidth": 2,
          "nullPointMode": "connected",
          "percentage": false,
          "pointradius": 5,
          "points": true,
          "renderer": "flot",
          "seriesOverrides": [],
          "span": 6,
          "stack": false,
          "steppedLine": true,
          "targets": [
            {
              "refId": "A",
              "policy": "default",
              "dsType": "influxdb",
              "resultFormat": "time_series",
              "tags": [
                {
                  "key": "repo",
                  "operator": "=",
                  "value": "dcos/dcos"
                }
              ],
              "groupBy": [
                {
                  "type": "time",
                  "params": [
                    "$interval"
                  ]
                },
                {
                  "type": "fill",
                  "params": [
                    "null"
                  ]
                }
              ],
              "select": [
                [
                  {
                    "type": "field",
                    "params": [
                      "count"
                    ]
                  },
                  {
                    "type": "sum",
                    "params": []
                  }
                ]
              ],
              "measurement": "event",
              "hide": false,
              "query": "SELECT mean(\"count\") FROM \"event\" WHERE \"repo\" = 'dcos/dcos' AND $timeFilter GROUP BY time($interval) fill(null)",
              "rawQuery": false,
              "alias": "all"
            },
            {
              "refId": "B",
              "policy": "default",
              "dsType": "influxdb",
              "resultFormat": "time_series",
              "tags": [
                {
                  "key": "repo",
                  "operator": "=",
                  "value": "dcos/dcos"
                },
                {
                  "condition": "AND",
                  "key": "action",
                  "operator": "=",
                  "value": "PullRequestReviewCommentEvent"
                }
              ],
              "groupBy": [
                {
                  "type": "time",
                  "params": [
                    "$interval"
                  ]
                },
                {
                  "type": "fill",
                  "params": [
                    "null"
                  ]
                }
              ],
              "select": [
                [
                  {
                    "type": "field",
                    "params": [
                      "count"
                    ]
                  },
                  {
                    "type": "sum",
                    "params": []
                  }
                ]
              ],
              "measurement": "event",
              "hide": false,
              "query": "SELECT mean(\"count\") FROM \"event\" WHERE \"repo\" = 'dcos/dcos' AND $timeFilter GROUP BY time($interval) fill(null)",
              "rawQuery": false,
              "alias": "PR comments"
            },
            {
              "refId": "C",
              "policy": "default",
              "dsType": "influxdb",
              "resultFormat": "time_series",
              "tags": [
                {
                  "key": "repo",
                  "operator": "=",
                  "value": "dcos/dcos"
                },
                {
                  "condition": "AND",
                  "key": "action",
                  "operator": "=",
                  "value": "IssueCommentEvent"
                }
              ],
              "groupBy": [
                {
                  "type": "time",
                  "params": [
                    "$interval"
                  ]
                },
                {
                  "type": "fill",
                  "params": [
                    "null"
                  ]
                }
              ],
              "select": [
                [
                  {
                    "type": "field",
                    "params": [
                      "count"
                    ]
                  },
                  {
                    "type": "sum",
                    "params": []
                  }
                ]
              ],
              "measurement": "event",
              "hide": false,
              "query": "SELECT mean(\"count\") FROM \"event\" WHERE \"repo\" = 'dcos/dcos' AND $timeFilter GROUP BY time($interval) fill(null)",
              "rawQuery": false,
              "alias": "issue comments"
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "dcos/dcos",
          "tooltip": {
            "msResolution": true,
            "shared": true,
            "sort": 0,
            "value_type": "cumulative"
          },
          "type": "graph",
          "xaxis": {
            "show": true
          },
          "yaxes": [
            {
              "format": "short",
              "label": "number of events",
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            },
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            }
          ],
          "links": []
        },
        {
          "aliasColors": {},
          "bars": false,
          "datasource": "${DS_INFLUX}",
          "editable": true,
          "error": false,
          "fill": 4,
          "grid": {
            "threshold1": null,
            "threshold1Color": "rgba(216, 200, 27, 0.27)",
            "threshold2": null,
            "threshold2Color": "rgba(234, 112, 112, 0.22)"
          },
          "id": 2,
          "isNew": true,
          "legend": {
            "avg": false,
            "current": false,
            "max": false,
            "min": false,
            "show": true,
            "total": true,
            "values": true,
            "hideEmpty": false,
            "hideZero": false
          },
          "lines": true,
          "linewidth": 2,
          "nullPointMode": "connected",
          "percentage": false,
          "pointradius": 5,
          "points": true,
          "renderer": "flot",
          "seriesOverrides": [],
          "span": 6,
          "stack": false,
          "steppedLine": true,
          "targets": [
            {
              "refId": "A",
              "policy": "default",
              "dsType": "influxdb",
              "resultFormat": "time_series",
              "tags": [
                {
                  "key": "repo",
                  "operator": "=",
                  "value": "dcos/dcos-ui"
                }
              ],
              "groupBy": [
                {
                  "type": "time",
                  "params": [
                    "$interval"
                  ]
                },
                {
                  "type": "fill",
                  "params": [
                    "null"
                  ]
                }
              ],
              "select": [
                [
                  {
                    "type": "field",
                    "params": [
                      "count"
                    ]
                  },
                  {
                    "type": "sum",
                    "params": []
                  }
                ]
              ],
              "measurement": "event",
              "hide": false,
              "query": "SELECT mean(\"count\") FROM \"event\" WHERE \"repo\" = 'dcos/dcos' AND $timeFilter GROUP BY time($interval) fill(null)",
              "rawQuery": false,
              "alias": "all"
            },
            {
              "refId": "B",
              "policy": "default",
              "dsType": "influxdb",
              "resultFormat": "time_series",
              "tags": [
                {
                  "key": "repo",
                  "operator": "=",
                  "value": "dcos/dcos-ui"
                },
                {
                  "condition": "AND",
                  "key": "action",
                  "operator": "=",
                  "value": "PullRequestReviewCommentEvent"
                }
              ],
              "groupBy": [
                {
                  "type": "time",
                  "params": [
                    "$interval"
                  ]
                },
                {
                  "type": "fill",
                  "params": [
                    "null"
                  ]
                }
              ],
              "select": [
                [
                  {
                    "type": "field",
                    "params": [
                      "count"
                    ]
                  },
                  {
                    "type": "sum",
                    "params": []
                  }
                ]
              ],
              "measurement": "event",
              "hide": false,
              "query": "SELECT mean(\"count\") FROM \"event\" WHERE \"repo\" = 'dcos/dcos' AND $timeFilter GROUP BY time($interval) fill(null)",
              "rawQuery": false,
              "alias": "PR comments"
            },
            {
              "refId": "C",
              "policy": "default",
              "dsType": "influxdb",
              "resultFormat": "time_series",
              "tags": [
                {
                  "key": "repo",
                  "operator": "=",
                  "value": "dcos/dcos-ui"
                },
                {
                  "condition": "AND",
                  "key": "action",
                  "operator": "=",
                  "value": "IssueCommentEvent"
                }
              ],
              "groupBy": [
                {
                  "type": "time",
                  "params": [
                    "$interval"
                  ]
                },
                {
                  "type": "fill",
                  "params": [
                    "null"
                  ]
                }
              ],
              "select": [
                [
                  {
                    "type": "field",
                    "params": [
                      "count"
                    ]
                  },
                  {
                    "type": "sum",
                    "params": []
                  }
                ]
              ],
              "measurement": "event",
              "hide": false,
              "query": "SELECT mean(\"count\") FROM \"event\" WHERE \"repo\" = 'dcos/dcos' AND $timeFilter GROUP BY time($interval) fill(null)",
              "rawQuery": false,
              "alias": "issue comments"
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "dcos/dcos-ui",
          "tooltip": {
            "msResolution": true,
            "shared": true,
            "sort": 0,
            "value_type": "cumulative"
          },
          "type": "graph",
          "xaxis": {
            "show": true
          },
          "yaxes": [
            {
              "format": "short",
              "label": "number of events",
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            },
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            }
          ],
          "links": []
        },
        {
          "aliasColors": {},
          "bars": false,
          "datasource": "${DS_INFLUX}",
          "editable": true,
          "error": false,
          "fill": 4,
          "grid": {
            "threshold1": null,
            "threshold1Color": "rgba(216, 200, 27, 0.27)",
            "threshold2": null,
            "threshold2Color": "rgba(234, 112, 112, 0.22)"
          },
          "id": 3,
          "isNew": true,
          "legend": {
            "avg": false,
            "current": false,
            "max": false,
            "min": false,
            "show": true,
            "total": false,
            "values": false,
            "hideEmpty": false,
            "hideZero": false
          },
          "lines": true,
          "linewidth": 2,
          "nullPointMode": "connected",
          "percentage": true,
          "pointradius": 5,
          "points": true,
          "renderer": "flot",
          "seriesOverrides": [],
          "span": 12,
          "stack": true,
          "steppedLine": true,
          "targets": [
            {
              "refId": "A",
              "policy": "default",
              "dsType": "influxdb",
              "resultFormat": "time_series",
              "tags": [
                {
                  "key": "actor",
                  "operator": "=",
                  "value": "darkonie"
                }
              ],
              "groupBy": [
                {
                  "type": "time",
                  "params": [
                    "auto"
                  ]
                },
                {
                  "type": "fill",
                  "params": [
                    "null"
                  ]
                }
              ],
              "select": [
                [
                  {
                    "type": "field",
                    "params": [
                      "count"
                    ]
                  },
                  {
                    "type": "sum",
                    "params": []
                  }
                ]
              ],
              "measurement": "event",
              "hide": false,
              "query": "SELECT mean(\"count\") FROM \"event\" WHERE \"repo\" = 'dcos/dcos' AND $timeFilter GROUP BY time($interval) fill(null)",
              "rawQuery": false,
              "alias": "darkonie"
            },
            {
              "refId": "B",
              "policy": "default",
              "dsType": "influxdb",
              "resultFormat": "time_series",
              "tags": [
                {
                  "key": "actor",
                  "operator": "=",
                  "value": "joel-hamill"
                }
              ],
              "groupBy": [
                {
                  "type": "time",
                  "params": [
                    "auto"
                  ]
                },
                {
                  "type": "fill",
                  "params": [
                    "null"
                  ]
                }
              ],
              "select": [
                [
                  {
                    "type": "field",
                    "params": [
                      "count"
                    ]
                  },
                  {
                    "type": "sum",
                    "params": []
                  }
                ]
              ],
              "measurement": "event",
              "hide": false,
              "query": "SELECT mean(\"count\") FROM \"event\" WHERE \"repo\" = 'dcos/dcos' AND $timeFilter GROUP BY time($interval) fill(null)",
              "rawQuery": false,
              "alias": "joel-hamill"
            },
            {
              "refId": "C",
              "policy": "default",
              "dsType": "influxdb",
              "resultFormat": "time_series",
              "tags": [
                {
                  "key": "actor",
                  "operator": "=",
                  "value": "jdef"
                }
              ],
              "groupBy": [
                {
                  "type": "time",
                  "params": [
                    "auto"
                  ]
                },
                {
                  "type": "fill",
                  "params": [
                    "null"
                  ]
                }
              ],
              "select": [
                [
                  {
                    "type": "field",
                    "params": [
                      "count"
                    ]
                  },
                  {
                    "type": "sum",
                    "params": []
                  }
                ]
              ],
              "measurement": "event",
              "hide": false,
              "query": "SELECT mean(\"count\") FROM \"event\" WHERE \"repo\" = 'dcos/dcos' AND $timeFilter GROUP BY time($interval) fill(null)",
              "rawQuery": false,
              "alias": "jdef"
            },
            {
              "refId": "D",
              "policy": "default",
              "dsType": "influxdb",
              "resultFormat": "time_series",
              "tags": [
                {
                  "key": "actor",
                  "operator": "=",
                  "value": "alberts"
                }
              ],
              "groupBy": [
                {
                  "type": "time",
                  "params": [
                    "auto"
                  ]
                },
                {
                  "type": "fill",
                  "params": [
                    "null"
                  ]
                }
              ],
              "select": [
                [
                  {
                    "type": "field",
                    "params": [
                      "count"
                    ]
                  },
                  {
                    "type": "sum",
                    "params": []
                  }
                ]
              ],
              "measurement": "event",
              "hide": false,
              "query": "SELECT mean(\"count\") FROM \"event\" WHERE \"repo\" = 'dcos/dcos' AND $timeFilter GROUP BY time($interval) fill(null)",
              "rawQuery": false,
              "alias": "alberts"
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "contributors",
          "tooltip": {
            "msResolution": true,
            "shared": true,
            "sort": 0,
            "value_type": "cumulative"
          },
          "type": "graph",
          "xaxis": {
            "show": true
          },
          "yaxes": [
            {
              "format": "short",
              "label": "number of events",
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            },
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            }
          ],
          "links": []
        }
      ],
      "title": "Row"
    }
  ],
  "time": {
    "from": "now-30m",
    "to": "now"
  },
  "timepicker": {
    "refresh_intervals": [
      "5s",
      "10s",
      "30s",
      "1m",
      "5m",
      "15m",
      "30m",
      "1h",
      "2h",
      "1d"
    ],
    "time_options": [
      "5m",
      "15m",
      "1h",
      "6h",
      "12h",
      "24h",
      "2d",
      "7d",
      "30d"
    ]
  },
  "templating": {
    "list": []
  },
  "annotations": {
    "list": []
  },
  "refresh": "30s",
  "schemaVersion": 12,
  "version": 3,
  "links": [],
  "gnetId": 863,
  "description": "Shows the activity on GitHub of the dcos organization. "
}