├── images
├── WC1.png
├── WC10.png
├── WC11.png
├── WC12.png
├── WC2.png
├── WC3.png
├── WC4.png
├── WC5.png
├── WC6.png
├── WC7.png
├── WC8.png
├── WC9.png
├── grafana2.png
├── grafana3.png
└── archDiagram.png
├── LICENSE.md
├── README.md
├── motor_2_and_product_flaw_detector.json
└── motor_1_and_product_flaw_detector.json
/images/WC1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intel-iot-devkit/Industrial-Anomaly-Detection/HEAD/images/WC1.png
--------------------------------------------------------------------------------
/images/WC10.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intel-iot-devkit/Industrial-Anomaly-Detection/HEAD/images/WC10.png
--------------------------------------------------------------------------------
/images/WC11.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intel-iot-devkit/Industrial-Anomaly-Detection/HEAD/images/WC11.png
--------------------------------------------------------------------------------
/images/WC12.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intel-iot-devkit/Industrial-Anomaly-Detection/HEAD/images/WC12.png
--------------------------------------------------------------------------------
/images/WC2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intel-iot-devkit/Industrial-Anomaly-Detection/HEAD/images/WC2.png
--------------------------------------------------------------------------------
/images/WC3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intel-iot-devkit/Industrial-Anomaly-Detection/HEAD/images/WC3.png
--------------------------------------------------------------------------------
/images/WC4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intel-iot-devkit/Industrial-Anomaly-Detection/HEAD/images/WC4.png
--------------------------------------------------------------------------------
/images/WC5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intel-iot-devkit/Industrial-Anomaly-Detection/HEAD/images/WC5.png
--------------------------------------------------------------------------------
/images/WC6.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intel-iot-devkit/Industrial-Anomaly-Detection/HEAD/images/WC6.png
--------------------------------------------------------------------------------
/images/WC7.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intel-iot-devkit/Industrial-Anomaly-Detection/HEAD/images/WC7.png
--------------------------------------------------------------------------------
/images/WC8.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intel-iot-devkit/Industrial-Anomaly-Detection/HEAD/images/WC8.png
--------------------------------------------------------------------------------
/images/WC9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intel-iot-devkit/Industrial-Anomaly-Detection/HEAD/images/WC9.png
--------------------------------------------------------------------------------
/images/grafana2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intel-iot-devkit/Industrial-Anomaly-Detection/HEAD/images/grafana2.png
--------------------------------------------------------------------------------
/images/grafana3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intel-iot-devkit/Industrial-Anomaly-Detection/HEAD/images/grafana3.png
--------------------------------------------------------------------------------
/images/archDiagram.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intel-iot-devkit/Industrial-Anomaly-Detection/HEAD/images/archDiagram.png
--------------------------------------------------------------------------------
/LICENSE.md:
--------------------------------------------------------------------------------
1 | BSD 3-Clause License
2 |
3 | Copyright (c) 2021, Intel Corporation
4 | All rights reserved.
5 |
6 | Redistribution and use in source and binary forms, with or without
7 | modification, are permitted provided that the following conditions are met:
8 |
9 | 1. Redistributions of source code must retain the above copyright notice, this
10 | list of conditions and the following disclaimer.
11 |
12 | 2. Redistributions in binary form must reproduce the above copyright notice,
13 | this list of conditions and the following disclaimer in the documentation
14 | and/or other materials provided with the distribution.
15 |
16 | 3. Neither the name of the copyright holder nor the names of its
17 | contributors may be used to endorse or promote products derived from
18 | this software without specific prior written permission.
19 |
20 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
23 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
24 | FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
26 | SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
27 | CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
28 | OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # DISCONTINUATION OF PROJECT #
2 | This project will no longer be maintained by Intel.
3 | Intel has ceased development and contributions including, but not limited to, maintenance, bug fixes, new releases, or updates, to this project.
4 | Intel no longer accepts patches to this project.
5 | # Industrial Anomaly Detection
6 | | Details | |
7 | |-----------------------|------------------|
8 | | Target OS: | Ubuntu* 18.04 LTS |
9 | | Time to complete: | 3 hours |
10 |
11 | ## Introduction
12 | Factories use existing PLCs to control equipment and may use several different devices for the human machine interface (HMI), data ingestion, and computer vision application. This reference implementation demonstrates how all these workloads can run independently on one system. A Kernel-based virtual machine (KVM) on a host system runs multiple virtual machines (VMs) or guests. The [object flaw detector](https://github.com/intel-iot-devkit/object-flaw-detector-python) and the [motor defect detector](https://github.com/intel-iot-devkit/motor-defect-detector-cpp) applications are deployed on these virtual machines. Data visualization occurs on Grafana* on the third virtual machine. For a high level overview of workload consolidation see the [Workload Consolidation in Industrial IoT](https://software.intel.com/en-us/articles/workload-consolidation-in-industrial-iot) article.
13 |
14 | ## Requirements
15 |
16 | ### Hardware
17 | [IEI Tank* AIoT Developer Kit](https://software.intel.com/en-us/iot/hardware/iei-tank-dev-kit)
18 |
19 | ### Software
20 | * Ubuntu 18.04
21 | * InfluxDB* v1.7.1
22 | * Grafana* v5.3.2
23 |
24 | ## How It Works
25 |
26 | In this application, KVM creates three guest VMs on a host machine. Each virtual machine runs with Ubuntu 18.04 as the operating system. The first machine, named OFD, runs the object flaw detector application. The object flaw detector application detects anomalies on the objects moving on a conveyer belt and stores this data locally on InfluxDB. The second machine, named MDD, hosts the motor defect detector application which also stores the data locally on InfluxDB. Data visualization occurs on Grafana* on the third virtual machine, HMI, using data from OFD and MDD InfluxDB.
27 |
28 | 
29 |
30 | ## Setup
31 |
32 | ### Create Virtual Machines
33 | 1. Ensure that virtualization is enabled in BIOS using the command:
34 | ```
35 | kvm-ok
36 | ```
37 | If the output of the above command is
38 | ```
39 | INFO: /dev/kvm exists
40 | KVM acceleration can be used
41 | ```
42 | then the virtualization is enabled. If not and the output contains
43 | ```
44 | INFO: KVM (vmx) is disabled by your BIOS
45 | HINT: Enter your BIOS setup and enable Virtualization Technology (VT),
46 | and then hard poweroff/poweron your system
47 | ```
48 | then enter the BIOS and enable the virtualization.
49 |
50 | 2. Install the required packages:
51 | ```
52 | sudo apt-get install qemu-kvm libvirt-bin ubuntu-vm-builder virt-manager bridge-utils
53 | ```
54 |
55 | 3. Add your username to the libvirtd group:
56 | ```
57 | sudo adduser `id -un` libvirtd
58 | ```
59 |
60 | 4. Reboot the system to make your user an effective member of *libvirtd* user group.
61 |
62 | 5. To create virtual machine with Ubuntu 18.04 as a guest operating system, download 64-bit PC desktop ubuntu image from [Ubuntu 18.04 LTS](http://releases.ubuntu.com/18.04/).
63 |
64 | 6. Create a directory for storage pool:
65 | ```
66 | mkdir $HOME/kvm-pool
67 | ```
68 | It will create a directory named **kvm-pool** in **HOME** directory.
69 |
70 | 7. Open virt-manager:
71 | ```
72 | virt-manager
73 | ```
74 | 8. To create virtual machine for object flaw detector application (OFD):
75 | * Go to **File > New Virtual Machine**. It will open a new dialogue window.
76 |
77 | 
78 |
79 | * Select **Local Install Media** and then click on Forward button.
80 |
81 | 
82 |
83 | * Under *Locate your install media*, select **Use ISO image** and click on Browse button. This will open *Choose Storage Volume* window.
84 |
85 | * Click on **Browse Local** button present at the bottom of the window and browse to the Ubuntu ISO image downloaded earlier. Click on Forward button.
86 |
87 | 
88 |
89 | * In the next window set *Memory(RAM)* to **1024 MiB** and *CPUs* to **4**, then click on Forward Button. You may need to increase the memory(RAM) of the VM to 4096 MiB temporarily when compiling the code samples and change back to 1024 MiB after.
90 |
91 | 
92 |
93 | * Choose **Select or create custom storage** and click on **Manage...**.
94 |
95 | 
96 |
97 | * Click on the Green **+** button present on the bottom left on *Choose Storage Volume* window, which will open *Add a new Storage pool* window.
98 |
99 | * Select **dir: Filesystem Directory** type and give *kvm-pool* as the name of the storage pool. Click on Forward button.
100 |
101 | 
102 |
103 | * Click on Browse button and browse to the kvm-pool directory which was created in step 6. It will be the target path.
104 |
105 | 
106 |
107 | * Click on **Finish**. It will open *Choose Storage Volume* window again. The new storage pool created i.e. *kvm-pool* will appear on the left panel.
108 |
109 | * To create the storage volume for OFD, select the *kvm-pool* from left panel. Click on the Green **+** button present on the right panel beside **Volumes**. It opens *Add a Storage Volume* window.
110 |
111 | * Give **OFD** as the storage volume name and **20** GB as the max capacity, then click on the Finish button.
112 |
113 | 
114 |
115 | * Select *OFD.qcow2* storage volume from *kvm-pool* storage pool in *Choose Storage Volume* and click on the **Choose Volume** button.
116 |
117 | * In *New VM* window, click on the Forward button.
118 |
119 | 
120 |
121 | * In the next window, name the virtual machine as OFD and click on the Finish button. It will start a new virtual machine.
122 |
123 | 
124 |
125 | * The final step of creating the virtual machine is to install Ubuntu. Follow the steps given in the below link to install Ubuntu:
126 | https://tutorials.ubuntu.com/tutorial/tutorial-install-ubuntu-desktop#2.
127 |
128 | 
129 |
130 |
131 | 9. Similarly, create two new VMs for the Motor Defect Detector (MDD) and Human Machine Interface (HMI) applications. Create the storage volume for MDD and HMI in the *kvm-pool* storage pool created in the previous step.
132 |
133 | 10. To turn on the virtual machine, select the machine from virtual machine manager and click on green **play** icon present on the top menu. Double click on the machine name to open the VM window.
134 |
135 | 
136 |
137 |
138 | ### Run the Applications on the Virtual Machines
139 |
140 | * For the OFD machine, get the source code of the OFD application from the [GitHub* repository.](https://github.com/intel-iot-devkit/object-flaw-detector-python)
141 |
142 | * Follow the object flaw detector readme to run the application. Skip the steps for installing Grafana and creating the dashboard in grafana for data visualization.
143 |
144 | * For the MDD machine, get the motor defect detector code from the [GitHub* repository.](https://github.com/intel-iot-devkit/motor-defect-detector-cpp)
145 |
146 | * Follow the motor defect detector readme to run the application for testing the Bearing Data Set. Skip the steps for installing Grafana and creating the dashboard in Grafana for data visualization.
147 |
148 | * On the third machine, i.e. HMI machine, install Grafana:
149 | ```
150 | wget https://s3-us-west-2.amazonaws.com/grafana-releases/release/grafana_5.3.2_amd64.deb
151 | sudo apt-get install -y adduser libfontconfig
152 | sudo dpkg -i grafana_5.3.2_amd64.deb
153 | ```
154 | * In the HMI Machine, visualize the data on Grafana for the OFD and MDD applications by following the steps given below:
155 |
156 | * Download the workload-consolidation repository in HMI from the [GitHub* repository.](https://github.com/intel-iot-devkit/Industrial-Workload-Consolidation)
157 |
158 | * Run the Grafana server:
159 | ```
160 | sudo /bin/systemctl start grafana-server
161 | ```
162 | * Open a browser, go to http://localhost:3000.
163 |
164 | * Log in with user as **admin** and password as **admin**.
165 |
166 | * Click on **Configuration** icon present on the left panel.
167 |
168 | * Click on **+ Add data source** button and provide the inputs below.
169 |
170 | Add data source from OFD:
171 | * *Name*: obj_flaw_database
172 | * *Type*: InfluxDB
173 | * *URL*: http://:8086
174 | * *Database*: obj_flaw_database
175 | * Click on “Save and Test”
176 |
177 | Click on **Back** button present on bottom and then click on **Add data source**.
178 | Add data source from MDD for data set "1st_test":
179 | * *Name*: Predictions_testset1
180 | * *Type*: InfluxDB
181 | * *URL*: http://:8086
182 | * *Database*: Predictions_testset1
183 | * Click on “Save and Test”
184 |
185 | Click on **Back** button present on bottom and then click on **Add data source**.
186 | Add data source from MDD for data set "2nd_test":
187 | * *Name*: Predictions_testset2
188 | * *Type*: InfluxDB
189 | * *URL*: http://:8086
190 | * *Database*: Predictions_testset2
191 | * Click on “Save and Test”
192 |
193 | * Click on the **+** icon present on the left side of the browser, select **import**.
194 |
195 | * Click on the **Upload.json File** button.
196 |
197 | * Browse and select the file "motor_1_and_product_flaw_detector.json" present in Workload Consolidation directory.
198 |
199 | * Give the name as "motor_1_and_product_flaw_detector".
200 |
201 | * Select "obj_flaw_database" data source in the *obj_flaw_database* field under **options** and "Predictions_testset1" data source in the *Predictions_testset1* field.
202 |
203 | 
204 |
205 | * Click on import to create a dashboard that visualizes the result of the object flaw detector and the result of data set "1st_test" from the MDD application.
206 | * Similarly, import "motor_2_and_product_flaw_detector.json" present in the workload-consolidation directory and name it as "motor_2_and_product_flaw_detector". Select "obj_flaw_database" data source in the *obj_flaw_database* field under **options** and "Predictions_testset2" data source in the *Predictions_testset2* field.
207 | * It will create a dashboard that visualizes the result of the object flaw detector and the result of data set "2nd_test" from the MDD application.
208 |
209 | * Run the motor defect detector application on MDD machine and the object flaw detector application on OFD machine. In the third machine, HMI, visualization of the data from two applications can be seen on the dashboard created in the previous step.
210 |
211 | 
212 |
213 | **NOTE:**
214 | 1. The results of object flaw detector and data set "1st_test" in motor defect detector are visualized on the dashboard named "motor_1_and_product_flaw_detector".
215 | 2. The results of object flaw detector and data set "2nd_test" in motor defect detector are visualized on the dashboard named "motor_2_and_product_flaw_detector".
216 |
217 |
--------------------------------------------------------------------------------
/motor_2_and_product_flaw_detector.json:
--------------------------------------------------------------------------------
1 | {
2 | "__inputs": [
3 | {
4 | "name": "DS_OBJ_FLAW_DATABASE",
5 | "label": "obj_flaw_database",
6 | "description": "",
7 | "type": "datasource",
8 | "pluginId": "influxdb",
9 | "pluginName": "InfluxDB"
10 | },
11 | {
12 | "name": "DS_PREDICTIONS_TESTSET2",
13 | "label": "Predictions_testset2",
14 | "description": "",
15 | "type": "datasource",
16 | "pluginId": "influxdb",
17 | "pluginName": "InfluxDB"
18 | }
19 | ],
20 | "__requires": [
21 | {
22 | "type": "grafana",
23 | "id": "grafana",
24 | "name": "Grafana",
25 | "version": "5.2.4"
26 | },
27 | {
28 | "type": "panel",
29 | "id": "graph",
30 | "name": "Graph",
31 | "version": "5.0.0"
32 | },
33 | {
34 | "type": "datasource",
35 | "id": "influxdb",
36 | "name": "InfluxDB",
37 | "version": "5.0.0"
38 | },
39 | {
40 | "type": "panel",
41 | "id": "singlestat",
42 | "name": "Singlestat",
43 | "version": "5.0.0"
44 | },
45 | {
46 | "type": "panel",
47 | "id": "table",
48 | "name": "Table",
49 | "version": "5.0.0"
50 | }
51 | ],
52 | "annotations": {
53 | "list": [
54 | {
55 | "builtIn": 1,
56 | "datasource": "-- Grafana --",
57 | "enable": true,
58 | "hide": true,
59 | "iconColor": "rgba(0, 211, 255, 1)",
60 | "name": "Annotations & Alerts",
61 | "type": "dashboard"
62 | }
63 | ]
64 | },
65 | "editable": true,
66 | "gnetId": null,
67 | "graphTooltip": 0,
68 | "id": null,
69 | "links": [],
70 | "panels": [
71 | {
72 | "cacheTimeout": null,
73 | "colorBackground": false,
74 | "colorValue": false,
75 | "colors": [
76 | "#299c46",
77 | "rgba(237, 129, 40, 0.89)",
78 | "#d44a3a"
79 | ],
80 | "datasource": "${DS_OBJ_FLAW_DATABASE}",
81 | "decimals": 0,
82 | "format": "none",
83 | "gauge": {
84 | "maxValue": 100,
85 | "minValue": 0,
86 | "show": true,
87 | "thresholdLabels": false,
88 | "thresholdMarkers": true
89 | },
90 | "gridPos": {
91 | "h": 3,
92 | "w": 24,
93 | "x": 0,
94 | "y": 0
95 | },
96 | "id": 56,
97 | "interval": null,
98 | "links": [],
99 | "mappingType": 1,
100 | "mappingTypes": [
101 | {
102 | "name": "value to text",
103 | "value": 1
104 | },
105 | {
106 | "name": "range to text",
107 | "value": 2
108 | }
109 | ],
110 | "maxDataPoints": 100,
111 | "nullPointMode": "connected",
112 | "nullText": null,
113 | "postfix": "",
114 | "postfixFontSize": "50%",
115 | "prefix": "",
116 | "prefixFontSize": "50%",
117 | "rangeMaps": [
118 | {
119 | "from": "null",
120 | "text": "N/A",
121 | "to": "null"
122 | }
123 | ],
124 | "sparkline": {
125 | "fillColor": "rgba(31, 118, 189, 0.18)",
126 | "full": false,
127 | "lineColor": "rgb(31, 120, 193)",
128 | "show": false
129 | },
130 | "tableColumn": "",
131 | "targets": [
132 | {
133 | "alias": "objectcount",
134 | "groupBy": [
135 | {
136 | "params": [
137 | "1s"
138 | ],
139 | "type": "time"
140 | },
141 | {
142 | "params": [
143 | "null"
144 | ],
145 | "type": "fill"
146 | }
147 | ],
148 | "measurement": "obj_flaw_detector",
149 | "orderByTime": "ASC",
150 | "policy": "default",
151 | "refId": "A",
152 | "resultFormat": "time_series",
153 | "select": [
154 | [
155 | {
156 | "params": [
157 | "Object Number"
158 | ],
159 | "type": "field"
160 | },
161 | {
162 | "params": [],
163 | "type": "last"
164 | }
165 | ]
166 | ],
167 | "tags": []
168 | }
169 | ],
170 | "thresholds": "",
171 | "timeFrom": null,
172 | "title": "ObjectNumber",
173 | "type": "singlestat",
174 | "valueFontSize": "80%",
175 | "valueMaps": [
176 | {
177 | "op": "=",
178 | "text": "N/A",
179 | "value": "null"
180 | }
181 | ],
182 | "valueName": "current"
183 | },
184 | {
185 | "columns": [],
186 | "datasource": "${DS_OBJ_FLAW_DATABASE}",
187 | "fontSize": "100%",
188 | "gridPos": {
189 | "h": 6,
190 | "w": 12,
191 | "x": 0,
192 | "y": 3
193 | },
194 | "id": 62,
195 | "links": [],
196 | "pageSize": null,
197 | "scroll": true,
198 | "showHeader": true,
199 | "sort": {
200 | "col": 0,
201 | "desc": true
202 | },
203 | "styles": [
204 | {
205 | "alias": "Time",
206 | "dateFormat": "YYYY-MM-DD HH:mm:ss",
207 | "pattern": "Time",
208 | "type": "date"
209 | },
210 | {
211 | "alias": "",
212 | "colorMode": null,
213 | "colors": [
214 | "rgba(245, 54, 54, 0.9)",
215 | "rgba(237, 129, 40, 0.89)",
216 | "rgba(50, 172, 45, 0.97)"
217 | ],
218 | "dateFormat": "YYYY-MM-DD HH:mm:ss",
219 | "decimals": 0,
220 | "mappingType": 1,
221 | "pattern": "color",
222 | "thresholds": [],
223 | "type": "number",
224 | "unit": "short"
225 | },
226 | {
227 | "alias": "",
228 | "colorMode": null,
229 | "colors": [
230 | "rgba(245, 54, 54, 0.9)",
231 | "rgba(237, 129, 40, 0.89)",
232 | "rgba(50, 172, 45, 0.97)"
233 | ],
234 | "dateFormat": "YYYY-MM-DD HH:mm:ss",
235 | "decimals": 0,
236 | "mappingType": 1,
237 | "pattern": "crack",
238 | "thresholds": [],
239 | "type": "number",
240 | "unit": "short"
241 | },
242 | {
243 | "alias": "",
244 | "colorMode": null,
245 | "colors": [
246 | "rgba(245, 54, 54, 0.9)",
247 | "rgba(237, 129, 40, 0.89)",
248 | "rgba(50, 172, 45, 0.97)"
249 | ],
250 | "dateFormat": "YYYY-MM-DD HH:mm:ss",
251 | "decimals": 0,
252 | "mappingType": 1,
253 | "pattern": "orientation",
254 | "thresholds": [],
255 | "type": "number",
256 | "unit": "short"
257 | },
258 | {
259 | "alias": "",
260 | "colorMode": null,
261 | "colors": [
262 | "rgba(245, 54, 54, 0.9)",
263 | "rgba(237, 129, 40, 0.89)",
264 | "rgba(50, 172, 45, 0.97)"
265 | ],
266 | "dateFormat": "YYYY-MM-DD HH:mm:ss",
267 | "decimals": 0,
268 | "mappingType": 1,
269 | "pattern": "nodefect",
270 | "thresholds": [],
271 | "type": "number",
272 | "unit": "short"
273 | },
274 | {
275 | "alias": "",
276 | "colorMode": null,
277 | "colors": [
278 | "rgba(245, 54, 54, 0.9)",
279 | "rgba(237, 129, 40, 0.89)",
280 | "rgba(50, 172, 45, 0.97)"
281 | ],
282 | "dateFormat": "YYYY-MM-DD HH:mm:ss",
283 | "decimals": 0,
284 | "mappingType": 1,
285 | "pattern": "objectNumber",
286 | "thresholds": [],
287 | "type": "number",
288 | "unit": "short"
289 | },
290 | {
291 | "alias": "",
292 | "colorMode": null,
293 | "colors": [
294 | "rgba(245, 54, 54, 0.9)",
295 | "rgba(237, 129, 40, 0.89)",
296 | "rgba(50, 172, 45, 0.97)"
297 | ],
298 | "dateFormat": "YYYY-MM-DD HH:mm:ss",
299 | "decimals": 0,
300 | "mappingType": 1,
301 | "pattern": "length",
302 | "thresholds": [],
303 | "type": "number",
304 | "unit": "short"
305 | },
306 | {
307 | "alias": "",
308 | "colorMode": null,
309 | "colors": [
310 | "rgba(245, 54, 54, 0.9)",
311 | "rgba(237, 129, 40, 0.89)",
312 | "rgba(50, 172, 45, 0.97)"
313 | ],
314 | "dateFormat": "YYYY-MM-DD HH:mm:ss",
315 | "decimals": 0,
316 | "mappingType": 1,
317 | "pattern": "width",
318 | "thresholds": [],
319 | "type": "number",
320 | "unit": "short"
321 | },
322 | {
323 | "alias": "",
324 | "colorMode": null,
325 | "colors": [
326 | "rgba(245, 54, 54, 0.9)",
327 | "rgba(237, 129, 40, 0.89)",
328 | "rgba(50, 172, 45, 0.97)"
329 | ],
330 | "decimals": 2,
331 | "pattern": "/.*/",
332 | "thresholds": [],
333 | "type": "number",
334 | "unit": "short"
335 | }
336 | ],
337 | "targets": [
338 | {
339 | "alias": "color",
340 | "groupBy": [
341 | {
342 | "params": [
343 | "1s"
344 | ],
345 | "type": "time"
346 | },
347 | {
348 | "params": [
349 | "null"
350 | ],
351 | "type": "fill"
352 | }
353 | ],
354 | "measurement": "obj_flaw_detector",
355 | "orderByTime": "ASC",
356 | "policy": "default",
357 | "refId": "A",
358 | "resultFormat": "time_series",
359 | "select": [
360 | [
361 | {
362 | "params": [
363 | "Color"
364 | ],
365 | "type": "field"
366 | },
367 | {
368 | "params": [],
369 | "type": "distinct"
370 | }
371 | ]
372 | ],
373 | "tags": []
374 | },
375 | {
376 | "alias": "crack",
377 | "groupBy": [
378 | {
379 | "params": [
380 | "1s"
381 | ],
382 | "type": "time"
383 | },
384 | {
385 | "params": [
386 | "null"
387 | ],
388 | "type": "fill"
389 | }
390 | ],
391 | "measurement": "obj_flaw_detector",
392 | "orderByTime": "ASC",
393 | "policy": "default",
394 | "refId": "B",
395 | "resultFormat": "time_series",
396 | "select": [
397 | [
398 | {
399 | "params": [
400 | "Crack"
401 | ],
402 | "type": "field"
403 | },
404 | {
405 | "params": [],
406 | "type": "distinct"
407 | }
408 | ]
409 | ],
410 | "tags": []
411 | },
412 | {
413 | "alias": "orientation",
414 | "groupBy": [
415 | {
416 | "params": [
417 | "1s"
418 | ],
419 | "type": "time"
420 | },
421 | {
422 | "params": [
423 | "null"
424 | ],
425 | "type": "fill"
426 | }
427 | ],
428 | "measurement": "obj_flaw_detector",
429 | "orderByTime": "ASC",
430 | "policy": "default",
431 | "refId": "C",
432 | "resultFormat": "time_series",
433 | "select": [
434 | [
435 | {
436 | "params": [
437 | "Orientation"
438 | ],
439 | "type": "field"
440 | },
441 | {
442 | "params": [],
443 | "type": "distinct"
444 | }
445 | ]
446 | ],
447 | "tags": []
448 | },
449 | {
450 | "alias": "nodefect",
451 | "groupBy": [
452 | {
453 | "params": [
454 | "1s"
455 | ],
456 | "type": "time"
457 | },
458 | {
459 | "params": [
460 | "null"
461 | ],
462 | "type": "fill"
463 | }
464 | ],
465 | "measurement": "obj_flaw_detector",
466 | "orderByTime": "ASC",
467 | "policy": "default",
468 | "refId": "D",
469 | "resultFormat": "time_series",
470 | "select": [
471 | [
472 | {
473 | "params": [
474 | "No defect"
475 | ],
476 | "type": "field"
477 | },
478 | {
479 | "params": [],
480 | "type": "distinct"
481 | }
482 | ]
483 | ],
484 | "tags": []
485 | },
486 | {
487 | "alias": "objectNumber",
488 | "groupBy": [
489 | {
490 | "params": [
491 | "1s"
492 | ],
493 | "type": "time"
494 | },
495 | {
496 | "params": [
497 | "null"
498 | ],
499 | "type": "fill"
500 | }
501 | ],
502 | "measurement": "obj_flaw_detector",
503 | "orderByTime": "ASC",
504 | "policy": "default",
505 | "refId": "E",
506 | "resultFormat": "time_series",
507 | "select": [
508 | [
509 | {
510 | "params": [
511 | "Object Number"
512 | ],
513 | "type": "field"
514 | },
515 | {
516 | "params": [],
517 | "type": "distinct"
518 | }
519 | ]
520 | ],
521 | "tags": []
522 | }
523 | ],
524 | "timeFrom": null,
525 | "title": "productFlawDetector",
526 | "transform": "timeseries_to_columns",
527 | "type": "table"
528 | },
529 | {
530 | "aliasColors": {},
531 | "bars": false,
532 | "dashLength": 10,
533 | "dashes": false,
534 | "datasource": "${DS_OBJ_FLAW_DATABASE}",
535 | "fill": 1,
536 | "gridPos": {
537 | "h": 6,
538 | "w": 12,
539 | "x": 12,
540 | "y": 3
541 | },
542 | "id": 60,
543 | "legend": {
544 | "avg": false,
545 | "current": false,
546 | "max": false,
547 | "min": false,
548 | "show": true,
549 | "total": false,
550 | "values": false
551 | },
552 | "lines": true,
553 | "linewidth": 1,
554 | "links": [],
555 | "nullPointMode": "null",
556 | "percentage": false,
557 | "pointradius": 5,
558 | "points": false,
559 | "renderer": "flot",
560 | "seriesOverrides": [],
561 | "spaceLength": 10,
562 | "stack": false,
563 | "steppedLine": false,
564 | "targets": [
565 | {
566 | "alias": "color",
567 | "groupBy": [
568 | {
569 | "params": [
570 | "1s"
571 | ],
572 | "type": "time"
573 | },
574 | {
575 | "params": [
576 | "null"
577 | ],
578 | "type": "fill"
579 | }
580 | ],
581 | "measurement": "obj_flaw_detector",
582 | "orderByTime": "ASC",
583 | "policy": "default",
584 | "refId": "A",
585 | "resultFormat": "time_series",
586 | "select": [
587 | [
588 | {
589 | "params": [
590 | "Color"
591 | ],
592 | "type": "field"
593 | },
594 | {
595 | "params": [],
596 | "type": "distinct"
597 | }
598 | ]
599 | ],
600 | "tags": []
601 | },
602 | {
603 | "alias": "crack",
604 | "groupBy": [
605 | {
606 | "params": [
607 | "1s"
608 | ],
609 | "type": "time"
610 | },
611 | {
612 | "params": [
613 | "null"
614 | ],
615 | "type": "fill"
616 | }
617 | ],
618 | "measurement": "obj_flaw_detector",
619 | "orderByTime": "ASC",
620 | "policy": "default",
621 | "refId": "B",
622 | "resultFormat": "time_series",
623 | "select": [
624 | [
625 | {
626 | "params": [
627 | "Crack"
628 | ],
629 | "type": "field"
630 | },
631 | {
632 | "params": [],
633 | "type": "distinct"
634 | }
635 | ]
636 | ],
637 | "tags": []
638 | },
639 | {
640 | "alias": "orientation",
641 | "groupBy": [
642 | {
643 | "params": [
644 | "1s"
645 | ],
646 | "type": "time"
647 | },
648 | {
649 | "params": [
650 | "null"
651 | ],
652 | "type": "fill"
653 | }
654 | ],
655 | "measurement": "obj_flaw_detector",
656 | "orderByTime": "ASC",
657 | "policy": "default",
658 | "refId": "C",
659 | "resultFormat": "time_series",
660 | "select": [
661 | [
662 | {
663 | "params": [
664 | "Orientation"
665 | ],
666 | "type": "field"
667 | },
668 | {
669 | "params": [],
670 | "type": "distinct"
671 | }
672 | ]
673 | ],
674 | "tags": []
675 | },
676 | {
677 | "alias": "Nodefect",
678 | "groupBy": [
679 | {
680 | "params": [
681 | "1s"
682 | ],
683 | "type": "time"
684 | },
685 | {
686 | "params": [
687 | "null"
688 | ],
689 | "type": "fill"
690 | }
691 | ],
692 | "measurement": "obj_flaw_detector",
693 | "orderByTime": "ASC",
694 | "policy": "default",
695 | "refId": "D",
696 | "resultFormat": "time_series",
697 | "select": [
698 | [
699 | {
700 | "params": [
701 | "No defect"
702 | ],
703 | "type": "field"
704 | },
705 | {
706 | "params": [],
707 | "type": "distinct"
708 | }
709 | ]
710 | ],
711 | "tags": []
712 | },
713 | {
714 | "alias": "objectNumber",
715 | "groupBy": [
716 | {
717 | "params": [
718 | "1s"
719 | ],
720 | "type": "time"
721 | },
722 | {
723 | "params": [
724 | "null"
725 | ],
726 | "type": "fill"
727 | }
728 | ],
729 | "measurement": "obj_flaw_detector",
730 | "orderByTime": "ASC",
731 | "policy": "default",
732 | "refId": "E",
733 | "resultFormat": "time_series",
734 | "select": [
735 | [
736 | {
737 | "params": [
738 | "Object Number"
739 | ],
740 | "type": "field"
741 | },
742 | {
743 | "params": [],
744 | "type": "distinct"
745 | }
746 | ]
747 | ],
748 | "tags": []
749 | }
750 | ],
751 | "thresholds": [],
752 | "timeFrom": null,
753 | "timeShift": null,
754 | "title": "productFlawDetector",
755 | "tooltip": {
756 | "shared": true,
757 | "sort": 0,
758 | "value_type": "individual"
759 | },
760 | "type": "graph",
761 | "xaxis": {
762 | "buckets": null,
763 | "mode": "time",
764 | "name": null,
765 | "show": true,
766 | "values": []
767 | },
768 | "yaxes": [
769 | {
770 | "format": "short",
771 | "label": null,
772 | "logBase": 1,
773 | "max": null,
774 | "min": null,
775 | "show": true
776 | },
777 | {
778 | "format": "short",
779 | "label": null,
780 | "logBase": 1,
781 | "max": null,
782 | "min": null,
783 | "show": true
784 | }
785 | ],
786 | "yaxis": {
787 | "align": false,
788 | "alignLevel": null
789 | }
790 | },
791 | {
792 | "collapsed": false,
793 | "gridPos": {
794 | "h": 1,
795 | "w": 24,
796 | "x": 0,
797 | "y": 9
798 | },
799 | "id": 54,
800 | "panels": [],
801 | "title": "Comparison Graphs",
802 | "type": "row"
803 | },
804 | {
805 | "aliasColors": {},
806 | "bars": true,
807 | "dashLength": 10,
808 | "dashes": false,
809 | "datasource": "${DS_PREDICTIONS_TESTSET2}",
810 | "fill": 1,
811 | "gridPos": {
812 | "h": 9,
813 | "w": 8,
814 | "x": 0,
815 | "y": 10
816 | },
817 | "id": 44,
818 | "legend": {
819 | "avg": false,
820 | "current": false,
821 | "max": false,
822 | "min": false,
823 | "show": false,
824 | "total": false,
825 | "values": false
826 | },
827 | "lines": false,
828 | "linewidth": 1,
829 | "links": [],
830 | "nullPointMode": "null",
831 | "percentage": false,
832 | "pointradius": 5,
833 | "points": false,
834 | "renderer": "flot",
835 | "seriesOverrides": [],
836 | "spaceLength": 10,
837 | "stack": false,
838 | "steppedLine": false,
839 | "targets": [
840 | {
841 | "groupBy": [
842 | {
843 | "params": [
844 | "10s"
845 | ],
846 | "type": "time"
847 | },
848 | {
849 | "params": [
850 | "type"
851 | ],
852 | "type": "tag"
853 | },
854 | {
855 | "params": [
856 | "null"
857 | ],
858 | "type": "fill"
859 | }
860 | ],
861 | "measurement": "LR",
862 | "orderByTime": "ASC",
863 | "policy": "default",
864 | "refId": "A",
865 | "resultFormat": "time_series",
866 | "select": [
867 | [
868 | {
869 | "params": [
870 | "label"
871 | ],
872 | "type": "field"
873 | },
874 | {
875 | "params": [],
876 | "type": "distinct"
877 | }
878 | ]
879 | ],
880 | "tags": []
881 | }
882 | ],
883 | "thresholds": [],
884 | "timeFrom": null,
885 | "timeShift": null,
886 | "title": "LR",
887 | "tooltip": {
888 | "shared": false,
889 | "sort": 0,
890 | "value_type": "individual"
891 | },
892 | "type": "graph",
893 | "xaxis": {
894 | "buckets": null,
895 | "mode": "series",
896 | "name": null,
897 | "show": true,
898 | "values": [
899 | "total"
900 | ]
901 | },
902 | "yaxes": [
903 | {
904 | "format": "short",
905 | "label": "Failed Cases",
906 | "logBase": 1,
907 | "max": null,
908 | "min": null,
909 | "show": true
910 | },
911 | {
912 | "format": "short",
913 | "label": null,
914 | "logBase": 1,
915 | "max": null,
916 | "min": null,
917 | "show": true
918 | }
919 | ],
920 | "yaxis": {
921 | "align": false,
922 | "alignLevel": null
923 | }
924 | },
925 | {
926 | "aliasColors": {},
927 | "bars": true,
928 | "dashLength": 10,
929 | "dashes": false,
930 | "datasource": "${DS_PREDICTIONS_TESTSET2}",
931 | "fill": 1,
932 | "gridPos": {
933 | "h": 9,
934 | "w": 8,
935 | "x": 8,
936 | "y": 10
937 | },
938 | "id": 46,
939 | "legend": {
940 | "avg": false,
941 | "current": false,
942 | "max": false,
943 | "min": false,
944 | "show": false,
945 | "total": false,
946 | "values": false
947 | },
948 | "lines": false,
949 | "linewidth": 1,
950 | "links": [],
951 | "nullPointMode": "null",
952 | "percentage": false,
953 | "pointradius": 5,
954 | "points": false,
955 | "renderer": "flot",
956 | "seriesOverrides": [],
957 | "spaceLength": 10,
958 | "stack": false,
959 | "steppedLine": false,
960 | "targets": [
961 | {
962 | "groupBy": [
963 | {
964 | "params": [
965 | "10s"
966 | ],
967 | "type": "time"
968 | },
969 | {
970 | "params": [
971 | "type"
972 | ],
973 | "type": "tag"
974 | },
975 | {
976 | "params": [
977 | "null"
978 | ],
979 | "type": "fill"
980 | }
981 | ],
982 | "measurement": "GMM",
983 | "orderByTime": "ASC",
984 | "policy": "default",
985 | "refId": "A",
986 | "resultFormat": "time_series",
987 | "select": [
988 | [
989 | {
990 | "params": [
991 | "failure_ratio"
992 | ],
993 | "type": "field"
994 | },
995 | {
996 | "params": [],
997 | "type": "distinct"
998 | }
999 | ]
1000 | ],
1001 | "tags": []
1002 | }
1003 | ],
1004 | "thresholds": [],
1005 | "timeFrom": null,
1006 | "timeShift": null,
1007 | "title": "GMM",
1008 | "tooltip": {
1009 | "shared": false,
1010 | "sort": 0,
1011 | "value_type": "individual"
1012 | },
1013 | "type": "graph",
1014 | "xaxis": {
1015 | "buckets": null,
1016 | "mode": "series",
1017 | "name": null,
1018 | "show": true,
1019 | "values": [
1020 | "total"
1021 | ]
1022 | },
1023 | "yaxes": [
1024 | {
1025 | "format": "short",
1026 | "label": "Failed Cases",
1027 | "logBase": 1,
1028 | "max": null,
1029 | "min": null,
1030 | "show": true
1031 | },
1032 | {
1033 | "format": "short",
1034 | "label": null,
1035 | "logBase": 1,
1036 | "max": null,
1037 | "min": null,
1038 | "show": true
1039 | }
1040 | ],
1041 | "yaxis": {
1042 | "align": false,
1043 | "alignLevel": null
1044 | }
1045 | },
1046 | {
1047 | "aliasColors": {},
1048 | "bars": true,
1049 | "dashLength": 10,
1050 | "dashes": false,
1051 | "datasource": "${DS_PREDICTIONS_TESTSET2}",
1052 | "fill": 1,
1053 | "gridPos": {
1054 | "h": 9,
1055 | "w": 8,
1056 | "x": 16,
1057 | "y": 10
1058 | },
1059 | "id": 48,
1060 | "legend": {
1061 | "avg": false,
1062 | "current": false,
1063 | "max": false,
1064 | "min": false,
1065 | "show": false,
1066 | "total": false,
1067 | "values": false
1068 | },
1069 | "lines": false,
1070 | "linewidth": 1,
1071 | "links": [],
1072 | "nullPointMode": "null",
1073 | "percentage": false,
1074 | "pointradius": 5,
1075 | "points": false,
1076 | "renderer": "flot",
1077 | "seriesOverrides": [],
1078 | "spaceLength": 10,
1079 | "stack": false,
1080 | "steppedLine": false,
1081 | "targets": [
1082 | {
1083 | "groupBy": [
1084 | {
1085 | "params": [
1086 | "10s"
1087 | ],
1088 | "type": "time"
1089 | },
1090 | {
1091 | "params": [
1092 | "type"
1093 | ],
1094 | "type": "tag"
1095 | },
1096 | {
1097 | "params": [
1098 | "null"
1099 | ],
1100 | "type": "fill"
1101 | }
1102 | ],
1103 | "measurement": "Kmeans",
1104 | "orderByTime": "ASC",
1105 | "policy": "default",
1106 | "refId": "A",
1107 | "resultFormat": "time_series",
1108 | "select": [
1109 | [
1110 | {
1111 | "params": [
1112 | "failure_ratio"
1113 | ],
1114 | "type": "field"
1115 | },
1116 | {
1117 | "params": [],
1118 | "type": "distinct"
1119 | }
1120 | ]
1121 | ],
1122 | "tags": []
1123 | }
1124 | ],
1125 | "thresholds": [],
1126 | "timeFrom": null,
1127 | "timeShift": null,
1128 | "title": "Kmeans",
1129 | "tooltip": {
1130 | "shared": false,
1131 | "sort": 0,
1132 | "value_type": "individual"
1133 | },
1134 | "type": "graph",
1135 | "xaxis": {
1136 | "buckets": null,
1137 | "mode": "series",
1138 | "name": null,
1139 | "show": true,
1140 | "values": [
1141 | "total"
1142 | ]
1143 | },
1144 | "yaxes": [
1145 | {
1146 | "format": "short",
1147 | "label": "Failed Cases",
1148 | "logBase": 1,
1149 | "max": null,
1150 | "min": null,
1151 | "show": true
1152 | },
1153 | {
1154 | "format": "short",
1155 | "label": null,
1156 | "logBase": 1,
1157 | "max": null,
1158 | "min": null,
1159 | "show": true
1160 | }
1161 | ],
1162 | "yaxis": {
1163 | "align": false,
1164 | "alignLevel": null
1165 | }
1166 | },
1167 | {
1168 | "collapsed": false,
1169 | "gridPos": {
1170 | "h": 1,
1171 | "w": 24,
1172 | "x": 0,
1173 | "y": 19
1174 | },
1175 | "id": 42,
1176 | "panels": [],
1177 | "title": "KMeans",
1178 | "type": "row"
1179 | },
1180 | {
1181 | "cacheTimeout": null,
1182 | "colorBackground": false,
1183 | "colorValue": false,
1184 | "colors": [
1185 | "#299c46",
1186 | "rgba(237, 129, 40, 0.89)",
1187 | "#d44a3a"
1188 | ],
1189 | "datasource": "${DS_PREDICTIONS_TESTSET2}",
1190 | "format": "none",
1191 | "gauge": {
1192 | "maxValue": 100,
1193 | "minValue": 0,
1194 | "show": true,
1195 | "thresholdLabels": true,
1196 | "thresholdMarkers": true
1197 | },
1198 | "gridPos": {
1199 | "h": 5,
1200 | "w": 6,
1201 | "x": 0,
1202 | "y": 20
1203 | },
1204 | "id": 18,
1205 | "interval": null,
1206 | "links": [],
1207 | "mappingType": 1,
1208 | "mappingTypes": [
1209 | {
1210 | "name": "value to text",
1211 | "value": 1
1212 | },
1213 | {
1214 | "name": "range to text",
1215 | "value": 2
1216 | }
1217 | ],
1218 | "maxDataPoints": 100,
1219 | "nullPointMode": "connected",
1220 | "nullText": null,
1221 | "postfix": "",
1222 | "postfixFontSize": "50%",
1223 | "prefix": "",
1224 | "prefixFontSize": "50%",
1225 | "rangeMaps": [
1226 | {
1227 | "from": "null",
1228 | "text": "N/A",
1229 | "to": "null"
1230 | }
1231 | ],
1232 | "sparkline": {
1233 | "fillColor": "rgba(31, 118, 189, 0.18)",
1234 | "full": false,
1235 | "lineColor": "rgb(31, 120, 193)",
1236 | "show": false
1237 | },
1238 | "tableColumn": "",
1239 | "targets": [
1240 | {
1241 | "groupBy": [
1242 | {
1243 | "params": [
1244 | "$__interval"
1245 | ],
1246 | "type": "time"
1247 | },
1248 | {
1249 | "params": [
1250 | "null"
1251 | ],
1252 | "type": "fill"
1253 | }
1254 | ],
1255 | "measurement": "Kmeans",
1256 | "orderByTime": "ASC",
1257 | "policy": "default",
1258 | "refId": "A",
1259 | "resultFormat": "time_series",
1260 | "select": [
1261 | [
1262 | {
1263 | "params": [
1264 | "failure_ratio"
1265 | ],
1266 | "type": "field"
1267 | },
1268 | {
1269 | "params": [],
1270 | "type": "distinct"
1271 | }
1272 | ]
1273 | ],
1274 | "tags": [
1275 | {
1276 | "key": "type",
1277 | "operator": "=",
1278 | "value": "B1"
1279 | }
1280 | ]
1281 | }
1282 | ],
1283 | "thresholds": "25",
1284 | "title": "Bearing 1 (KMeans)",
1285 | "type": "singlestat",
1286 | "valueFontSize": "80%",
1287 | "valueMaps": [
1288 | {
1289 | "op": "=",
1290 | "text": "N/A",
1291 | "value": "null"
1292 | }
1293 | ],
1294 | "valueName": "avg"
1295 | },
1296 | {
1297 | "cacheTimeout": null,
1298 | "colorBackground": false,
1299 | "colorValue": false,
1300 | "colors": [
1301 | "#299c46",
1302 | "rgba(237, 129, 40, 0.89)",
1303 | "#d44a3a"
1304 | ],
1305 | "datasource": "${DS_PREDICTIONS_TESTSET2}",
1306 | "format": "none",
1307 | "gauge": {
1308 | "maxValue": 100,
1309 | "minValue": 0,
1310 | "show": true,
1311 | "thresholdLabels": true,
1312 | "thresholdMarkers": true
1313 | },
1314 | "gridPos": {
1315 | "h": 5,
1316 | "w": 6,
1317 | "x": 6,
1318 | "y": 20
1319 | },
1320 | "id": 20,
1321 | "interval": null,
1322 | "links": [],
1323 | "mappingType": 1,
1324 | "mappingTypes": [
1325 | {
1326 | "name": "value to text",
1327 | "value": 1
1328 | },
1329 | {
1330 | "name": "range to text",
1331 | "value": 2
1332 | }
1333 | ],
1334 | "maxDataPoints": 100,
1335 | "nullPointMode": "connected",
1336 | "nullText": null,
1337 | "postfix": "",
1338 | "postfixFontSize": "50%",
1339 | "prefix": "",
1340 | "prefixFontSize": "50%",
1341 | "rangeMaps": [
1342 | {
1343 | "from": "null",
1344 | "text": "N/A",
1345 | "to": "null"
1346 | }
1347 | ],
1348 | "sparkline": {
1349 | "fillColor": "rgba(31, 118, 189, 0.18)",
1350 | "full": false,
1351 | "lineColor": "rgb(31, 120, 193)",
1352 | "show": false
1353 | },
1354 | "tableColumn": "",
1355 | "targets": [
1356 | {
1357 | "groupBy": [
1358 | {
1359 | "params": [
1360 | "$__interval"
1361 | ],
1362 | "type": "time"
1363 | },
1364 | {
1365 | "params": [
1366 | "null"
1367 | ],
1368 | "type": "fill"
1369 | }
1370 | ],
1371 | "measurement": "Kmeans",
1372 | "orderByTime": "ASC",
1373 | "policy": "default",
1374 | "refId": "A",
1375 | "resultFormat": "time_series",
1376 | "select": [
1377 | [
1378 | {
1379 | "params": [
1380 | "failure_ratio"
1381 | ],
1382 | "type": "field"
1383 | },
1384 | {
1385 | "params": [],
1386 | "type": "distinct"
1387 | }
1388 | ]
1389 | ],
1390 | "tags": [
1391 | {
1392 | "key": "type",
1393 | "operator": "=",
1394 | "value": "B2"
1395 | }
1396 | ]
1397 | }
1398 | ],
1399 | "thresholds": "25",
1400 | "title": "Bearing 2 (Kmeans)",
1401 | "type": "singlestat",
1402 | "valueFontSize": "80%",
1403 | "valueMaps": [
1404 | {
1405 | "op": "=",
1406 | "text": "N/A",
1407 | "value": "null"
1408 | }
1409 | ],
1410 | "valueName": "avg"
1411 | },
1412 | {
1413 | "cacheTimeout": null,
1414 | "colorBackground": false,
1415 | "colorValue": false,
1416 | "colors": [
1417 | "#299c46",
1418 | "rgba(237, 129, 40, 0.89)",
1419 | "#d44a3a"
1420 | ],
1421 | "datasource": "${DS_PREDICTIONS_TESTSET2}",
1422 | "format": "none",
1423 | "gauge": {
1424 | "maxValue": 100,
1425 | "minValue": 0,
1426 | "show": true,
1427 | "thresholdLabels": true,
1428 | "thresholdMarkers": true
1429 | },
1430 | "gridPos": {
1431 | "h": 5,
1432 | "w": 6,
1433 | "x": 12,
1434 | "y": 20
1435 | },
1436 | "id": 50,
1437 | "interval": null,
1438 | "links": [],
1439 | "mappingType": 1,
1440 | "mappingTypes": [
1441 | {
1442 | "name": "value to text",
1443 | "value": 1
1444 | },
1445 | {
1446 | "name": "range to text",
1447 | "value": 2
1448 | }
1449 | ],
1450 | "maxDataPoints": 100,
1451 | "nullPointMode": "connected",
1452 | "nullText": null,
1453 | "postfix": "",
1454 | "postfixFontSize": "50%",
1455 | "prefix": "",
1456 | "prefixFontSize": "50%",
1457 | "rangeMaps": [
1458 | {
1459 | "from": "null",
1460 | "text": "N/A",
1461 | "to": "null"
1462 | }
1463 | ],
1464 | "sparkline": {
1465 | "fillColor": "rgba(31, 118, 189, 0.18)",
1466 | "full": false,
1467 | "lineColor": "rgb(31, 120, 193)",
1468 | "show": false
1469 | },
1470 | "tableColumn": "",
1471 | "targets": [
1472 | {
1473 | "groupBy": [
1474 | {
1475 | "params": [
1476 | "$__interval"
1477 | ],
1478 | "type": "time"
1479 | },
1480 | {
1481 | "params": [
1482 | "null"
1483 | ],
1484 | "type": "fill"
1485 | }
1486 | ],
1487 | "measurement": "Kmeans",
1488 | "orderByTime": "ASC",
1489 | "policy": "default",
1490 | "refId": "A",
1491 | "resultFormat": "time_series",
1492 | "select": [
1493 | [
1494 | {
1495 | "params": [
1496 | "failure_ratio"
1497 | ],
1498 | "type": "field"
1499 | },
1500 | {
1501 | "params": [],
1502 | "type": "distinct"
1503 | }
1504 | ]
1505 | ],
1506 | "tags": []
1507 | }
1508 | ],
1509 | "thresholds": "25",
1510 | "title": "Bearing 3(K means)",
1511 | "type": "singlestat",
1512 | "valueFontSize": "80%",
1513 | "valueMaps": [
1514 | {
1515 | "op": "=",
1516 | "text": "N/A",
1517 | "value": "null"
1518 | }
1519 | ],
1520 | "valueName": "avg"
1521 | },
1522 | {
1523 | "cacheTimeout": null,
1524 | "colorBackground": false,
1525 | "colorValue": false,
1526 | "colors": [
1527 | "#d44a3a",
1528 | "rgba(237, 129, 40, 0.89)",
1529 | "#299c46"
1530 | ],
1531 | "datasource": "${DS_PREDICTIONS_TESTSET2}",
1532 | "format": "none",
1533 | "gauge": {
1534 | "maxValue": 100,
1535 | "minValue": 0,
1536 | "show": true,
1537 | "thresholdLabels": true,
1538 | "thresholdMarkers": true
1539 | },
1540 | "gridPos": {
1541 | "h": 5,
1542 | "w": 6,
1543 | "x": 18,
1544 | "y": 20
1545 | },
1546 | "id": 52,
1547 | "interval": null,
1548 | "links": [],
1549 | "mappingType": 1,
1550 | "mappingTypes": [
1551 | {
1552 | "name": "value to text",
1553 | "value": 1
1554 | },
1555 | {
1556 | "name": "range to text",
1557 | "value": 2
1558 | }
1559 | ],
1560 | "maxDataPoints": 100,
1561 | "nullPointMode": "connected",
1562 | "nullText": null,
1563 | "postfix": "",
1564 | "postfixFontSize": "50%",
1565 | "prefix": "",
1566 | "prefixFontSize": "50%",
1567 | "rangeMaps": [
1568 | {
1569 | "from": "null",
1570 | "text": "N/A",
1571 | "to": "null"
1572 | }
1573 | ],
1574 | "sparkline": {
1575 | "fillColor": "rgba(31, 118, 189, 0.18)",
1576 | "full": false,
1577 | "lineColor": "rgb(31, 120, 193)",
1578 | "show": false
1579 | },
1580 | "tableColumn": "",
1581 | "targets": [
1582 | {
1583 | "groupBy": [
1584 | {
1585 | "params": [
1586 | "10s"
1587 | ],
1588 | "type": "time"
1589 | }
1590 | ],
1591 | "measurement": "Kmeans",
1592 | "orderByTime": "ASC",
1593 | "policy": "default",
1594 | "refId": "A",
1595 | "resultFormat": "time_series",
1596 | "select": [
1597 | [
1598 | {
1599 | "params": [
1600 | "failure_ratio"
1601 | ],
1602 | "type": "field"
1603 | },
1604 | {
1605 | "params": [],
1606 | "type": "distinct"
1607 | }
1608 | ]
1609 | ],
1610 | "tags": []
1611 | }
1612 | ],
1613 | "thresholds": "25",
1614 | "title": "Bearing 4(K means)",
1615 | "type": "singlestat",
1616 | "valueFontSize": "80%",
1617 | "valueMaps": [
1618 | {
1619 | "op": "=",
1620 | "text": "N/A",
1621 | "value": "null"
1622 | }
1623 | ],
1624 | "valueName": "avg"
1625 | },
1626 | {
1627 | "collapsed": false,
1628 | "gridPos": {
1629 | "h": 1,
1630 | "w": 24,
1631 | "x": 0,
1632 | "y": 25
1633 | },
1634 | "id": 40,
1635 | "panels": [],
1636 | "title": "Gaussian Mixture Model (GMM)",
1637 | "type": "row"
1638 | },
1639 | {
1640 | "cacheTimeout": null,
1641 | "colorBackground": false,
1642 | "colorValue": false,
1643 | "colors": [
1644 | "#299c46",
1645 | "rgba(237, 129, 40, 0.89)",
1646 | "#d44a3a"
1647 | ],
1648 | "datasource": "${DS_PREDICTIONS_TESTSET2}",
1649 | "format": "none",
1650 | "gauge": {
1651 | "maxValue": 100,
1652 | "minValue": 0,
1653 | "show": true,
1654 | "thresholdLabels": true,
1655 | "thresholdMarkers": true
1656 | },
1657 | "gridPos": {
1658 | "h": 5,
1659 | "w": 6,
1660 | "x": 0,
1661 | "y": 26
1662 | },
1663 | "id": 26,
1664 | "interval": null,
1665 | "links": [],
1666 | "mappingType": 1,
1667 | "mappingTypes": [
1668 | {
1669 | "name": "value to text",
1670 | "value": 1
1671 | },
1672 | {
1673 | "name": "range to text",
1674 | "value": 2
1675 | }
1676 | ],
1677 | "maxDataPoints": 100,
1678 | "nullPointMode": "connected",
1679 | "nullText": null,
1680 | "postfix": "",
1681 | "postfixFontSize": "50%",
1682 | "prefix": "",
1683 | "prefixFontSize": "50%",
1684 | "rangeMaps": [
1685 | {
1686 | "from": "null",
1687 | "text": "N/A",
1688 | "to": "null"
1689 | }
1690 | ],
1691 | "sparkline": {
1692 | "fillColor": "rgba(31, 118, 189, 0.18)",
1693 | "full": false,
1694 | "lineColor": "rgb(31, 120, 193)",
1695 | "show": false
1696 | },
1697 | "tableColumn": "",
1698 | "targets": [
1699 | {
1700 | "groupBy": [
1701 | {
1702 | "params": [
1703 | "$__interval"
1704 | ],
1705 | "type": "time"
1706 | },
1707 | {
1708 | "params": [
1709 | "null"
1710 | ],
1711 | "type": "fill"
1712 | }
1713 | ],
1714 | "measurement": "GMM",
1715 | "orderByTime": "ASC",
1716 | "policy": "default",
1717 | "refId": "A",
1718 | "resultFormat": "time_series",
1719 | "select": [
1720 | [
1721 | {
1722 | "params": [
1723 | "failure_ratio"
1724 | ],
1725 | "type": "field"
1726 | },
1727 | {
1728 | "params": [],
1729 | "type": "distinct"
1730 | }
1731 | ]
1732 | ],
1733 | "tags": [
1734 | {
1735 | "key": "type",
1736 | "operator": "=",
1737 | "value": "B1"
1738 | }
1739 | ]
1740 | }
1741 | ],
1742 | "thresholds": "30",
1743 | "title": "Bearing 1 (GMM)",
1744 | "type": "singlestat",
1745 | "valueFontSize": "80%",
1746 | "valueMaps": [
1747 | {
1748 | "op": "=",
1749 | "text": "N/A",
1750 | "value": "null"
1751 | }
1752 | ],
1753 | "valueName": "avg"
1754 | },
1755 | {
1756 | "cacheTimeout": null,
1757 | "colorBackground": false,
1758 | "colorValue": false,
1759 | "colors": [
1760 | "#299c46",
1761 | "rgba(237, 129, 40, 0.89)",
1762 | "#d44a3a"
1763 | ],
1764 | "datasource": "${DS_PREDICTIONS_TESTSET2}",
1765 | "format": "none",
1766 | "gauge": {
1767 | "maxValue": 100,
1768 | "minValue": 0,
1769 | "show": true,
1770 | "thresholdLabels": true,
1771 | "thresholdMarkers": true
1772 | },
1773 | "gridPos": {
1774 | "h": 5,
1775 | "w": 6,
1776 | "x": 6,
1777 | "y": 26
1778 | },
1779 | "id": 28,
1780 | "interval": null,
1781 | "links": [],
1782 | "mappingType": 1,
1783 | "mappingTypes": [
1784 | {
1785 | "name": "value to text",
1786 | "value": 1
1787 | },
1788 | {
1789 | "name": "range to text",
1790 | "value": 2
1791 | }
1792 | ],
1793 | "maxDataPoints": 100,
1794 | "nullPointMode": "connected",
1795 | "nullText": null,
1796 | "postfix": "",
1797 | "postfixFontSize": "50%",
1798 | "prefix": "",
1799 | "prefixFontSize": "50%",
1800 | "rangeMaps": [
1801 | {
1802 | "from": "null",
1803 | "text": "N/A",
1804 | "to": "null"
1805 | }
1806 | ],
1807 | "sparkline": {
1808 | "fillColor": "rgba(31, 118, 189, 0.18)",
1809 | "full": false,
1810 | "lineColor": "rgb(31, 120, 193)",
1811 | "show": false
1812 | },
1813 | "tableColumn": "",
1814 | "targets": [
1815 | {
1816 | "groupBy": [
1817 | {
1818 | "params": [
1819 | "$__interval"
1820 | ],
1821 | "type": "time"
1822 | },
1823 | {
1824 | "params": [
1825 | "null"
1826 | ],
1827 | "type": "fill"
1828 | }
1829 | ],
1830 | "measurement": "GMM",
1831 | "orderByTime": "ASC",
1832 | "policy": "default",
1833 | "refId": "A",
1834 | "resultFormat": "time_series",
1835 | "select": [
1836 | [
1837 | {
1838 | "params": [
1839 | "failure_ratio"
1840 | ],
1841 | "type": "field"
1842 | },
1843 | {
1844 | "params": [],
1845 | "type": "distinct"
1846 | }
1847 | ]
1848 | ],
1849 | "tags": [
1850 | {
1851 | "key": "type",
1852 | "operator": "=",
1853 | "value": "B2"
1854 | }
1855 | ]
1856 | }
1857 | ],
1858 | "thresholds": "30",
1859 | "title": "Bearing 2 (GMM)",
1860 | "type": "singlestat",
1861 | "valueFontSize": "80%",
1862 | "valueMaps": [
1863 | {
1864 | "op": "=",
1865 | "text": "N/A",
1866 | "value": "null"
1867 | }
1868 | ],
1869 | "valueName": "avg"
1870 | },
1871 | {
1872 | "cacheTimeout": null,
1873 | "colorBackground": false,
1874 | "colorValue": false,
1875 | "colors": [
1876 | "#299c46",
1877 | "rgba(237, 129, 40, 0.89)",
1878 | "#d44a3a"
1879 | ],
1880 | "datasource": "${DS_PREDICTIONS_TESTSET2}",
1881 | "format": "none",
1882 | "gauge": {
1883 | "maxValue": 100,
1884 | "minValue": 0,
1885 | "show": true,
1886 | "thresholdLabels": true,
1887 | "thresholdMarkers": true
1888 | },
1889 | "gridPos": {
1890 | "h": 5,
1891 | "w": 6,
1892 | "x": 12,
1893 | "y": 26
1894 | },
1895 | "id": 30,
1896 | "interval": null,
1897 | "links": [],
1898 | "mappingType": 1,
1899 | "mappingTypes": [
1900 | {
1901 | "name": "value to text",
1902 | "value": 1
1903 | },
1904 | {
1905 | "name": "range to text",
1906 | "value": 2
1907 | }
1908 | ],
1909 | "maxDataPoints": 100,
1910 | "nullPointMode": "connected",
1911 | "nullText": null,
1912 | "postfix": "",
1913 | "postfixFontSize": "50%",
1914 | "prefix": "",
1915 | "prefixFontSize": "50%",
1916 | "rangeMaps": [
1917 | {
1918 | "from": "null",
1919 | "text": "N/A",
1920 | "to": "null"
1921 | }
1922 | ],
1923 | "sparkline": {
1924 | "fillColor": "rgba(31, 118, 189, 0.18)",
1925 | "full": false,
1926 | "lineColor": "rgb(31, 120, 193)",
1927 | "show": false
1928 | },
1929 | "tableColumn": "",
1930 | "targets": [
1931 | {
1932 | "groupBy": [
1933 | {
1934 | "params": [
1935 | "$__interval"
1936 | ],
1937 | "type": "time"
1938 | },
1939 | {
1940 | "params": [
1941 | "null"
1942 | ],
1943 | "type": "fill"
1944 | }
1945 | ],
1946 | "measurement": "GMM",
1947 | "orderByTime": "ASC",
1948 | "policy": "default",
1949 | "refId": "A",
1950 | "resultFormat": "time_series",
1951 | "select": [
1952 | [
1953 | {
1954 | "params": [
1955 | "failure_ratio"
1956 | ],
1957 | "type": "field"
1958 | },
1959 | {
1960 | "params": [],
1961 | "type": "distinct"
1962 | }
1963 | ]
1964 | ],
1965 | "tags": [
1966 | {
1967 | "key": "type",
1968 | "operator": "=",
1969 | "value": "B3"
1970 | }
1971 | ]
1972 | }
1973 | ],
1974 | "thresholds": "30",
1975 | "title": "Bearing 3 (GMM)",
1976 | "type": "singlestat",
1977 | "valueFontSize": "80%",
1978 | "valueMaps": [
1979 | {
1980 | "op": "=",
1981 | "text": "N/A",
1982 | "value": "null"
1983 | }
1984 | ],
1985 | "valueName": "avg"
1986 | },
1987 | {
1988 | "cacheTimeout": null,
1989 | "colorBackground": false,
1990 | "colorValue": false,
1991 | "colors": [
1992 | "#299c46",
1993 | "rgba(237, 129, 40, 0.89)",
1994 | "#d44a3a"
1995 | ],
1996 | "datasource": "${DS_PREDICTIONS_TESTSET2}",
1997 | "format": "none",
1998 | "gauge": {
1999 | "maxValue": 100,
2000 | "minValue": 0,
2001 | "show": true,
2002 | "thresholdLabels": true,
2003 | "thresholdMarkers": true
2004 | },
2005 | "gridPos": {
2006 | "h": 5,
2007 | "w": 6,
2008 | "x": 18,
2009 | "y": 26
2010 | },
2011 | "id": 32,
2012 | "interval": null,
2013 | "links": [],
2014 | "mappingType": 1,
2015 | "mappingTypes": [
2016 | {
2017 | "name": "value to text",
2018 | "value": 1
2019 | },
2020 | {
2021 | "name": "range to text",
2022 | "value": 2
2023 | }
2024 | ],
2025 | "maxDataPoints": 100,
2026 | "nullPointMode": "connected",
2027 | "nullText": null,
2028 | "postfix": "",
2029 | "postfixFontSize": "50%",
2030 | "prefix": "",
2031 | "prefixFontSize": "50%",
2032 | "rangeMaps": [
2033 | {
2034 | "from": "null",
2035 | "text": "N/A",
2036 | "to": "null"
2037 | }
2038 | ],
2039 | "sparkline": {
2040 | "fillColor": "rgba(31, 118, 189, 0.18)",
2041 | "full": false,
2042 | "lineColor": "rgb(31, 120, 193)",
2043 | "show": false
2044 | },
2045 | "tableColumn": "",
2046 | "targets": [
2047 | {
2048 | "groupBy": [
2049 | {
2050 | "params": [
2051 | "$__interval"
2052 | ],
2053 | "type": "time"
2054 | },
2055 | {
2056 | "params": [
2057 | "null"
2058 | ],
2059 | "type": "fill"
2060 | }
2061 | ],
2062 | "measurement": "GMM",
2063 | "orderByTime": "ASC",
2064 | "policy": "default",
2065 | "refId": "A",
2066 | "resultFormat": "time_series",
2067 | "select": [
2068 | [
2069 | {
2070 | "params": [
2071 | "failure_ratio"
2072 | ],
2073 | "type": "field"
2074 | },
2075 | {
2076 | "params": [],
2077 | "type": "distinct"
2078 | }
2079 | ]
2080 | ],
2081 | "tags": [
2082 | {
2083 | "key": "type",
2084 | "operator": "=",
2085 | "value": "B4"
2086 | }
2087 | ]
2088 | }
2089 | ],
2090 | "thresholds": "30",
2091 | "title": "Bearing 4 (GMM)",
2092 | "type": "singlestat",
2093 | "valueFontSize": "80%",
2094 | "valueMaps": [
2095 | {
2096 | "op": "=",
2097 | "text": "N/A",
2098 | "value": "null"
2099 | }
2100 | ],
2101 | "valueName": "avg"
2102 | },
2103 | {
2104 | "collapsed": false,
2105 | "gridPos": {
2106 | "h": 1,
2107 | "w": 24,
2108 | "x": 0,
2109 | "y": 31
2110 | },
2111 | "id": 10,
2112 | "panels": [],
2113 | "title": "Logistic Regression",
2114 | "type": "row"
2115 | },
2116 | {
2117 | "cacheTimeout": null,
2118 | "colorBackground": false,
2119 | "colorValue": false,
2120 | "colors": [
2121 | "#299c46",
2122 | "rgba(237, 129, 40, 0.89)",
2123 | "#d44a3a"
2124 | ],
2125 | "datasource": "${DS_PREDICTIONS_TESTSET2}",
2126 | "format": "none",
2127 | "gauge": {
2128 | "maxValue": 100,
2129 | "minValue": 0,
2130 | "show": true,
2131 | "thresholdLabels": true,
2132 | "thresholdMarkers": true
2133 | },
2134 | "gridPos": {
2135 | "h": 5,
2136 | "w": 6,
2137 | "x": 0,
2138 | "y": 32
2139 | },
2140 | "id": 8,
2141 | "interval": null,
2142 | "links": [],
2143 | "mappingType": 1,
2144 | "mappingTypes": [
2145 | {
2146 | "name": "value to text",
2147 | "value": 1
2148 | },
2149 | {
2150 | "name": "range to text",
2151 | "value": 2
2152 | }
2153 | ],
2154 | "maxDataPoints": 100,
2155 | "nullPointMode": "connected",
2156 | "nullText": null,
2157 | "postfix": "",
2158 | "postfixFontSize": "50%",
2159 | "prefix": "",
2160 | "prefixFontSize": "50%",
2161 | "rangeMaps": [
2162 | {
2163 | "from": "null",
2164 | "text": "N/A",
2165 | "to": "null"
2166 | }
2167 | ],
2168 | "sparkline": {
2169 | "fillColor": "rgba(31, 118, 189, 0.18)",
2170 | "full": false,
2171 | "lineColor": "rgb(31, 120, 193)",
2172 | "show": false
2173 | },
2174 | "tableColumn": "",
2175 | "targets": [
2176 | {
2177 | "groupBy": [
2178 | {
2179 | "params": [
2180 | "$__interval"
2181 | ],
2182 | "type": "time"
2183 | },
2184 | {
2185 | "params": [
2186 | "null"
2187 | ],
2188 | "type": "fill"
2189 | }
2190 | ],
2191 | "measurement": "LR",
2192 | "orderByTime": "ASC",
2193 | "policy": "default",
2194 | "query": " SELECT count(\"label\") FROM \"LR\" WHERE \"label\" = 1 AND \"type\" = 'B1'",
2195 | "rawQuery": false,
2196 | "refId": "A",
2197 | "resultFormat": "time_series",
2198 | "select": [
2199 | [
2200 | {
2201 | "params": [
2202 | "label"
2203 | ],
2204 | "type": "field"
2205 | },
2206 | {
2207 | "params": [],
2208 | "type": "distinct"
2209 | }
2210 | ]
2211 | ],
2212 | "tags": [
2213 | {
2214 | "key": "type",
2215 | "operator": "=",
2216 | "value": "B1"
2217 | }
2218 | ]
2219 | }
2220 | ],
2221 | "thresholds": "25",
2222 | "title": "Bearing 1 (Logistic Regression)",
2223 | "type": "singlestat",
2224 | "valueFontSize": "80%",
2225 | "valueMaps": [
2226 | {
2227 | "op": "=",
2228 | "text": "N/A",
2229 | "value": "null"
2230 | }
2231 | ],
2232 | "valueName": "avg"
2233 | },
2234 | {
2235 | "cacheTimeout": null,
2236 | "colorBackground": false,
2237 | "colorValue": false,
2238 | "colors": [
2239 | "#299c46",
2240 | "rgba(237, 129, 40, 0.89)",
2241 | "#d44a3a"
2242 | ],
2243 | "datasource": "${DS_PREDICTIONS_TESTSET2}",
2244 | "format": "none",
2245 | "gauge": {
2246 | "maxValue": 100,
2247 | "minValue": 0,
2248 | "show": true,
2249 | "thresholdLabels": true,
2250 | "thresholdMarkers": true
2251 | },
2252 | "gridPos": {
2253 | "h": 5,
2254 | "w": 6,
2255 | "x": 6,
2256 | "y": 32
2257 | },
2258 | "id": 12,
2259 | "interval": null,
2260 | "links": [],
2261 | "mappingType": 1,
2262 | "mappingTypes": [
2263 | {
2264 | "name": "value to text",
2265 | "value": 1
2266 | },
2267 | {
2268 | "name": "range to text",
2269 | "value": 2
2270 | }
2271 | ],
2272 | "maxDataPoints": 100,
2273 | "nullPointMode": "connected",
2274 | "nullText": null,
2275 | "postfix": "",
2276 | "postfixFontSize": "50%",
2277 | "prefix": "",
2278 | "prefixFontSize": "50%",
2279 | "rangeMaps": [
2280 | {
2281 | "from": "null",
2282 | "text": "N/A",
2283 | "to": "null"
2284 | }
2285 | ],
2286 | "sparkline": {
2287 | "fillColor": "rgba(31, 118, 189, 0.18)",
2288 | "full": false,
2289 | "lineColor": "rgb(31, 120, 193)",
2290 | "show": false
2291 | },
2292 | "tableColumn": "",
2293 | "targets": [
2294 | {
2295 | "groupBy": [
2296 | {
2297 | "params": [
2298 | "$__interval"
2299 | ],
2300 | "type": "time"
2301 | },
2302 | {
2303 | "params": [
2304 | "null"
2305 | ],
2306 | "type": "fill"
2307 | }
2308 | ],
2309 | "measurement": "LR",
2310 | "orderByTime": "ASC",
2311 | "policy": "default",
2312 | "refId": "A",
2313 | "resultFormat": "time_series",
2314 | "select": [
2315 | [
2316 | {
2317 | "params": [
2318 | "label"
2319 | ],
2320 | "type": "field"
2321 | },
2322 | {
2323 | "params": [],
2324 | "type": "distinct"
2325 | }
2326 | ]
2327 | ],
2328 | "tags": [
2329 | {
2330 | "key": "type",
2331 | "operator": "=",
2332 | "value": "B2"
2333 | }
2334 | ]
2335 | }
2336 | ],
2337 | "thresholds": "35",
2338 | "title": "Bearing 2 (Logistic Regression)",
2339 | "type": "singlestat",
2340 | "valueFontSize": "80%",
2341 | "valueMaps": [
2342 | {
2343 | "op": "=",
2344 | "text": "N/A",
2345 | "value": "null"
2346 | }
2347 | ],
2348 | "valueName": "avg"
2349 | },
2350 | {
2351 | "cacheTimeout": null,
2352 | "colorBackground": false,
2353 | "colorValue": false,
2354 | "colors": [
2355 | "#299c46",
2356 | "rgba(237, 129, 40, 0.89)",
2357 | "#d44a3a"
2358 | ],
2359 | "datasource": "${DS_PREDICTIONS_TESTSET2}",
2360 | "format": "none",
2361 | "gauge": {
2362 | "maxValue": 100,
2363 | "minValue": 0,
2364 | "show": true,
2365 | "thresholdLabels": true,
2366 | "thresholdMarkers": true
2367 | },
2368 | "gridPos": {
2369 | "h": 5,
2370 | "w": 6,
2371 | "x": 12,
2372 | "y": 32
2373 | },
2374 | "id": 14,
2375 | "interval": null,
2376 | "links": [],
2377 | "mappingType": 1,
2378 | "mappingTypes": [
2379 | {
2380 | "name": "value to text",
2381 | "value": 1
2382 | },
2383 | {
2384 | "name": "range to text",
2385 | "value": 2
2386 | }
2387 | ],
2388 | "maxDataPoints": 100,
2389 | "nullPointMode": "connected",
2390 | "nullText": null,
2391 | "postfix": "",
2392 | "postfixFontSize": "50%",
2393 | "prefix": "",
2394 | "prefixFontSize": "50%",
2395 | "rangeMaps": [
2396 | {
2397 | "from": "null",
2398 | "text": "N/A",
2399 | "to": "null"
2400 | }
2401 | ],
2402 | "sparkline": {
2403 | "fillColor": "rgba(31, 118, 189, 0.18)",
2404 | "full": false,
2405 | "lineColor": "rgb(31, 120, 193)",
2406 | "show": false
2407 | },
2408 | "tableColumn": "",
2409 | "targets": [
2410 | {
2411 | "groupBy": [
2412 | {
2413 | "params": [
2414 | "$__interval"
2415 | ],
2416 | "type": "time"
2417 | },
2418 | {
2419 | "params": [
2420 | "null"
2421 | ],
2422 | "type": "fill"
2423 | }
2424 | ],
2425 | "measurement": "LR",
2426 | "orderByTime": "ASC",
2427 | "policy": "default",
2428 | "refId": "A",
2429 | "resultFormat": "time_series",
2430 | "select": [
2431 | [
2432 | {
2433 | "params": [
2434 | "label"
2435 | ],
2436 | "type": "field"
2437 | },
2438 | {
2439 | "params": [],
2440 | "type": "distinct"
2441 | }
2442 | ]
2443 | ],
2444 | "tags": [
2445 | {
2446 | "key": "type",
2447 | "operator": "=",
2448 | "value": "B3"
2449 | }
2450 | ]
2451 | }
2452 | ],
2453 | "thresholds": "35",
2454 | "title": "Bearing 3 (Logistic Regression)",
2455 | "type": "singlestat",
2456 | "valueFontSize": "80%",
2457 | "valueMaps": [
2458 | {
2459 | "op": "=",
2460 | "text": "N/A",
2461 | "value": "null"
2462 | }
2463 | ],
2464 | "valueName": "avg"
2465 | },
2466 | {
2467 | "cacheTimeout": null,
2468 | "colorBackground": false,
2469 | "colorValue": false,
2470 | "colors": [
2471 | "#299c46",
2472 | "rgba(237, 129, 40, 0.89)",
2473 | "#d44a3a"
2474 | ],
2475 | "datasource": "${DS_PREDICTIONS_TESTSET2}",
2476 | "format": "none",
2477 | "gauge": {
2478 | "maxValue": 100,
2479 | "minValue": 0,
2480 | "show": true,
2481 | "thresholdLabels": true,
2482 | "thresholdMarkers": true
2483 | },
2484 | "gridPos": {
2485 | "h": 5,
2486 | "w": 6,
2487 | "x": 18,
2488 | "y": 32
2489 | },
2490 | "id": 16,
2491 | "interval": null,
2492 | "links": [],
2493 | "mappingType": 1,
2494 | "mappingTypes": [
2495 | {
2496 | "name": "value to text",
2497 | "value": 1
2498 | },
2499 | {
2500 | "name": "range to text",
2501 | "value": 2
2502 | }
2503 | ],
2504 | "maxDataPoints": 100,
2505 | "nullPointMode": "connected",
2506 | "nullText": null,
2507 | "postfix": "",
2508 | "postfixFontSize": "50%",
2509 | "prefix": "",
2510 | "prefixFontSize": "50%",
2511 | "rangeMaps": [
2512 | {
2513 | "from": "null",
2514 | "text": "N/A",
2515 | "to": "null"
2516 | }
2517 | ],
2518 | "sparkline": {
2519 | "fillColor": "rgba(31, 118, 189, 0.18)",
2520 | "full": false,
2521 | "lineColor": "rgb(31, 120, 193)",
2522 | "show": false
2523 | },
2524 | "tableColumn": "",
2525 | "targets": [
2526 | {
2527 | "groupBy": [
2528 | {
2529 | "params": [
2530 | "$__interval"
2531 | ],
2532 | "type": "time"
2533 | },
2534 | {
2535 | "params": [
2536 | "null"
2537 | ],
2538 | "type": "fill"
2539 | }
2540 | ],
2541 | "measurement": "LR",
2542 | "orderByTime": "ASC",
2543 | "policy": "default",
2544 | "refId": "A",
2545 | "resultFormat": "time_series",
2546 | "select": [
2547 | [
2548 | {
2549 | "params": [
2550 | "label"
2551 | ],
2552 | "type": "field"
2553 | },
2554 | {
2555 | "params": [],
2556 | "type": "distinct"
2557 | }
2558 | ]
2559 | ],
2560 | "tags": [
2561 | {
2562 | "key": "type",
2563 | "operator": "=",
2564 | "value": "B4"
2565 | }
2566 | ]
2567 | }
2568 | ],
2569 | "thresholds": "35",
2570 | "title": "Bearing 4 (Logistic Regression)",
2571 | "type": "singlestat",
2572 | "valueFontSize": "80%",
2573 | "valueMaps": [
2574 | {
2575 | "op": "=",
2576 | "text": "N/A",
2577 | "value": "null"
2578 | }
2579 | ],
2580 | "valueName": "avg"
2581 | }
2582 | ],
2583 | "refresh": "5s",
2584 | "schemaVersion": 16,
2585 | "style": "dark",
2586 | "tags": [],
2587 | "templating": {
2588 | "list": []
2589 | },
2590 | "time": {
2591 | "from": "now-20m",
2592 | "to": "now"
2593 | },
2594 | "timepicker": {
2595 | "refresh_intervals": [
2596 | "5s",
2597 | "10s",
2598 | "30s",
2599 | "1m",
2600 | "5m",
2601 | "15m",
2602 | "30m",
2603 | "1h",
2604 | "2h",
2605 | "1d"
2606 | ],
2607 | "time_options": [
2608 | "5m",
2609 | "15m",
2610 | "1h",
2611 | "6h",
2612 | "12h",
2613 | "24h",
2614 | "2d",
2615 | "7d",
2616 | "30d"
2617 | ]
2618 | },
2619 | "timezone": "",
2620 | "title": "motor_2_and_product_flaw_detector",
2621 | "uid": "2nd_test",
2622 | "version": 2
2623 | }
--------------------------------------------------------------------------------
/motor_1_and_product_flaw_detector.json:
--------------------------------------------------------------------------------
1 | {
2 | "__inputs": [
3 | {
4 | "name": "DS_OBJ_FLAW_DATABASE",
5 | "label": "obj_flaw_database",
6 | "description": "",
7 | "type": "datasource",
8 | "pluginId": "influxdb",
9 | "pluginName": "InfluxDB"
10 | },
11 | {
12 | "name": "DS_PREDICTIONS_TESTSET1",
13 | "label": "Predictions_testset1",
14 | "description": "",
15 | "type": "datasource",
16 | "pluginId": "influxdb",
17 | "pluginName": "InfluxDB"
18 | }
19 | ],
20 | "__requires": [
21 | {
22 | "type": "grafana",
23 | "id": "grafana",
24 | "name": "Grafana",
25 | "version": "5.2.4"
26 | },
27 | {
28 | "type": "panel",
29 | "id": "graph",
30 | "name": "Graph",
31 | "version": "5.0.0"
32 | },
33 | {
34 | "type": "datasource",
35 | "id": "influxdb",
36 | "name": "InfluxDB",
37 | "version": "5.0.0"
38 | },
39 | {
40 | "type": "panel",
41 | "id": "singlestat",
42 | "name": "Singlestat",
43 | "version": "5.0.0"
44 | },
45 | {
46 | "type": "panel",
47 | "id": "table",
48 | "name": "Table",
49 | "version": "5.0.0"
50 | }
51 | ],
52 | "annotations": {
53 | "list": [
54 | {
55 | "builtIn": 1,
56 | "datasource": "-- Grafana --",
57 | "enable": true,
58 | "hide": true,
59 | "iconColor": "rgba(0, 211, 255, 1)",
60 | "name": "Annotations & Alerts",
61 | "type": "dashboard"
62 | }
63 | ]
64 | },
65 | "editable": true,
66 | "gnetId": null,
67 | "graphTooltip": 0,
68 | "id": null,
69 | "links": [],
70 | "panels": [
71 | {
72 | "cacheTimeout": null,
73 | "colorBackground": false,
74 | "colorValue": false,
75 | "colors": [
76 | "#299c46",
77 | "rgba(237, 129, 40, 0.89)",
78 | "#d44a3a"
79 | ],
80 | "datasource": "${DS_OBJ_FLAW_DATABASE}",
81 | "decimals": 0,
82 | "format": "none",
83 | "gauge": {
84 | "maxValue": 100,
85 | "minValue": 0,
86 | "show": true,
87 | "thresholdLabels": false,
88 | "thresholdMarkers": true
89 | },
90 | "gridPos": {
91 | "h": 3,
92 | "w": 24,
93 | "x": 0,
94 | "y": 0
95 | },
96 | "id": 68,
97 | "interval": null,
98 | "links": [],
99 | "mappingType": 1,
100 | "mappingTypes": [
101 | {
102 | "name": "value to text",
103 | "value": 1
104 | },
105 | {
106 | "name": "range to text",
107 | "value": 2
108 | }
109 | ],
110 | "maxDataPoints": 100,
111 | "nullPointMode": "connected",
112 | "nullText": null,
113 | "postfix": "",
114 | "postfixFontSize": "50%",
115 | "prefix": "",
116 | "prefixFontSize": "50%",
117 | "rangeMaps": [
118 | {
119 | "from": "null",
120 | "text": "N/A",
121 | "to": "null"
122 | }
123 | ],
124 | "sparkline": {
125 | "fillColor": "rgba(31, 118, 189, 0.18)",
126 | "full": false,
127 | "lineColor": "rgb(31, 120, 193)",
128 | "show": false
129 | },
130 | "tableColumn": "",
131 | "targets": [
132 | {
133 | "alias": "objectcount",
134 | "groupBy": [
135 | {
136 | "params": [
137 | "1s"
138 | ],
139 | "type": "time"
140 | },
141 | {
142 | "params": [
143 | "null"
144 | ],
145 | "type": "fill"
146 | }
147 | ],
148 | "measurement": "obj_flaw_detector",
149 | "orderByTime": "ASC",
150 | "policy": "default",
151 | "refId": "A",
152 | "resultFormat": "time_series",
153 | "select": [
154 | [
155 | {
156 | "params": [
157 | "Object Number"
158 | ],
159 | "type": "field"
160 | },
161 | {
162 | "params": [],
163 | "type": "last"
164 | }
165 | ]
166 | ],
167 | "tags": []
168 | }
169 | ],
170 | "thresholds": "",
171 | "timeFrom": null,
172 | "title": "ObjectNumber",
173 | "type": "singlestat",
174 | "valueFontSize": "80%",
175 | "valueMaps": [
176 | {
177 | "op": "=",
178 | "text": "N/A",
179 | "value": "null"
180 | }
181 | ],
182 | "valueName": "current"
183 | },
184 | {
185 | "columns": [],
186 | "datasource": "${DS_OBJ_FLAW_DATABASE}",
187 | "fontSize": "100%",
188 | "gridPos": {
189 | "h": 6,
190 | "w": 12,
191 | "x": 0,
192 | "y": 3
193 | },
194 | "id": 72,
195 | "links": [],
196 | "pageSize": null,
197 | "scroll": true,
198 | "showHeader": true,
199 | "sort": {
200 | "col": 0,
201 | "desc": true
202 | },
203 | "styles": [
204 | {
205 | "alias": "Time",
206 | "dateFormat": "YYYY-MM-DD HH:mm:ss",
207 | "pattern": "Time",
208 | "type": "date"
209 | },
210 | {
211 | "alias": "",
212 | "colorMode": null,
213 | "colors": [
214 | "rgba(245, 54, 54, 0.9)",
215 | "rgba(237, 129, 40, 0.89)",
216 | "rgba(50, 172, 45, 0.97)"
217 | ],
218 | "dateFormat": "YYYY-MM-DD HH:mm:ss",
219 | "decimals": 0,
220 | "mappingType": 1,
221 | "pattern": "color",
222 | "thresholds": [],
223 | "type": "number",
224 | "unit": "short"
225 | },
226 | {
227 | "alias": "",
228 | "colorMode": null,
229 | "colors": [
230 | "rgba(245, 54, 54, 0.9)",
231 | "rgba(237, 129, 40, 0.89)",
232 | "rgba(50, 172, 45, 0.97)"
233 | ],
234 | "dateFormat": "YYYY-MM-DD HH:mm:ss",
235 | "decimals": 0,
236 | "mappingType": 1,
237 | "pattern": "crack",
238 | "thresholds": [],
239 | "type": "number",
240 | "unit": "short"
241 | },
242 | {
243 | "alias": "",
244 | "colorMode": null,
245 | "colors": [
246 | "rgba(245, 54, 54, 0.9)",
247 | "rgba(237, 129, 40, 0.89)",
248 | "rgba(50, 172, 45, 0.97)"
249 | ],
250 | "dateFormat": "YYYY-MM-DD HH:mm:ss",
251 | "decimals": 0,
252 | "mappingType": 1,
253 | "pattern": "orientation",
254 | "thresholds": [],
255 | "type": "number",
256 | "unit": "short"
257 | },
258 | {
259 | "alias": "",
260 | "colorMode": null,
261 | "colors": [
262 | "rgba(245, 54, 54, 0.9)",
263 | "rgba(237, 129, 40, 0.89)",
264 | "rgba(50, 172, 45, 0.97)"
265 | ],
266 | "dateFormat": "YYYY-MM-DD HH:mm:ss",
267 | "decimals": 0,
268 | "mappingType": 1,
269 | "pattern": "nodefect",
270 | "thresholds": [],
271 | "type": "number",
272 | "unit": "short"
273 | },
274 | {
275 | "alias": "",
276 | "colorMode": null,
277 | "colors": [
278 | "rgba(245, 54, 54, 0.9)",
279 | "rgba(237, 129, 40, 0.89)",
280 | "rgba(50, 172, 45, 0.97)"
281 | ],
282 | "dateFormat": "YYYY-MM-DD HH:mm:ss",
283 | "decimals": 0,
284 | "mappingType": 1,
285 | "pattern": "objectNumber",
286 | "thresholds": [],
287 | "type": "number",
288 | "unit": "short"
289 | },
290 | {
291 | "alias": "",
292 | "colorMode": null,
293 | "colors": [
294 | "rgba(245, 54, 54, 0.9)",
295 | "rgba(237, 129, 40, 0.89)",
296 | "rgba(50, 172, 45, 0.97)"
297 | ],
298 | "dateFormat": "YYYY-MM-DD HH:mm:ss",
299 | "decimals": 0,
300 | "mappingType": 1,
301 | "pattern": "length",
302 | "thresholds": [],
303 | "type": "number",
304 | "unit": "short"
305 | },
306 | {
307 | "alias": "",
308 | "colorMode": null,
309 | "colors": [
310 | "rgba(245, 54, 54, 0.9)",
311 | "rgba(237, 129, 40, 0.89)",
312 | "rgba(50, 172, 45, 0.97)"
313 | ],
314 | "dateFormat": "YYYY-MM-DD HH:mm:ss",
315 | "decimals": 0,
316 | "mappingType": 1,
317 | "pattern": "width",
318 | "thresholds": [],
319 | "type": "number",
320 | "unit": "short"
321 | },
322 | {
323 | "alias": "",
324 | "colorMode": null,
325 | "colors": [
326 | "rgba(245, 54, 54, 0.9)",
327 | "rgba(237, 129, 40, 0.89)",
328 | "rgba(50, 172, 45, 0.97)"
329 | ],
330 | "decimals": 2,
331 | "pattern": "/.*/",
332 | "thresholds": [],
333 | "type": "number",
334 | "unit": "short"
335 | }
336 | ],
337 | "targets": [
338 | {
339 | "alias": "color",
340 | "groupBy": [
341 | {
342 | "params": [
343 | "1s"
344 | ],
345 | "type": "time"
346 | },
347 | {
348 | "params": [
349 | "null"
350 | ],
351 | "type": "fill"
352 | }
353 | ],
354 | "measurement": "obj_flaw_detector",
355 | "orderByTime": "ASC",
356 | "policy": "default",
357 | "refId": "A",
358 | "resultFormat": "time_series",
359 | "select": [
360 | [
361 | {
362 | "params": [
363 | "Color"
364 | ],
365 | "type": "field"
366 | },
367 | {
368 | "params": [],
369 | "type": "distinct"
370 | }
371 | ]
372 | ],
373 | "tags": []
374 | },
375 | {
376 | "alias": "crack",
377 | "groupBy": [
378 | {
379 | "params": [
380 | "1s"
381 | ],
382 | "type": "time"
383 | },
384 | {
385 | "params": [
386 | "null"
387 | ],
388 | "type": "fill"
389 | }
390 | ],
391 | "measurement": "obj_flaw_detector",
392 | "orderByTime": "ASC",
393 | "policy": "default",
394 | "refId": "B",
395 | "resultFormat": "time_series",
396 | "select": [
397 | [
398 | {
399 | "params": [
400 | "Crack"
401 | ],
402 | "type": "field"
403 | },
404 | {
405 | "params": [],
406 | "type": "distinct"
407 | }
408 | ]
409 | ],
410 | "tags": []
411 | },
412 | {
413 | "alias": "orientation",
414 | "groupBy": [
415 | {
416 | "params": [
417 | "1s"
418 | ],
419 | "type": "time"
420 | },
421 | {
422 | "params": [
423 | "null"
424 | ],
425 | "type": "fill"
426 | }
427 | ],
428 | "measurement": "obj_flaw_detector",
429 | "orderByTime": "ASC",
430 | "policy": "default",
431 | "refId": "C",
432 | "resultFormat": "time_series",
433 | "select": [
434 | [
435 | {
436 | "params": [
437 | "Orientation"
438 | ],
439 | "type": "field"
440 | },
441 | {
442 | "params": [],
443 | "type": "distinct"
444 | }
445 | ]
446 | ],
447 | "tags": []
448 | },
449 | {
450 | "alias": "nodefect",
451 | "groupBy": [
452 | {
453 | "params": [
454 | "1s"
455 | ],
456 | "type": "time"
457 | },
458 | {
459 | "params": [
460 | "null"
461 | ],
462 | "type": "fill"
463 | }
464 | ],
465 | "measurement": "obj_flaw_detector",
466 | "orderByTime": "ASC",
467 | "policy": "default",
468 | "refId": "D",
469 | "resultFormat": "time_series",
470 | "select": [
471 | [
472 | {
473 | "params": [
474 | "No defect"
475 | ],
476 | "type": "field"
477 | },
478 | {
479 | "params": [],
480 | "type": "distinct"
481 | }
482 | ]
483 | ],
484 | "tags": []
485 | },
486 | {
487 | "alias": "objectNumber",
488 | "groupBy": [
489 | {
490 | "params": [
491 | "1s"
492 | ],
493 | "type": "time"
494 | },
495 | {
496 | "params": [
497 | "null"
498 | ],
499 | "type": "fill"
500 | }
501 | ],
502 | "measurement": "obj_flaw_detector",
503 | "orderByTime": "ASC",
504 | "policy": "default",
505 | "refId": "E",
506 | "resultFormat": "time_series",
507 | "select": [
508 | [
509 | {
510 | "params": [
511 | "Object Number"
512 | ],
513 | "type": "field"
514 | },
515 | {
516 | "params": [],
517 | "type": "distinct"
518 | }
519 | ]
520 | ],
521 | "tags": []
522 | }
523 | ],
524 | "timeFrom": null,
525 | "title": "productFlawDetector",
526 | "transform": "timeseries_to_columns",
527 | "type": "table"
528 | },
529 | {
530 | "aliasColors": {},
531 | "bars": false,
532 | "dashLength": 10,
533 | "dashes": false,
534 | "datasource": "${DS_OBJ_FLAW_DATABASE}",
535 | "fill": 1,
536 | "gridPos": {
537 | "h": 6,
538 | "w": 12,
539 | "x": 12,
540 | "y": 3
541 | },
542 | "id": 70,
543 | "legend": {
544 | "avg": false,
545 | "current": false,
546 | "max": false,
547 | "min": false,
548 | "show": true,
549 | "total": false,
550 | "values": false
551 | },
552 | "lines": true,
553 | "linewidth": 1,
554 | "links": [],
555 | "nullPointMode": "null",
556 | "percentage": false,
557 | "pointradius": 5,
558 | "points": false,
559 | "renderer": "flot",
560 | "seriesOverrides": [],
561 | "spaceLength": 10,
562 | "stack": false,
563 | "steppedLine": false,
564 | "targets": [
565 | {
566 | "alias": "color",
567 | "groupBy": [
568 | {
569 | "params": [
570 | "1s"
571 | ],
572 | "type": "time"
573 | },
574 | {
575 | "params": [
576 | "null"
577 | ],
578 | "type": "fill"
579 | }
580 | ],
581 | "measurement": "obj_flaw_detector",
582 | "orderByTime": "ASC",
583 | "policy": "default",
584 | "refId": "A",
585 | "resultFormat": "time_series",
586 | "select": [
587 | [
588 | {
589 | "params": [
590 | "Color"
591 | ],
592 | "type": "field"
593 | },
594 | {
595 | "params": [],
596 | "type": "distinct"
597 | }
598 | ]
599 | ],
600 | "tags": []
601 | },
602 | {
603 | "alias": "crack",
604 | "groupBy": [
605 | {
606 | "params": [
607 | "1s"
608 | ],
609 | "type": "time"
610 | },
611 | {
612 | "params": [
613 | "null"
614 | ],
615 | "type": "fill"
616 | }
617 | ],
618 | "measurement": "obj_flaw_detector",
619 | "orderByTime": "ASC",
620 | "policy": "default",
621 | "refId": "B",
622 | "resultFormat": "time_series",
623 | "select": [
624 | [
625 | {
626 | "params": [
627 | "Crack"
628 | ],
629 | "type": "field"
630 | },
631 | {
632 | "params": [],
633 | "type": "distinct"
634 | }
635 | ]
636 | ],
637 | "tags": []
638 | },
639 | {
640 | "alias": "orientation",
641 | "groupBy": [
642 | {
643 | "params": [
644 | "1s"
645 | ],
646 | "type": "time"
647 | },
648 | {
649 | "params": [
650 | "null"
651 | ],
652 | "type": "fill"
653 | }
654 | ],
655 | "measurement": "obj_flaw_detector",
656 | "orderByTime": "ASC",
657 | "policy": "default",
658 | "refId": "C",
659 | "resultFormat": "time_series",
660 | "select": [
661 | [
662 | {
663 | "params": [
664 | "Orientation"
665 | ],
666 | "type": "field"
667 | },
668 | {
669 | "params": [],
670 | "type": "distinct"
671 | }
672 | ]
673 | ],
674 | "tags": []
675 | },
676 | {
677 | "alias": "Nodefect",
678 | "groupBy": [
679 | {
680 | "params": [
681 | "1s"
682 | ],
683 | "type": "time"
684 | },
685 | {
686 | "params": [
687 | "null"
688 | ],
689 | "type": "fill"
690 | }
691 | ],
692 | "measurement": "obj_flaw_detector",
693 | "orderByTime": "ASC",
694 | "policy": "default",
695 | "refId": "D",
696 | "resultFormat": "time_series",
697 | "select": [
698 | [
699 | {
700 | "params": [
701 | "No defect"
702 | ],
703 | "type": "field"
704 | },
705 | {
706 | "params": [],
707 | "type": "distinct"
708 | }
709 | ]
710 | ],
711 | "tags": []
712 | },
713 | {
714 | "alias": "objectNumber",
715 | "groupBy": [
716 | {
717 | "params": [
718 | "1s"
719 | ],
720 | "type": "time"
721 | },
722 | {
723 | "params": [
724 | "null"
725 | ],
726 | "type": "fill"
727 | }
728 | ],
729 | "measurement": "obj_flaw_detector",
730 | "orderByTime": "ASC",
731 | "policy": "default",
732 | "refId": "E",
733 | "resultFormat": "time_series",
734 | "select": [
735 | [
736 | {
737 | "params": [
738 | "Object Number"
739 | ],
740 | "type": "field"
741 | },
742 | {
743 | "params": [],
744 | "type": "distinct"
745 | }
746 | ]
747 | ],
748 | "tags": []
749 | }
750 | ],
751 | "thresholds": [],
752 | "timeFrom": null,
753 | "timeShift": null,
754 | "title": "productFlawDetector",
755 | "tooltip": {
756 | "shared": true,
757 | "sort": 0,
758 | "value_type": "individual"
759 | },
760 | "type": "graph",
761 | "xaxis": {
762 | "buckets": null,
763 | "mode": "time",
764 | "name": null,
765 | "show": true,
766 | "values": []
767 | },
768 | "yaxes": [
769 | {
770 | "format": "short",
771 | "label": null,
772 | "logBase": 1,
773 | "max": null,
774 | "min": null,
775 | "show": true
776 | },
777 | {
778 | "format": "short",
779 | "label": null,
780 | "logBase": 1,
781 | "max": null,
782 | "min": null,
783 | "show": true
784 | }
785 | ],
786 | "yaxis": {
787 | "align": false,
788 | "alignLevel": null
789 | }
790 | },
791 | {
792 | "collapsed": false,
793 | "gridPos": {
794 | "h": 1,
795 | "w": 24,
796 | "x": 0,
797 | "y": 9
798 | },
799 | "id": 54,
800 | "panels": [],
801 | "title": "Comparison Graphs",
802 | "type": "row"
803 | },
804 | {
805 | "aliasColors": {},
806 | "bars": true,
807 | "dashLength": 10,
808 | "dashes": false,
809 | "datasource": "${DS_PREDICTIONS_TESTSET1}",
810 | "fill": 1,
811 | "gridPos": {
812 | "h": 9,
813 | "w": 8,
814 | "x": 0,
815 | "y": 10
816 | },
817 | "id": 44,
818 | "legend": {
819 | "alignAsTable": false,
820 | "avg": false,
821 | "current": false,
822 | "hideEmpty": false,
823 | "hideZero": false,
824 | "max": false,
825 | "min": false,
826 | "rightSide": false,
827 | "show": false,
828 | "total": false,
829 | "values": false
830 | },
831 | "lines": false,
832 | "linewidth": 1,
833 | "links": [],
834 | "nullPointMode": "null",
835 | "percentage": false,
836 | "pointradius": 5,
837 | "points": false,
838 | "renderer": "flot",
839 | "seriesOverrides": [
840 | {
841 | "alias": "LR.B1 {type: B1}"
842 | }
843 | ],
844 | "spaceLength": 10,
845 | "stack": false,
846 | "steppedLine": false,
847 | "targets": [
848 | {
849 | "alias": "Bearing 1",
850 | "groupBy": [
851 | {
852 | "params": [
853 | "10s"
854 | ],
855 | "type": "time"
856 | },
857 | {
858 | "params": [
859 | "null"
860 | ],
861 | "type": "fill"
862 | }
863 | ],
864 | "measurement": "LR",
865 | "orderByTime": "ASC",
866 | "policy": "default",
867 | "query": "SELECT distinct(\"label\") FROM \"LR\" WHERE (\"type\" = 'B1') AND $timeFilter GROUP BY time(10s) fill(null)",
868 | "rawQuery": true,
869 | "refId": "A",
870 | "resultFormat": "time_series",
871 | "select": [
872 | [
873 | {
874 | "params": [
875 | "label"
876 | ],
877 | "type": "field"
878 | },
879 | {
880 | "params": [],
881 | "type": "distinct"
882 | }
883 | ]
884 | ],
885 | "tags": [
886 | {
887 | "key": "type",
888 | "operator": "=",
889 | "value": "B1"
890 | }
891 | ]
892 | },
893 | {
894 | "alias": "Bearing 2",
895 | "groupBy": [
896 | {
897 | "params": [
898 | "10s"
899 | ],
900 | "type": "time"
901 | },
902 | {
903 | "params": [
904 | "null"
905 | ],
906 | "type": "fill"
907 | }
908 | ],
909 | "measurement": "LR",
910 | "orderByTime": "ASC",
911 | "policy": "default",
912 | "query": "SELECT distinct(\"label\") FROM \"LR\" WHERE (\"type\" = 'B2') AND $timeFilter GROUP BY time(10s) fill(null)",
913 | "rawQuery": true,
914 | "refId": "B",
915 | "resultFormat": "time_series",
916 | "select": [
917 | [
918 | {
919 | "params": [
920 | "label"
921 | ],
922 | "type": "field"
923 | },
924 | {
925 | "params": [],
926 | "type": "distinct"
927 | }
928 | ]
929 | ],
930 | "tags": [
931 | {
932 | "key": "type",
933 | "operator": "=",
934 | "value": "B2"
935 | }
936 | ]
937 | },
938 | {
939 | "alias": "Bearing 3",
940 | "groupBy": [
941 | {
942 | "params": [
943 | "10s"
944 | ],
945 | "type": "time"
946 | },
947 | {
948 | "params": [
949 | "null"
950 | ],
951 | "type": "fill"
952 | }
953 | ],
954 | "measurement": "LR",
955 | "orderByTime": "ASC",
956 | "policy": "default",
957 | "query": "SELECT distinct(\"label\") FROM \"LR\" WHERE (\"type\" = 'B3') AND $timeFilter GROUP BY time(10s) fill(null)",
958 | "rawQuery": true,
959 | "refId": "C",
960 | "resultFormat": "time_series",
961 | "select": [
962 | [
963 | {
964 | "params": [
965 | "label"
966 | ],
967 | "type": "field"
968 | },
969 | {
970 | "params": [],
971 | "type": "distinct"
972 | }
973 | ]
974 | ],
975 | "tags": [
976 | {
977 | "key": "type",
978 | "operator": "=",
979 | "value": "B3"
980 | }
981 | ]
982 | },
983 | {
984 | "alias": "Bearing 4",
985 | "groupBy": [
986 | {
987 | "params": [
988 | "10s"
989 | ],
990 | "type": "time"
991 | },
992 | {
993 | "params": [
994 | "null"
995 | ],
996 | "type": "fill"
997 | }
998 | ],
999 | "measurement": "LR",
1000 | "orderByTime": "ASC",
1001 | "policy": "default",
1002 | "query": "SELECT distinct(\"label\") FROM \"LR\" WHERE (\"type\" = 'B4') AND $timeFilter GROUP BY time(10s) fill(null)",
1003 | "rawQuery": true,
1004 | "refId": "D",
1005 | "resultFormat": "time_series",
1006 | "select": [
1007 | [
1008 | {
1009 | "params": [
1010 | "label"
1011 | ],
1012 | "type": "field"
1013 | },
1014 | {
1015 | "params": [],
1016 | "type": "distinct"
1017 | }
1018 | ]
1019 | ],
1020 | "tags": [
1021 | {
1022 | "key": "type",
1023 | "operator": "=",
1024 | "value": "B4"
1025 | }
1026 | ]
1027 | },
1028 | {
1029 | "alias": "Bearing 5",
1030 | "groupBy": [
1031 | {
1032 | "params": [
1033 | "10s"
1034 | ],
1035 | "type": "time"
1036 | },
1037 | {
1038 | "params": [
1039 | "null"
1040 | ],
1041 | "type": "fill"
1042 | }
1043 | ],
1044 | "measurement": "LR",
1045 | "orderByTime": "ASC",
1046 | "policy": "default",
1047 | "query": "SELECT distinct(\"label\") FROM \"LR\" WHERE (\"type\" = 'B4') AND $timeFilter GROUP BY time(10s) fill(null)",
1048 | "rawQuery": false,
1049 | "refId": "E",
1050 | "resultFormat": "time_series",
1051 | "select": [
1052 | [
1053 | {
1054 | "params": [
1055 | "label"
1056 | ],
1057 | "type": "field"
1058 | },
1059 | {
1060 | "params": [],
1061 | "type": "distinct"
1062 | }
1063 | ]
1064 | ],
1065 | "tags": [
1066 | {
1067 | "key": "type",
1068 | "operator": "=",
1069 | "value": "B5"
1070 | }
1071 | ]
1072 | },
1073 | {
1074 | "alias": "Bearing 6",
1075 | "groupBy": [
1076 | {
1077 | "params": [
1078 | "10s"
1079 | ],
1080 | "type": "time"
1081 | },
1082 | {
1083 | "params": [
1084 | "null"
1085 | ],
1086 | "type": "fill"
1087 | }
1088 | ],
1089 | "measurement": "LR",
1090 | "orderByTime": "ASC",
1091 | "policy": "default",
1092 | "query": "SELECT distinct(\"label\") FROM \"LR\" WHERE (\"type\" = 'B6') AND $timeFilter GROUP BY time(10s) fill(null)",
1093 | "rawQuery": false,
1094 | "refId": "F",
1095 | "resultFormat": "time_series",
1096 | "select": [
1097 | [
1098 | {
1099 | "params": [
1100 | "label"
1101 | ],
1102 | "type": "field"
1103 | },
1104 | {
1105 | "params": [],
1106 | "type": "distinct"
1107 | }
1108 | ]
1109 | ],
1110 | "tags": [
1111 | {
1112 | "key": "type",
1113 | "operator": "=",
1114 | "value": "B6"
1115 | }
1116 | ]
1117 | },
1118 | {
1119 | "alias": "Bearing 7",
1120 | "groupBy": [
1121 | {
1122 | "params": [
1123 | "10s"
1124 | ],
1125 | "type": "time"
1126 | },
1127 | {
1128 | "params": [
1129 | "null"
1130 | ],
1131 | "type": "fill"
1132 | }
1133 | ],
1134 | "measurement": "LR",
1135 | "orderByTime": "ASC",
1136 | "policy": "default",
1137 | "query": "SELECT distinct(\"label\") FROM \"LR\" WHERE (\"type\" = 'B4') AND $timeFilter GROUP BY time(10s) fill(null)",
1138 | "rawQuery": false,
1139 | "refId": "G",
1140 | "resultFormat": "time_series",
1141 | "select": [
1142 | [
1143 | {
1144 | "params": [
1145 | "label"
1146 | ],
1147 | "type": "field"
1148 | },
1149 | {
1150 | "params": [],
1151 | "type": "distinct"
1152 | }
1153 | ]
1154 | ],
1155 | "tags": [
1156 | {
1157 | "key": "type",
1158 | "operator": "=",
1159 | "value": "B7"
1160 | }
1161 | ]
1162 | },
1163 | {
1164 | "alias": "Bearing 8",
1165 | "groupBy": [
1166 | {
1167 | "params": [
1168 | "10s"
1169 | ],
1170 | "type": "time"
1171 | },
1172 | {
1173 | "params": [
1174 | "null"
1175 | ],
1176 | "type": "fill"
1177 | }
1178 | ],
1179 | "measurement": "LR",
1180 | "orderByTime": "ASC",
1181 | "policy": "default",
1182 | "query": "SELECT distinct(\"label\") FROM \"LR\" WHERE (\"type\" = 'B4') AND $timeFilter GROUP BY time(10s) fill(null)",
1183 | "rawQuery": false,
1184 | "refId": "H",
1185 | "resultFormat": "time_series",
1186 | "select": [
1187 | [
1188 | {
1189 | "params": [
1190 | "label"
1191 | ],
1192 | "type": "field"
1193 | },
1194 | {
1195 | "params": [],
1196 | "type": "distinct"
1197 | }
1198 | ]
1199 | ],
1200 | "tags": [
1201 | {
1202 | "key": "type",
1203 | "operator": "=",
1204 | "value": "B8"
1205 | }
1206 | ]
1207 | }
1208 | ],
1209 | "thresholds": [],
1210 | "timeFrom": null,
1211 | "timeShift": null,
1212 | "title": "Logistic Regression",
1213 | "tooltip": {
1214 | "shared": false,
1215 | "sort": 0,
1216 | "value_type": "individual"
1217 | },
1218 | "type": "graph",
1219 | "xaxis": {
1220 | "buckets": null,
1221 | "mode": "series",
1222 | "name": null,
1223 | "show": true,
1224 | "values": [
1225 | "total"
1226 | ]
1227 | },
1228 | "yaxes": [
1229 | {
1230 | "format": "short",
1231 | "label": "Failed Cases",
1232 | "logBase": 1,
1233 | "max": null,
1234 | "min": null,
1235 | "show": true
1236 | },
1237 | {
1238 | "format": "short",
1239 | "label": null,
1240 | "logBase": 1,
1241 | "max": null,
1242 | "min": null,
1243 | "show": true
1244 | }
1245 | ],
1246 | "yaxis": {
1247 | "align": false,
1248 | "alignLevel": null
1249 | }
1250 | },
1251 | {
1252 | "aliasColors": {},
1253 | "bars": true,
1254 | "dashLength": 10,
1255 | "dashes": false,
1256 | "datasource": "${DS_PREDICTIONS_TESTSET1}",
1257 | "fill": 1,
1258 | "gridPos": {
1259 | "h": 9,
1260 | "w": 8,
1261 | "x": 8,
1262 | "y": 10
1263 | },
1264 | "id": 48,
1265 | "legend": {
1266 | "avg": false,
1267 | "current": false,
1268 | "max": false,
1269 | "min": false,
1270 | "show": false,
1271 | "total": false,
1272 | "values": false
1273 | },
1274 | "lines": false,
1275 | "linewidth": 1,
1276 | "links": [],
1277 | "nullPointMode": "null",
1278 | "percentage": false,
1279 | "pointradius": 5,
1280 | "points": false,
1281 | "renderer": "flot",
1282 | "seriesOverrides": [],
1283 | "spaceLength": 10,
1284 | "stack": false,
1285 | "steppedLine": false,
1286 | "targets": [
1287 | {
1288 | "alias": "Bearing 1",
1289 | "groupBy": [
1290 | {
1291 | "params": [
1292 | "10s"
1293 | ],
1294 | "type": "time"
1295 | },
1296 | {
1297 | "params": [
1298 | "null"
1299 | ],
1300 | "type": "fill"
1301 | }
1302 | ],
1303 | "measurement": "Kmeans",
1304 | "orderByTime": "ASC",
1305 | "policy": "default",
1306 | "refId": "A",
1307 | "resultFormat": "time_series",
1308 | "select": [
1309 | [
1310 | {
1311 | "params": [
1312 | "failure_ratio"
1313 | ],
1314 | "type": "field"
1315 | },
1316 | {
1317 | "params": [],
1318 | "type": "distinct"
1319 | }
1320 | ]
1321 | ],
1322 | "tags": [
1323 | {
1324 | "key": "type",
1325 | "operator": "=",
1326 | "value": "B1"
1327 | }
1328 | ]
1329 | },
1330 | {
1331 | "alias": "Bearing 2",
1332 | "groupBy": [
1333 | {
1334 | "params": [
1335 | "10s"
1336 | ],
1337 | "type": "time"
1338 | },
1339 | {
1340 | "params": [
1341 | "null"
1342 | ],
1343 | "type": "fill"
1344 | }
1345 | ],
1346 | "measurement": "Kmeans",
1347 | "orderByTime": "ASC",
1348 | "policy": "default",
1349 | "refId": "B",
1350 | "resultFormat": "time_series",
1351 | "select": [
1352 | [
1353 | {
1354 | "params": [
1355 | "failure_ratio"
1356 | ],
1357 | "type": "field"
1358 | },
1359 | {
1360 | "params": [],
1361 | "type": "distinct"
1362 | }
1363 | ]
1364 | ],
1365 | "tags": [
1366 | {
1367 | "key": "type",
1368 | "operator": "=",
1369 | "value": "B2"
1370 | }
1371 | ]
1372 | },
1373 | {
1374 | "alias": "Bearing 3",
1375 | "groupBy": [
1376 | {
1377 | "params": [
1378 | "10s"
1379 | ],
1380 | "type": "time"
1381 | },
1382 | {
1383 | "params": [
1384 | "null"
1385 | ],
1386 | "type": "fill"
1387 | }
1388 | ],
1389 | "measurement": "Kmeans",
1390 | "orderByTime": "ASC",
1391 | "policy": "default",
1392 | "refId": "C",
1393 | "resultFormat": "time_series",
1394 | "select": [
1395 | [
1396 | {
1397 | "params": [
1398 | "failure_ratio"
1399 | ],
1400 | "type": "field"
1401 | },
1402 | {
1403 | "params": [],
1404 | "type": "distinct"
1405 | }
1406 | ]
1407 | ],
1408 | "tags": [
1409 | {
1410 | "key": "type",
1411 | "operator": "=",
1412 | "value": "B3"
1413 | }
1414 | ]
1415 | },
1416 | {
1417 | "alias": "Bearing 4",
1418 | "groupBy": [
1419 | {
1420 | "params": [
1421 | "10s"
1422 | ],
1423 | "type": "time"
1424 | },
1425 | {
1426 | "params": [
1427 | "null"
1428 | ],
1429 | "type": "fill"
1430 | }
1431 | ],
1432 | "measurement": "Kmeans",
1433 | "orderByTime": "ASC",
1434 | "policy": "default",
1435 | "refId": "D",
1436 | "resultFormat": "time_series",
1437 | "select": [
1438 | [
1439 | {
1440 | "params": [
1441 | "failure_ratio"
1442 | ],
1443 | "type": "field"
1444 | },
1445 | {
1446 | "params": [],
1447 | "type": "distinct"
1448 | }
1449 | ]
1450 | ],
1451 | "tags": [
1452 | {
1453 | "key": "type",
1454 | "operator": "=",
1455 | "value": "B4"
1456 | }
1457 | ]
1458 | },
1459 | {
1460 | "alias": "Bearing 5",
1461 | "groupBy": [
1462 | {
1463 | "params": [
1464 | "10s"
1465 | ],
1466 | "type": "time"
1467 | },
1468 | {
1469 | "params": [
1470 | "null"
1471 | ],
1472 | "type": "fill"
1473 | }
1474 | ],
1475 | "measurement": "Kmeans",
1476 | "orderByTime": "ASC",
1477 | "policy": "default",
1478 | "refId": "E",
1479 | "resultFormat": "time_series",
1480 | "select": [
1481 | [
1482 | {
1483 | "params": [
1484 | "failure_ratio"
1485 | ],
1486 | "type": "field"
1487 | },
1488 | {
1489 | "params": [],
1490 | "type": "distinct"
1491 | }
1492 | ]
1493 | ],
1494 | "tags": [
1495 | {
1496 | "key": "type",
1497 | "operator": "=",
1498 | "value": "B5"
1499 | }
1500 | ]
1501 | },
1502 | {
1503 | "alias": "Bearing 6",
1504 | "groupBy": [
1505 | {
1506 | "params": [
1507 | "10s"
1508 | ],
1509 | "type": "time"
1510 | },
1511 | {
1512 | "params": [
1513 | "null"
1514 | ],
1515 | "type": "fill"
1516 | }
1517 | ],
1518 | "measurement": "Kmeans",
1519 | "orderByTime": "ASC",
1520 | "policy": "default",
1521 | "refId": "F",
1522 | "resultFormat": "time_series",
1523 | "select": [
1524 | [
1525 | {
1526 | "params": [
1527 | "failure_ratio"
1528 | ],
1529 | "type": "field"
1530 | },
1531 | {
1532 | "params": [],
1533 | "type": "distinct"
1534 | }
1535 | ]
1536 | ],
1537 | "tags": [
1538 | {
1539 | "key": "type",
1540 | "operator": "=",
1541 | "value": "B6"
1542 | }
1543 | ]
1544 | },
1545 | {
1546 | "alias": "Bearing 7",
1547 | "groupBy": [
1548 | {
1549 | "params": [
1550 | "10s"
1551 | ],
1552 | "type": "time"
1553 | },
1554 | {
1555 | "params": [
1556 | "null"
1557 | ],
1558 | "type": "fill"
1559 | }
1560 | ],
1561 | "measurement": "Kmeans",
1562 | "orderByTime": "ASC",
1563 | "policy": "default",
1564 | "refId": "G",
1565 | "resultFormat": "time_series",
1566 | "select": [
1567 | [
1568 | {
1569 | "params": [
1570 | "failure_ratio"
1571 | ],
1572 | "type": "field"
1573 | },
1574 | {
1575 | "params": [],
1576 | "type": "distinct"
1577 | }
1578 | ]
1579 | ],
1580 | "tags": [
1581 | {
1582 | "key": "type",
1583 | "operator": "=",
1584 | "value": "B7"
1585 | }
1586 | ]
1587 | },
1588 | {
1589 | "alias": "Bearing 8",
1590 | "groupBy": [
1591 | {
1592 | "params": [
1593 | "10s"
1594 | ],
1595 | "type": "time"
1596 | },
1597 | {
1598 | "params": [
1599 | "null"
1600 | ],
1601 | "type": "fill"
1602 | }
1603 | ],
1604 | "measurement": "Kmeans",
1605 | "orderByTime": "ASC",
1606 | "policy": "default",
1607 | "refId": "H",
1608 | "resultFormat": "time_series",
1609 | "select": [
1610 | [
1611 | {
1612 | "params": [
1613 | "failure_ratio"
1614 | ],
1615 | "type": "field"
1616 | },
1617 | {
1618 | "params": [],
1619 | "type": "distinct"
1620 | }
1621 | ]
1622 | ],
1623 | "tags": [
1624 | {
1625 | "key": "type",
1626 | "operator": "=",
1627 | "value": "B8"
1628 | }
1629 | ]
1630 | }
1631 | ],
1632 | "thresholds": [],
1633 | "timeFrom": null,
1634 | "timeShift": null,
1635 | "title": "Kmeans",
1636 | "tooltip": {
1637 | "shared": false,
1638 | "sort": 0,
1639 | "value_type": "individual"
1640 | },
1641 | "type": "graph",
1642 | "xaxis": {
1643 | "buckets": null,
1644 | "mode": "series",
1645 | "name": null,
1646 | "show": true,
1647 | "values": [
1648 | "total"
1649 | ]
1650 | },
1651 | "yaxes": [
1652 | {
1653 | "format": "short",
1654 | "label": "Failed Cases",
1655 | "logBase": 1,
1656 | "max": null,
1657 | "min": null,
1658 | "show": true
1659 | },
1660 | {
1661 | "format": "short",
1662 | "label": null,
1663 | "logBase": 1,
1664 | "max": null,
1665 | "min": null,
1666 | "show": true
1667 | }
1668 | ],
1669 | "yaxis": {
1670 | "align": false,
1671 | "alignLevel": null
1672 | }
1673 | },
1674 | {
1675 | "aliasColors": {},
1676 | "bars": true,
1677 | "dashLength": 10,
1678 | "dashes": false,
1679 | "datasource": "${DS_PREDICTIONS_TESTSET1}",
1680 | "fill": 1,
1681 | "gridPos": {
1682 | "h": 9,
1683 | "w": 8,
1684 | "x": 16,
1685 | "y": 10
1686 | },
1687 | "id": 46,
1688 | "legend": {
1689 | "avg": false,
1690 | "current": false,
1691 | "max": false,
1692 | "min": false,
1693 | "show": false,
1694 | "total": false,
1695 | "values": false
1696 | },
1697 | "lines": false,
1698 | "linewidth": 1,
1699 | "links": [],
1700 | "nullPointMode": "null",
1701 | "percentage": false,
1702 | "pointradius": 5,
1703 | "points": false,
1704 | "renderer": "flot",
1705 | "seriesOverrides": [],
1706 | "spaceLength": 10,
1707 | "stack": false,
1708 | "steppedLine": false,
1709 | "targets": [
1710 | {
1711 | "alias": "Bearing 1",
1712 | "groupBy": [
1713 | {
1714 | "params": [
1715 | "10s"
1716 | ],
1717 | "type": "time"
1718 | },
1719 | {
1720 | "params": [
1721 | "null"
1722 | ],
1723 | "type": "fill"
1724 | }
1725 | ],
1726 | "measurement": "GMM",
1727 | "orderByTime": "ASC",
1728 | "policy": "default",
1729 | "refId": "A",
1730 | "resultFormat": "time_series",
1731 | "select": [
1732 | [
1733 | {
1734 | "params": [
1735 | "failure_ratio"
1736 | ],
1737 | "type": "field"
1738 | },
1739 | {
1740 | "params": [],
1741 | "type": "distinct"
1742 | }
1743 | ]
1744 | ],
1745 | "tags": [
1746 | {
1747 | "key": "type",
1748 | "operator": "=",
1749 | "value": "B1"
1750 | }
1751 | ]
1752 | },
1753 | {
1754 | "alias": "Bearing 2",
1755 | "groupBy": [
1756 | {
1757 | "params": [
1758 | "10s"
1759 | ],
1760 | "type": "time"
1761 | },
1762 | {
1763 | "params": [
1764 | "null"
1765 | ],
1766 | "type": "fill"
1767 | }
1768 | ],
1769 | "measurement": "GMM",
1770 | "orderByTime": "ASC",
1771 | "policy": "default",
1772 | "refId": "B",
1773 | "resultFormat": "time_series",
1774 | "select": [
1775 | [
1776 | {
1777 | "params": [
1778 | "failure_ratio"
1779 | ],
1780 | "type": "field"
1781 | },
1782 | {
1783 | "params": [],
1784 | "type": "distinct"
1785 | }
1786 | ]
1787 | ],
1788 | "tags": [
1789 | {
1790 | "key": "type",
1791 | "operator": "=",
1792 | "value": "B2"
1793 | }
1794 | ]
1795 | },
1796 | {
1797 | "alias": "Bearing 3",
1798 | "groupBy": [
1799 | {
1800 | "params": [
1801 | "10s"
1802 | ],
1803 | "type": "time"
1804 | },
1805 | {
1806 | "params": [
1807 | "null"
1808 | ],
1809 | "type": "fill"
1810 | }
1811 | ],
1812 | "measurement": "GMM",
1813 | "orderByTime": "ASC",
1814 | "policy": "default",
1815 | "refId": "C",
1816 | "resultFormat": "time_series",
1817 | "select": [
1818 | [
1819 | {
1820 | "params": [
1821 | "failure_ratio"
1822 | ],
1823 | "type": "field"
1824 | },
1825 | {
1826 | "params": [],
1827 | "type": "distinct"
1828 | }
1829 | ]
1830 | ],
1831 | "tags": [
1832 | {
1833 | "key": "type",
1834 | "operator": "=",
1835 | "value": "B3"
1836 | }
1837 | ]
1838 | },
1839 | {
1840 | "alias": "Bearing 4",
1841 | "groupBy": [
1842 | {
1843 | "params": [
1844 | "10s"
1845 | ],
1846 | "type": "time"
1847 | },
1848 | {
1849 | "params": [
1850 | "null"
1851 | ],
1852 | "type": "fill"
1853 | }
1854 | ],
1855 | "measurement": "GMM",
1856 | "orderByTime": "ASC",
1857 | "policy": "default",
1858 | "refId": "D",
1859 | "resultFormat": "time_series",
1860 | "select": [
1861 | [
1862 | {
1863 | "params": [
1864 | "failure_ratio"
1865 | ],
1866 | "type": "field"
1867 | },
1868 | {
1869 | "params": [],
1870 | "type": "distinct"
1871 | }
1872 | ]
1873 | ],
1874 | "tags": [
1875 | {
1876 | "key": "type",
1877 | "operator": "=",
1878 | "value": "B4"
1879 | }
1880 | ]
1881 | },
1882 | {
1883 | "alias": "Bearing 5",
1884 | "groupBy": [
1885 | {
1886 | "params": [
1887 | "10s"
1888 | ],
1889 | "type": "time"
1890 | },
1891 | {
1892 | "params": [
1893 | "null"
1894 | ],
1895 | "type": "fill"
1896 | }
1897 | ],
1898 | "measurement": "GMM",
1899 | "orderByTime": "ASC",
1900 | "policy": "default",
1901 | "refId": "E",
1902 | "resultFormat": "time_series",
1903 | "select": [
1904 | [
1905 | {
1906 | "params": [
1907 | "failure_ratio"
1908 | ],
1909 | "type": "field"
1910 | },
1911 | {
1912 | "params": [],
1913 | "type": "distinct"
1914 | }
1915 | ]
1916 | ],
1917 | "tags": [
1918 | {
1919 | "key": "type",
1920 | "operator": "=",
1921 | "value": "B5"
1922 | }
1923 | ]
1924 | },
1925 | {
1926 | "alias": "Bearing 6",
1927 | "groupBy": [
1928 | {
1929 | "params": [
1930 | "10s"
1931 | ],
1932 | "type": "time"
1933 | },
1934 | {
1935 | "params": [
1936 | "null"
1937 | ],
1938 | "type": "fill"
1939 | }
1940 | ],
1941 | "measurement": "GMM",
1942 | "orderByTime": "ASC",
1943 | "policy": "default",
1944 | "refId": "F",
1945 | "resultFormat": "time_series",
1946 | "select": [
1947 | [
1948 | {
1949 | "params": [
1950 | "failure_ratio"
1951 | ],
1952 | "type": "field"
1953 | },
1954 | {
1955 | "params": [],
1956 | "type": "distinct"
1957 | }
1958 | ]
1959 | ],
1960 | "tags": [
1961 | {
1962 | "key": "type",
1963 | "operator": "=",
1964 | "value": "B6"
1965 | }
1966 | ]
1967 | },
1968 | {
1969 | "alias": "Bearing 7",
1970 | "groupBy": [
1971 | {
1972 | "params": [
1973 | "10s"
1974 | ],
1975 | "type": "time"
1976 | },
1977 | {
1978 | "params": [
1979 | "null"
1980 | ],
1981 | "type": "fill"
1982 | }
1983 | ],
1984 | "measurement": "GMM",
1985 | "orderByTime": "ASC",
1986 | "policy": "default",
1987 | "refId": "G",
1988 | "resultFormat": "time_series",
1989 | "select": [
1990 | [
1991 | {
1992 | "params": [
1993 | "failure_ratio"
1994 | ],
1995 | "type": "field"
1996 | },
1997 | {
1998 | "params": [],
1999 | "type": "distinct"
2000 | }
2001 | ]
2002 | ],
2003 | "tags": [
2004 | {
2005 | "key": "type",
2006 | "operator": "=",
2007 | "value": "B7"
2008 | }
2009 | ]
2010 | },
2011 | {
2012 | "alias": "Bearing 8",
2013 | "groupBy": [
2014 | {
2015 | "params": [
2016 | "10s"
2017 | ],
2018 | "type": "time"
2019 | },
2020 | {
2021 | "params": [
2022 | "null"
2023 | ],
2024 | "type": "fill"
2025 | }
2026 | ],
2027 | "measurement": "GMM",
2028 | "orderByTime": "ASC",
2029 | "policy": "default",
2030 | "refId": "H",
2031 | "resultFormat": "time_series",
2032 | "select": [
2033 | [
2034 | {
2035 | "params": [
2036 | "failure_ratio"
2037 | ],
2038 | "type": "field"
2039 | },
2040 | {
2041 | "params": [],
2042 | "type": "distinct"
2043 | }
2044 | ]
2045 | ],
2046 | "tags": [
2047 | {
2048 | "key": "type",
2049 | "operator": "=",
2050 | "value": "B8"
2051 | }
2052 | ]
2053 | }
2054 | ],
2055 | "thresholds": [],
2056 | "timeFrom": null,
2057 | "timeShift": null,
2058 | "title": "GMM",
2059 | "tooltip": {
2060 | "shared": false,
2061 | "sort": 0,
2062 | "value_type": "individual"
2063 | },
2064 | "type": "graph",
2065 | "xaxis": {
2066 | "buckets": null,
2067 | "mode": "series",
2068 | "name": null,
2069 | "show": true,
2070 | "values": [
2071 | "total"
2072 | ]
2073 | },
2074 | "yaxes": [
2075 | {
2076 | "format": "short",
2077 | "label": "Failed Cases",
2078 | "logBase": 1,
2079 | "max": null,
2080 | "min": null,
2081 | "show": true
2082 | },
2083 | {
2084 | "format": "short",
2085 | "label": null,
2086 | "logBase": 1,
2087 | "max": null,
2088 | "min": null,
2089 | "show": true
2090 | }
2091 | ],
2092 | "yaxis": {
2093 | "align": false,
2094 | "alignLevel": null
2095 | }
2096 | },
2097 | {
2098 | "collapsed": false,
2099 | "gridPos": {
2100 | "h": 1,
2101 | "w": 24,
2102 | "x": 0,
2103 | "y": 19
2104 | },
2105 | "id": 42,
2106 | "panels": [],
2107 | "title": "KMeans",
2108 | "type": "row"
2109 | },
2110 | {
2111 | "cacheTimeout": null,
2112 | "colorBackground": false,
2113 | "colorValue": false,
2114 | "colors": [
2115 | "#299c46",
2116 | "rgba(237, 129, 40, 0.89)",
2117 | "#d44a3a"
2118 | ],
2119 | "datasource": "${DS_PREDICTIONS_TESTSET1}",
2120 | "format": "none",
2121 | "gauge": {
2122 | "maxValue": 100,
2123 | "minValue": 0,
2124 | "show": true,
2125 | "thresholdLabels": true,
2126 | "thresholdMarkers": true
2127 | },
2128 | "gridPos": {
2129 | "h": 5,
2130 | "w": 3,
2131 | "x": 0,
2132 | "y": 20
2133 | },
2134 | "id": 18,
2135 | "interval": null,
2136 | "links": [],
2137 | "mappingType": 1,
2138 | "mappingTypes": [
2139 | {
2140 | "name": "value to text",
2141 | "value": 1
2142 | },
2143 | {
2144 | "name": "range to text",
2145 | "value": 2
2146 | }
2147 | ],
2148 | "maxDataPoints": 100,
2149 | "nullPointMode": "connected",
2150 | "nullText": null,
2151 | "postfix": "",
2152 | "postfixFontSize": "50%",
2153 | "prefix": "",
2154 | "prefixFontSize": "50%",
2155 | "rangeMaps": [
2156 | {
2157 | "from": "null",
2158 | "text": "N/A",
2159 | "to": "null"
2160 | }
2161 | ],
2162 | "sparkline": {
2163 | "fillColor": "rgba(31, 118, 189, 0.18)",
2164 | "full": false,
2165 | "lineColor": "rgb(31, 120, 193)",
2166 | "show": false
2167 | },
2168 | "tableColumn": "",
2169 | "targets": [
2170 | {
2171 | "groupBy": [
2172 | {
2173 | "params": [
2174 | "$__interval"
2175 | ],
2176 | "type": "time"
2177 | },
2178 | {
2179 | "params": [
2180 | "null"
2181 | ],
2182 | "type": "fill"
2183 | }
2184 | ],
2185 | "measurement": "Kmeans",
2186 | "orderByTime": "ASC",
2187 | "policy": "default",
2188 | "query": "SELECT distinct(\"failure_ratio\") FROM \"Kmeans\" WHERE (\"type\" = 'B1') AND $timeFilter GROUP BY time($__interval) fill(null)",
2189 | "rawQuery": false,
2190 | "refId": "A",
2191 | "resultFormat": "time_series",
2192 | "select": [
2193 | [
2194 | {
2195 | "params": [
2196 | "failure_ratio"
2197 | ],
2198 | "type": "field"
2199 | },
2200 | {
2201 | "params": [],
2202 | "type": "distinct"
2203 | }
2204 | ]
2205 | ],
2206 | "tags": [
2207 | {
2208 | "key": "type",
2209 | "operator": "=",
2210 | "value": "B1"
2211 | }
2212 | ]
2213 | }
2214 | ],
2215 | "thresholds": "25",
2216 | "title": "Bearing 1 (KMeans)",
2217 | "type": "singlestat",
2218 | "valueFontSize": "80%",
2219 | "valueMaps": [
2220 | {
2221 | "op": "=",
2222 | "text": "N/A",
2223 | "value": "null"
2224 | }
2225 | ],
2226 | "valueName": "avg"
2227 | },
2228 | {
2229 | "cacheTimeout": null,
2230 | "colorBackground": false,
2231 | "colorValue": false,
2232 | "colors": [
2233 | "#299c46",
2234 | "rgba(237, 129, 40, 0.89)",
2235 | "#d44a3a"
2236 | ],
2237 | "datasource": "${DS_PREDICTIONS_TESTSET1}",
2238 | "format": "none",
2239 | "gauge": {
2240 | "maxValue": 100,
2241 | "minValue": 0,
2242 | "show": true,
2243 | "thresholdLabels": true,
2244 | "thresholdMarkers": true
2245 | },
2246 | "gridPos": {
2247 | "h": 5,
2248 | "w": 3,
2249 | "x": 3,
2250 | "y": 20
2251 | },
2252 | "id": 20,
2253 | "interval": null,
2254 | "links": [],
2255 | "mappingType": 1,
2256 | "mappingTypes": [
2257 | {
2258 | "name": "value to text",
2259 | "value": 1
2260 | },
2261 | {
2262 | "name": "range to text",
2263 | "value": 2
2264 | }
2265 | ],
2266 | "maxDataPoints": 100,
2267 | "nullPointMode": "connected",
2268 | "nullText": null,
2269 | "postfix": "",
2270 | "postfixFontSize": "50%",
2271 | "prefix": "",
2272 | "prefixFontSize": "50%",
2273 | "rangeMaps": [
2274 | {
2275 | "from": "null",
2276 | "text": "N/A",
2277 | "to": "null"
2278 | }
2279 | ],
2280 | "sparkline": {
2281 | "fillColor": "rgba(31, 118, 189, 0.18)",
2282 | "full": false,
2283 | "lineColor": "rgb(31, 120, 193)",
2284 | "show": false
2285 | },
2286 | "tableColumn": "",
2287 | "targets": [
2288 | {
2289 | "groupBy": [
2290 | {
2291 | "params": [
2292 | "$__interval"
2293 | ],
2294 | "type": "time"
2295 | },
2296 | {
2297 | "params": [
2298 | "null"
2299 | ],
2300 | "type": "fill"
2301 | }
2302 | ],
2303 | "measurement": "Kmeans",
2304 | "orderByTime": "ASC",
2305 | "policy": "default",
2306 | "refId": "A",
2307 | "resultFormat": "time_series",
2308 | "select": [
2309 | [
2310 | {
2311 | "params": [
2312 | "failure_ratio"
2313 | ],
2314 | "type": "field"
2315 | },
2316 | {
2317 | "params": [],
2318 | "type": "distinct"
2319 | }
2320 | ]
2321 | ],
2322 | "tags": [
2323 | {
2324 | "key": "type",
2325 | "operator": "=",
2326 | "value": "B2"
2327 | }
2328 | ]
2329 | }
2330 | ],
2331 | "thresholds": "25",
2332 | "title": "Bearing 2 (Kmeans)",
2333 | "type": "singlestat",
2334 | "valueFontSize": "80%",
2335 | "valueMaps": [
2336 | {
2337 | "op": "=",
2338 | "text": "N/A",
2339 | "value": "null"
2340 | }
2341 | ],
2342 | "valueName": "avg"
2343 | },
2344 | {
2345 | "cacheTimeout": null,
2346 | "colorBackground": false,
2347 | "colorValue": false,
2348 | "colors": [
2349 | "#299c46",
2350 | "rgba(237, 129, 40, 0.89)",
2351 | "#d44a3a"
2352 | ],
2353 | "datasource": "${DS_PREDICTIONS_TESTSET1}",
2354 | "format": "none",
2355 | "gauge": {
2356 | "maxValue": 100,
2357 | "minValue": 0,
2358 | "show": true,
2359 | "thresholdLabels": true,
2360 | "thresholdMarkers": true
2361 | },
2362 | "gridPos": {
2363 | "h": 5,
2364 | "w": 3,
2365 | "x": 6,
2366 | "y": 20
2367 | },
2368 | "id": 50,
2369 | "interval": null,
2370 | "links": [],
2371 | "mappingType": 1,
2372 | "mappingTypes": [
2373 | {
2374 | "name": "value to text",
2375 | "value": 1
2376 | },
2377 | {
2378 | "name": "range to text",
2379 | "value": 2
2380 | }
2381 | ],
2382 | "maxDataPoints": 100,
2383 | "nullPointMode": "connected",
2384 | "nullText": null,
2385 | "postfix": "",
2386 | "postfixFontSize": "50%",
2387 | "prefix": "",
2388 | "prefixFontSize": "50%",
2389 | "rangeMaps": [
2390 | {
2391 | "from": "null",
2392 | "text": "N/A",
2393 | "to": "null"
2394 | }
2395 | ],
2396 | "sparkline": {
2397 | "fillColor": "rgba(31, 118, 189, 0.18)",
2398 | "full": false,
2399 | "lineColor": "rgb(31, 120, 193)",
2400 | "show": false
2401 | },
2402 | "tableColumn": "",
2403 | "targets": [
2404 | {
2405 | "groupBy": [
2406 | {
2407 | "params": [
2408 | "$__interval"
2409 | ],
2410 | "type": "time"
2411 | },
2412 | {
2413 | "params": [
2414 | "null"
2415 | ],
2416 | "type": "fill"
2417 | }
2418 | ],
2419 | "measurement": "Kmeans",
2420 | "orderByTime": "ASC",
2421 | "policy": "default",
2422 | "refId": "A",
2423 | "resultFormat": "time_series",
2424 | "select": [
2425 | [
2426 | {
2427 | "params": [
2428 | "failure_ratio"
2429 | ],
2430 | "type": "field"
2431 | },
2432 | {
2433 | "params": [],
2434 | "type": "distinct"
2435 | }
2436 | ]
2437 | ],
2438 | "tags": [
2439 | {
2440 | "key": "type",
2441 | "operator": "=",
2442 | "value": "B3"
2443 | }
2444 | ]
2445 | }
2446 | ],
2447 | "thresholds": "25",
2448 | "title": "Bearing 3(K means)",
2449 | "type": "singlestat",
2450 | "valueFontSize": "80%",
2451 | "valueMaps": [
2452 | {
2453 | "op": "=",
2454 | "text": "N/A",
2455 | "value": "null"
2456 | }
2457 | ],
2458 | "valueName": "avg"
2459 | },
2460 | {
2461 | "cacheTimeout": null,
2462 | "colorBackground": false,
2463 | "colorValue": false,
2464 | "colors": [
2465 | "#299c46",
2466 | "rgba(237, 129, 40, 0.89)",
2467 | "#d44a3a"
2468 | ],
2469 | "datasource": "${DS_PREDICTIONS_TESTSET1}",
2470 | "format": "none",
2471 | "gauge": {
2472 | "maxValue": 100,
2473 | "minValue": 0,
2474 | "show": true,
2475 | "thresholdLabels": true,
2476 | "thresholdMarkers": true
2477 | },
2478 | "gridPos": {
2479 | "h": 5,
2480 | "w": 3,
2481 | "x": 9,
2482 | "y": 20
2483 | },
2484 | "id": 52,
2485 | "interval": null,
2486 | "links": [],
2487 | "mappingType": 1,
2488 | "mappingTypes": [
2489 | {
2490 | "name": "value to text",
2491 | "value": 1
2492 | },
2493 | {
2494 | "name": "range to text",
2495 | "value": 2
2496 | }
2497 | ],
2498 | "maxDataPoints": 100,
2499 | "nullPointMode": "connected",
2500 | "nullText": null,
2501 | "postfix": "",
2502 | "postfixFontSize": "50%",
2503 | "prefix": "",
2504 | "prefixFontSize": "50%",
2505 | "rangeMaps": [
2506 | {
2507 | "from": "null",
2508 | "text": "N/A",
2509 | "to": "null"
2510 | }
2511 | ],
2512 | "sparkline": {
2513 | "fillColor": "rgba(31, 118, 189, 0.18)",
2514 | "full": false,
2515 | "lineColor": "rgb(31, 120, 193)",
2516 | "show": false
2517 | },
2518 | "tableColumn": "",
2519 | "targets": [
2520 | {
2521 | "groupBy": [
2522 | {
2523 | "params": [
2524 | "10s"
2525 | ],
2526 | "type": "time"
2527 | }
2528 | ],
2529 | "measurement": "Kmeans",
2530 | "orderByTime": "ASC",
2531 | "policy": "default",
2532 | "refId": "A",
2533 | "resultFormat": "time_series",
2534 | "select": [
2535 | [
2536 | {
2537 | "params": [
2538 | "failure_ratio"
2539 | ],
2540 | "type": "field"
2541 | },
2542 | {
2543 | "params": [],
2544 | "type": "distinct"
2545 | }
2546 | ]
2547 | ],
2548 | "tags": [
2549 | {
2550 | "key": "type",
2551 | "operator": "=",
2552 | "value": "B4"
2553 | }
2554 | ]
2555 | }
2556 | ],
2557 | "thresholds": "25",
2558 | "title": "Bearing 4(K means)",
2559 | "type": "singlestat",
2560 | "valueFontSize": "80%",
2561 | "valueMaps": [
2562 | {
2563 | "op": "=",
2564 | "text": "N/A",
2565 | "value": "null"
2566 | }
2567 | ],
2568 | "valueName": "avg"
2569 | },
2570 | {
2571 | "cacheTimeout": null,
2572 | "colorBackground": false,
2573 | "colorValue": false,
2574 | "colors": [
2575 | "#299c46",
2576 | "rgba(237, 129, 40, 0.89)",
2577 | "#d44a3a"
2578 | ],
2579 | "datasource": "${DS_PREDICTIONS_TESTSET1}",
2580 | "format": "none",
2581 | "gauge": {
2582 | "maxValue": 100,
2583 | "minValue": 0,
2584 | "show": true,
2585 | "thresholdLabels": true,
2586 | "thresholdMarkers": true
2587 | },
2588 | "gridPos": {
2589 | "h": 5,
2590 | "w": 3,
2591 | "x": 12,
2592 | "y": 20
2593 | },
2594 | "id": 55,
2595 | "interval": null,
2596 | "links": [],
2597 | "mappingType": 1,
2598 | "mappingTypes": [
2599 | {
2600 | "name": "value to text",
2601 | "value": 1
2602 | },
2603 | {
2604 | "name": "range to text",
2605 | "value": 2
2606 | }
2607 | ],
2608 | "maxDataPoints": 100,
2609 | "nullPointMode": "connected",
2610 | "nullText": null,
2611 | "postfix": "",
2612 | "postfixFontSize": "50%",
2613 | "prefix": "",
2614 | "prefixFontSize": "50%",
2615 | "rangeMaps": [
2616 | {
2617 | "from": "null",
2618 | "text": "N/A",
2619 | "to": "null"
2620 | }
2621 | ],
2622 | "sparkline": {
2623 | "fillColor": "rgba(31, 118, 189, 0.18)",
2624 | "full": false,
2625 | "lineColor": "rgb(31, 120, 193)",
2626 | "show": false
2627 | },
2628 | "tableColumn": "",
2629 | "targets": [
2630 | {
2631 | "groupBy": [
2632 | {
2633 | "params": [
2634 | "$__interval"
2635 | ],
2636 | "type": "time"
2637 | },
2638 | {
2639 | "params": [
2640 | "null"
2641 | ],
2642 | "type": "fill"
2643 | }
2644 | ],
2645 | "measurement": "Kmeans",
2646 | "orderByTime": "ASC",
2647 | "policy": "default",
2648 | "query": "SELECT distinct(\"failure_ratio\") FROM \"Kmeans\" WHERE (\"type\" = 'B1') AND $timeFilter GROUP BY time($__interval) fill(null)",
2649 | "rawQuery": false,
2650 | "refId": "A",
2651 | "resultFormat": "time_series",
2652 | "select": [
2653 | [
2654 | {
2655 | "params": [
2656 | "failure_ratio"
2657 | ],
2658 | "type": "field"
2659 | },
2660 | {
2661 | "params": [],
2662 | "type": "distinct"
2663 | }
2664 | ]
2665 | ],
2666 | "tags": [
2667 | {
2668 | "key": "type",
2669 | "operator": "=",
2670 | "value": "B5"
2671 | }
2672 | ]
2673 | }
2674 | ],
2675 | "thresholds": "25",
2676 | "title": "Bearing 5 (KMeans)",
2677 | "type": "singlestat",
2678 | "valueFontSize": "80%",
2679 | "valueMaps": [
2680 | {
2681 | "op": "=",
2682 | "text": "N/A",
2683 | "value": "null"
2684 | }
2685 | ],
2686 | "valueName": "avg"
2687 | },
2688 | {
2689 | "cacheTimeout": null,
2690 | "colorBackground": false,
2691 | "colorValue": false,
2692 | "colors": [
2693 | "#299c46",
2694 | "rgba(237, 129, 40, 0.89)",
2695 | "#d44a3a"
2696 | ],
2697 | "datasource": "${DS_PREDICTIONS_TESTSET1}",
2698 | "format": "none",
2699 | "gauge": {
2700 | "maxValue": 100,
2701 | "minValue": 0,
2702 | "show": true,
2703 | "thresholdLabels": true,
2704 | "thresholdMarkers": true
2705 | },
2706 | "gridPos": {
2707 | "h": 5,
2708 | "w": 3,
2709 | "x": 15,
2710 | "y": 20
2711 | },
2712 | "id": 56,
2713 | "interval": null,
2714 | "links": [],
2715 | "mappingType": 1,
2716 | "mappingTypes": [
2717 | {
2718 | "name": "value to text",
2719 | "value": 1
2720 | },
2721 | {
2722 | "name": "range to text",
2723 | "value": 2
2724 | }
2725 | ],
2726 | "maxDataPoints": 100,
2727 | "nullPointMode": "connected",
2728 | "nullText": null,
2729 | "postfix": "",
2730 | "postfixFontSize": "50%",
2731 | "prefix": "",
2732 | "prefixFontSize": "50%",
2733 | "rangeMaps": [
2734 | {
2735 | "from": "null",
2736 | "text": "N/A",
2737 | "to": "null"
2738 | }
2739 | ],
2740 | "sparkline": {
2741 | "fillColor": "rgba(31, 118, 189, 0.18)",
2742 | "full": false,
2743 | "lineColor": "rgb(31, 120, 193)",
2744 | "show": false
2745 | },
2746 | "tableColumn": "",
2747 | "targets": [
2748 | {
2749 | "groupBy": [
2750 | {
2751 | "params": [
2752 | "$__interval"
2753 | ],
2754 | "type": "time"
2755 | },
2756 | {
2757 | "params": [
2758 | "null"
2759 | ],
2760 | "type": "fill"
2761 | }
2762 | ],
2763 | "measurement": "Kmeans",
2764 | "orderByTime": "ASC",
2765 | "policy": "default",
2766 | "query": "SELECT distinct(\"failure_ratio\") FROM \"Kmeans\" WHERE (\"type\" = 'B1') AND $timeFilter GROUP BY time($__interval) fill(null)",
2767 | "rawQuery": false,
2768 | "refId": "A",
2769 | "resultFormat": "time_series",
2770 | "select": [
2771 | [
2772 | {
2773 | "params": [
2774 | "failure_ratio"
2775 | ],
2776 | "type": "field"
2777 | },
2778 | {
2779 | "params": [],
2780 | "type": "distinct"
2781 | }
2782 | ]
2783 | ],
2784 | "tags": [
2785 | {
2786 | "key": "type",
2787 | "operator": "=",
2788 | "value": "B6"
2789 | }
2790 | ]
2791 | }
2792 | ],
2793 | "thresholds": "25",
2794 | "title": "Bearing 6 (KMeans)",
2795 | "type": "singlestat",
2796 | "valueFontSize": "80%",
2797 | "valueMaps": [
2798 | {
2799 | "op": "=",
2800 | "text": "N/A",
2801 | "value": "null"
2802 | }
2803 | ],
2804 | "valueName": "avg"
2805 | },
2806 | {
2807 | "cacheTimeout": null,
2808 | "colorBackground": false,
2809 | "colorValue": false,
2810 | "colors": [
2811 | "#299c46",
2812 | "rgba(237, 129, 40, 0.89)",
2813 | "#d44a3a"
2814 | ],
2815 | "datasource": "${DS_PREDICTIONS_TESTSET1}",
2816 | "format": "none",
2817 | "gauge": {
2818 | "maxValue": 100,
2819 | "minValue": 0,
2820 | "show": true,
2821 | "thresholdLabels": true,
2822 | "thresholdMarkers": true
2823 | },
2824 | "gridPos": {
2825 | "h": 5,
2826 | "w": 3,
2827 | "x": 18,
2828 | "y": 20
2829 | },
2830 | "id": 57,
2831 | "interval": null,
2832 | "links": [],
2833 | "mappingType": 1,
2834 | "mappingTypes": [
2835 | {
2836 | "name": "value to text",
2837 | "value": 1
2838 | },
2839 | {
2840 | "name": "range to text",
2841 | "value": 2
2842 | }
2843 | ],
2844 | "maxDataPoints": 100,
2845 | "nullPointMode": "connected",
2846 | "nullText": null,
2847 | "postfix": "",
2848 | "postfixFontSize": "50%",
2849 | "prefix": "",
2850 | "prefixFontSize": "50%",
2851 | "rangeMaps": [
2852 | {
2853 | "from": "null",
2854 | "text": "N/A",
2855 | "to": "null"
2856 | }
2857 | ],
2858 | "sparkline": {
2859 | "fillColor": "rgba(31, 118, 189, 0.18)",
2860 | "full": false,
2861 | "lineColor": "rgb(31, 120, 193)",
2862 | "show": false
2863 | },
2864 | "tableColumn": "",
2865 | "targets": [
2866 | {
2867 | "groupBy": [
2868 | {
2869 | "params": [
2870 | "$__interval"
2871 | ],
2872 | "type": "time"
2873 | },
2874 | {
2875 | "params": [
2876 | "null"
2877 | ],
2878 | "type": "fill"
2879 | }
2880 | ],
2881 | "measurement": "Kmeans",
2882 | "orderByTime": "ASC",
2883 | "policy": "default",
2884 | "query": "SELECT distinct(\"failure_ratio\") FROM \"Kmeans\" WHERE (\"type\" = 'B1') AND $timeFilter GROUP BY time($__interval) fill(null)",
2885 | "rawQuery": false,
2886 | "refId": "A",
2887 | "resultFormat": "time_series",
2888 | "select": [
2889 | [
2890 | {
2891 | "params": [
2892 | "failure_ratio"
2893 | ],
2894 | "type": "field"
2895 | },
2896 | {
2897 | "params": [],
2898 | "type": "distinct"
2899 | }
2900 | ]
2901 | ],
2902 | "tags": [
2903 | {
2904 | "key": "type",
2905 | "operator": "=",
2906 | "value": "B7"
2907 | }
2908 | ]
2909 | }
2910 | ],
2911 | "thresholds": "25",
2912 | "title": "Bearing 7 (KMeans)",
2913 | "type": "singlestat",
2914 | "valueFontSize": "80%",
2915 | "valueMaps": [
2916 | {
2917 | "op": "=",
2918 | "text": "N/A",
2919 | "value": "null"
2920 | }
2921 | ],
2922 | "valueName": "avg"
2923 | },
2924 | {
2925 | "cacheTimeout": null,
2926 | "colorBackground": false,
2927 | "colorValue": false,
2928 | "colors": [
2929 | "#299c46",
2930 | "rgba(237, 129, 40, 0.89)",
2931 | "#d44a3a"
2932 | ],
2933 | "datasource": "${DS_PREDICTIONS_TESTSET1}",
2934 | "format": "none",
2935 | "gauge": {
2936 | "maxValue": 100,
2937 | "minValue": 0,
2938 | "show": true,
2939 | "thresholdLabels": true,
2940 | "thresholdMarkers": true
2941 | },
2942 | "gridPos": {
2943 | "h": 5,
2944 | "w": 3,
2945 | "x": 21,
2946 | "y": 20
2947 | },
2948 | "id": 58,
2949 | "interval": null,
2950 | "links": [],
2951 | "mappingType": 1,
2952 | "mappingTypes": [
2953 | {
2954 | "name": "value to text",
2955 | "value": 1
2956 | },
2957 | {
2958 | "name": "range to text",
2959 | "value": 2
2960 | }
2961 | ],
2962 | "maxDataPoints": 100,
2963 | "nullPointMode": "connected",
2964 | "nullText": null,
2965 | "postfix": "",
2966 | "postfixFontSize": "50%",
2967 | "prefix": "",
2968 | "prefixFontSize": "50%",
2969 | "rangeMaps": [
2970 | {
2971 | "from": "null",
2972 | "text": "N/A",
2973 | "to": "null"
2974 | }
2975 | ],
2976 | "sparkline": {
2977 | "fillColor": "rgba(31, 118, 189, 0.18)",
2978 | "full": false,
2979 | "lineColor": "rgb(31, 120, 193)",
2980 | "show": false
2981 | },
2982 | "tableColumn": "",
2983 | "targets": [
2984 | {
2985 | "groupBy": [
2986 | {
2987 | "params": [
2988 | "$__interval"
2989 | ],
2990 | "type": "time"
2991 | },
2992 | {
2993 | "params": [
2994 | "null"
2995 | ],
2996 | "type": "fill"
2997 | }
2998 | ],
2999 | "measurement": "Kmeans",
3000 | "orderByTime": "ASC",
3001 | "policy": "default",
3002 | "query": "SELECT distinct(\"failure_ratio\") FROM \"Kmeans\" WHERE (\"type\" = 'B1') AND $timeFilter GROUP BY time($__interval) fill(null)",
3003 | "rawQuery": false,
3004 | "refId": "A",
3005 | "resultFormat": "time_series",
3006 | "select": [
3007 | [
3008 | {
3009 | "params": [
3010 | "failure_ratio"
3011 | ],
3012 | "type": "field"
3013 | },
3014 | {
3015 | "params": [],
3016 | "type": "distinct"
3017 | }
3018 | ]
3019 | ],
3020 | "tags": [
3021 | {
3022 | "key": "type",
3023 | "operator": "=",
3024 | "value": "B8"
3025 | }
3026 | ]
3027 | }
3028 | ],
3029 | "thresholds": "25",
3030 | "title": "Bearing 8 (KMeans)",
3031 | "type": "singlestat",
3032 | "valueFontSize": "80%",
3033 | "valueMaps": [
3034 | {
3035 | "op": "=",
3036 | "text": "N/A",
3037 | "value": "null"
3038 | }
3039 | ],
3040 | "valueName": "avg"
3041 | },
3042 | {
3043 | "collapsed": false,
3044 | "gridPos": {
3045 | "h": 1,
3046 | "w": 24,
3047 | "x": 0,
3048 | "y": 25
3049 | },
3050 | "id": 40,
3051 | "panels": [],
3052 | "title": "Gaussian Mixture Model (GMM)",
3053 | "type": "row"
3054 | },
3055 | {
3056 | "cacheTimeout": null,
3057 | "colorBackground": false,
3058 | "colorValue": false,
3059 | "colors": [
3060 | "#299c46",
3061 | "rgba(237, 129, 40, 0.89)",
3062 | "#d44a3a"
3063 | ],
3064 | "datasource": "${DS_PREDICTIONS_TESTSET1}",
3065 | "format": "none",
3066 | "gauge": {
3067 | "maxValue": 100,
3068 | "minValue": 0,
3069 | "show": true,
3070 | "thresholdLabels": true,
3071 | "thresholdMarkers": true
3072 | },
3073 | "gridPos": {
3074 | "h": 5,
3075 | "w": 3,
3076 | "x": 0,
3077 | "y": 26
3078 | },
3079 | "id": 26,
3080 | "interval": null,
3081 | "links": [],
3082 | "mappingType": 1,
3083 | "mappingTypes": [
3084 | {
3085 | "name": "value to text",
3086 | "value": 1
3087 | },
3088 | {
3089 | "name": "range to text",
3090 | "value": 2
3091 | }
3092 | ],
3093 | "maxDataPoints": 100,
3094 | "nullPointMode": "connected",
3095 | "nullText": null,
3096 | "postfix": "",
3097 | "postfixFontSize": "50%",
3098 | "prefix": "",
3099 | "prefixFontSize": "50%",
3100 | "rangeMaps": [
3101 | {
3102 | "from": "null",
3103 | "text": "N/A",
3104 | "to": "null"
3105 | }
3106 | ],
3107 | "sparkline": {
3108 | "fillColor": "rgba(31, 118, 189, 0.18)",
3109 | "full": false,
3110 | "lineColor": "rgb(31, 120, 193)",
3111 | "show": false
3112 | },
3113 | "tableColumn": "",
3114 | "targets": [
3115 | {
3116 | "groupBy": [
3117 | {
3118 | "params": [
3119 | "$__interval"
3120 | ],
3121 | "type": "time"
3122 | },
3123 | {
3124 | "params": [
3125 | "null"
3126 | ],
3127 | "type": "fill"
3128 | }
3129 | ],
3130 | "measurement": "GMM",
3131 | "orderByTime": "ASC",
3132 | "policy": "default",
3133 | "query": "SELECT distinct(\"failure_ratio\") FROM \"GMM\" WHERE (\"type\" = 'B1') AND $timeFilter GROUP BY time($__interval) fill(null)",
3134 | "rawQuery": true,
3135 | "refId": "A",
3136 | "resultFormat": "time_series",
3137 | "select": [
3138 | [
3139 | {
3140 | "params": [
3141 | "failure_ratio"
3142 | ],
3143 | "type": "field"
3144 | },
3145 | {
3146 | "params": [],
3147 | "type": "distinct"
3148 | }
3149 | ]
3150 | ],
3151 | "tags": [
3152 | {
3153 | "key": "type",
3154 | "operator": "=",
3155 | "value": "B1"
3156 | }
3157 | ]
3158 | }
3159 | ],
3160 | "thresholds": "30",
3161 | "title": "Bearing 1 (GMM)",
3162 | "type": "singlestat",
3163 | "valueFontSize": "80%",
3164 | "valueMaps": [
3165 | {
3166 | "op": "=",
3167 | "text": "N/A",
3168 | "value": "null"
3169 | }
3170 | ],
3171 | "valueName": "avg"
3172 | },
3173 | {
3174 | "cacheTimeout": null,
3175 | "colorBackground": false,
3176 | "colorValue": false,
3177 | "colors": [
3178 | "#299c46",
3179 | "rgba(237, 129, 40, 0.89)",
3180 | "#d44a3a"
3181 | ],
3182 | "datasource": "${DS_PREDICTIONS_TESTSET1}",
3183 | "format": "none",
3184 | "gauge": {
3185 | "maxValue": 100,
3186 | "minValue": 0,
3187 | "show": true,
3188 | "thresholdLabels": true,
3189 | "thresholdMarkers": true
3190 | },
3191 | "gridPos": {
3192 | "h": 5,
3193 | "w": 3,
3194 | "x": 3,
3195 | "y": 26
3196 | },
3197 | "id": 28,
3198 | "interval": null,
3199 | "links": [],
3200 | "mappingType": 1,
3201 | "mappingTypes": [
3202 | {
3203 | "name": "value to text",
3204 | "value": 1
3205 | },
3206 | {
3207 | "name": "range to text",
3208 | "value": 2
3209 | }
3210 | ],
3211 | "maxDataPoints": 100,
3212 | "nullPointMode": "connected",
3213 | "nullText": null,
3214 | "postfix": "",
3215 | "postfixFontSize": "50%",
3216 | "prefix": "",
3217 | "prefixFontSize": "50%",
3218 | "rangeMaps": [
3219 | {
3220 | "from": "null",
3221 | "text": "N/A",
3222 | "to": "null"
3223 | }
3224 | ],
3225 | "sparkline": {
3226 | "fillColor": "rgba(31, 118, 189, 0.18)",
3227 | "full": false,
3228 | "lineColor": "rgb(31, 120, 193)",
3229 | "show": false
3230 | },
3231 | "tableColumn": "",
3232 | "targets": [
3233 | {
3234 | "groupBy": [
3235 | {
3236 | "params": [
3237 | "$__interval"
3238 | ],
3239 | "type": "time"
3240 | },
3241 | {
3242 | "params": [
3243 | "null"
3244 | ],
3245 | "type": "fill"
3246 | }
3247 | ],
3248 | "measurement": "GMM",
3249 | "orderByTime": "ASC",
3250 | "policy": "default",
3251 | "refId": "A",
3252 | "resultFormat": "time_series",
3253 | "select": [
3254 | [
3255 | {
3256 | "params": [
3257 | "failure_ratio"
3258 | ],
3259 | "type": "field"
3260 | },
3261 | {
3262 | "params": [],
3263 | "type": "distinct"
3264 | }
3265 | ]
3266 | ],
3267 | "tags": [
3268 | {
3269 | "key": "type",
3270 | "operator": "=",
3271 | "value": "B2"
3272 | }
3273 | ]
3274 | }
3275 | ],
3276 | "thresholds": "30",
3277 | "title": "Bearing 2 (GMM)",
3278 | "type": "singlestat",
3279 | "valueFontSize": "80%",
3280 | "valueMaps": [
3281 | {
3282 | "op": "=",
3283 | "text": "N/A",
3284 | "value": "null"
3285 | }
3286 | ],
3287 | "valueName": "avg"
3288 | },
3289 | {
3290 | "cacheTimeout": null,
3291 | "colorBackground": false,
3292 | "colorValue": false,
3293 | "colors": [
3294 | "#299c46",
3295 | "rgba(237, 129, 40, 0.89)",
3296 | "#d44a3a"
3297 | ],
3298 | "datasource": "${DS_PREDICTIONS_TESTSET1}",
3299 | "format": "none",
3300 | "gauge": {
3301 | "maxValue": 100,
3302 | "minValue": 0,
3303 | "show": true,
3304 | "thresholdLabels": true,
3305 | "thresholdMarkers": true
3306 | },
3307 | "gridPos": {
3308 | "h": 5,
3309 | "w": 3,
3310 | "x": 6,
3311 | "y": 26
3312 | },
3313 | "id": 30,
3314 | "interval": null,
3315 | "links": [],
3316 | "mappingType": 1,
3317 | "mappingTypes": [
3318 | {
3319 | "name": "value to text",
3320 | "value": 1
3321 | },
3322 | {
3323 | "name": "range to text",
3324 | "value": 2
3325 | }
3326 | ],
3327 | "maxDataPoints": 100,
3328 | "nullPointMode": "connected",
3329 | "nullText": null,
3330 | "postfix": "",
3331 | "postfixFontSize": "50%",
3332 | "prefix": "",
3333 | "prefixFontSize": "50%",
3334 | "rangeMaps": [
3335 | {
3336 | "from": "null",
3337 | "text": "N/A",
3338 | "to": "null"
3339 | }
3340 | ],
3341 | "sparkline": {
3342 | "fillColor": "rgba(31, 118, 189, 0.18)",
3343 | "full": false,
3344 | "lineColor": "rgb(31, 120, 193)",
3345 | "show": false
3346 | },
3347 | "tableColumn": "",
3348 | "targets": [
3349 | {
3350 | "groupBy": [
3351 | {
3352 | "params": [
3353 | "$__interval"
3354 | ],
3355 | "type": "time"
3356 | },
3357 | {
3358 | "params": [
3359 | "null"
3360 | ],
3361 | "type": "fill"
3362 | }
3363 | ],
3364 | "measurement": "GMM",
3365 | "orderByTime": "ASC",
3366 | "policy": "default",
3367 | "refId": "A",
3368 | "resultFormat": "time_series",
3369 | "select": [
3370 | [
3371 | {
3372 | "params": [
3373 | "failure_ratio"
3374 | ],
3375 | "type": "field"
3376 | },
3377 | {
3378 | "params": [],
3379 | "type": "distinct"
3380 | }
3381 | ]
3382 | ],
3383 | "tags": [
3384 | {
3385 | "key": "type",
3386 | "operator": "=",
3387 | "value": "B3"
3388 | }
3389 | ]
3390 | }
3391 | ],
3392 | "thresholds": "30",
3393 | "title": "Bearing 3 (GMM)",
3394 | "type": "singlestat",
3395 | "valueFontSize": "80%",
3396 | "valueMaps": [
3397 | {
3398 | "op": "=",
3399 | "text": "N/A",
3400 | "value": "null"
3401 | }
3402 | ],
3403 | "valueName": "avg"
3404 | },
3405 | {
3406 | "cacheTimeout": null,
3407 | "colorBackground": false,
3408 | "colorValue": false,
3409 | "colors": [
3410 | "#299c46",
3411 | "rgba(237, 129, 40, 0.89)",
3412 | "#d44a3a"
3413 | ],
3414 | "datasource": "${DS_PREDICTIONS_TESTSET1}",
3415 | "format": "none",
3416 | "gauge": {
3417 | "maxValue": 100,
3418 | "minValue": 0,
3419 | "show": true,
3420 | "thresholdLabels": true,
3421 | "thresholdMarkers": true
3422 | },
3423 | "gridPos": {
3424 | "h": 5,
3425 | "w": 3,
3426 | "x": 9,
3427 | "y": 26
3428 | },
3429 | "id": 32,
3430 | "interval": null,
3431 | "links": [],
3432 | "mappingType": 1,
3433 | "mappingTypes": [
3434 | {
3435 | "name": "value to text",
3436 | "value": 1
3437 | },
3438 | {
3439 | "name": "range to text",
3440 | "value": 2
3441 | }
3442 | ],
3443 | "maxDataPoints": 100,
3444 | "nullPointMode": "connected",
3445 | "nullText": null,
3446 | "postfix": "",
3447 | "postfixFontSize": "50%",
3448 | "prefix": "",
3449 | "prefixFontSize": "50%",
3450 | "rangeMaps": [
3451 | {
3452 | "from": "null",
3453 | "text": "N/A",
3454 | "to": "null"
3455 | }
3456 | ],
3457 | "sparkline": {
3458 | "fillColor": "rgba(31, 118, 189, 0.18)",
3459 | "full": false,
3460 | "lineColor": "rgb(31, 120, 193)",
3461 | "show": false
3462 | },
3463 | "tableColumn": "",
3464 | "targets": [
3465 | {
3466 | "groupBy": [
3467 | {
3468 | "params": [
3469 | "$__interval"
3470 | ],
3471 | "type": "time"
3472 | },
3473 | {
3474 | "params": [
3475 | "null"
3476 | ],
3477 | "type": "fill"
3478 | }
3479 | ],
3480 | "measurement": "GMM",
3481 | "orderByTime": "ASC",
3482 | "policy": "default",
3483 | "refId": "A",
3484 | "resultFormat": "time_series",
3485 | "select": [
3486 | [
3487 | {
3488 | "params": [
3489 | "failure_ratio"
3490 | ],
3491 | "type": "field"
3492 | },
3493 | {
3494 | "params": [],
3495 | "type": "distinct"
3496 | }
3497 | ]
3498 | ],
3499 | "tags": [
3500 | {
3501 | "key": "type",
3502 | "operator": "=",
3503 | "value": "B4"
3504 | }
3505 | ]
3506 | }
3507 | ],
3508 | "thresholds": "30",
3509 | "title": "Bearing 4 (GMM)",
3510 | "type": "singlestat",
3511 | "valueFontSize": "80%",
3512 | "valueMaps": [
3513 | {
3514 | "op": "=",
3515 | "text": "N/A",
3516 | "value": "null"
3517 | }
3518 | ],
3519 | "valueName": "avg"
3520 | },
3521 | {
3522 | "cacheTimeout": null,
3523 | "colorBackground": false,
3524 | "colorValue": false,
3525 | "colors": [
3526 | "#299c46",
3527 | "rgba(237, 129, 40, 0.89)",
3528 | "#d44a3a"
3529 | ],
3530 | "datasource": "${DS_PREDICTIONS_TESTSET1}",
3531 | "format": "none",
3532 | "gauge": {
3533 | "maxValue": 100,
3534 | "minValue": 0,
3535 | "show": true,
3536 | "thresholdLabels": true,
3537 | "thresholdMarkers": true
3538 | },
3539 | "gridPos": {
3540 | "h": 5,
3541 | "w": 3,
3542 | "x": 12,
3543 | "y": 26
3544 | },
3545 | "id": 59,
3546 | "interval": null,
3547 | "links": [],
3548 | "mappingType": 1,
3549 | "mappingTypes": [
3550 | {
3551 | "name": "value to text",
3552 | "value": 1
3553 | },
3554 | {
3555 | "name": "range to text",
3556 | "value": 2
3557 | }
3558 | ],
3559 | "maxDataPoints": 100,
3560 | "nullPointMode": "connected",
3561 | "nullText": null,
3562 | "postfix": "",
3563 | "postfixFontSize": "50%",
3564 | "prefix": "",
3565 | "prefixFontSize": "50%",
3566 | "rangeMaps": [
3567 | {
3568 | "from": "null",
3569 | "text": "N/A",
3570 | "to": "null"
3571 | }
3572 | ],
3573 | "sparkline": {
3574 | "fillColor": "rgba(31, 118, 189, 0.18)",
3575 | "full": false,
3576 | "lineColor": "rgb(31, 120, 193)",
3577 | "show": false
3578 | },
3579 | "tableColumn": "",
3580 | "targets": [
3581 | {
3582 | "groupBy": [
3583 | {
3584 | "params": [
3585 | "$__interval"
3586 | ],
3587 | "type": "time"
3588 | },
3589 | {
3590 | "params": [
3591 | "null"
3592 | ],
3593 | "type": "fill"
3594 | }
3595 | ],
3596 | "measurement": "GMM",
3597 | "orderByTime": "ASC",
3598 | "policy": "default",
3599 | "query": "SELECT distinct(\"failure_ratio\") FROM \"GMM\" WHERE (\"type\" = 'B1') AND $timeFilter GROUP BY time($__interval) fill(null)",
3600 | "rawQuery": false,
3601 | "refId": "A",
3602 | "resultFormat": "time_series",
3603 | "select": [
3604 | [
3605 | {
3606 | "params": [
3607 | "failure_ratio"
3608 | ],
3609 | "type": "field"
3610 | },
3611 | {
3612 | "params": [],
3613 | "type": "distinct"
3614 | }
3615 | ]
3616 | ],
3617 | "tags": [
3618 | {
3619 | "key": "type",
3620 | "operator": "=",
3621 | "value": "B5"
3622 | }
3623 | ]
3624 | }
3625 | ],
3626 | "thresholds": "30",
3627 | "title": "Bearing 5 (GMM)",
3628 | "type": "singlestat",
3629 | "valueFontSize": "80%",
3630 | "valueMaps": [
3631 | {
3632 | "op": "=",
3633 | "text": "N/A",
3634 | "value": "null"
3635 | }
3636 | ],
3637 | "valueName": "avg"
3638 | },
3639 | {
3640 | "cacheTimeout": null,
3641 | "colorBackground": false,
3642 | "colorValue": false,
3643 | "colors": [
3644 | "#299c46",
3645 | "rgba(237, 129, 40, 0.89)",
3646 | "#d44a3a"
3647 | ],
3648 | "datasource": "${DS_PREDICTIONS_TESTSET1}",
3649 | "format": "none",
3650 | "gauge": {
3651 | "maxValue": 100,
3652 | "minValue": 0,
3653 | "show": true,
3654 | "thresholdLabels": true,
3655 | "thresholdMarkers": true
3656 | },
3657 | "gridPos": {
3658 | "h": 5,
3659 | "w": 3,
3660 | "x": 15,
3661 | "y": 26
3662 | },
3663 | "id": 61,
3664 | "interval": null,
3665 | "links": [],
3666 | "mappingType": 1,
3667 | "mappingTypes": [
3668 | {
3669 | "name": "value to text",
3670 | "value": 1
3671 | },
3672 | {
3673 | "name": "range to text",
3674 | "value": 2
3675 | }
3676 | ],
3677 | "maxDataPoints": 100,
3678 | "nullPointMode": "connected",
3679 | "nullText": null,
3680 | "postfix": "",
3681 | "postfixFontSize": "50%",
3682 | "prefix": "",
3683 | "prefixFontSize": "50%",
3684 | "rangeMaps": [
3685 | {
3686 | "from": "null",
3687 | "text": "N/A",
3688 | "to": "null"
3689 | }
3690 | ],
3691 | "sparkline": {
3692 | "fillColor": "rgba(31, 118, 189, 0.18)",
3693 | "full": false,
3694 | "lineColor": "rgb(31, 120, 193)",
3695 | "show": false
3696 | },
3697 | "tableColumn": "",
3698 | "targets": [
3699 | {
3700 | "groupBy": [
3701 | {
3702 | "params": [
3703 | "$__interval"
3704 | ],
3705 | "type": "time"
3706 | },
3707 | {
3708 | "params": [
3709 | "null"
3710 | ],
3711 | "type": "fill"
3712 | }
3713 | ],
3714 | "measurement": "GMM",
3715 | "orderByTime": "ASC",
3716 | "policy": "default",
3717 | "refId": "A",
3718 | "resultFormat": "time_series",
3719 | "select": [
3720 | [
3721 | {
3722 | "params": [
3723 | "failure_ratio"
3724 | ],
3725 | "type": "field"
3726 | },
3727 | {
3728 | "params": [],
3729 | "type": "distinct"
3730 | }
3731 | ]
3732 | ],
3733 | "tags": [
3734 | {
3735 | "key": "type",
3736 | "operator": "=",
3737 | "value": "B6"
3738 | }
3739 | ]
3740 | }
3741 | ],
3742 | "thresholds": "30",
3743 | "title": "Bearing 6 (GMM)",
3744 | "type": "singlestat",
3745 | "valueFontSize": "80%",
3746 | "valueMaps": [
3747 | {
3748 | "op": "=",
3749 | "text": "N/A",
3750 | "value": "null"
3751 | }
3752 | ],
3753 | "valueName": "avg"
3754 | },
3755 | {
3756 | "cacheTimeout": null,
3757 | "colorBackground": false,
3758 | "colorValue": false,
3759 | "colors": [
3760 | "#299c46",
3761 | "rgba(237, 129, 40, 0.89)",
3762 | "#d44a3a"
3763 | ],
3764 | "datasource": "${DS_PREDICTIONS_TESTSET1}",
3765 | "format": "none",
3766 | "gauge": {
3767 | "maxValue": 100,
3768 | "minValue": 0,
3769 | "show": true,
3770 | "thresholdLabels": true,
3771 | "thresholdMarkers": true
3772 | },
3773 | "gridPos": {
3774 | "h": 5,
3775 | "w": 3,
3776 | "x": 18,
3777 | "y": 26
3778 | },
3779 | "id": 60,
3780 | "interval": null,
3781 | "links": [],
3782 | "mappingType": 1,
3783 | "mappingTypes": [
3784 | {
3785 | "name": "value to text",
3786 | "value": 1
3787 | },
3788 | {
3789 | "name": "range to text",
3790 | "value": 2
3791 | }
3792 | ],
3793 | "maxDataPoints": 100,
3794 | "nullPointMode": "connected",
3795 | "nullText": null,
3796 | "postfix": "",
3797 | "postfixFontSize": "50%",
3798 | "prefix": "",
3799 | "prefixFontSize": "50%",
3800 | "rangeMaps": [
3801 | {
3802 | "from": "null",
3803 | "text": "N/A",
3804 | "to": "null"
3805 | }
3806 | ],
3807 | "sparkline": {
3808 | "fillColor": "rgba(31, 118, 189, 0.18)",
3809 | "full": false,
3810 | "lineColor": "rgb(31, 120, 193)",
3811 | "show": false
3812 | },
3813 | "tableColumn": "",
3814 | "targets": [
3815 | {
3816 | "groupBy": [
3817 | {
3818 | "params": [
3819 | "$__interval"
3820 | ],
3821 | "type": "time"
3822 | },
3823 | {
3824 | "params": [
3825 | "null"
3826 | ],
3827 | "type": "fill"
3828 | }
3829 | ],
3830 | "measurement": "GMM",
3831 | "orderByTime": "ASC",
3832 | "policy": "default",
3833 | "refId": "A",
3834 | "resultFormat": "time_series",
3835 | "select": [
3836 | [
3837 | {
3838 | "params": [
3839 | "failure_ratio"
3840 | ],
3841 | "type": "field"
3842 | },
3843 | {
3844 | "params": [],
3845 | "type": "distinct"
3846 | }
3847 | ]
3848 | ],
3849 | "tags": [
3850 | {
3851 | "key": "type",
3852 | "operator": "=",
3853 | "value": "B7"
3854 | }
3855 | ]
3856 | }
3857 | ],
3858 | "thresholds": "30",
3859 | "title": "Bearing 7 (GMM)",
3860 | "type": "singlestat",
3861 | "valueFontSize": "80%",
3862 | "valueMaps": [
3863 | {
3864 | "op": "=",
3865 | "text": "N/A",
3866 | "value": "null"
3867 | }
3868 | ],
3869 | "valueName": "avg"
3870 | },
3871 | {
3872 | "cacheTimeout": null,
3873 | "colorBackground": false,
3874 | "colorValue": false,
3875 | "colors": [
3876 | "#299c46",
3877 | "rgba(237, 129, 40, 0.89)",
3878 | "#d44a3a"
3879 | ],
3880 | "datasource": "${DS_PREDICTIONS_TESTSET1}",
3881 | "format": "none",
3882 | "gauge": {
3883 | "maxValue": 100,
3884 | "minValue": 0,
3885 | "show": true,
3886 | "thresholdLabels": true,
3887 | "thresholdMarkers": true
3888 | },
3889 | "gridPos": {
3890 | "h": 5,
3891 | "w": 3,
3892 | "x": 21,
3893 | "y": 26
3894 | },
3895 | "id": 62,
3896 | "interval": null,
3897 | "links": [],
3898 | "mappingType": 1,
3899 | "mappingTypes": [
3900 | {
3901 | "name": "value to text",
3902 | "value": 1
3903 | },
3904 | {
3905 | "name": "range to text",
3906 | "value": 2
3907 | }
3908 | ],
3909 | "maxDataPoints": 100,
3910 | "nullPointMode": "connected",
3911 | "nullText": null,
3912 | "postfix": "",
3913 | "postfixFontSize": "50%",
3914 | "prefix": "",
3915 | "prefixFontSize": "50%",
3916 | "rangeMaps": [
3917 | {
3918 | "from": "null",
3919 | "text": "N/A",
3920 | "to": "null"
3921 | }
3922 | ],
3923 | "sparkline": {
3924 | "fillColor": "rgba(31, 118, 189, 0.18)",
3925 | "full": false,
3926 | "lineColor": "rgb(31, 120, 193)",
3927 | "show": false
3928 | },
3929 | "tableColumn": "",
3930 | "targets": [
3931 | {
3932 | "groupBy": [
3933 | {
3934 | "params": [
3935 | "$__interval"
3936 | ],
3937 | "type": "time"
3938 | },
3939 | {
3940 | "params": [
3941 | "null"
3942 | ],
3943 | "type": "fill"
3944 | }
3945 | ],
3946 | "measurement": "GMM",
3947 | "orderByTime": "ASC",
3948 | "policy": "default",
3949 | "refId": "A",
3950 | "resultFormat": "time_series",
3951 | "select": [
3952 | [
3953 | {
3954 | "params": [
3955 | "failure_ratio"
3956 | ],
3957 | "type": "field"
3958 | },
3959 | {
3960 | "params": [],
3961 | "type": "distinct"
3962 | }
3963 | ]
3964 | ],
3965 | "tags": [
3966 | {
3967 | "key": "type",
3968 | "operator": "=",
3969 | "value": "B8"
3970 | }
3971 | ]
3972 | }
3973 | ],
3974 | "thresholds": "30",
3975 | "title": "Bearing 8 (GMM)",
3976 | "type": "singlestat",
3977 | "valueFontSize": "80%",
3978 | "valueMaps": [
3979 | {
3980 | "op": "=",
3981 | "text": "N/A",
3982 | "value": "null"
3983 | }
3984 | ],
3985 | "valueName": "avg"
3986 | },
3987 | {
3988 | "collapsed": false,
3989 | "gridPos": {
3990 | "h": 1,
3991 | "w": 24,
3992 | "x": 0,
3993 | "y": 31
3994 | },
3995 | "id": 10,
3996 | "panels": [],
3997 | "title": "Logistic Regression",
3998 | "type": "row"
3999 | },
4000 | {
4001 | "cacheTimeout": null,
4002 | "colorBackground": false,
4003 | "colorValue": false,
4004 | "colors": [
4005 | "#299c46",
4006 | "rgba(237, 129, 40, 0.89)",
4007 | "#d44a3a"
4008 | ],
4009 | "datasource": "${DS_PREDICTIONS_TESTSET1}",
4010 | "format": "none",
4011 | "gauge": {
4012 | "maxValue": 100,
4013 | "minValue": 0,
4014 | "show": true,
4015 | "thresholdLabels": true,
4016 | "thresholdMarkers": true
4017 | },
4018 | "gridPos": {
4019 | "h": 5,
4020 | "w": 3,
4021 | "x": 0,
4022 | "y": 32
4023 | },
4024 | "id": 8,
4025 | "interval": null,
4026 | "links": [],
4027 | "mappingType": 1,
4028 | "mappingTypes": [
4029 | {
4030 | "name": "value to text",
4031 | "value": 1
4032 | },
4033 | {
4034 | "name": "range to text",
4035 | "value": 2
4036 | }
4037 | ],
4038 | "maxDataPoints": 100,
4039 | "nullPointMode": "connected",
4040 | "nullText": null,
4041 | "postfix": "",
4042 | "postfixFontSize": "50%",
4043 | "prefix": "",
4044 | "prefixFontSize": "50%",
4045 | "rangeMaps": [
4046 | {
4047 | "from": "null",
4048 | "text": "N/A",
4049 | "to": "null"
4050 | }
4051 | ],
4052 | "sparkline": {
4053 | "fillColor": "rgba(31, 118, 189, 0.18)",
4054 | "full": false,
4055 | "lineColor": "rgb(31, 120, 193)",
4056 | "show": false
4057 | },
4058 | "tableColumn": "",
4059 | "targets": [
4060 | {
4061 | "groupBy": [
4062 | {
4063 | "params": [
4064 | "$__interval"
4065 | ],
4066 | "type": "time"
4067 | },
4068 | {
4069 | "params": [
4070 | "null"
4071 | ],
4072 | "type": "fill"
4073 | }
4074 | ],
4075 | "measurement": "LR",
4076 | "orderByTime": "ASC",
4077 | "policy": "default",
4078 | "query": "SELECT distinct(\"label\") FROM \"LR\" WHERE (\"type\" = 'B1') AND $timeFilter GROUP BY time($__interval) fill(null)",
4079 | "rawQuery": false,
4080 | "refId": "A",
4081 | "resultFormat": "time_series",
4082 | "select": [
4083 | [
4084 | {
4085 | "params": [
4086 | "label"
4087 | ],
4088 | "type": "field"
4089 | },
4090 | {
4091 | "params": [],
4092 | "type": "distinct"
4093 | }
4094 | ]
4095 | ],
4096 | "tags": [
4097 | {
4098 | "key": "type",
4099 | "operator": "=",
4100 | "value": "B1"
4101 | }
4102 | ]
4103 | }
4104 | ],
4105 | "thresholds": "35",
4106 | "title": "Bearing 1 (Logistic Regression)",
4107 | "type": "singlestat",
4108 | "valueFontSize": "80%",
4109 | "valueMaps": [
4110 | {
4111 | "op": "=",
4112 | "text": "N/A",
4113 | "value": "null"
4114 | }
4115 | ],
4116 | "valueName": "avg"
4117 | },
4118 | {
4119 | "cacheTimeout": null,
4120 | "colorBackground": false,
4121 | "colorValue": false,
4122 | "colors": [
4123 | "#299c46",
4124 | "rgba(237, 129, 40, 0.89)",
4125 | "#d44a3a"
4126 | ],
4127 | "datasource": "${DS_PREDICTIONS_TESTSET1}",
4128 | "format": "none",
4129 | "gauge": {
4130 | "maxValue": 100,
4131 | "minValue": 0,
4132 | "show": true,
4133 | "thresholdLabels": true,
4134 | "thresholdMarkers": true
4135 | },
4136 | "gridPos": {
4137 | "h": 5,
4138 | "w": 3,
4139 | "x": 3,
4140 | "y": 32
4141 | },
4142 | "id": 12,
4143 | "interval": null,
4144 | "links": [],
4145 | "mappingType": 1,
4146 | "mappingTypes": [
4147 | {
4148 | "name": "value to text",
4149 | "value": 1
4150 | },
4151 | {
4152 | "name": "range to text",
4153 | "value": 2
4154 | }
4155 | ],
4156 | "maxDataPoints": 100,
4157 | "nullPointMode": "connected",
4158 | "nullText": null,
4159 | "postfix": "",
4160 | "postfixFontSize": "50%",
4161 | "prefix": "",
4162 | "prefixFontSize": "50%",
4163 | "rangeMaps": [
4164 | {
4165 | "from": "null",
4166 | "text": "N/A",
4167 | "to": "null"
4168 | }
4169 | ],
4170 | "sparkline": {
4171 | "fillColor": "rgba(31, 118, 189, 0.18)",
4172 | "full": false,
4173 | "lineColor": "rgb(31, 120, 193)",
4174 | "show": false
4175 | },
4176 | "tableColumn": "",
4177 | "targets": [
4178 | {
4179 | "groupBy": [
4180 | {
4181 | "params": [
4182 | "$__interval"
4183 | ],
4184 | "type": "time"
4185 | },
4186 | {
4187 | "params": [
4188 | "null"
4189 | ],
4190 | "type": "fill"
4191 | }
4192 | ],
4193 | "measurement": "LR",
4194 | "orderByTime": "ASC",
4195 | "policy": "default",
4196 | "refId": "A",
4197 | "resultFormat": "time_series",
4198 | "select": [
4199 | [
4200 | {
4201 | "params": [
4202 | "label"
4203 | ],
4204 | "type": "field"
4205 | },
4206 | {
4207 | "params": [],
4208 | "type": "distinct"
4209 | }
4210 | ]
4211 | ],
4212 | "tags": [
4213 | {
4214 | "key": "type",
4215 | "operator": "=",
4216 | "value": "B2"
4217 | }
4218 | ]
4219 | }
4220 | ],
4221 | "thresholds": "35",
4222 | "title": "Bearing 2 (Logistic Regression)",
4223 | "type": "singlestat",
4224 | "valueFontSize": "80%",
4225 | "valueMaps": [
4226 | {
4227 | "op": "=",
4228 | "text": "N/A",
4229 | "value": "null"
4230 | }
4231 | ],
4232 | "valueName": "avg"
4233 | },
4234 | {
4235 | "cacheTimeout": null,
4236 | "colorBackground": false,
4237 | "colorValue": false,
4238 | "colors": [
4239 | "#299c46",
4240 | "rgba(237, 129, 40, 0.89)",
4241 | "#d44a3a"
4242 | ],
4243 | "datasource": "${DS_PREDICTIONS_TESTSET1}",
4244 | "format": "none",
4245 | "gauge": {
4246 | "maxValue": 100,
4247 | "minValue": 0,
4248 | "show": true,
4249 | "thresholdLabels": true,
4250 | "thresholdMarkers": true
4251 | },
4252 | "gridPos": {
4253 | "h": 5,
4254 | "w": 3,
4255 | "x": 6,
4256 | "y": 32
4257 | },
4258 | "id": 14,
4259 | "interval": null,
4260 | "links": [],
4261 | "mappingType": 1,
4262 | "mappingTypes": [
4263 | {
4264 | "name": "value to text",
4265 | "value": 1
4266 | },
4267 | {
4268 | "name": "range to text",
4269 | "value": 2
4270 | }
4271 | ],
4272 | "maxDataPoints": 100,
4273 | "nullPointMode": "connected",
4274 | "nullText": null,
4275 | "postfix": "",
4276 | "postfixFontSize": "50%",
4277 | "prefix": "",
4278 | "prefixFontSize": "50%",
4279 | "rangeMaps": [
4280 | {
4281 | "from": "null",
4282 | "text": "N/A",
4283 | "to": "null"
4284 | }
4285 | ],
4286 | "sparkline": {
4287 | "fillColor": "rgba(31, 118, 189, 0.18)",
4288 | "full": false,
4289 | "lineColor": "rgb(31, 120, 193)",
4290 | "show": false
4291 | },
4292 | "tableColumn": "",
4293 | "targets": [
4294 | {
4295 | "groupBy": [
4296 | {
4297 | "params": [
4298 | "$__interval"
4299 | ],
4300 | "type": "time"
4301 | },
4302 | {
4303 | "params": [
4304 | "null"
4305 | ],
4306 | "type": "fill"
4307 | }
4308 | ],
4309 | "measurement": "LR",
4310 | "orderByTime": "ASC",
4311 | "policy": "default",
4312 | "refId": "A",
4313 | "resultFormat": "time_series",
4314 | "select": [
4315 | [
4316 | {
4317 | "params": [
4318 | "label"
4319 | ],
4320 | "type": "field"
4321 | },
4322 | {
4323 | "params": [],
4324 | "type": "distinct"
4325 | }
4326 | ]
4327 | ],
4328 | "tags": [
4329 | {
4330 | "key": "type",
4331 | "operator": "=",
4332 | "value": "B3"
4333 | }
4334 | ]
4335 | }
4336 | ],
4337 | "thresholds": "35",
4338 | "title": "Bearing 3 (Logistic Regression)",
4339 | "type": "singlestat",
4340 | "valueFontSize": "80%",
4341 | "valueMaps": [
4342 | {
4343 | "op": "=",
4344 | "text": "N/A",
4345 | "value": "null"
4346 | }
4347 | ],
4348 | "valueName": "avg"
4349 | },
4350 | {
4351 | "cacheTimeout": null,
4352 | "colorBackground": false,
4353 | "colorValue": false,
4354 | "colors": [
4355 | "#299c46",
4356 | "rgba(237, 129, 40, 0.89)",
4357 | "#d44a3a"
4358 | ],
4359 | "datasource": "${DS_PREDICTIONS_TESTSET1}",
4360 | "format": "none",
4361 | "gauge": {
4362 | "maxValue": 100,
4363 | "minValue": 0,
4364 | "show": true,
4365 | "thresholdLabels": true,
4366 | "thresholdMarkers": true
4367 | },
4368 | "gridPos": {
4369 | "h": 5,
4370 | "w": 3,
4371 | "x": 9,
4372 | "y": 32
4373 | },
4374 | "id": 16,
4375 | "interval": null,
4376 | "links": [],
4377 | "mappingType": 1,
4378 | "mappingTypes": [
4379 | {
4380 | "name": "value to text",
4381 | "value": 1
4382 | },
4383 | {
4384 | "name": "range to text",
4385 | "value": 2
4386 | }
4387 | ],
4388 | "maxDataPoints": 100,
4389 | "nullPointMode": "connected",
4390 | "nullText": null,
4391 | "postfix": "",
4392 | "postfixFontSize": "50%",
4393 | "prefix": "",
4394 | "prefixFontSize": "50%",
4395 | "rangeMaps": [
4396 | {
4397 | "from": "null",
4398 | "text": "N/A",
4399 | "to": "null"
4400 | }
4401 | ],
4402 | "sparkline": {
4403 | "fillColor": "rgba(31, 118, 189, 0.18)",
4404 | "full": false,
4405 | "lineColor": "rgb(31, 120, 193)",
4406 | "show": false
4407 | },
4408 | "tableColumn": "",
4409 | "targets": [
4410 | {
4411 | "groupBy": [
4412 | {
4413 | "params": [
4414 | "$__interval"
4415 | ],
4416 | "type": "time"
4417 | },
4418 | {
4419 | "params": [
4420 | "null"
4421 | ],
4422 | "type": "fill"
4423 | }
4424 | ],
4425 | "measurement": "LR",
4426 | "orderByTime": "ASC",
4427 | "policy": "default",
4428 | "refId": "A",
4429 | "resultFormat": "time_series",
4430 | "select": [
4431 | [
4432 | {
4433 | "params": [
4434 | "label"
4435 | ],
4436 | "type": "field"
4437 | },
4438 | {
4439 | "params": [],
4440 | "type": "distinct"
4441 | }
4442 | ]
4443 | ],
4444 | "tags": [
4445 | {
4446 | "key": "type",
4447 | "operator": "=",
4448 | "value": "B4"
4449 | }
4450 | ]
4451 | }
4452 | ],
4453 | "thresholds": "35",
4454 | "title": "Bearing 4 (Logistic Regression)",
4455 | "type": "singlestat",
4456 | "valueFontSize": "80%",
4457 | "valueMaps": [
4458 | {
4459 | "op": "=",
4460 | "text": "N/A",
4461 | "value": "null"
4462 | }
4463 | ],
4464 | "valueName": "avg"
4465 | },
4466 | {
4467 | "cacheTimeout": null,
4468 | "colorBackground": false,
4469 | "colorValue": false,
4470 | "colors": [
4471 | "#299c46",
4472 | "rgba(237, 129, 40, 0.89)",
4473 | "#d44a3a"
4474 | ],
4475 | "datasource": "${DS_PREDICTIONS_TESTSET1}",
4476 | "format": "none",
4477 | "gauge": {
4478 | "maxValue": 100,
4479 | "minValue": 0,
4480 | "show": true,
4481 | "thresholdLabels": true,
4482 | "thresholdMarkers": true
4483 | },
4484 | "gridPos": {
4485 | "h": 5,
4486 | "w": 3,
4487 | "x": 12,
4488 | "y": 32
4489 | },
4490 | "id": 63,
4491 | "interval": null,
4492 | "links": [],
4493 | "mappingType": 1,
4494 | "mappingTypes": [
4495 | {
4496 | "name": "value to text",
4497 | "value": 1
4498 | },
4499 | {
4500 | "name": "range to text",
4501 | "value": 2
4502 | }
4503 | ],
4504 | "maxDataPoints": 100,
4505 | "nullPointMode": "connected",
4506 | "nullText": null,
4507 | "postfix": "",
4508 | "postfixFontSize": "50%",
4509 | "prefix": "",
4510 | "prefixFontSize": "50%",
4511 | "rangeMaps": [
4512 | {
4513 | "from": "null",
4514 | "text": "N/A",
4515 | "to": "null"
4516 | }
4517 | ],
4518 | "sparkline": {
4519 | "fillColor": "rgba(31, 118, 189, 0.18)",
4520 | "full": false,
4521 | "lineColor": "rgb(31, 120, 193)",
4522 | "show": false
4523 | },
4524 | "tableColumn": "",
4525 | "targets": [
4526 | {
4527 | "groupBy": [
4528 | {
4529 | "params": [
4530 | "$__interval"
4531 | ],
4532 | "type": "time"
4533 | },
4534 | {
4535 | "params": [
4536 | "null"
4537 | ],
4538 | "type": "fill"
4539 | }
4540 | ],
4541 | "measurement": "LR",
4542 | "orderByTime": "ASC",
4543 | "policy": "default",
4544 | "query": "SELECT distinct(\"label\") FROM \"LR\" WHERE (\"type\" = 'B1') AND $timeFilter GROUP BY time($__interval) fill(null)",
4545 | "rawQuery": false,
4546 | "refId": "A",
4547 | "resultFormat": "time_series",
4548 | "select": [
4549 | [
4550 | {
4551 | "params": [
4552 | "label"
4553 | ],
4554 | "type": "field"
4555 | },
4556 | {
4557 | "params": [],
4558 | "type": "distinct"
4559 | }
4560 | ]
4561 | ],
4562 | "tags": [
4563 | {
4564 | "key": "type",
4565 | "operator": "=",
4566 | "value": "B5"
4567 | }
4568 | ]
4569 | }
4570 | ],
4571 | "thresholds": "35",
4572 | "title": "Bearing 5 (Logistic Regression)",
4573 | "type": "singlestat",
4574 | "valueFontSize": "80%",
4575 | "valueMaps": [
4576 | {
4577 | "op": "=",
4578 | "text": "N/A",
4579 | "value": "null"
4580 | }
4581 | ],
4582 | "valueName": "avg"
4583 | },
4584 | {
4585 | "cacheTimeout": null,
4586 | "colorBackground": false,
4587 | "colorValue": false,
4588 | "colors": [
4589 | "#299c46",
4590 | "rgba(237, 129, 40, 0.89)",
4591 | "#d44a3a"
4592 | ],
4593 | "datasource": "${DS_PREDICTIONS_TESTSET1}",
4594 | "format": "none",
4595 | "gauge": {
4596 | "maxValue": 100,
4597 | "minValue": 0,
4598 | "show": true,
4599 | "thresholdLabels": true,
4600 | "thresholdMarkers": true
4601 | },
4602 | "gridPos": {
4603 | "h": 5,
4604 | "w": 3,
4605 | "x": 15,
4606 | "y": 32
4607 | },
4608 | "id": 65,
4609 | "interval": null,
4610 | "links": [],
4611 | "mappingType": 1,
4612 | "mappingTypes": [
4613 | {
4614 | "name": "value to text",
4615 | "value": 1
4616 | },
4617 | {
4618 | "name": "range to text",
4619 | "value": 2
4620 | }
4621 | ],
4622 | "maxDataPoints": 100,
4623 | "nullPointMode": "connected",
4624 | "nullText": null,
4625 | "postfix": "",
4626 | "postfixFontSize": "50%",
4627 | "prefix": "",
4628 | "prefixFontSize": "50%",
4629 | "rangeMaps": [
4630 | {
4631 | "from": "null",
4632 | "text": "N/A",
4633 | "to": "null"
4634 | }
4635 | ],
4636 | "sparkline": {
4637 | "fillColor": "rgba(31, 118, 189, 0.18)",
4638 | "full": false,
4639 | "lineColor": "rgb(31, 120, 193)",
4640 | "show": false
4641 | },
4642 | "tableColumn": "",
4643 | "targets": [
4644 | {
4645 | "groupBy": [
4646 | {
4647 | "params": [
4648 | "$__interval"
4649 | ],
4650 | "type": "time"
4651 | },
4652 | {
4653 | "params": [
4654 | "null"
4655 | ],
4656 | "type": "fill"
4657 | }
4658 | ],
4659 | "measurement": "LR",
4660 | "orderByTime": "ASC",
4661 | "policy": "default",
4662 | "refId": "A",
4663 | "resultFormat": "time_series",
4664 | "select": [
4665 | [
4666 | {
4667 | "params": [
4668 | "label"
4669 | ],
4670 | "type": "field"
4671 | },
4672 | {
4673 | "params": [],
4674 | "type": "distinct"
4675 | }
4676 | ]
4677 | ],
4678 | "tags": [
4679 | {
4680 | "key": "type",
4681 | "operator": "=",
4682 | "value": "B6"
4683 | }
4684 | ]
4685 | }
4686 | ],
4687 | "thresholds": "35",
4688 | "title": "Bearing 6 (Logistic Regression)",
4689 | "type": "singlestat",
4690 | "valueFontSize": "80%",
4691 | "valueMaps": [
4692 | {
4693 | "op": "=",
4694 | "text": "N/A",
4695 | "value": "null"
4696 | }
4697 | ],
4698 | "valueName": "avg"
4699 | },
4700 | {
4701 | "cacheTimeout": null,
4702 | "colorBackground": false,
4703 | "colorValue": false,
4704 | "colors": [
4705 | "#299c46",
4706 | "rgba(237, 129, 40, 0.89)",
4707 | "#d44a3a"
4708 | ],
4709 | "datasource": "${DS_PREDICTIONS_TESTSET1}",
4710 | "format": "none",
4711 | "gauge": {
4712 | "maxValue": 100,
4713 | "minValue": 0,
4714 | "show": true,
4715 | "thresholdLabels": true,
4716 | "thresholdMarkers": true
4717 | },
4718 | "gridPos": {
4719 | "h": 5,
4720 | "w": 3,
4721 | "x": 18,
4722 | "y": 32
4723 | },
4724 | "id": 64,
4725 | "interval": null,
4726 | "links": [],
4727 | "mappingType": 1,
4728 | "mappingTypes": [
4729 | {
4730 | "name": "value to text",
4731 | "value": 1
4732 | },
4733 | {
4734 | "name": "range to text",
4735 | "value": 2
4736 | }
4737 | ],
4738 | "maxDataPoints": 100,
4739 | "nullPointMode": "connected",
4740 | "nullText": null,
4741 | "postfix": "",
4742 | "postfixFontSize": "50%",
4743 | "prefix": "",
4744 | "prefixFontSize": "50%",
4745 | "rangeMaps": [
4746 | {
4747 | "from": "null",
4748 | "text": "N/A",
4749 | "to": "null"
4750 | }
4751 | ],
4752 | "sparkline": {
4753 | "fillColor": "rgba(31, 118, 189, 0.18)",
4754 | "full": false,
4755 | "lineColor": "rgb(31, 120, 193)",
4756 | "show": false
4757 | },
4758 | "tableColumn": "",
4759 | "targets": [
4760 | {
4761 | "groupBy": [
4762 | {
4763 | "params": [
4764 | "$__interval"
4765 | ],
4766 | "type": "time"
4767 | },
4768 | {
4769 | "params": [
4770 | "null"
4771 | ],
4772 | "type": "fill"
4773 | }
4774 | ],
4775 | "measurement": "LR",
4776 | "orderByTime": "ASC",
4777 | "policy": "default",
4778 | "refId": "A",
4779 | "resultFormat": "time_series",
4780 | "select": [
4781 | [
4782 | {
4783 | "params": [
4784 | "label"
4785 | ],
4786 | "type": "field"
4787 | },
4788 | {
4789 | "params": [],
4790 | "type": "distinct"
4791 | }
4792 | ]
4793 | ],
4794 | "tags": [
4795 | {
4796 | "key": "type",
4797 | "operator": "=",
4798 | "value": "B7"
4799 | }
4800 | ]
4801 | }
4802 | ],
4803 | "thresholds": "35",
4804 | "title": "Bearing 7 (Logistic Regression)",
4805 | "type": "singlestat",
4806 | "valueFontSize": "80%",
4807 | "valueMaps": [
4808 | {
4809 | "op": "=",
4810 | "text": "N/A",
4811 | "value": "null"
4812 | }
4813 | ],
4814 | "valueName": "avg"
4815 | },
4816 | {
4817 | "cacheTimeout": null,
4818 | "colorBackground": false,
4819 | "colorValue": false,
4820 | "colors": [
4821 | "#299c46",
4822 | "rgba(237, 129, 40, 0.89)",
4823 | "#d44a3a"
4824 | ],
4825 | "datasource": "${DS_PREDICTIONS_TESTSET1}",
4826 | "format": "none",
4827 | "gauge": {
4828 | "maxValue": 100,
4829 | "minValue": 0,
4830 | "show": true,
4831 | "thresholdLabels": true,
4832 | "thresholdMarkers": true
4833 | },
4834 | "gridPos": {
4835 | "h": 5,
4836 | "w": 3,
4837 | "x": 21,
4838 | "y": 32
4839 | },
4840 | "id": 66,
4841 | "interval": null,
4842 | "links": [],
4843 | "mappingType": 1,
4844 | "mappingTypes": [
4845 | {
4846 | "name": "value to text",
4847 | "value": 1
4848 | },
4849 | {
4850 | "name": "range to text",
4851 | "value": 2
4852 | }
4853 | ],
4854 | "maxDataPoints": 100,
4855 | "nullPointMode": "connected",
4856 | "nullText": null,
4857 | "postfix": "",
4858 | "postfixFontSize": "50%",
4859 | "prefix": "",
4860 | "prefixFontSize": "50%",
4861 | "rangeMaps": [
4862 | {
4863 | "from": "null",
4864 | "text": "N/A",
4865 | "to": "null"
4866 | }
4867 | ],
4868 | "sparkline": {
4869 | "fillColor": "rgba(31, 118, 189, 0.18)",
4870 | "full": false,
4871 | "lineColor": "rgb(31, 120, 193)",
4872 | "show": false
4873 | },
4874 | "tableColumn": "",
4875 | "targets": [
4876 | {
4877 | "groupBy": [
4878 | {
4879 | "params": [
4880 | "$__interval"
4881 | ],
4882 | "type": "time"
4883 | },
4884 | {
4885 | "params": [
4886 | "null"
4887 | ],
4888 | "type": "fill"
4889 | }
4890 | ],
4891 | "measurement": "LR",
4892 | "orderByTime": "ASC",
4893 | "policy": "default",
4894 | "refId": "A",
4895 | "resultFormat": "time_series",
4896 | "select": [
4897 | [
4898 | {
4899 | "params": [
4900 | "label"
4901 | ],
4902 | "type": "field"
4903 | },
4904 | {
4905 | "params": [],
4906 | "type": "distinct"
4907 | }
4908 | ]
4909 | ],
4910 | "tags": [
4911 | {
4912 | "key": "type",
4913 | "operator": "=",
4914 | "value": "B8"
4915 | }
4916 | ]
4917 | }
4918 | ],
4919 | "thresholds": "35",
4920 | "title": "Bearing 8 (Logistic Regression)",
4921 | "type": "singlestat",
4922 | "valueFontSize": "80%",
4923 | "valueMaps": [
4924 | {
4925 | "op": "=",
4926 | "text": "N/A",
4927 | "value": "null"
4928 | }
4929 | ],
4930 | "valueName": "avg"
4931 | }
4932 | ],
4933 | "refresh": "5s",
4934 | "schemaVersion": 16,
4935 | "style": "dark",
4936 | "tags": [],
4937 | "templating": {
4938 | "list": []
4939 | },
4940 | "time": {
4941 | "from": "now-20m",
4942 | "to": "now"
4943 | },
4944 | "timepicker": {
4945 | "refresh_intervals": [
4946 | "5s",
4947 | "10s",
4948 | "30s",
4949 | "1m",
4950 | "5m",
4951 | "15m",
4952 | "30m",
4953 | "1h",
4954 | "2h",
4955 | "1d"
4956 | ],
4957 | "time_options": [
4958 | "5m",
4959 | "15m",
4960 | "1h",
4961 | "6h",
4962 | "12h",
4963 | "24h",
4964 | "2d",
4965 | "7d",
4966 | "30d"
4967 | ]
4968 | },
4969 | "timezone": "",
4970 | "title": "motor_1_and_product_flaw_detector",
4971 | "uid": "1st_test",
4972 | "version": 1
4973 | }
--------------------------------------------------------------------------------