@@ -19,10 +19,14 @@ local commonlib = import 'common-lib/common/main.libsonnet';
19
19
for v in variables
20
20
])
21
21
+ g.dashboard.withPanels(
22
- g.util.grid.wrapPanels(
23
- csplib.grafana.rows.overview
24
- + csplib.grafana.rows.api
25
- + csplib.grafana.rows.network,
22
+ g.util.panel.resolveCollapsedFlagOnRows(
23
+ g.util.grid.wrapPanels(
24
+ [
25
+ csplib.grafana.rows.overview,
26
+ csplib.grafana.rows.api,
27
+ csplib.grafana.rows.network,
28
+ ]
29
+ )
26
30
)
27
31
),
28
32
}
@@ -46,10 +50,14 @@ local commonlib = import 'common-lib/common/main.libsonnet';
46
50
for v in variables
47
51
])
48
52
+ g.dashboard.withPanels(
49
- g.util.grid.wrapPanels(
50
- csplib.grafana.rows.glb_requests
51
- + csplib.grafana.rows.glb_latency
52
- + csplib.grafana.rows.glb_traffic_metrics
53
+ g.util.panel.resolveCollapsedFlagOnRows(
54
+ g.util.grid.wrapPanels(
55
+ [
56
+ csplib.grafana.rows.glb_requests,
57
+ csplib.grafana.rows.glb_latency,
58
+ csplib.grafana.rows.glb_traffic_metrics,
59
+ ]
60
+ )
53
61
)
54
62
),
55
63
[csplib.config.uid + '-computeengine.json' ]:
@@ -62,9 +70,13 @@ local commonlib = import 'common-lib/common/main.libsonnet';
62
70
+ g.dashboard.timepicker.withTimeOptions(csplib.config.dashboardPeriod)
63
71
+ g.dashboard.withVariables(variables)
64
72
+ g.dashboard.withPanels(
65
- g.util.grid.wrapPanels(
66
- csplib.grafana.rows.gce_overview +
67
- csplib.grafana.rows.gce_instance
73
+ g.util.panel.resolveCollapsedFlagOnRows(
74
+ g.util.grid.wrapPanels(
75
+ [
76
+ csplib.grafana.rows.gce_overview,
77
+ csplib.grafana.rows.gce_instance,
78
+ ]
79
+ )
68
80
)
69
81
),
70
82
@@ -83,10 +95,14 @@ local commonlib = import 'common-lib/common/main.libsonnet';
83
95
for v in variables
84
96
])
85
97
+ g.dashboard.withPanels(
86
- g.util.grid.wrapPanels(
87
- csplib.grafana.rows.gcpvpc_overview +
88
- csplib.grafana.rows.gcpvpc_service +
89
- csplib.grafana.rows.gcpvpc_tunnel,
98
+ g.util.panel.resolveCollapsedFlagOnRows(
99
+ g.util.grid.wrapPanels(
100
+ [
101
+ csplib.grafana.rows.gcpvpc_overview,
102
+ csplib.grafana.rows.gcpvpc_service,
103
+ csplib.grafana.rows.gcpvpc_tunnel,
104
+ ]
105
+ )
90
106
),
91
107
),
92
108
} else {}
@@ -103,9 +119,13 @@ local commonlib = import 'common-lib/common/main.libsonnet';
103
119
+ g.dashboard.timepicker.withTimeOptions(csplib.config.dashboardPeriod)
104
120
+ g.dashboard.withVariables(variables)
105
121
+ g.dashboard.withPanels(
106
- g.util.grid.wrapPanels(
107
- csplib.grafana.rows.aep_storage +
108
- csplib.grafana.rows.aep_resources
122
+ g.util.panel.resolveCollapsedFlagOnRows(
123
+ g.util.grid.wrapPanels(
124
+ [
125
+ csplib.grafana.rows.aep_storage,
126
+ csplib.grafana.rows.aep_resources,
127
+ ]
128
+ )
109
129
)
110
130
),
111
131
@@ -119,9 +139,13 @@ local commonlib = import 'common-lib/common/main.libsonnet';
119
139
+ g.dashboard.timepicker.withTimeOptions(csplib.config.dashboardPeriod)
120
140
+ g.dashboard.withVariables(variables)
121
141
+ g.dashboard.withPanels(
122
- g.util.grid.wrapPanels(
123
- csplib.grafana.rows.asql_connections +
124
- csplib.grafana.rows.asql_resources
142
+ g.util.panel.resolveCollapsedFlagOnRows(
143
+ g.util.grid.wrapPanels(
144
+ [
145
+ csplib.grafana.rows.asql_connections,
146
+ csplib.grafana.rows.asql_resources,
147
+ ]
148
+ )
125
149
)
126
150
),
127
151
@@ -135,10 +159,14 @@ local commonlib = import 'common-lib/common/main.libsonnet';
135
159
+ g.dashboard.timepicker.withTimeOptions(csplib.config.dashboardPeriod)
136
160
+ g.dashboard.withVariables(variables)
137
161
+ g.dashboard.withPanels(
138
- g.util.grid.wrapPanels(
139
- csplib.grafana.rows.alb_summary +
140
- csplib.grafana.rows.alb_details +
141
- csplib.grafana.rows.alb_loadbalancers
162
+ g.util.panel.resolveCollapsedFlagOnRows(
163
+ g.util.grid.wrapPanels(
164
+ [
165
+ csplib.grafana.rows.alb_summary,
166
+ csplib.grafana.rows.alb_details,
167
+ csplib.grafana.rows.alb_loadbalancers,
168
+ ]
169
+ )
142
170
)
143
171
),
144
172
@@ -153,9 +181,13 @@ local commonlib = import 'common-lib/common/main.libsonnet';
153
181
+ g.dashboard.withVariables(variables)
154
182
+ g.dashboard.withPanels(
155
183
g.util.grid.wrapPanels(
156
- csplib.grafana.rows.vn_overview +
157
- csplib.grafana.rows.vn_bytes +
158
- csplib.grafana.rows.vn_packets
184
+ g.util.panel.resolveCollapsedFlagOnRows(
185
+ [
186
+ csplib.grafana.rows.vn_overview,
187
+ csplib.grafana.rows.vn_bytes,
188
+ csplib.grafana.rows.vn_packets,
189
+ ]
190
+ )
159
191
)
160
192
),
161
193
@@ -178,9 +210,13 @@ local commonlib = import 'common-lib/common/main.libsonnet';
178
210
for v in variables
179
211
])
180
212
+ g.dashboard.withPanels(
181
- g.util.grid.wrapPanels(
182
- csplib.grafana.rows.avm_overview +
183
- csplib.grafana.rows.avm_instance
213
+ g.util.panel.resolveCollapsedFlagOnRows(
214
+ g.util.grid.wrapPanels(
215
+ [
216
+ csplib.grafana.rows.avm_overview,
217
+ csplib.grafana.rows.avm_instance,
218
+ ]
219
+ )
184
220
)
185
221
),
186
222
@@ -203,9 +239,13 @@ local commonlib = import 'common-lib/common/main.libsonnet';
203
239
for v in variables
204
240
])
205
241
+ g.dashboard.withPanels(
206
- g.util.grid.wrapPanels(
207
- csplib.grafana.rows.afd_overview
208
- + csplib.grafana.rows.afd_endpoints,
242
+ g.util.panel.resolveCollapsedFlagOnRows(
243
+ g.util.grid.wrapPanels(
244
+ [
245
+ csplib.grafana.rows.afd_overview,
246
+ csplib.grafana.rows.afd_endpoints,
247
+ ]
248
+ )
209
249
)
210
250
),
211
251
@@ -219,10 +259,14 @@ local commonlib = import 'common-lib/common/main.libsonnet';
219
259
+ g.dashboard.timepicker.withTimeOptions(csplib.config.dashboardPeriod)
220
260
+ g.dashboard.withVariables(variables)
221
261
+ g.dashboard.withPanels(
222
- g.util.grid.wrapPanels(
223
- csplib.grafana.rows.azqueuestore_overview
224
- + csplib.grafana.rows.azqueuestore_api
225
- + csplib.grafana.rows.azqueuestore_network,
262
+ g.util.panel.resolveCollapsedFlagOnRows(
263
+ g.util.grid.wrapPanels(
264
+ [
265
+ csplib.grafana.rows.azqueuestore_overview,
266
+ csplib.grafana.rows.azqueuestore_api,
267
+ csplib.grafana.rows.azqueuestore_network,
268
+ ]
269
+ )
226
270
)
227
271
),
228
272
} else {},
0 commit comments