Browse code

[tick] BM-15051 Feat: trigger a per backend alert when sync_client process is missing

Thomas Cataldo authored on 16/07/2019 17:30:26
Showing 6 changed files
... ...
@@ -1,711 +1,755 @@
1 1
 {
2
-		"id": 6,
3
-		"cells": [
4
-			{
5
-				"i": "419a27b6-3041-4c83-bd52-614437a427d0",
6
-				"x": 8,
7
-				"y": 4,
8
-				"w": 4,
9
-				"h": 3,
10
-				"name": "Replicated per hour",
11
-				"queries": [
12
-					{
13
-						"query": "SELECT non_negative_difference(last(\"count\")) AS \"msg_count\" FROM \"telegraf\".\"autogen\".\"bm-core.cyrus-replication.applyMessage\" WHERE time > :dashboardTime: GROUP BY time(1h) FILL(null)",
14
-						"queryConfig": {
15
-							"database": "",
16
-							"measurement": "",
17
-							"retentionPolicy": "",
18
-							"fields": [],
19
-							"tags": {},
20
-							"groupBy": {
21
-								"time": "",
22
-								"tags": []
23
-							},
24
-							"areTagsAccepted": false,
25
-							"rawText": "SELECT non_negative_difference(last(\"count\")) AS \"msg_count\" FROM \"telegraf\".\"autogen\".\"bm-core.cyrus-replication.applyMessage\" WHERE time > :dashboardTime: GROUP BY time(1h) FILL(null)",
26
-							"range": null,
27
-							"shifts": null
2
+	"id": 6,
3
+	"cells": [
4
+		{
5
+			"i": "419a27b6-3041-4c83-bd52-614437a427d0",
6
+			"x": 8,
7
+			"y": 4,
8
+			"w": 4,
9
+			"h": 3,
10
+			"name": "Replicated per hour",
11
+			"queries": [
12
+				{
13
+					"query": "SELECT non_negative_difference(last(\"count\")) AS \"msg_count\" FROM \"telegraf\".\"autogen\".\"bm-core.cyrus-replication.applyMessage\" WHERE time > :dashboardTime: GROUP BY time(1h) FILL(null)",
14
+					"queryConfig": {
15
+						"database": "",
16
+						"measurement": "",
17
+						"retentionPolicy": "",
18
+						"fields": [],
19
+						"tags": {
20
+							
28 21
 						},
29
-						"source": "/chronograf/v1/sources/0"
30
-					}
31
-				],
32
-				"axes": {
33
-					"x": {
34
-						"bounds": [
35
-							"",
36
-							""
37
-						],
38
-						"label": "",
39
-						"prefix": "",
40
-						"suffix": "",
41
-						"base": "10",
42
-						"scale": "linear"
43
-					},
44
-					"y": {
45
-						"bounds": [
46
-							"",
47
-							""
48
-						],
49
-						"label": "",
50
-						"prefix": "",
51
-						"suffix": "",
52
-						"base": "10",
53
-						"scale": "linear"
22
+						"groupBy": {
23
+							"time": "",
24
+							"tags": []
25
+						},
26
+						"areTagsAccepted": false,
27
+						"rawText": "SELECT non_negative_difference(last(\"count\")) AS \"msg_count\" FROM \"telegraf\".\"autogen\".\"bm-core.cyrus-replication.applyMessage\" WHERE time > :dashboardTime: GROUP BY time(1h) FILL(null)",
28
+						"range": null,
29
+						"shifts": null
54 30
 					},
55
-					"y2": {
56
-						"bounds": [
57
-							"",
58
-							""
59
-						],
60
-						"label": "",
61
-						"prefix": "",
62
-						"suffix": "",
63
-						"base": "10",
64
-						"scale": "linear"
65
-					}
31
+					"source": "/chronograf/v1/sources/0",
32
+					"type": "influxql"
33
+				}
34
+			],
35
+			"axes": {
36
+				"x": {
37
+					"bounds": [
38
+						"",
39
+						""
40
+					],
41
+					"label": "",
42
+					"prefix": "",
43
+					"suffix": "",
44
+					"base": "10",
45
+					"scale": "linear"
66 46
 				},
67
-				"type": "bar",
68
-				"colors": [
69
-					{
70
-						"id": "4e8360ea-d1d3-4cbd-ad5b-fb0a767d2ce3",
71
-						"type": "scale",
72
-						"hex": "#31C0F6",
73
-						"name": "Nineteen Eighty Four",
74
-						"value": "0"
75
-					},
76
-					{
77
-						"id": "62d74dc4-2049-4d42-afcf-96280cc5033b",
78
-						"type": "scale",
79
-						"hex": "#A500A5",
80
-						"name": "Nineteen Eighty Four",
81
-						"value": "0"
82
-					},
83
-					{
84
-						"id": "01cbdd10-5565-4086-9cf1-9bbc8c5321fa",
85
-						"type": "scale",
86
-						"hex": "#FF7E27",
87
-						"name": "Nineteen Eighty Four",
88
-						"value": "0"
89
-					}
90
-				],
91
-				"legend": {},
92
-				"tableOptions": {
93
-					"verticalTimeAxis": true,
94
-					"sortBy": {
95
-						"internalName": "time",
96
-						"displayName": "",
97
-						"visible": true
98
-					},
99
-					"wrapping": "truncate",
100
-					"fixFirstColumn": true
47
+				"y": {
48
+					"bounds": [
49
+						"",
50
+						""
51
+					],
52
+					"label": "",
53
+					"prefix": "",
54
+					"suffix": "",
55
+					"base": "10",
56
+					"scale": "linear"
57
+				},
58
+				"y2": {
59
+					"bounds": [
60
+						"",
61
+						""
62
+					],
63
+					"label": "",
64
+					"prefix": "",
65
+					"suffix": "",
66
+					"base": "10",
67
+					"scale": "linear"
68
+				}
69
+			},
70
+			"type": "bar",
71
+			"colors": [
72
+				{
73
+					"id": "4e8360ea-d1d3-4cbd-ad5b-fb0a767d2ce3",
74
+					"type": "scale",
75
+					"hex": "#31C0F6",
76
+					"name": "Nineteen Eighty Four",
77
+					"value": "0"
101 78
 				},
102
-				"fieldOptions": [
103
-					{
104
-						"internalName": "time",
105
-						"displayName": "",
106
-						"visible": true
107
-					}
108
-				],
109
-				"timeFormat": "MM/DD/YYYY HH:mm:ss",
110
-				"decimalPlaces": {
111
-					"isEnforced": true,
112
-					"digits": 2
79
+				{
80
+					"id": "62d74dc4-2049-4d42-afcf-96280cc5033b",
81
+					"type": "scale",
82
+					"hex": "#A500A5",
83
+					"name": "Nineteen Eighty Four",
84
+					"value": "0"
113 85
 				},
114
-				"links": {
115
-					"self": "/chronograf/v1/dashboards/6/cells/419a27b6-3041-4c83-bd52-614437a427d0"
86
+				{
87
+					"id": "01cbdd10-5565-4086-9cf1-9bbc8c5321fa",
88
+					"type": "scale",
89
+					"hex": "#FF7E27",
90
+					"name": "Nineteen Eighty Four",
91
+					"value": "0"
116 92
 				}
93
+			],
94
+			"legend": {
95
+				
117 96
 			},
118
-			{
119
-				"i": "239c4625-a282-4780-99a2-e70c9d62e997",
120
-				"x": 0,
121
-				"y": 4,
122
-				"w": 4,
123
-				"h": 3,
124
-				"name": "Active replication sessions",
125
-				"queries": [
126
-					{
127
-						"query": "SELECT mean(\"value\") AS \"mean_value\" FROM \"telegraf\".\"autogen\".\"bm-core.cyrus-replication.activeSessions\" WHERE time > :dashboardTime: GROUP BY time(:interval:) FILL(null)",
128
-						"queryConfig": {
129
-							"database": "telegraf",
130
-							"measurement": "bm-core.cyrus-replication.activeSessions",
131
-							"retentionPolicy": "autogen",
132
-							"fields": [
133
-								{
134
-									"value": "mean",
135
-									"type": "func",
136
-									"alias": "mean_value",
137
-									"args": [
138
-										{
139
-											"value": "value",
140
-											"type": "field",
141
-											"alias": ""
142
-										}
143
-									]
144
-								}
145
-							],
146
-							"tags": {},
147
-							"groupBy": {
148
-								"time": "auto",
149
-								"tags": []
150
-							},
151
-							"areTagsAccepted": false,
152
-							"fill": "null",
153
-							"rawText": null,
154
-							"range": null,
155
-							"shifts": null
156
-						},
157
-						"source": "/chronograf/v1/sources/0"
158
-					}
159
-				],
160
-				"axes": {
161
-					"x": {
162
-						"bounds": [
163
-							"",
164
-							""
165
-						],
166
-						"label": "",
167
-						"prefix": "",
168
-						"suffix": "",
169
-						"base": "10",
170
-						"scale": "linear"
171
-					},
172
-					"y": {
173
-						"bounds": [
174
-							"",
175
-							""
97
+			"tableOptions": {
98
+				"verticalTimeAxis": true,
99
+				"sortBy": {
100
+					"internalName": "time",
101
+					"displayName": "",
102
+					"visible": true
103
+				},
104
+				"wrapping": "truncate",
105
+				"fixFirstColumn": true
106
+			},
107
+			"fieldOptions": [
108
+				{
109
+					"internalName": "time",
110
+					"displayName": "",
111
+					"visible": true
112
+				}
113
+			],
114
+			"timeFormat": "MM/DD/YYYY HH:mm:ss",
115
+			"decimalPlaces": {
116
+				"isEnforced": true,
117
+				"digits": 2
118
+			},
119
+			"note": "",
120
+			"noteVisibility": "default",
121
+			"links": {
122
+				"self": "/chronograf/v1/dashboards/6/cells/419a27b6-3041-4c83-bd52-614437a427d0"
123
+			}
124
+		},
125
+		{
126
+			"i": "239c4625-a282-4780-99a2-e70c9d62e997",
127
+			"x": 0,
128
+			"y": 4,
129
+			"w": 4,
130
+			"h": 3,
131
+			"name": "Running sync_client per backend",
132
+			"queries": [
133
+				{
134
+					"query": "SELECT min(\"value\") AS \"min_value\" FROM \"telegraf\".\"autogen\".\"replication.sync_client.process\" WHERE time > :dashboardTime: GROUP BY time(:interval:), \"host\" FILL(0)",
135
+					"queryConfig": {
136
+						"database": "telegraf",
137
+						"measurement": "replication.sync_client.process",
138
+						"retentionPolicy": "autogen",
139
+						"fields": [
140
+							{
141
+								"value": "min",
142
+								"type": "func",
143
+								"alias": "min_value",
144
+								"args": [
145
+									{
146
+										"value": "value",
147
+										"type": "field",
148
+										"alias": ""
149
+									}
150
+								]
151
+							}
176 152
 						],
177
-						"label": "Active",
178
-						"prefix": "",
179
-						"suffix": "",
180
-						"base": "10",
181
-						"scale": "linear"
153
+						"tags": {
154
+							
155
+						},
156
+						"groupBy": {
157
+							"time": "auto",
158
+							"tags": [
159
+								"host"
160
+							]
161
+						},
162
+						"areTagsAccepted": false,
163
+						"fill": "0",
164
+						"rawText": null,
165
+						"range": null,
166
+						"shifts": null
182 167
 					},
183
-					"y2": {
184
-						"bounds": [
185
-							"",
186
-							""
187
-						],
188
-						"label": "",
189
-						"prefix": "",
190
-						"suffix": "",
191
-						"base": "10",
192
-						"scale": "linear"
193
-					}
168
+					"source": "/chronograf/v1/sources/0",
169
+					"type": "influxql"
170
+				}
171
+			],
172
+			"axes": {
173
+				"x": {
174
+					"bounds": [
175
+						"",
176
+						""
177
+					],
178
+					"label": "",
179
+					"prefix": "",
180
+					"suffix": "",
181
+					"base": "10",
182
+					"scale": "linear"
194 183
 				},
195
-				"type": "line",
196
-				"colors": [
197
-					{
198
-						"id": "4e8360ea-d1d3-4cbd-ad5b-fb0a767d2ce3",
199
-						"type": "scale",
200
-						"hex": "#31C0F6",
201
-						"name": "Nineteen Eighty Four",
202
-						"value": "0"
203
-					},
204
-					{
205
-						"id": "62d74dc4-2049-4d42-afcf-96280cc5033b",
206
-						"type": "scale",
207
-						"hex": "#A500A5",
208
-						"name": "Nineteen Eighty Four",
209
-						"value": "0"
210
-					},
211
-					{
212
-						"id": "01cbdd10-5565-4086-9cf1-9bbc8c5321fa",
213
-						"type": "scale",
214
-						"hex": "#FF7E27",
215
-						"name": "Nineteen Eighty Four",
216
-						"value": "0"
217
-					}
218
-				],
219
-				"legend": {},
220
-				"tableOptions": {
221
-					"verticalTimeAxis": true,
222
-					"sortBy": {
223
-						"internalName": "time",
224
-						"displayName": "",
225
-						"visible": true
226
-					},
227
-					"wrapping": "truncate",
228
-					"fixFirstColumn": true
184
+				"y": {
185
+					"bounds": [
186
+						"",
187
+						""
188
+					],
189
+					"label": "Active",
190
+					"prefix": "",
191
+					"suffix": "",
192
+					"base": "10",
193
+					"scale": "linear"
194
+				},
195
+				"y2": {
196
+					"bounds": [
197
+						"",
198
+						""
199
+					],
200
+					"label": "",
201
+					"prefix": "",
202
+					"suffix": "",
203
+					"base": "10",
204
+					"scale": "linear"
205
+				}
206
+			},
207
+			"type": "line-stacked",
208
+			"colors": [
209
+				{
210
+					"id": "4e8360ea-d1d3-4cbd-ad5b-fb0a767d2ce3",
211
+					"type": "scale",
212
+					"hex": "#31C0F6",
213
+					"name": "Nineteen Eighty Four",
214
+					"value": "0"
229 215
 				},
230
-				"fieldOptions": [
231
-					{
232
-						"internalName": "time",
233
-						"displayName": "",
234
-						"visible": true
235
-					}
236
-				],
237
-				"timeFormat": "MM/DD/YYYY HH:mm:ss",
238
-				"decimalPlaces": {
239
-					"isEnforced": true,
240
-					"digits": 2
216
+				{
217
+					"id": "62d74dc4-2049-4d42-afcf-96280cc5033b",
218
+					"type": "scale",
219
+					"hex": "#A500A5",
220
+					"name": "Nineteen Eighty Four",
221
+					"value": "0"
241 222
 				},
242
-				"links": {
243
-					"self": "/chronograf/v1/dashboards/6/cells/239c4625-a282-4780-99a2-e70c9d62e997"
223
+				{
224
+					"id": "01cbdd10-5565-4086-9cf1-9bbc8c5321fa",
225
+					"type": "scale",
226
+					"hex": "#FF7E27",
227
+					"name": "Nineteen Eighty Four",
228
+					"value": "0"
244 229
 				}
230
+			],
231
+			"legend": {
232
+				
245 233
 			},
246
-			{
247
-				"i": "e5b4ff57-4ecf-4810-b6d6-018dca249532",
248
-				"x": 8,
249
-				"y": 0,
250
-				"w": 4,
251
-				"h": 4,
252
-				"name": "Record updates per second",
253
-				"queries": [
254
-					{
255
-						"query": "SELECT non_negative_derivative(last(\"count\"), 1s) AS \"mean_count\" FROM \"telegraf\".\"autogen\".\"bm-core.cyrus-replication.recordUpdates\" WHERE time > :dashboardTime: GROUP BY time(:interval:) FILL(null)",
256
-						"queryConfig": {
257
-							"database": "",
258
-							"measurement": "",
259
-							"retentionPolicy": "",
260
-							"fields": [],
261
-							"tags": {},
262
-							"groupBy": {
263
-								"time": "",
264
-								"tags": []
265
-							},
266
-							"areTagsAccepted": false,
267
-							"rawText": "SELECT non_negative_derivative(last(\"count\"), 1s) AS \"mean_count\" FROM \"telegraf\".\"autogen\".\"bm-core.cyrus-replication.recordUpdates\" WHERE time > :dashboardTime: GROUP BY time(:interval:) FILL(null)",
268
-							"range": null,
269
-							"shifts": null
234
+			"tableOptions": {
235
+				"verticalTimeAxis": true,
236
+				"sortBy": {
237
+					"internalName": "time",
238
+					"displayName": "",
239
+					"visible": true
240
+				},
241
+				"wrapping": "truncate",
242
+				"fixFirstColumn": true
243
+			},
244
+			"fieldOptions": [
245
+				{
246
+					"internalName": "time",
247
+					"displayName": "",
248
+					"visible": true
249
+				}
250
+			],
251
+			"timeFormat": "MM/DD/YYYY HH:mm:ss",
252
+			"decimalPlaces": {
253
+				"isEnforced": true,
254
+				"digits": 2
255
+			},
256
+			"note": "",
257
+			"noteVisibility": "default",
258
+			"links": {
259
+				"self": "/chronograf/v1/dashboards/6/cells/239c4625-a282-4780-99a2-e70c9d62e997"
260
+			}
261
+		},
262
+		{
263
+			"i": "e5b4ff57-4ecf-4810-b6d6-018dca249532",
264
+			"x": 8,
265
+			"y": 0,
266
+			"w": 4,
267
+			"h": 4,
268
+			"name": "Record updates per second",
269
+			"queries": [
270
+				{
271
+					"query": "SELECT non_negative_derivative(last(\"count\"), 1s) AS \"mean_count\" FROM \"telegraf\".\"autogen\".\"bm-core.cyrus-replication.recordUpdates\" WHERE time > :dashboardTime: GROUP BY time(:interval:) FILL(null)",
272
+					"queryConfig": {
273
+						"database": "",
274
+						"measurement": "",
275
+						"retentionPolicy": "",
276
+						"fields": [],
277
+						"tags": {
278
+							
270 279
 						},
271
-						"source": "/chronograf/v1/sources/0"
272
-					}
273
-				],
274
-				"axes": {
275
-					"x": {
276
-						"bounds": [
277
-							"",
278
-							""
279
-						],
280
-						"label": "",
281
-						"prefix": "",
282
-						"suffix": "",
283
-						"base": "10",
284
-						"scale": "linear"
285
-					},
286
-					"y": {
287
-						"bounds": [
288
-							"",
289
-							""
290
-						],
291
-						"label": "",
292
-						"prefix": "",
293
-						"suffix": "",
294
-						"base": "10",
295
-						"scale": "linear"
280
+						"groupBy": {
281
+							"time": "",
282
+							"tags": []
283
+						},
284
+						"areTagsAccepted": false,
285
+						"rawText": "SELECT non_negative_derivative(last(\"count\"), 1s) AS \"mean_count\" FROM \"telegraf\".\"autogen\".\"bm-core.cyrus-replication.recordUpdates\" WHERE time > :dashboardTime: GROUP BY time(:interval:) FILL(null)",
286
+						"range": null,
287
+						"shifts": null
296 288
 					},
297
-					"y2": {
298
-						"bounds": [
299
-							"",
300
-							""
301
-						],
302
-						"label": "",
303
-						"prefix": "",
304
-						"suffix": "",
305
-						"base": "10",
306
-						"scale": "linear"
307
-					}
289
+					"source": "/chronograf/v1/sources/0",
290
+					"type": "influxql"
291
+				}
292
+			],
293
+			"axes": {
294
+				"x": {
295
+					"bounds": [
296
+						"",
297
+						""
298
+					],
299
+					"label": "",
300
+					"prefix": "",
301
+					"suffix": "",
302
+					"base": "10",
303
+					"scale": "linear"
308 304
 				},
309
-				"type": "line",
310
-				"colors": [
311
-					{
312
-						"id": "4e8360ea-d1d3-4cbd-ad5b-fb0a767d2ce3",
313
-						"type": "scale",
314
-						"hex": "#31C0F6",
315
-						"name": "Nineteen Eighty Four",
316
-						"value": "0"
317
-					},
318
-					{
319
-						"id": "62d74dc4-2049-4d42-afcf-96280cc5033b",
320
-						"type": "scale",
321
-						"hex": "#A500A5",
322
-						"name": "Nineteen Eighty Four",
323
-						"value": "0"
324
-					},
325
-					{
326
-						"id": "01cbdd10-5565-4086-9cf1-9bbc8c5321fa",
327
-						"type": "scale",
328
-						"hex": "#FF7E27",
329
-						"name": "Nineteen Eighty Four",
330
-						"value": "0"
331
-					}
332
-				],
333
-				"legend": {},
334
-				"tableOptions": {
335
-					"verticalTimeAxis": true,
336
-					"sortBy": {
337
-						"internalName": "time",
338
-						"displayName": "",
339
-						"visible": true
340
-					},
341
-					"wrapping": "truncate",
342
-					"fixFirstColumn": true
305
+				"y": {
306
+					"bounds": [
307
+						"",
308
+						""
309
+					],
310
+					"label": "",
311
+					"prefix": "",
312
+					"suffix": "",
313
+					"base": "10",
314
+					"scale": "linear"
343 315
 				},
344
-				"fieldOptions": [
345
-					{
346
-						"internalName": "time",
347
-						"displayName": "",
348
-						"visible": true
349
-					}
350
-				],
351
-				"timeFormat": "MM/DD/YYYY HH:mm:ss",
352
-				"decimalPlaces": {
353
-					"isEnforced": true,
354
-					"digits": 2
316
+				"y2": {
317
+					"bounds": [
318
+						"",
319
+						""
320
+					],
321
+					"label": "",
322
+					"prefix": "",
323
+					"suffix": "",
324
+					"base": "10",
325
+					"scale": "linear"
326
+				}
327
+			},
328
+			"type": "line",
329
+			"colors": [
330
+				{
331
+					"id": "4e8360ea-d1d3-4cbd-ad5b-fb0a767d2ce3",
332
+					"type": "scale",
333
+					"hex": "#31C0F6",
334
+					"name": "Nineteen Eighty Four",
335
+					"value": "0"
355 336
 				},
356
-				"links": {
357
-					"self": "/chronograf/v1/dashboards/6/cells/e5b4ff57-4ecf-4810-b6d6-018dca249532"
337
+				{
338
+					"id": "62d74dc4-2049-4d42-afcf-96280cc5033b",
339
+					"type": "scale",
340
+					"hex": "#A500A5",
341
+					"name": "Nineteen Eighty Four",
342
+					"value": "0"
343
+				},
344
+				{
345
+					"id": "01cbdd10-5565-4086-9cf1-9bbc8c5321fa",
346
+					"type": "scale",
347
+					"hex": "#FF7E27",
348
+					"name": "Nineteen Eighty Four",
349
+					"value": "0"
350
+				}
351
+			],
352
+			"legend": {
353
+				
354
+			},
355
+			"tableOptions": {
356
+				"verticalTimeAxis": true,
357
+				"sortBy": {
358
+					"internalName": "time",
359
+					"displayName": "",
360
+					"visible": true
361
+				},
362
+				"wrapping": "truncate",
363
+				"fixFirstColumn": true
364
+			},
365
+			"fieldOptions": [
366
+				{
367
+					"internalName": "time",
368
+					"displayName": "",
369
+					"visible": true
358 370
 				}
371
+			],
372
+			"timeFormat": "MM/DD/YYYY HH:mm:ss",
373
+			"decimalPlaces": {
374
+				"isEnforced": true,
375
+				"digits": 2
359 376
 			},
360
-			{
361
-				"i": "155e49f9-26af-4551-b851-581f7770bdba",
362
-				"x": 4,
363
-				"y": 0,
364
-				"w": 4,
365
-				"h": 4,
366
-				"name": "Replicated MB per min",
367
-				"queries": [
368
-					{
369
-						"query": "SELECT non_negative_derivative(last(\"count\"), 1m)/(1024*1024) AS \"mean_count\" FROM \"telegraf\".\"autogen\".\"bm-core.cyrus-replication.applyMessageBytes\" WHERE time > :dashboardTime: GROUP BY time(:interval:) FILL(null)",
370
-						"queryConfig": {
371
-							"database": "",
372
-							"measurement": "",
373
-							"retentionPolicy": "",
374
-							"fields": [],
375
-							"tags": {},
376
-							"groupBy": {
377
-								"time": "",
378
-								"tags": []
379
-							},
380
-							"areTagsAccepted": false,
381
-							"rawText": "SELECT non_negative_derivative(last(\"count\"), 1m)/(1024*1024) AS \"mean_count\" FROM \"telegraf\".\"autogen\".\"bm-core.cyrus-replication.applyMessageBytes\" WHERE time > :dashboardTime: GROUP BY time(:interval:) FILL(null)",
382
-							"range": null,
383
-							"shifts": null
377
+			"note": "",
378
+			"noteVisibility": "default",
379
+			"links": {
380
+				"self": "/chronograf/v1/dashboards/6/cells/e5b4ff57-4ecf-4810-b6d6-018dca249532"
381
+			}
382
+		},
383
+		{
384
+			"i": "155e49f9-26af-4551-b851-581f7770bdba",
385
+			"x": 4,
386
+			"y": 0,
387
+			"w": 4,
388
+			"h": 4,
389
+			"name": "Replicated MB per min",
390
+			"queries": [
391
+				{
392
+					"query": "SELECT non_negative_derivative(last(\"count\"), 1m)/(1024*1024) AS \"mean_count\" FROM \"telegraf\".\"autogen\".\"bm-core.cyrus-replication.applyMessageBytes\" WHERE time > :dashboardTime: GROUP BY time(:interval:) FILL(null)",
393
+					"queryConfig": {
394
+						"database": "",
395
+						"measurement": "",
396
+						"retentionPolicy": "",
397
+						"fields": [],
398
+						"tags": {
399
+							
384 400
 						},
385
-						"source": "/chronograf/v1/sources/0"
386
-					}
387
-				],
388
-				"axes": {
389
-					"x": {
390
-						"bounds": [
391
-							"",
392
-							""
393
-						],
394
-						"label": "",
395
-						"prefix": "",
396
-						"suffix": "",
397
-						"base": "10",
398
-						"scale": "linear"
399
-					},
400
-					"y": {
401
-						"bounds": [
402
-							"",
403
-							""
404
-						],
405
-						"label": "",
406
-						"prefix": "",
407
-						"suffix": "",
408
-						"base": "10",
409
-						"scale": "linear"
401
+						"groupBy": {
402
+							"time": "",
403
+							"tags": []
404
+						},
405
+						"areTagsAccepted": false,
406
+						"rawText": "SELECT non_negative_derivative(last(\"count\"), 1m)/(1024*1024) AS \"mean_count\" FROM \"telegraf\".\"autogen\".\"bm-core.cyrus-replication.applyMessageBytes\" WHERE time > :dashboardTime: GROUP BY time(:interval:) FILL(null)",
407
+						"range": null,
408
+						"shifts": null
410 409
 					},
411
-					"y2": {
412
-						"bounds": [
413
-							"",
414
-							""
415
-						],
416
-						"label": "",
417
-						"prefix": "",
418
-						"suffix": "",
419
-						"base": "10",
420
-						"scale": "linear"
421
-					}
410
+					"source": "/chronograf/v1/sources/0",
411
+					"type": "influxql"
412
+				}
413
+			],
414
+			"axes": {
415
+				"x": {
416
+					"bounds": [
417
+						"",
418
+						""
419
+					],
420
+					"label": "",
421
+					"prefix": "",
422
+					"suffix": "",
423
+					"base": "10",
424
+					"scale": "linear"
422 425
 				},
423
-				"type": "line",
424
-				"colors": [
425
-					{
426
-						"id": "4e8360ea-d1d3-4cbd-ad5b-fb0a767d2ce3",
427
-						"type": "scale",
428
-						"hex": "#31C0F6",
429
-						"name": "Nineteen Eighty Four",
430
-						"value": "0"
431
-					},
432
-					{
433
-						"id": "62d74dc4-2049-4d42-afcf-96280cc5033b",
434
-						"type": "scale",
435
-						"hex": "#A500A5",
436
-						"name": "Nineteen Eighty Four",
437
-						"value": "0"
438
-					},
439
-					{
440
-						"id": "01cbdd10-5565-4086-9cf1-9bbc8c5321fa",
441
-						"type": "scale",
442
-						"hex": "#FF7E27",
443
-						"name": "Nineteen Eighty Four",
444
-						"value": "0"
445
-					}
446
-				],
447
-				"legend": {},
448
-				"tableOptions": {
449
-					"verticalTimeAxis": true,
450
-					"sortBy": {
451
-						"internalName": "time",
452
-						"displayName": "",
453
-						"visible": true
454
-					},
455
-					"wrapping": "truncate",
456
-					"fixFirstColumn": true
426
+				"y": {
427
+					"bounds": [
428
+						"",
429
+						""
430
+					],
431
+					"label": "",
432
+					"prefix": "",
433
+					"suffix": "",
434
+					"base": "10",
435
+					"scale": "linear"
436
+				},
437
+				"y2": {
438
+					"bounds": [
439
+						"",
440
+						""
441
+					],
442
+					"label": "",
443
+					"prefix": "",
444
+					"suffix": "",
445
+					"base": "10",
446
+					"scale": "linear"
447
+				}
448
+			},
449
+			"type": "line",
450
+			"colors": [
451
+				{
452
+					"id": "4e8360ea-d1d3-4cbd-ad5b-fb0a767d2ce3",
453
+					"type": "scale",
454
+					"hex": "#31C0F6",
455
+					"name": "Nineteen Eighty Four",
456
+					"value": "0"
457
+				},
458
+				{
459
+					"id": "62d74dc4-2049-4d42-afcf-96280cc5033b",
460
+					"type": "scale",
461
+					"hex": "#A500A5",
462
+					"name": "Nineteen Eighty Four",
463
+					"value": "0"
457 464
 				},
458
-				"fieldOptions": [
459
-					{
460
-						"internalName": "time",
461
-						"displayName": "",
462
-						"visible": true
463
-					}
464
-				],
465
-				"timeFormat": "MM/DD/YYYY HH:mm:ss",
466
-				"decimalPlaces": {
467
-					"isEnforced": true,
468
-					"digits": 2
465
+				{
466
+					"id": "01cbdd10-5565-4086-9cf1-9bbc8c5321fa",
467
+					"type": "scale",
468
+					"hex": "#FF7E27",
469
+					"name": "Nineteen Eighty Four",
470
+					"value": "0"
471
+				}
472
+			],
473
+			"legend": {
474
+				
475
+			},
476
+			"tableOptions": {
477
+				"verticalTimeAxis": true,
478
+				"sortBy": {
479
+					"internalName": "time",
480
+					"displayName": "",
481
+					"visible": true
469 482
 				},
470
-				"links": {
471
-					"self": "/chronograf/v1/dashboards/6/cells/155e49f9-26af-4551-b851-581f7770bdba"
483
+				"wrapping": "truncate",
484
+				"fixFirstColumn": true
485
+			},
486
+			"fieldOptions": [
487
+				{
488
+					"internalName": "time",
489
+					"displayName": "",
490
+					"visible": true
472 491
 				}
492
+			],
493
+			"timeFormat": "MM/DD/YYYY HH:mm:ss",
494
+			"decimalPlaces": {
495
+				"isEnforced": true,
496
+				"digits": 2
473 497
 			},
474
-			{
475
-				"i": "7c9482ac-e88f-48ef-920c-f2c0aa9db9e7",
476
-				"x": 0,
477
-				"y": 0,
478
-				"w": 4,
479
-				"h": 4,
480
-				"name": "Replicated messages per minute",
481
-				"queries": [
482
-					{
483
-						"query": "SELECT non_negative_derivative(last(\"count\"), 1m) AS \"msg_per_min\" FROM \"telegraf\".\"autogen\".\"bm-core.cyrus-replication.applyMessage\" WHERE time > :dashboardTime: GROUP BY time(:interval:) FILL(null)",
484
-						"queryConfig": {
485
-							"database": "",
486
-							"measurement": "",
487
-							"retentionPolicy": "",
488
-							"fields": [],
489
-							"tags": {},
490
-							"groupBy": {
491
-								"time": "",
492
-								"tags": []
493
-							},
494
-							"areTagsAccepted": false,
495
-							"rawText": "SELECT non_negative_derivative(last(\"count\"), 1m) AS \"msg_per_min\" FROM \"telegraf\".\"autogen\".\"bm-core.cyrus-replication.applyMessage\" WHERE time > :dashboardTime: GROUP BY time(:interval:) FILL(null)",
496
-							"range": null,
497
-							"shifts": null
498
+			"note": "",
499
+			"noteVisibility": "default",
500
+			"links": {
501
+				"self": "/chronograf/v1/dashboards/6/cells/155e49f9-26af-4551-b851-581f7770bdba"
502
+			}
503
+		},
504
+		{
505
+			"i": "7c9482ac-e88f-48ef-920c-f2c0aa9db9e7",
506
+			"x": 0,
507
+			"y": 0,
508
+			"w": 4,
509
+			"h": 4,
510
+			"name": "Replicated messages per minute",
511
+			"queries": [
512
+				{
513
+					"query": "SELECT non_negative_derivative(last(\"count\"), 1m) AS \"msg_per_min\" FROM \"telegraf\".\"autogen\".\"bm-core.cyrus-replication.applyMessage\" WHERE time > :dashboardTime: GROUP BY time(:interval:) FILL(null)",
514
+					"queryConfig": {
515
+						"database": "",
516
+						"measurement": "",
517
+						"retentionPolicy": "",
518
+						"fields": [],
519
+						"tags": {
520
+							
498 521
 						},
499
-						"source": "/chronograf/v1/sources/0"
500
-					}
501
-				],
502
-				"axes": {
503
-					"x": {
504
-						"bounds": [
505
-							"",
506
-							""
507
-						],
508
-						"label": "",
509
-						"prefix": "",
510
-						"suffix": "",
511
-						"base": "10",
512
-						"scale": "linear"
513
-					},
514
-					"y": {
515
-						"bounds": [
516
-							"",
517
-							""
518
-						],
519
-						"label": "",
520
-						"prefix": "",
521
-						"suffix": "",
522
-						"base": "10",
523
-						"scale": "linear"
522
+						"groupBy": {
523
+							"time": "",
524
+							"tags": []
525
+						},
526
+						"areTagsAccepted": false,
527
+						"rawText": "SELECT non_negative_derivative(last(\"count\"), 1m) AS \"msg_per_min\" FROM \"telegraf\".\"autogen\".\"bm-core.cyrus-replication.applyMessage\" WHERE time > :dashboardTime: GROUP BY time(:interval:) FILL(null)",
528
+						"range": null,
529
+						"shifts": null
524 530
 					},
525
-					"y2": {
526
-						"bounds": [
527
-							"",
528
-							""
529
-						],
530
-						"label": "",
531
-						"prefix": "",
532
-						"suffix": "",
533
-						"base": "10",
534
-						"scale": "linear"
535
-					}
531
+					"source": "/chronograf/v1/sources/0",
532
+					"type": "influxql"
533
+				}
534
+			],
535
+			"axes": {
536
+				"x": {
537
+					"bounds": [
538
+						"",
539
+						""
540
+					],
541
+					"label": "",
542
+					"prefix": "",
543
+					"suffix": "",
544
+					"base": "10",
545
+					"scale": "linear"
536 546
 				},
537
-				"type": "line",
538
-				"colors": [
539
-					{
540
-						"id": "4e8360ea-d1d3-4cbd-ad5b-fb0a767d2ce3",
541
-						"type": "scale",
542
-						"hex": "#31C0F6",
543
-						"name": "Nineteen Eighty Four",
544
-						"value": "0"
545
-					},
546
-					{
547
-						"id": "62d74dc4-2049-4d42-afcf-96280cc5033b",
548
-						"type": "scale",
549
-						"hex": "#A500A5",
550
-						"name": "Nineteen Eighty Four",
551
-						"value": "0"
552
-					},
553
-					{
554
-						"id": "01cbdd10-5565-4086-9cf1-9bbc8c5321fa",
555
-						"type": "scale",
556
-						"hex": "#FF7E27",
557
-						"name": "Nineteen Eighty Four",
558
-						"value": "0"
559
-					}
560
-				],
561
-				"legend": {},
562
-				"tableOptions": {
563
-					"verticalTimeAxis": true,
564
-					"sortBy": {
565
-						"internalName": "time",
566
-						"displayName": "",
567
-						"visible": true
568
-					},
569
-					"wrapping": "truncate",
570
-					"fixFirstColumn": true
547
+				"y": {
548
+					"bounds": [
549
+						"",
550
+						""
551
+					],
552
+					"label": "",
553
+					"prefix": "",
554
+					"suffix": "",
555
+					"base": "10",
556
+					"scale": "linear"
571 557
 				},
572
-				"fieldOptions": [
573
-					{
574
-						"internalName": "time",
575
-						"displayName": "",
576
-						"visible": true
577
-					}
578
-				],
579
-				"timeFormat": "MM/DD/YYYY HH:mm:ss",
580
-				"decimalPlaces": {
581
-					"isEnforced": true,
582
-					"digits": 2
558
+				"y2": {
559
+					"bounds": [
560
+						"",
561
+						""
562
+					],
563
+					"label": "",
564
+					"prefix": "",
565
+					"suffix": "",
566
+					"base": "10",
567
+					"scale": "linear"
568
+				}
569
+			},
570
+			"type": "line",
571
+			"colors": [
572
+				{
573
+					"id": "4e8360ea-d1d3-4cbd-ad5b-fb0a767d2ce3",
574
+					"type": "scale",
575
+					"hex": "#31C0F6",
576
+					"name": "Nineteen Eighty Four",
577
+					"value": "0"
583 578
 				},
584
-				"links": {
585
-					"self": "/chronograf/v1/dashboards/6/cells/7c9482ac-e88f-48ef-920c-f2c0aa9db9e7"
579
+				{
580
+					"id": "62d74dc4-2049-4d42-afcf-96280cc5033b",
581
+					"type": "scale",
582
+					"hex": "#A500A5",
583
+					"name": "Nineteen Eighty Four",
584
+					"value": "0"
585
+				},
586
+				{
587
+					"id": "01cbdd10-5565-4086-9cf1-9bbc8c5321fa",
588
+					"type": "scale",
589
+					"hex": "#FF7E27",
590
+					"name": "Nineteen Eighty Four",
591
+					"value": "0"
592
+				}
593
+			],
594
+			"legend": {
595
+				
596
+			},
597
+			"tableOptions": {
598
+				"verticalTimeAxis": true,
599
+				"sortBy": {
600
+					"internalName": "time",
601
+					"displayName": "",
602
+					"visible": true
603
+				},
604
+				"wrapping": "truncate",
605
+				"fixFirstColumn": true
606
+			},
607
+			"fieldOptions": [
608
+				{
609
+					"internalName": "time",
610
+					"displayName": "",
611
+					"visible": true
586 612
 				}
613
+			],
614
+			"timeFormat": "MM/DD/YYYY HH:mm:ss",
615
+			"decimalPlaces": {
616
+				"isEnforced": true,
617
+				"digits": 2
587 618
 			},
588
-			{
589
-				"i": "0699ee4a-48b0-490f-bc67-0b1adaa55d30",
590
-				"x": 4,
591
-				"y": 4,
592
-				"w": 4,
593
-				"h": 3,
594
-				"name": "Mailspool indices search time",
595
-				"queries": [
596
-					{
597
-						"query": "SELECT (non_negative_difference(last(\"totalTime\"))/1000000)/(non_negative_difference(last(\"count\"))) FROM \"telegraf\".\"autogen\".\"bm-core.mailindex-service.response-time\" WHERE time > :dashboardTime: GROUP BY \"index\", time(:interval:)\n",
598
-						"queryConfig": {
599
-							"database": "",
600
-							"measurement": "",
601
-							"retentionPolicy": "",
602
-							"fields": [],
603
-							"tags": {},
604
-							"groupBy": {
605
-								"time": "",
606
-								"tags": []
607
-							},
608
-							"areTagsAccepted": false,
609
-							"rawText": "SELECT (non_negative_difference(last(\"totalTime\"))/1000000)/(non_negative_difference(last(\"count\"))) FROM \"telegraf\".\"autogen\".\"bm-core.mailindex-service.response-time\" WHERE time > :dashboardTime: GROUP BY \"index\", time(:interval:)\n",
610
-							"range": null,
611
-							"shifts": null
619
+			"note": "",
620
+			"noteVisibility": "default",
621
+			"links": {
622
+				"self": "/chronograf/v1/dashboards/6/cells/7c9482ac-e88f-48ef-920c-f2c0aa9db9e7"
623
+			}
624
+		},
625
+		{
626
+			"i": "0699ee4a-48b0-490f-bc67-0b1adaa55d30",
627
+			"x": 4,
628
+			"y": 4,
629
+			"w": 4,
630
+			"h": 3,
631
+			"name": "Mailspool indices search time",
632
+			"queries": [
633
+				{
634
+					"query": "SELECT (non_negative_difference(last(\"totalTime\"))/1000000)/(non_negative_difference(last(\"count\"))) FROM \"telegraf\".\"autogen\".\"bm-core.mailindex-service.response-time\" WHERE time > :dashboardTime: GROUP BY \"index\", time(:interval:)\n",
635
+					"queryConfig": {
636
+						"database": "",
637
+						"measurement": "",
638
+						"retentionPolicy": "",
639
+						"fields": [],
640
+						"tags": {
641
+							
612 642
 						},
613
-						"source": "/chronograf/v1/sources/0"
614
-					}
615
-				],
616
-				"axes": {
617
-					"x": {
618
-						"bounds": [
619
-							"",
620
-							""
621
-						],
622
-						"label": "",
623
-						"prefix": "",
624
-						"suffix": "",
625
-						"base": "10",
626
-						"scale": "linear"
627
-					},
628
-					"y": {
629
-						"bounds": [
630
-							"",
631
-							""
632
-						],
633
-						"label": "milliseconds",
634
-						"prefix": "",
635
-						"suffix": "",
636
-						"base": "10",
637
-						"scale": "linear"
643
+						"groupBy": {
644
+							"time": "",
645
+							"tags": []
646
+						},
647
+						"areTagsAccepted": false,
648
+						"rawText": "SELECT (non_negative_difference(last(\"totalTime\"))/1000000)/(non_negative_difference(last(\"count\"))) FROM \"telegraf\".\"autogen\".\"bm-core.mailindex-service.response-time\" WHERE time > :dashboardTime: GROUP BY \"index\", time(:interval:)\n",
649
+						"range": null,
650
+						"shifts": null
638 651
 					},
639
-					"y2": {
640
-						"bounds": [
641
-							"",
642
-							""
643
-						],
644
-						"label": "",
645
-						"prefix": "",
646
-						"suffix": "",
647
-						"base": "10",
648
-						"scale": "linear"
649
-					}
652
+					"source": "/chronograf/v1/sources/0",
653
+					"type": "influxql"
654
+				}
655
+			],
656
+			"axes": {
657
+				"x": {
658
+					"bounds": [
659
+						"",
660
+						""
661
+					],
662
+					"label": "",
663
+					"prefix": "",
664
+					"suffix": "",
665
+					"base": "10",
666
+					"scale": "linear"
650 667
 				},
651
-				"type": "line",
652
-				"colors": [
653
-					{
654
-						"id": "faede073-a841-40a2-843a-2450bd456fbc",
655
-						"type": "scale",
656
-						"hex": "#31C0F6",
657
-						"name": "Nineteen Eighty Four",
658
-						"value": "0"
659
-					},
660
-					{
661
-						"id": "06c9202c-229d-4e58-a2e1-2707e2caf609",
662
-						"type": "scale",
663
-						"hex": "#A500A5",
664
-						"name": "Nineteen Eighty Four",
665
-						"value": "0"
666
-					},
667
-					{
668
-						"id": "d867b44f-376f-4769-9090-750e2398db07",
669
-						"type": "scale",
670
-						"hex": "#FF7E27",
671
-						"name": "Nineteen Eighty Four",
672
-						"value": "0"
673
-					}
674
-				],
675
-				"legend": {},
676
-				"tableOptions": {
677
-					"verticalTimeAxis": true,
678
-					"sortBy": {
679
-						"internalName": "time",
680
-						"displayName": "",
681
-						"visible": true
682
-					},
683
-					"wrapping": "truncate",
684
-					"fixFirstColumn": true
668
+				"y": {
669
+					"bounds": [
670
+						"",
671
+						""
672
+					],
673
+					"label": "milliseconds",
674
+					"prefix": "",
675
+					"suffix": "",
676
+					"base": "10",
677
+					"scale": "linear"
678
+				},
679
+				"y2": {
680
+					"bounds": [
681
+						"",
682
+						""
683
+					],
684
+					"label": "",
685
+					"prefix": "",
686
+					"suffix": "",
687
+					"base": "10",
688
+					"scale": "linear"
689
+				}
690
+			},
691
+			"type": "line",
692
+			"colors": [
693
+				{
694
+					"id": "faede073-a841-40a2-843a-2450bd456fbc",
695
+					"type": "scale",
696
+					"hex": "#31C0F6",
697
+					"name": "Nineteen Eighty Four",
698
+					"value": "0"
699
+				},
700
+				{
701
+					"id": "06c9202c-229d-4e58-a2e1-2707e2caf609",
702
+					"type": "scale",
703
+					"hex": "#A500A5",
704
+					"name": "Nineteen Eighty Four",
705
+					"value": "0"
685 706
 				},
686
-				"fieldOptions": [
687
-					{
688
-						"internalName": "time",
689
-						"displayName": "",
690
-						"visible": true
691
-					}
692
-				],
693
-				"timeFormat": "MM/DD/YYYY HH:mm:ss",
694
-				"decimalPlaces": {
695
-					"isEnforced": true,
696
-					"digits": 2
707
+				{
708
+					"id": "d867b44f-376f-4769-9090-750e2398db07",
709
+					"type": "scale",
710
+					"hex": "#FF7E27",
711
+					"name": "Nineteen Eighty Four",
712
+					"value": "0"
713
+				}
714
+			],
715
+			"legend": {
716
+				
717
+			},
718
+			"tableOptions": {
719
+				"verticalTimeAxis": true,
720
+				"sortBy": {
721
+					"internalName": "time",
722
+					"displayName": "",
723
+					"visible": true
697 724
 				},
698
-				"links": {
699
-					"self": "/chronograf/v1/dashboards/6/cells/0699ee4a-48b0-490f-bc67-0b1adaa55d30"
725
+				"wrapping": "truncate",
726
+				"fixFirstColumn": true
727
+			},
728
+			"fieldOptions": [
729
+				{
730
+					"internalName": "time",
731
+					"displayName": "",
732
+					"visible": true
700 733
 				}
734
+			],
735
+			"timeFormat": "MM/DD/YYYY HH:mm:ss",
736
+			"decimalPlaces": {
737
+				"isEnforced": true,
738
+				"digits": 2
739
+			},
740
+			"note": "",
741
+			"noteVisibility": "default",
742
+			"links": {