{ "annotations": { "list": [ { "$$hashKey": "object:28", "builtIn": 1, "datasource": "-- Grafana --", "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", "limit": 100, "name": "Annotations & Alerts", "showIn": 0, "target": { "limit": 100, "matchAny": false, "tags": [], "type": "dashboard" }, "type": "dashboard" }, { "$$hashKey": "object:29", "datasource": "psql", "enable": true, "hide": false, "iconColor": "rgba(255, 96, 96, 1)", "limit": 100, "name": "Releases", "query": "SELECT title, description from annotations WHERE $timeFilter order by time asc", "rawQuery": "select extract(epoch from time) AS time, title as text, description as tags from sannotations where $__timeFilter(time)", "showIn": 0, "tagsColumn": "title,description", "textColumn": "", "titleColumn": "[[full_name]] release", "type": "alert" } ] }, "editable": true, "fiscalYearStartMonth": 0, "gnetId": null, "graphTooltip": 0, "id": 40, "iteration": 1637154982965, "links": [], "liveNow": false, "panels": [ { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "psql", "decimals": 2, "description": "Measures user [[metric]].", "fieldConfig": { "defaults": { "links": [] }, "overrides": [] }, "fill": 6, "fillGradient": 0, "gridPos": { "h": 17, "w": 24, "x": 0, "y": 0 }, "hiddenSeries": false, "id": 1, "legend": { "alignAsTable": true, "avg": true, "current": true, "hideEmpty": false, "hideZero": false, "max": true, "min": true, "rightSide": true, "show": true, "sideWidth": null, "sort": "avg", "sortDesc": true, "total": false, "values": true }, "lines": true, "linewidth": 0, "links": [], "nullPointMode": "null as zero", "options": { "alertThreshold": true }, "percentage": false, "pluginVersion": "8.2.4", "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [ { "alias": "All", "bars": false, "fill": 0, "lines": true, "linewidth": 1, "stack": false, "yaxis": 2 } ], "spaceLength": 10, "stack": true, "steppedLine": false, "targets": [ { "alias": "", "dsType": "influxdb", "format": "time_series", "groupBy": [], "measurement": "sig_federation_d", "orderByTime": "ASC", "policy": "default", "query": "", "rawQuery": true, "rawSql": "select\n time,\n ${users:csv}\nfrom\n suser_activity\nwhere\n $__timeFilter(time)\n and period = '[[period]]'\n and series = 'user[[repogroup]][[metric]]'\norder by\n time", "refId": "B", "resultFormat": "time_series", "select": [ [ { "params": [ "value" ], "type": "field" } ] ], "tags": [] } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "Users [[metric]] metric ([[repogroup_name]], [[period]])", "tooltip": { "shared": true, "sort": 2, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "short", "label": "Value", "logBase": 1, "max": null, "min": "0", "show": true }, { "decimals": null, "format": "short", "label": "All", "logBase": 1, "max": null, "min": "0", "show": true } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "psql", "decimals": 2, "description": "Measures user [[metric]].", "fieldConfig": { "defaults": { "links": [] }, "overrides": [] }, "fill": 6, "fillGradient": 0, "gridPos": { "h": 16, "w": 24, "x": 0, "y": 17 }, "hiddenSeries": false, "id": 2, "legend": { "alignAsTable": true, "avg": true, "current": true, "hideEmpty": false, "hideZero": false, "max": true, "min": true, "rightSide": true, "show": true, "sideWidth": null, "sort": "avg", "sortDesc": true, "total": false, "values": true }, "lines": true, "linewidth": 0, "links": [], "nullPointMode": "null as zero", "options": { "alertThreshold": true }, "percentage": true, "pluginVersion": "8.2.4", "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": true, "steppedLine": false, "targets": [ { "alias": "", "dsType": "influxdb", "format": "time_series", "groupBy": [], "measurement": "sig_federation_d", "orderByTime": "ASC", "policy": "default", "query": "", "rawQuery": true, "rawSql": "select\n time,\n ${users:csv}\nfrom\n suser_activity\nwhere\n $__timeFilter(time)\n and period = '[[period]]'\n and series = 'user[[repogroup]][[metric]]'\norder by\n time", "refId": "B", "resultFormat": "time_series", "select": [ [ { "params": [ "value" ], "type": "field" } ] ], "tags": [] } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "Users [[metric]] metric ([[repogroup_name]], [[period]])", "tooltip": { "shared": true, "sort": 2, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "short", "label": "", "logBase": 1, "max": "100", "min": "0", "show": true }, { "decimals": null, "format": "short", "label": "", "logBase": 1, "max": "100", "min": "0", "show": true } ], "yaxis": { "align": false, "alignLevel": null } }, { "datasource": null, "gridPos": { "h": 13, "w": 24, "x": 0, "y": 33 }, "id": 11, "links": [], "options": { "content": "${docs:raw}", "mode": "html" }, "pluginVersion": "8.2.4", "title": "Dashboard documentation", "type": "text" } ], "schemaVersion": 32, "style": "dark", "tags": [ "dashboard", "nocalhost" ], "templating": { "list": [ { "allValue": null, "current": { "selected": false, "text": "KubeVela", "value": "KubeVela" }, "datasource": "psql", "definition": "", "description": null, "error": null, "hide": 2, "includeAll": false, "label": null, "multi": false, "name": "full_name", "options": [], "query": "select value_s from gha_vars where name = 'full_name'", "refresh": 1, "regex": "", "skipUrlSync": true, "sort": 0, "tagValuesQuery": "", "tagsQuery": "", "type": "query", "useTags": false }, { "allValue": null, "current": { "selected": false, "text": "7 Days MA", "value": "d7" }, "description": null, "error": null, "hide": 0, "includeAll": false, "label": "Period", "multi": false, "name": "period", "options": [ { "selected": false, "text": "Day", "value": "d" }, { "selected": true, "text": "7 Days MA", "value": "d7" }, { "selected": false, "text": "Week", "value": "w" }, { "selected": false, "text": "Month", "value": "m" }, { "selected": false, "text": "Quarter", "value": "q" }, { "selected": false, "text": "Year", "value": "y" } ], "query": "d,w,m,q,y", "skipUrlSync": false, "type": "custom" }, { "allValue": null, "current": { "selected": true, "text": "Contributions", "value": "contributions" }, "description": null, "error": null, "hide": 0, "includeAll": false, "label": "Metric", "multi": false, "name": "metric", "options": [ { "selected": false, "text": "All activity", "value": "activity" }, { "selected": false, "text": "Issues created", "value": "issues" }, { "selected": false, "text": "Pull requests created", "value": "prs" }, { "selected": false, "text": "Reviews submitted", "value": "reviews" }, { "selected": false, "text": "Commits made", "value": "commits" }, { "selected": false, "text": "Pushes made", "value": "pushes" }, { "selected": true, "text": "Contributions", "value": "contributions" }, { "selected": false, "text": "Added comments", "value": "comments" } ], "query": "activity,issues,prs,pushes,commits,contributions,comments,reviews", "skipUrlSync": false, "type": "custom" }, { "allValue": null, "current": { "selected": false, "text": "All", "value": "All" }, "datasource": "psql", "definition": "", "description": null, "error": null, "hide": 0, "includeAll": false, "label": "Repository group", "multi": false, "name": "repogroup_name", "options": [], "query": "select all_repo_group_name from tall_repo_groups order by 1", "refresh": 1, "regex": "", "skipUrlSync": false, "sort": 0, "tagValuesQuery": "", "tagsQuery": "", "type": "query", "useTags": false }, { "allValue": null, "current": { "selected": false, "text": "all", "value": "all" }, "datasource": "psql", "definition": "", "description": null, "error": null, "hide": 2, "includeAll": false, "label": "", "multi": false, "name": "repogroup", "options": [], "query": "select all_repo_group_value from tall_repo_groups where all_repo_group_name = '[[repogroup_name]]'", "refresh": 1, "regex": "", "skipUrlSync": true, "sort": 0, "tagValuesQuery": "", "tagsQuery": "", "type": "query", "useTags": false }, { "allValue": "", "current": { "selected": false, "text": "All", "value": "$__all" }, "datasource": "psql", "definition": "", "description": null, "error": null, "hide": 0, "includeAll": true, "label": "Users", "multi": true, "name": "users", "options": [], "query": "select '\"' || users_name || '\"' from tusers order by time asc", "refresh": 1, "regex": "", "skipUrlSync": false, "sort": 0, "tagValuesQuery": "", "tagsQuery": "", "type": "query", "useTags": false }, { "allValue": null, "current": { "selected": false, "text": "
Links:
\nuser_activity
Links:
\nuser_activity