Skip to content

Commit a7678c7

Browse files
Add datasource in a few phoenix dashboards (#571)
1 parent 399b79e commit a7678c7

File tree

8 files changed

+546
-453
lines changed

8 files changed

+546
-453
lines changed

helm/dashboards/charts/private_dashboards_al/dashboards/shared/private/capa-aggregated-error-logs.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
}
1616
]
1717
},
18-
"description": "aggregate error logs for specific cluster ID for CAPA controllers",
18+
"description": "aggregate error logs for specific cluster for CAPA controllers",
1919
"editable": true,
2020
"fiscalYearStartMonth": 0,
2121
"graphTooltip": 0,

helm/dashboards/charts/private_dashboards_al/dashboards/shared/private/capi-aggregated-error-logs.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
}
1616
]
1717
},
18-
"description": "aggregate error logs for specific cluster ID from all 3 CAPI controllers",
18+
"description": "aggregate error logs for specific cluster from all 3 CAPI controllers",
1919
"editable": true,
2020
"fiscalYearStartMonth": 0,
2121
"graphTooltip": 0,

helm/dashboards/charts/private_dashboards_al/dashboards/shared/private/conntrack.json

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
"liveNow": false,
2828
"panels": [
2929
{
30+
"datasource": "${datasource}",
3031
"fieldConfig": {
3132
"defaults": {
3233
"color": {
@@ -96,15 +97,13 @@
9697
},
9798
"targets": [
9899
{
99-
"datasource": "default",
100100
"exemplar": true,
101101
"expr": "avg by (node) (node_nf_conntrack_entries{cluster_id=\"$cluster\"})",
102102
"interval": "",
103103
"legendFormat": "{{node}} (current)",
104104
"refId": "A"
105105
},
106106
{
107-
"datasource": "default",
108107
"exemplar": true,
109108
"expr": "max by (node) (node_nf_conntrack_entries_limit{cluster_id=\"$cluster\"})",
110109
"hide": false,
@@ -126,24 +125,39 @@
126125
],
127126
"templating": {
128127
"list": [
128+
{
129+
"current": {
130+
"text": "default",
131+
"value": "default"
132+
},
133+
"hide": 0,
134+
"label": "Data source",
135+
"name": "datasource",
136+
"options": [],
137+
"query": "prometheus",
138+
"refresh": 1,
139+
"regex": "",
140+
"type": "datasource"
141+
},
129142
{
130143
"current": {
131144
"selected": true,
132145
"text": "5jka7",
133146
"value": "5jka7"
134147
},
148+
"datasource": "$datasource",
135149
"definition": "label_values(node_nf_conntrack_entries,cluster_id)",
136150
"hide": 0,
137151
"includeAll": false,
138-
"label": "Cluster ID",
152+
"label": "Cluster",
139153
"multi": false,
140154
"name": "cluster",
141155
"options": [],
142156
"query": {
143157
"query": "label_values(node_nf_conntrack_entries,cluster_id)",
144158
"refId": "StandardVariableQuery"
145159
},
146-
"refresh": 1,
160+
"refresh": 2,
147161
"regex": "",
148162
"skipUrlSync": false,
149163
"sort": 1,

0 commit comments

Comments
 (0)