Skip to content

Commit 7dce710

Browse files
committed
spacing error
1 parent 14b6a89 commit 7dce710

File tree

4 files changed

+171
-167
lines changed

4 files changed

+171
-167
lines changed

assets/container-scenarios/panels.libsonnet

Lines changed: 55 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -247,72 +247,72 @@ local queries = import 'queries.libsonnet';
247247
},
248248
},
249249
overrides: [
250-
{
251-
"matcher": {
252-
"id": "byName",
253-
"options": "kubernetes_objects_count.Deployment"
254-
},
255-
"properties": [
256-
{
257-
"id": "custom.hidden"
258-
}
259-
]
250+
{
251+
matcher: {
252+
id: 'byName',
253+
options: 'kubernetes_objects_count.Deployment',
260254
},
261-
{
262-
"matcher": {
263-
"id": "byName",
264-
"options": "kubernetes_objects_count.ConfigMap"
255+
properties: [
256+
{
257+
id: 'custom.hidden',
265258
},
266-
"properties": [
267-
{
268-
"id": "custom.hidden"
269-
}
270-
]
259+
],
260+
},
261+
{
262+
matcher: {
263+
id: 'byName',
264+
options: 'kubernetes_objects_count.ConfigMap',
271265
},
272-
{
273-
"matcher": {
274-
"id": "byName",
275-
"options": "kubernetes_objects_count.Build"
266+
properties: [
267+
{
268+
id: 'custom.hidden',
276269
},
277-
"properties": [
278-
{
279-
"id": "custom.hidden"
280-
}
281-
]
270+
],
271+
},
272+
{
273+
matcher: {
274+
id: 'byName',
275+
options: 'kubernetes_objects_count.Build',
282276
},
283-
{
284-
"matcher": {
285-
"id": "byName",
286-
"options": "_type"
277+
properties: [
278+
{
279+
id: 'custom.hidden',
287280
},
288-
"properties": [
289-
{
290-
"id": "custom.hidden"
291-
}
292-
]
281+
],
282+
},
283+
{
284+
matcher: {
285+
id: 'byName',
286+
options: '_type',
293287
},
294-
{
295-
"matcher": {
296-
"id": "byName",
297-
"options": "kubernetes_objects"
288+
properties: [
289+
{
290+
id: 'custom.hidden',
298291
},
299-
"properties": [
300-
{
301-
"id": "custom.hidden"
302-
}
303-
]
292+
],
293+
},
294+
{
295+
matcher: {
296+
id: 'byName',
297+
options: 'kubernetes_objects',
304298
},
305-
{
306-
"matcher": {
307-
"id": "byName",
308-
"options": "_id"
299+
properties: [
300+
{
301+
id: 'custom.hidden',
309302
},
310-
"properties": [
311-
{
312-
"id": "custom.hidden"
313-
}
314-
]
303+
],
304+
},
305+
{
306+
matcher: {
307+
id: 'byName',
308+
options: '_id',
315309
},
310+
properties: [
311+
{
312+
id: 'custom.hidden',
313+
},
314+
],
315+
},
316316
{
317317
matcher: {
318318
id: 'byName',

assets/container-scenarios/variables.libsonnet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
self.queryVariable('platform', 'platform', '{"find": "terms", "field": "cloud_infrastructure.keyword"}', '${Datasource}'),
5555
self.queryVariable('cloud_type', 'cloud_type', '{"find": "terms", "field": "cloud_type.keyword", "query": "cloud_infrastructure.keyword: $platform"}', '${Datasource}'),
5656
self.queryVariable('namespace', 'namespace', '{"find": "terms", "field": "scenarios.parameters.scenarios.namespace.keyword", "query": "cloud_infrastructure.keyword: $platform AND cloud_type.keyword: $cloud_type AND scenarios.scenario: /tmp/container_scenario.yaml"}', '${Datasource}', true, true),
57-
z self.queryVariable('networkType', 'networkType', '{"find": "terms", "field": "network_plugins.keyword", "query": "cloud_infrastructure.keyword: $platform AND cloud_type.keyword: $cloud_type"}', '${Datasource}'),
57+
self.queryVariable('networkType', 'networkType', '{"find": "terms", "field": "network_plugins.keyword", "query": "cloud_infrastructure.keyword: $platform AND cloud_type.keyword: $cloud_type"}', '${Datasource}'),
5858
self.queryVariable('node_count', 'node_count', '{"find": "terms", "field": "node_summary_infos.count", "query": "cloud_infrastructure.keyword: $platform AND scenarios.scenario: /tmp/container_scenario.yaml AND cloud_type.keyword: $cloud_type"}', '${Datasource}'),
5959
self.queryVariable('major_version', 'major_version', '{"find": "terms", "field": "major_version.keyword", "query": "cloud_infrastructure.keyword: $platform AND network_plugins.keyword: $networkType AND scenarios.scenario: /tmp/container_scenario.yaml AND cloud_type.keyword: $cloud_type" }', '${Datasource}', true, true),
6060
self.queryVariable('run_uuid', 'run_uuid', '{"find": "terms", "field": "run_uuid.keyword", "query": "cloud_infrastructure.keyword: $platform AND network_plugins.keyword: $networkType AND scenarios.scenario: /tmp/container_scenario.yaml AND major_version.keyword: $major_version AND cloud_type.keyword: $cloud_type AND node_summary_infos.count: $node_count"}', '${Datasource}', true, true),

assets/node-scenarios/panels.libsonnet

Lines changed: 57 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -34,72 +34,74 @@ local queries = import 'queries.libsonnet';
3434
],
3535
},
3636
},
37-
overrides: [{
38-
"matcher": {
39-
"id": "byName",
40-
"options": "kubernetes_objects_count.Deployment"
37+
overrides: [
38+
{
39+
matcher: {
40+
id: 'byName',
41+
options: 'kubernetes_objects_count.Deployment',
42+
},
43+
properties: [
44+
{
45+
id: 'custom.hidden',
4146
},
42-
"properties": [
43-
{
44-
"id": "custom.hidden"
45-
}
46-
]
47+
],
48+
},
49+
{
50+
matcher: {
51+
id: 'byName',
52+
options: 'kubernetes_objects_count.ConfigMap',
4753
},
48-
{
49-
"matcher": {
50-
"id": "byName",
51-
"options": "kubernetes_objects_count.ConfigMap"
54+
properties: [
55+
{
56+
id: 'custom.hidden',
5257
},
53-
"properties": [
54-
{
55-
"id": "custom.hidden"
56-
}
57-
]
58+
],
59+
},
60+
{
61+
matcher: {
62+
id: 'byName',
63+
options: 'kubernetes_objects_count.Build',
5864
},
59-
{
60-
"matcher": {
61-
"id": "byName",
62-
"options": "kubernetes_objects_count.Build"
65+
properties: [
66+
{
67+
id: 'custom.hidden',
6368
},
64-
"properties": [
65-
{
66-
"id": "custom.hidden"
67-
}
68-
]
69+
],
70+
},
71+
{
72+
matcher: {
73+
id: 'byName',
74+
options: '_type',
6975
},
70-
{
71-
"matcher": {
72-
"id": "byName",
73-
"options": "_type"
76+
properties: [
77+
{
78+
id: 'custom.hidden',
7479
},
75-
"properties": [
76-
{
77-
"id": "custom.hidden"
78-
}
79-
]
80+
],
81+
},
82+
{
83+
matcher: {
84+
id: 'byName',
85+
options: 'kubernetes_objects',
8086
},
81-
{
82-
"matcher": {
83-
"id": "byName",
84-
"options": "kubernetes_objects"
87+
properties: [
88+
{
89+
id: 'custom.hidden',
8590
},
86-
"properties": [
87-
{
88-
"id": "custom.hidden"
89-
}
90-
]
91+
],
92+
},
93+
{
94+
matcher: {
95+
id: 'byName',
96+
options: '_id',
9197
},
92-
{
93-
"matcher": {
94-
"id": "byName",
95-
"options": "_id"
98+
properties: [
99+
{
100+
id: 'custom.hidden',
96101
},
97-
"properties": [
98-
{
99-
"id": "custom.hidden"
100-
}
101-
]
102-
}],
102+
],
103+
},
104+
],
103105
},
104106
gridPos: { h: 10, w: 24, x: 0, y: 1 },
105107
id: 2,

assets/pod-scenarios/panels.libsonnet

Lines changed: 58 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -33,72 +33,74 @@ local queries = import 'queries.libsonnet';
3333
],
3434
},
3535
},
36-
overrides: [{
37-
"matcher": {
38-
"id": "byName",
39-
"options": "kubernetes_objects_count.Deployment"
36+
overrides: [
37+
{
38+
matcher: {
39+
id: 'byName',
40+
options: 'kubernetes_objects_count.Deployment',
41+
},
42+
properties: [
43+
{
44+
id: 'custom.hidden',
4045
},
41-
"properties": [
42-
{
43-
"id": "custom.hidden"
44-
}
45-
]
46+
],
47+
},
48+
{
49+
matcher: {
50+
id: 'byName',
51+
options: 'kubernetes_objects_count.ConfigMap',
4652
},
47-
{
48-
"matcher": {
49-
"id": "byName",
50-
"options": "kubernetes_objects_count.ConfigMap"
53+
properties: [
54+
{
55+
id: 'custom.hidden',
5156
},
52-
"properties": [
53-
{
54-
"id": "custom.hidden"
55-
}
56-
]
57+
],
58+
},
59+
{
60+
matcher: {
61+
id: 'byName',
62+
options: 'kubernetes_objects_count.Build',
5763
},
58-
{
59-
"matcher": {
60-
"id": "byName",
61-
"options": "kubernetes_objects_count.Build"
64+
properties: [
65+
{
66+
id: 'custom.hidden',
6267
},
63-
"properties": [
64-
{
65-
"id": "custom.hidden"
66-
}
67-
]
68+
],
69+
},
70+
{
71+
matcher: {
72+
id: 'byName',
73+
options: '_type',
6874
},
69-
{
70-
"matcher": {
71-
"id": "byName",
72-
"options": "_type"
75+
properties: [
76+
{
77+
id: 'custom.hidden',
7378
},
74-
"properties": [
75-
{
76-
"id": "custom.hidden"
77-
}
78-
]
79+
],
80+
},
81+
{
82+
matcher: {
83+
id: 'byName',
84+
options: 'kubernetes_objects',
7985
},
80-
{
81-
"matcher": {
82-
"id": "byName",
83-
"options": "kubernetes_objects"
86+
properties: [
87+
{
88+
id: 'custom.hidden',
8489
},
85-
"properties": [
86-
{
87-
"id": "custom.hidden"
88-
}
89-
]
90+
],
91+
},
92+
{
93+
matcher: {
94+
id: 'byName',
95+
options: '_id',
9096
},
91-
{
92-
"matcher": {
93-
"id": "byName",
94-
"options": "_id"
95-
},
96-
"properties": [
97-
{
98-
"id": "custom.hidden"
99-
}
100-
]
101-
}],
97+
properties: [
98+
{
99+
id: 'custom.hidden',
100+
},
101+
],
102+
},
103+
],
102104
},
103105
gridPos: { h: 10, w: 24, x: 0, y: 1 },
104106
id: 2,

0 commit comments

Comments
 (0)