You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by ab...@apache.org on 2024/01/04 11:08:01 UTC
(incubator-devlake) branch release-v0.20 updated: fix: remove some filter (#6723) (#6740)
This is an automated email from the ASF dual-hosted git repository.
abeizn pushed a commit to branch release-v0.20
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
The following commit(s) were added to refs/heads/release-v0.20 by this push:
new 8f4968fbf fix: remove some filter (#6723) (#6740)
8f4968fbf is described below
commit 8f4968fbf057559ac0beafa3e8b555331cebf446
Author: github-actions[bot] <41...@users.noreply.github.com>
AuthorDate: Thu Jan 4 19:07:54 2024 +0800
fix: remove some filter (#6723) (#6740)
* fix: remove some filter
* fix: remove datasource uid
* fix: format
* fix: remove datasource uid
Co-authored-by: abeizn <zi...@merico.dev>
---
grafana/dashboards/Sonarqube.json | 222 ++++++++++++++++++++++----------------
1 file changed, 127 insertions(+), 95 deletions(-)
diff --git a/grafana/dashboards/Sonarqube.json b/grafana/dashboards/Sonarqube.json
index 4bfcadb95..48a0280a1 100644
--- a/grafana/dashboards/Sonarqube.json
+++ b/grafana/dashboards/Sonarqube.json
@@ -3,7 +3,10 @@
"list": [
{
"builtIn": 1,
- "datasource": "-- Grafana --",
+ "datasource": {
+ "type": "datasource",
+ "uid": "grafana"
+ },
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
@@ -13,14 +16,17 @@
]
},
"editable": true,
- "gnetId": null,
+ "fiscalYearStartMonth": 0,
"graphTooltip": 0,
- "id": 29,
- "iteration": 1682063057579,
+ "id": 33,
"links": [],
+ "liveNow": false,
"panels": [
{
- "datasource": null,
+ "datasource": {
+ "type": "datasource",
+ "uid": "grafana"
+ },
"gridPos": {
"h": 3,
"w": 13,
@@ -29,12 +35,21 @@
},
"id": 19,
"options": {
+ "code": {
+ "language": "plaintext",
+ "showLineNumbers": false,
+ "showMiniMap": false
+ },
"content": "- Use Cases: This dashboard shows the code quality metrics from SonarQube.\n- Data Source Required: SonarQube v8.2+",
"mode": "markdown"
},
- "pluginVersion": "8.0.6",
+ "pluginVersion": "9.5.14",
"targets": [
{
+ "datasource": {
+ "type": "datasource",
+ "uid": "grafana"
+ },
"queryType": "randomWalk",
"refId": "A"
}
@@ -43,7 +58,10 @@
"type": "text"
},
{
- "datasource": null,
+ "datasource": {
+ "type": "datasource",
+ "uid": "grafana"
+ },
"gridPos": {
"h": 1,
"w": 24,
@@ -51,11 +69,23 @@
"y": 3
},
"id": 16,
+ "targets": [
+ {
+ "datasource": {
+ "type": "datasource",
+ "uid": "grafana"
+ },
+ "refId": "A"
+ }
+ ],
"title": "Reliability & Security",
"type": "row"
},
{
- "datasource": "-- Mixed --",
+ "datasource": {
+ "type": "datasource",
+ "uid": "-- Mixed --"
+ },
"fieldConfig": {
"defaults": {
"color": {
@@ -101,7 +131,7 @@
"text": {},
"textMode": "value"
},
- "pluginVersion": "8.0.6",
+ "pluginVersion": "9.5.14",
"targets": [
{
"datasource": "mysql",
@@ -139,7 +169,10 @@
"type": "stat"
},
{
- "datasource": "-- Mixed --",
+ "datasource": {
+ "type": "datasource",
+ "uid": "-- Mixed --"
+ },
"fieldConfig": {
"defaults": {
"color": {
@@ -185,7 +218,7 @@
"text": {},
"textMode": "value"
},
- "pluginVersion": "8.0.6",
+ "pluginVersion": "9.5.14",
"targets": [
{
"datasource": "mysql",
@@ -223,7 +256,10 @@
"type": "stat"
},
{
- "datasource": "-- Mixed --",
+ "datasource": {
+ "type": "datasource",
+ "uid": "-- Mixed --"
+ },
"description": "",
"fieldConfig": {
"defaults": {
@@ -269,7 +305,7 @@
"text": {},
"textMode": "auto"
},
- "pluginVersion": "8.0.6",
+ "pluginVersion": "9.5.14",
"targets": [
{
"datasource": "mysql",
@@ -307,7 +343,10 @@
"type": "stat"
},
{
- "datasource": "-- Mixed --",
+ "datasource": {
+ "type": "datasource",
+ "uid": "-- Mixed --"
+ },
"description": "",
"fieldConfig": {
"defaults": {
@@ -353,7 +392,7 @@
"text": {},
"textMode": "auto"
},
- "pluginVersion": "8.0.6",
+ "pluginVersion": "9.5.14",
"targets": [
{
"datasource": "mysql",
@@ -392,7 +431,10 @@
},
{
"collapsed": false,
- "datasource": null,
+ "datasource": {
+ "type": "datasource",
+ "uid": "grafana"
+ },
"gridPos": {
"h": 1,
"w": 24,
@@ -401,11 +443,23 @@
},
"id": 12,
"panels": [],
+ "targets": [
+ {
+ "datasource": {
+ "type": "datasource",
+ "uid": "grafana"
+ },
+ "refId": "A"
+ }
+ ],
"title": "Test & Maintainability",
"type": "row"
},
{
- "datasource": "-- Mixed --",
+ "datasource": {
+ "type": "datasource",
+ "uid": "-- Mixed --"
+ },
"description": "",
"fieldConfig": {
"defaults": {
@@ -451,7 +505,7 @@
"text": {},
"textMode": "auto"
},
- "pluginVersion": "8.0.6",
+ "pluginVersion": "9.5.14",
"targets": [
{
"datasource": "mysql",
@@ -489,7 +543,10 @@
"type": "stat"
},
{
- "datasource": "-- Mixed --",
+ "datasource": {
+ "type": "datasource",
+ "uid": "-- Mixed --"
+ },
"description": "",
"fieldConfig": {
"defaults": {
@@ -536,7 +593,7 @@
"text": {},
"textMode": "value"
},
- "pluginVersion": "8.0.6",
+ "pluginVersion": "9.5.14",
"targets": [
{
"datasource": "mysql",
@@ -574,7 +631,10 @@
"type": "stat"
},
{
- "datasource": "-- Mixed --",
+ "datasource": {
+ "type": "datasource",
+ "uid": "-- Mixed --"
+ },
"description": "",
"fieldConfig": {
"defaults": {
@@ -621,7 +681,7 @@
"text": {},
"textMode": "value"
},
- "pluginVersion": "8.0.6",
+ "pluginVersion": "9.5.14",
"targets": [
{
"datasource": "mysql",
@@ -660,7 +720,10 @@
},
{
"collapsed": false,
- "datasource": null,
+ "datasource": {
+ "type": "datasource",
+ "uid": "grafana"
+ },
"gridPos": {
"h": 1,
"w": 24,
@@ -669,11 +732,23 @@
},
"id": 6,
"panels": [],
+ "targets": [
+ {
+ "datasource": {
+ "type": "datasource",
+ "uid": "grafana"
+ },
+ "refId": "A"
+ }
+ ],
"title": "Duplication & Code",
"type": "row"
},
{
- "datasource": "-- Mixed --",
+ "datasource": {
+ "type": "datasource",
+ "uid": "-- Mixed --"
+ },
"description": "",
"fieldConfig": {
"defaults": {
@@ -719,7 +794,7 @@
"text": {},
"textMode": "auto"
},
- "pluginVersion": "8.0.6",
+ "pluginVersion": "9.5.14",
"targets": [
{
"datasource": "mysql",
@@ -757,7 +832,10 @@
"type": "stat"
},
{
- "datasource": "-- Mixed --",
+ "datasource": {
+ "type": "datasource",
+ "uid": "-- Mixed --"
+ },
"description": "",
"fieldConfig": {
"defaults": {
@@ -803,7 +881,7 @@
"text": {},
"textMode": "auto"
},
- "pluginVersion": "8.0.6",
+ "pluginVersion": "9.5.14",
"targets": [
{
"datasource": "mysql",
@@ -841,7 +919,10 @@
"type": "stat"
},
{
- "datasource": "-- Mixed --",
+ "datasource": {
+ "type": "datasource",
+ "uid": "-- Mixed --"
+ },
"description": "",
"fieldConfig": {
"defaults": {
@@ -850,8 +931,11 @@
},
"custom": {
"align": "auto",
- "displayMode": "color-text",
- "filterable": false
+ "cellOptions": {
+ "type": "color-text"
+ },
+ "filterable": false,
+ "inspect": false
},
"mappings": [],
"thresholds": {
@@ -878,9 +962,18 @@
},
"id": 17,
"options": {
+ "cellHeight": "sm",
+ "footer": {
+ "countRows": false,
+ "fields": "",
+ "reducer": [
+ "sum"
+ ],
+ "show": false
+ },
"showHeader": true
},
- "pluginVersion": "8.0.6",
+ "pluginVersion": "9.5.14",
"targets": [
{
"datasource": "mysql",
@@ -919,7 +1012,7 @@
}
],
"refresh": "",
- "schemaVersion": 30,
+ "schemaVersion": 38,
"style": "dark",
"tags": [
"Data Source Dashboard"
@@ -927,7 +1020,6 @@
"templating": {
"list": [
{
- "allValue": null,
"current": {
"selected": true,
"text": [
@@ -939,8 +1031,6 @@
},
"datasource": "mysql",
"definition": "select concat(name, '--', id) as text from cq_projects",
- "description": null,
- "error": null,
"hide": 0,
"includeAll": true,
"label": "Choose Project",
@@ -955,70 +1045,11 @@
"type": "query"
},
{
- "allValue": null,
- "current": {
- "selected": true,
- "text": [
- "All"
- ],
- "value": [
- "$__all"
- ]
- },
- "datasource": "mysql",
- "definition": "select distinct(type) from cq_issues",
- "description": null,
- "error": null,
- "hide": 0,
- "includeAll": true,
- "label": "Issue Type",
- "multi": true,
- "name": "issue_type",
- "options": [],
- "query": "select distinct(type) from cq_issues",
- "refresh": 1,
- "regex": "",
- "skipUrlSync": false,
- "sort": 0,
- "type": "query"
- },
- {
- "allValue": null,
- "current": {
- "selected": true,
- "text": [
- "All"
- ],
- "value": [
- "$__all"
- ]
- },
- "datasource": "mysql",
- "definition": "select distinct(severity) from cq_issues",
- "description": null,
- "error": null,
- "hide": 0,
- "includeAll": true,
- "label": "Severity",
- "multi": true,
- "name": "severity",
- "options": [],
- "query": "select distinct(severity) from cq_issues",
- "refresh": 1,
- "regex": "",
- "skipUrlSync": false,
- "sort": 0,
- "type": "query"
- },
- {
- "allValue": null,
"current": {
"selected": false,
"text": "20",
"value": "20"
},
- "description": null,
- "error": null,
"hide": 0,
"includeAll": false,
"label": "rows",
@@ -1056,5 +1087,6 @@
"timezone": "",
"title": "SonarQube",
"uid": "WA0qbuJ4k",
- "version": 1
+ "version": 2,
+ "weekStart": ""
}
\ No newline at end of file