Skip to content

Commit

Permalink
Fix: Jenkins/Bamboo Dashboard not loading all repos (apache#6384)
Browse files Browse the repository at this point in the history
* fix: load all Jenkins jobs in the filter

* fix: load all Bamboo plans in plan names

* fix: remove the auto-generated datasource uid

---------

Co-authored-by: Startrekzky <[email protected]>
  • Loading branch information
Startrekzky and merico-devlake authored Nov 1, 2023
1 parent 1abb3ce commit d399cd6
Show file tree
Hide file tree
Showing 2 changed files with 123 additions and 51 deletions.
10 changes: 5 additions & 5 deletions grafana/dashboards/Bamboo.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": 32,
"id": 5,
"links": [],
"liveNow": false,
"panels": [
Expand Down Expand Up @@ -1110,16 +1110,16 @@
]
},
"datasource": "mysql",
"definition": "select distinct row_id as text from project_mapping where `table` = 'cicd_scopes' and row_id like 'bamboo%'",
"definition": "select concat(name, '--', id) as text from cicd_scopes where id like \"bamboo%\" ",
"hide": 0,
"includeAll": true,
"label": "Plan Name",
"multi": true,
"name": "plan_id",
"options": [],
"query": "select distinct row_id as text from project_mapping where `table` = 'cicd_scopes' and row_id like 'bamboo%'",
"query": "select concat(name, '--', id) as text from cicd_scopes where id like \"bamboo%\" ",
"refresh": 1,
"regex": "",
"regex": "/^(?<text>.*)--(?<value>.*)$/",
"skipUrlSync": false,
"sort": 0,
"type": "query"
Expand All @@ -1134,6 +1134,6 @@
"timezone": "",
"title": "Bamboo",
"uid": "a90e58d9-7acc-4858-aa77-f606d11a7d4a",
"version": 4,
"version": 3,
"weekStart": ""
}
Loading

0 comments on commit d399cd6

Please sign in to comment.