diff --git a/dashboards/blockchain/ecosystem-activity.json b/dashboards/blockchain/ecosystem-activity.json index 28354a4..5dd9ba6 100644 --- a/dashboards/blockchain/ecosystem-activity.json +++ b/dashboards/blockchain/ecosystem-activity.json @@ -19,7 +19,7 @@ "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, - "id": 3, + "id": 9, "links": [], "liveNow": false, "panels": [ @@ -44,7 +44,7 @@ "content": "This dashboard provides metrics on public commit activity happening on repositories within the broader Chia community.", "mode": "markdown" }, - "pluginVersion": "", + "pluginVersion": "10.4.1", "title": "Chia Ecosystem", "type": "text" }, @@ -104,9 +104,11 @@ "fields": "", "values": false }, - "textMode": "auto" + "showPercentChange": false, + "textMode": "auto", + "wideLayout": true }, - "pluginVersion": "", + "pluginVersion": "10.4.1", "targets": [ { "dataset": "ecosystem_activity", @@ -153,7 +155,7 @@ "type": "mysql", "uid": "P00A25F4DA48796D5" }, - "description": "Shows number of unique commits that have been made within the given dashboard time range.", + "description": "Shows number of commits users have made to a Chia ecosystem repository before the end date selected.", "fieldConfig": { "defaults": { "color": { @@ -178,6 +180,95 @@ "x": 6, "y": 4 }, + "id": 17, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showPercentChange": false, + "textMode": "auto", + "wideLayout": true + }, + "pluginVersion": "10.4.1", + "targets": [ + { + "dataset": "ecosystem_activity", + "datasource": { + "type": "mysql", + "uid": "P00A25F4DA48796D5" + }, + "editorMode": "code", + "format": "table", + "rawQuery": true, + "rawSql": "SELECT COUNT(*) AS row_count\nFROM ecosystem_activity.commits\nWHERE date <= $__timeTo();", + "refId": "A", + "sql": { + "columns": [ + { + "name": "COUNT", + "parameters": [ + { + "name": "*", + "type": "functionParameter" + } + ], + "type": "function" + } + ], + "groupBy": [ + { + "property": { + "type": "string" + }, + "type": "groupBy" + } + ], + "limit": 50 + }, + "table": "users" + } + ], + "title": "Commit Activity (Before End Date)", + "type": "stat" + }, + { + "datasource": { + "type": "mysql", + "uid": "P00A25F4DA48796D5" + }, + "description": "Shows number of unique commits that have been made within the given dashboard time range.", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 5, + "w": 6, + "x": 12, + "y": 4 + }, "id": 9, "options": { "colorMode": "value", @@ -191,9 +282,11 @@ "fields": "", "values": false }, - "textMode": "auto" + "showPercentChange": false, + "textMode": "auto", + "wideLayout": true }, - "pluginVersion": "", + "pluginVersion": "10.4.1", "targets": [ { "dataset": "ecosystem_activity", @@ -247,6 +340,7 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "No. of Commits", @@ -260,6 +354,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -295,7 +390,7 @@ }, "gridPos": { "h": 8, - "w": 12, + "w": 18, "x": 0, "y": 9 }, @@ -384,7 +479,7 @@ }, "gridPos": { "h": 5, - "w": 6, + "w": 5, "x": 0, "y": 18 }, @@ -401,9 +496,11 @@ "fields": "", "values": false }, - "textMode": "auto" + "showPercentChange": false, + "textMode": "auto", + "wideLayout": true }, - "pluginVersion": "", + "pluginVersion": "10.4.1", "targets": [ { "dataset": "ecosystem_activity", @@ -442,7 +539,185 @@ "table": "users" } ], - "title": "Repositories (Total)", + "title": "Repositories (Total All Time)", + "type": "stat" + }, + { + "datasource": { + "type": "mysql", + "uid": "P00A25F4DA48796D5" + }, + "description": "Shows the total number of unique repositories in the Chia ecosystem that were created before the \"to\" date selected in the date range selector.\n\nThis number includes repositories that may no longer exist on GitHub (either deleted by GitHub or the repository owner). We retain all historical data for consistency of metrics over time, even if the repositories no longer exist", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 5, + "w": 5, + "x": 5, + "y": 18 + }, + "id": 14, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showPercentChange": false, + "textMode": "auto", + "wideLayout": true + }, + "pluginVersion": "10.4.1", + "targets": [ + { + "dataset": "ecosystem_activity", + "datasource": { + "type": "mysql", + "uid": "P00A25F4DA48796D5" + }, + "editorMode": "code", + "format": "table", + "rawQuery": true, + "rawSql": "SELECT COUNT(*) AS row_count\nFROM ecosystem_activity.repos\nWHERE first_commit <= $__timeTo();", + "refId": "A", + "sql": { + "columns": [ + { + "name": "COUNT", + "parameters": [ + { + "name": "*", + "type": "functionParameter" + } + ], + "type": "function" + } + ], + "groupBy": [ + { + "property": { + "type": "string" + }, + "type": "groupBy" + } + ], + "limit": 50 + }, + "table": "users" + } + ], + "title": "Repositories (Created Before End Date)", + "type": "stat" + }, + { + "datasource": { + "type": "mysql", + "uid": "P00A25F4DA48796D5" + }, + "description": "Shows the total number of unique repositories in the Chia ecosystem that were created within the \"from\" and \"to\" dates (inclusive) selected in the date range selector.\n\nThis number includes repositories that may no longer exist on GitHub (either deleted by GitHub or the repository owner). We retain all historical data for consistency of metrics over time, even if the repositories no longer exist", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 5, + "w": 5, + "x": 10, + "y": 18 + }, + "id": 13, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showPercentChange": false, + "textMode": "auto", + "wideLayout": true + }, + "pluginVersion": "10.4.1", + "targets": [ + { + "dataset": "ecosystem_activity", + "datasource": { + "type": "mysql", + "uid": "P00A25F4DA48796D5" + }, + "editorMode": "code", + "format": "table", + "rawQuery": true, + "rawSql": "SELECT COUNT(*) AS row_count\nFROM ecosystem_activity.repos\nWHERE first_commit BETWEEN $__timeFrom() AND $__timeTo()", + "refId": "A", + "sql": { + "columns": [ + { + "name": "COUNT", + "parameters": [ + { + "name": "*", + "type": "functionParameter" + } + ], + "type": "function" + } + ], + "groupBy": [ + { + "property": { + "type": "string" + }, + "type": "groupBy" + } + ], + "limit": 50 + }, + "table": "users" + } + ], + "title": "Repositories (Created Within Time Range)", "type": "stat" }, { @@ -471,8 +746,8 @@ }, "gridPos": { "h": 5, - "w": 6, - "x": 6, + "w": 5, + "x": 15, "y": 18 }, "id": 7, @@ -488,9 +763,11 @@ "fields": "", "values": false }, - "textMode": "auto" + "showPercentChange": false, + "textMode": "auto", + "wideLayout": true }, - "pluginVersion": "", + "pluginVersion": "10.4.1", "targets": [ { "dataset": "ecosystem_activity", @@ -571,7 +848,7 @@ }, "gridPos": { "h": 5, - "w": 6, + "w": 5, "x": 0, "y": 24 }, @@ -588,9 +865,11 @@ "fields": "", "values": false }, - "textMode": "auto" + "showPercentChange": false, + "textMode": "auto", + "wideLayout": true }, - "pluginVersion": "", + "pluginVersion": "10.4.1", "targets": [ { "dataset": "ecosystem_activity", @@ -629,7 +908,185 @@ "table": "users" } ], - "title": "Developers with Commit Activity (Total)", + "title": "Developers Activity (Total All Time)", + "type": "stat" + }, + { + "datasource": { + "type": "mysql", + "uid": "P00A25F4DA48796D5" + }, + "description": "Shows number of unique developers that have made a commit to a Chia ecosystem repository in within the selected date range.", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 5, + "w": 5, + "x": 5, + "y": 24 + }, + "id": 16, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showPercentChange": false, + "textMode": "auto", + "wideLayout": true + }, + "pluginVersion": "10.4.1", + "targets": [ + { + "dataset": "ecosystem_activity", + "datasource": { + "type": "mysql", + "uid": "P00A25F4DA48796D5" + }, + "editorMode": "code", + "format": "table", + "rawQuery": true, + "rawSql": "SELECT COUNT(distinct user_id) AS row_count\nFROM ecosystem_activity.commits\nWHERE date <= $__timeTo()", + "refId": "A", + "sql": { + "columns": [ + { + "name": "COUNT", + "parameters": [ + { + "name": "*", + "type": "functionParameter" + } + ], + "type": "function" + } + ], + "groupBy": [ + { + "property": { + "type": "string" + }, + "type": "groupBy" + } + ], + "limit": 50 + }, + "table": "users" + } + ], + "title": "Developer Activity (By End Date)", + "type": "stat" + }, + { + "datasource": { + "type": "mysql", + "uid": "P00A25F4DA48796D5" + }, + "description": "Shows number of unique developers that have made any commits to a Chia ecosystem repo within the given dashboard time range.", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 5, + "w": 4, + "x": 10, + "y": 24 + }, + "id": 15, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showPercentChange": false, + "textMode": "auto", + "wideLayout": true + }, + "pluginVersion": "10.4.1", + "targets": [ + { + "dataset": "ecosystem_activity", + "datasource": { + "type": "mysql", + "uid": "P00A25F4DA48796D5" + }, + "editorMode": "code", + "format": "table", + "rawQuery": true, + "rawSql": "SELECT COUNT(distinct user_id) AS row_count\nFROM ecosystem_activity.commits\nWHERE date BETWEEN $__timeFrom() AND $__timeTo()", + "refId": "A", + "sql": { + "columns": [ + { + "name": "COUNT", + "parameters": [ + { + "name": "*", + "type": "functionParameter" + } + ], + "type": "function" + } + ], + "groupBy": [ + { + "property": { + "type": "string" + }, + "type": "groupBy" + } + ], + "limit": 50 + }, + "table": "users" + } + ], + "title": "Developer Activity (Any commit in date range)", "type": "stat" }, { @@ -658,8 +1115,8 @@ }, "gridPos": { "h": 5, - "w": 6, - "x": 6, + "w": 4, + "x": 14, "y": 24 }, "id": 1, @@ -675,9 +1132,11 @@ "fields": "", "values": false }, - "textMode": "auto" + "showPercentChange": false, + "textMode": "auto", + "wideLayout": true }, - "pluginVersion": "", + "pluginVersion": "10.4.1", "targets": [ { "dataset": "ecosystem_activity", @@ -745,9 +1204,9 @@ }, "gridPos": { "h": 5, - "w": 6, - "x": 0, - "y": 29 + "w": 4, + "x": 18, + "y": 24 }, "id": 12, "options": { @@ -762,9 +1221,11 @@ "fields": "", "values": false }, - "textMode": "auto" + "showPercentChange": false, + "textMode": "auto", + "wideLayout": true }, - "pluginVersion": "", + "pluginVersion": "10.4.1", "targets": [ { "dataset": "ecosystem_activity", @@ -808,8 +1269,7 @@ } ], "refresh": "", - "schemaVersion": 38, - "style": "dark", + "schemaVersion": 39, "tags": [], "templating": { "list": []