Skip to content

Commit 9212abb

Browse files
author
dashuser1
committed
state colours mappings to column
1 parent 73841d8 commit 9212abb

1 file changed

Lines changed: 64 additions & 4 deletions

File tree

plugins/eginnovations/v1/data_streams.json

Lines changed: 64 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,21 @@
33
{
44
"name": "Alarms",
55
"metadata": [
6+
{
7+
"shape": [
8+
"state",
9+
{
10+
"map": {
11+
"unmonitored": [],
12+
"unknown": [],
13+
"error": ["critical"],
14+
"warning": ["major"],
15+
"success": ["minor"]
16+
}
17+
}
18+
],
19+
"name": "healthState"
20+
},
621
{
722
"name": "healthState",
823
"displayName": "Health State",
@@ -67,6 +82,21 @@
6782
{
6883
"name": "Alerts",
6984
"metadata": [
85+
{
86+
"shape": [
87+
"state",
88+
{
89+
"map": {
90+
"unmonitored": [],
91+
"unknown": [],
92+
"error": ["Critical"],
93+
"warning": ["Major"],
94+
"success": ["Minor"]
95+
}
96+
}
97+
],
98+
"name": "priority"
99+
},
70100
{
71101
"name": "priority",
72102
"displayName": "Priority",
@@ -139,6 +169,21 @@
139169
{
140170
"name": "ComponentsState",
141171
"metadata": [
172+
{
173+
"shape": [
174+
"state",
175+
{
176+
"map": {
177+
"unmonitored": ["Minor"],
178+
"unknown": ["Unknown"],
179+
"error": ["Critical"],
180+
"warning": ["Major"],
181+
"success": ["Normal"]
182+
}
183+
}
184+
],
185+
"name": "priority"
186+
},
142187
{
143188
"name": "priority",
144189
"displayName": "Priority",
@@ -168,6 +213,21 @@
168213
{
169214
"name": "LiveMeasure",
170215
"metadata": [
216+
{
217+
"shape": [
218+
"state",
219+
{
220+
"map": {
221+
"unmonitored": [],
222+
"unknown": ["Unknown"],
223+
"error": ["Critical"],
224+
"warning": ["Major"],
225+
"success": ["Normal"]
226+
}
227+
}
228+
],
229+
"name": "priority"
230+
},
171231
{
172232
"name": "priority",
173233
"displayName": "Priority",
@@ -217,7 +277,7 @@
217277
"shape": "string",
218278
"role": "label"
219279
},
220-
{
280+
{
221281
"name": "value",
222282
"displayName": "Value",
223283
"shape": "string",
@@ -302,7 +362,7 @@
302362
}
303363
},
304364
"dataStreams": [
305-
{
365+
{
306366
"displayName": "Components Type",
307367
"description": "Select the components type",
308368
"dataSourceName": "getComponentsByType",
@@ -390,7 +450,7 @@
390450
]
391451
}
392452
},
393-
{
453+
{
394454
"displayName": "Descriptor",
395455
"description": "Select the Descriptor for Historical Data",
396456
"dataSourceName": "getDescriptorForComponentTestHistorical",
@@ -533,7 +593,7 @@
533593
}
534594
]
535595
},
536-
596+
537597
{
538598
"displayName": "Historical Data",
539599
"description": "Historical Data For Components",

0 commit comments

Comments
 (0)