influxdb-rails 1.0.1.beta3 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/spec.yml +2 -1
- data/CHANGELOG.md +10 -1
- data/README.md +40 -30
- data/influxdb-rails.gemspec +1 -1
- data/lib/influxdb/rails/tags.rb +1 -1
- data/lib/influxdb/rails/values.rb +1 -1
- data/lib/influxdb/rails/version.rb +1 -1
- data/sample-dashboard/Dockerfile +2 -2
- data/sample-dashboard/README.md +21 -28
- data/sample-dashboard/Rakefile +8 -3
- data/sample-dashboard/Ruby On Rails ActiveJob.json +600 -0
- data/sample-dashboard/{Ruby On Rails Performance (per Action).json → Ruby On Rails Performance per Action.json } +343 -589
- data/sample-dashboard/{Ruby On Rails Performance (per Request).json → Ruby On Rails Performance per Request.json } +361 -211
- data/sample-dashboard/Ruby On Rails Performance.json +1347 -1139
- data/sample-dashboard/Ruby On Rails Requests.json +834 -0
- data/sample-dashboard/Ruby On Rails Slowlog by Action.json +278 -0
- data/sample-dashboard/Ruby On Rails Slowlog by Request.json +277 -0
- data/sample-dashboard/Ruby On Rails Slowlog by SQL.json +328 -0
- data/sample-dashboard/docker-compose.yml +6 -1
- data/sample-dashboard/provisioning/activejob.json +600 -0
- data/sample-dashboard/provisioning/performance-action.json +334 -580
- data/sample-dashboard/provisioning/performance-request.json +355 -205
- data/sample-dashboard/provisioning/performance.json +1336 -1128
- data/sample-dashboard/provisioning/requests.json +834 -0
- data/sample-dashboard/provisioning/slowlog-action.json +278 -0
- data/sample-dashboard/provisioning/slowlog-requests.json +277 -0
- data/sample-dashboard/provisioning/slowlog-sql.json +328 -0
- metadata +18 -8
@@ -1,8 +1,8 @@
|
|
1
1
|
{
|
2
2
|
"__inputs": [
|
3
3
|
{
|
4
|
-
"name": "DS_INFLUXDB",
|
5
|
-
"label": "InfluxDB",
|
4
|
+
"name": "DS_INFLUXDB-RAILS",
|
5
|
+
"label": "InfluxDB-Rails",
|
6
6
|
"description": "",
|
7
7
|
"type": "datasource",
|
8
8
|
"pluginId": "influxdb",
|
@@ -14,7 +14,7 @@
|
|
14
14
|
"type": "grafana",
|
15
15
|
"id": "grafana",
|
16
16
|
"name": "Grafana",
|
17
|
-
"version": "
|
17
|
+
"version": "7.1.1"
|
18
18
|
},
|
19
19
|
{
|
20
20
|
"type": "panel",
|
@@ -30,14 +30,8 @@
|
|
30
30
|
},
|
31
31
|
{
|
32
32
|
"type": "panel",
|
33
|
-
"id": "
|
34
|
-
"name": "
|
35
|
-
"version": ""
|
36
|
-
},
|
37
|
-
{
|
38
|
-
"type": "panel",
|
39
|
-
"id": "table",
|
40
|
-
"name": "Table",
|
33
|
+
"id": "stat",
|
34
|
+
"name": "Stat",
|
41
35
|
"version": ""
|
42
36
|
}
|
43
37
|
],
|
@@ -54,83 +48,81 @@
|
|
54
48
|
}
|
55
49
|
]
|
56
50
|
},
|
57
|
-
"description": "
|
51
|
+
"description": "Insights based on influxdb-rails",
|
58
52
|
"editable": true,
|
59
53
|
"gnetId": 10428,
|
60
54
|
"graphTooltip": 0,
|
61
55
|
"id": null,
|
62
|
-
"iteration":
|
63
|
-
"links": [
|
56
|
+
"iteration": 1616428241231,
|
57
|
+
"links": [
|
58
|
+
{
|
59
|
+
"$$hashKey": "object:269",
|
60
|
+
"icon": "external link",
|
61
|
+
"includeVars": true,
|
62
|
+
"keepTime": true,
|
63
|
+
"tags": [
|
64
|
+
"influxdb-rails"
|
65
|
+
],
|
66
|
+
"targetBlank": false,
|
67
|
+
"type": "dashboards"
|
68
|
+
}
|
69
|
+
],
|
64
70
|
"panels": [
|
65
71
|
{
|
66
72
|
"cacheTimeout": null,
|
67
|
-
"colorBackground": false,
|
68
|
-
"colorValue": true,
|
69
|
-
"colors": [
|
70
|
-
"#299c46",
|
71
|
-
"rgba(237, 129, 40, 0.89)",
|
72
|
-
"#d44a3a"
|
73
|
-
],
|
74
73
|
"datasource": "InfluxDB",
|
75
|
-
"
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
74
|
+
"fieldConfig": {
|
75
|
+
"defaults": {
|
76
|
+
"custom": {},
|
77
|
+
"displayName": "Requests",
|
78
|
+
"mappings": [],
|
79
|
+
"nullValueMode": "connected",
|
80
|
+
"thresholds": {
|
81
|
+
"mode": "absolute",
|
82
|
+
"steps": [
|
83
|
+
{
|
84
|
+
"color": "green",
|
85
|
+
"value": null
|
86
|
+
}
|
87
|
+
]
|
88
|
+
},
|
89
|
+
"unit": "short"
|
90
|
+
},
|
91
|
+
"overrides": []
|
83
92
|
},
|
84
|
-
"
|
93
|
+
"gridPos": {
|
94
|
+
"h": 3,
|
95
|
+
"w": 4,
|
96
|
+
"x": 0,
|
97
|
+
"y": 0
|
98
|
+
},
|
99
|
+
"id": 16,
|
85
100
|
"interval": null,
|
86
101
|
"links": [],
|
87
|
-
"mappingType": 1,
|
88
|
-
"mappingTypes": [
|
89
|
-
{
|
90
|
-
"name": "value to text",
|
91
|
-
"value": 1
|
92
|
-
},
|
93
|
-
{
|
94
|
-
"name": "range to text",
|
95
|
-
"value": 2
|
96
|
-
}
|
97
|
-
],
|
98
102
|
"maxDataPoints": 100,
|
99
|
-
"
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
"
|
109
|
-
"
|
110
|
-
|
111
|
-
|
112
|
-
],
|
113
|
-
"sparkline": {
|
114
|
-
"fillColor": "rgba(31, 118, 189, 0.18)",
|
115
|
-
"full": false,
|
116
|
-
"lineColor": "rgb(31, 120, 193)",
|
117
|
-
"show": true
|
103
|
+
"options": {
|
104
|
+
"colorMode": "value",
|
105
|
+
"graphMode": "none",
|
106
|
+
"justifyMode": "center",
|
107
|
+
"orientation": "horizontal",
|
108
|
+
"reduceOptions": {
|
109
|
+
"calcs": [
|
110
|
+
"sum"
|
111
|
+
],
|
112
|
+
"fields": "",
|
113
|
+
"values": false
|
114
|
+
},
|
115
|
+
"textMode": "auto"
|
118
116
|
},
|
119
|
-
"
|
117
|
+
"pluginVersion": "7.1.1",
|
120
118
|
"targets": [
|
121
119
|
{
|
122
120
|
"groupBy": [
|
123
121
|
{
|
124
122
|
"params": [
|
125
|
-
"$
|
123
|
+
"$per"
|
126
124
|
],
|
127
125
|
"type": "time"
|
128
|
-
},
|
129
|
-
{
|
130
|
-
"params": [
|
131
|
-
"null"
|
132
|
-
],
|
133
|
-
"type": "fill"
|
134
126
|
}
|
135
127
|
],
|
136
128
|
"hide": false,
|
@@ -143,13 +135,13 @@
|
|
143
135
|
[
|
144
136
|
{
|
145
137
|
"params": [
|
146
|
-
"
|
138
|
+
"request_id"
|
147
139
|
],
|
148
140
|
"type": "field"
|
149
141
|
},
|
150
142
|
{
|
151
143
|
"params": [],
|
152
|
-
"type": "
|
144
|
+
"type": "count"
|
153
145
|
}
|
154
146
|
]
|
155
147
|
],
|
@@ -162,93 +154,57 @@
|
|
162
154
|
]
|
163
155
|
}
|
164
156
|
],
|
165
|
-
"
|
166
|
-
"
|
167
|
-
"type": "singlestat",
|
168
|
-
"valueFontSize": "80%",
|
169
|
-
"valueMaps": [
|
170
|
-
{
|
171
|
-
"op": "=",
|
172
|
-
"text": "N/A",
|
173
|
-
"value": "null"
|
174
|
-
}
|
175
|
-
],
|
176
|
-
"valueName": "avg"
|
157
|
+
"title": "Requests served",
|
158
|
+
"type": "stat"
|
177
159
|
},
|
178
160
|
{
|
179
|
-
"cacheTimeout": null,
|
180
|
-
"colorBackground": false,
|
181
|
-
"colorValue": true,
|
182
|
-
"colors": [
|
183
|
-
"#299c46",
|
184
|
-
"rgba(237, 129, 40, 0.89)",
|
185
|
-
"#d44a3a"
|
186
|
-
],
|
187
161
|
"datasource": "InfluxDB",
|
188
|
-
"
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
162
|
+
"fieldConfig": {
|
163
|
+
"defaults": {
|
164
|
+
"custom": {},
|
165
|
+
"mappings": [],
|
166
|
+
"thresholds": {
|
167
|
+
"mode": "absolute",
|
168
|
+
"steps": [
|
169
|
+
{
|
170
|
+
"color": "green",
|
171
|
+
"value": null
|
172
|
+
}
|
173
|
+
]
|
174
|
+
}
|
175
|
+
},
|
176
|
+
"overrides": []
|
195
177
|
},
|
196
178
|
"gridPos": {
|
197
179
|
"h": 3,
|
198
|
-
"w":
|
199
|
-
"x":
|
180
|
+
"w": 4,
|
181
|
+
"x": 4,
|
200
182
|
"y": 0
|
201
183
|
},
|
202
|
-
"id":
|
203
|
-
"
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
"
|
184
|
+
"id": 26,
|
185
|
+
"options": {
|
186
|
+
"colorMode": "value",
|
187
|
+
"graphMode": "none",
|
188
|
+
"justifyMode": "auto",
|
189
|
+
"orientation": "auto",
|
190
|
+
"reduceOptions": {
|
191
|
+
"calcs": [
|
192
|
+
"sum"
|
193
|
+
],
|
194
|
+
"fields": "",
|
195
|
+
"values": false
|
210
196
|
},
|
211
|
-
|
212
|
-
"name": "range to text",
|
213
|
-
"value": 2
|
214
|
-
}
|
215
|
-
],
|
216
|
-
"maxDataPoints": 100,
|
217
|
-
"nullPointMode": "connected",
|
218
|
-
"nullText": null,
|
219
|
-
"options": {},
|
220
|
-
"postfix": "",
|
221
|
-
"postfixFontSize": "50%",
|
222
|
-
"prefix": "",
|
223
|
-
"prefixFontSize": "50%",
|
224
|
-
"rangeMaps": [
|
225
|
-
{
|
226
|
-
"from": "null",
|
227
|
-
"text": "N/A",
|
228
|
-
"to": "null"
|
229
|
-
}
|
230
|
-
],
|
231
|
-
"sparkline": {
|
232
|
-
"fillColor": "rgba(31, 118, 189, 0.18)",
|
233
|
-
"full": false,
|
234
|
-
"lineColor": "rgb(31, 120, 193)",
|
235
|
-
"show": true
|
197
|
+
"textMode": "auto"
|
236
198
|
},
|
237
|
-
"
|
199
|
+
"pluginVersion": "7.1.1",
|
238
200
|
"targets": [
|
239
201
|
{
|
240
202
|
"groupBy": [
|
241
203
|
{
|
242
204
|
"params": [
|
243
|
-
"$
|
205
|
+
"$per"
|
244
206
|
],
|
245
207
|
"type": "time"
|
246
|
-
},
|
247
|
-
{
|
248
|
-
"params": [
|
249
|
-
"null"
|
250
|
-
],
|
251
|
-
"type": "fill"
|
252
208
|
}
|
253
209
|
],
|
254
210
|
"measurement": "rails",
|
@@ -260,13 +216,13 @@
|
|
260
216
|
[
|
261
217
|
{
|
262
218
|
"params": [
|
263
|
-
"
|
219
|
+
"value"
|
264
220
|
],
|
265
221
|
"type": "field"
|
266
222
|
},
|
267
223
|
{
|
268
224
|
"params": [],
|
269
|
-
"type": "
|
225
|
+
"type": "count"
|
270
226
|
}
|
271
227
|
]
|
272
228
|
],
|
@@ -274,90 +230,62 @@
|
|
274
230
|
{
|
275
231
|
"key": "hook",
|
276
232
|
"operator": "=",
|
277
|
-
"value": "
|
233
|
+
"value": "perform"
|
278
234
|
}
|
279
235
|
]
|
280
236
|
}
|
281
237
|
],
|
282
|
-
"
|
283
|
-
"
|
284
|
-
"
|
285
|
-
"
|
286
|
-
"valueMaps": [
|
287
|
-
{
|
288
|
-
"op": "=",
|
289
|
-
"text": "N/A",
|
290
|
-
"value": "null"
|
291
|
-
}
|
292
|
-
],
|
293
|
-
"valueName": "avg"
|
238
|
+
"timeFrom": null,
|
239
|
+
"timeShift": null,
|
240
|
+
"title": "Jobs Executed",
|
241
|
+
"type": "stat"
|
294
242
|
},
|
295
243
|
{
|
296
|
-
"cacheTimeout": null,
|
297
|
-
"colorBackground": false,
|
298
|
-
"colorValue": true,
|
299
|
-
"colors": [
|
300
|
-
"#299c46",
|
301
|
-
"rgba(237, 129, 40, 0.89)",
|
302
|
-
"#d44a3a"
|
303
|
-
],
|
304
244
|
"datasource": "InfluxDB",
|
305
|
-
"
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
245
|
+
"fieldConfig": {
|
246
|
+
"defaults": {
|
247
|
+
"custom": {},
|
248
|
+
"mappings": [],
|
249
|
+
"thresholds": {
|
250
|
+
"mode": "absolute",
|
251
|
+
"steps": [
|
252
|
+
{
|
253
|
+
"color": "green",
|
254
|
+
"value": null
|
255
|
+
}
|
256
|
+
]
|
257
|
+
}
|
258
|
+
},
|
259
|
+
"overrides": []
|
312
260
|
},
|
313
261
|
"gridPos": {
|
314
262
|
"h": 3,
|
315
|
-
"w":
|
316
|
-
"x":
|
263
|
+
"w": 4,
|
264
|
+
"x": 8,
|
317
265
|
"y": 0
|
318
266
|
},
|
319
|
-
"id":
|
320
|
-
"
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
"
|
267
|
+
"id": 27,
|
268
|
+
"options": {
|
269
|
+
"colorMode": "value",
|
270
|
+
"graphMode": "none",
|
271
|
+
"justifyMode": "auto",
|
272
|
+
"orientation": "auto",
|
273
|
+
"reduceOptions": {
|
274
|
+
"calcs": [
|
275
|
+
"sum"
|
276
|
+
],
|
277
|
+
"fields": "",
|
278
|
+
"values": false
|
327
279
|
},
|
328
|
-
|
329
|
-
"name": "range to text",
|
330
|
-
"value": 2
|
331
|
-
}
|
332
|
-
],
|
333
|
-
"maxDataPoints": 100,
|
334
|
-
"nullPointMode": "connected",
|
335
|
-
"nullText": null,
|
336
|
-
"options": {},
|
337
|
-
"postfix": "",
|
338
|
-
"postfixFontSize": "50%",
|
339
|
-
"prefix": "",
|
340
|
-
"prefixFontSize": "50%",
|
341
|
-
"rangeMaps": [
|
342
|
-
{
|
343
|
-
"from": "null",
|
344
|
-
"text": "N/A",
|
345
|
-
"to": "null"
|
346
|
-
}
|
347
|
-
],
|
348
|
-
"sparkline": {
|
349
|
-
"fillColor": "rgba(31, 118, 189, 0.18)",
|
350
|
-
"full": false,
|
351
|
-
"lineColor": "rgb(31, 120, 193)",
|
352
|
-
"show": true
|
280
|
+
"textMode": "auto"
|
353
281
|
},
|
354
|
-
"
|
282
|
+
"pluginVersion": "7.1.1",
|
355
283
|
"targets": [
|
356
284
|
{
|
357
285
|
"groupBy": [
|
358
286
|
{
|
359
287
|
"params": [
|
360
|
-
"$
|
288
|
+
"$per"
|
361
289
|
],
|
362
290
|
"type": "time"
|
363
291
|
}
|
@@ -371,13 +299,13 @@
|
|
371
299
|
[
|
372
300
|
{
|
373
301
|
"params": [
|
374
|
-
"
|
302
|
+
"value"
|
375
303
|
],
|
376
304
|
"type": "field"
|
377
305
|
},
|
378
306
|
{
|
379
307
|
"params": [],
|
380
|
-
"type": "
|
308
|
+
"type": "count"
|
381
309
|
}
|
382
310
|
]
|
383
311
|
],
|
@@ -385,88 +313,88 @@
|
|
385
313
|
{
|
386
314
|
"key": "hook",
|
387
315
|
"operator": "=",
|
388
|
-
"value": "
|
316
|
+
"value": "deliver"
|
389
317
|
}
|
390
318
|
]
|
391
319
|
}
|
392
320
|
],
|
393
|
-
"
|
394
|
-
"
|
395
|
-
"
|
396
|
-
"
|
397
|
-
"valueMaps": [
|
398
|
-
{
|
399
|
-
"op": "=",
|
400
|
-
"text": "N/A",
|
401
|
-
"value": "null"
|
402
|
-
}
|
403
|
-
],
|
404
|
-
"valueName": "avg"
|
321
|
+
"timeFrom": null,
|
322
|
+
"timeShift": null,
|
323
|
+
"title": "Mails Sent",
|
324
|
+
"type": "stat"
|
405
325
|
},
|
406
326
|
{
|
407
327
|
"cacheTimeout": null,
|
408
|
-
"colorBackground": false,
|
409
|
-
"colorValue": false,
|
410
|
-
"colors": [
|
411
|
-
"#299c46",
|
412
|
-
"rgba(237, 129, 40, 0.89)",
|
413
|
-
"#d44a3a"
|
414
|
-
],
|
415
328
|
"datasource": "InfluxDB",
|
416
|
-
"
|
417
|
-
"
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
|
329
|
+
"description": "",
|
330
|
+
"fieldConfig": {
|
331
|
+
"defaults": {
|
332
|
+
"custom": {},
|
333
|
+
"displayName": "Response Time",
|
334
|
+
"mappings": [],
|
335
|
+
"nullValueMode": "connected",
|
336
|
+
"thresholds": {
|
337
|
+
"mode": "absolute",
|
338
|
+
"steps": [
|
339
|
+
{
|
340
|
+
"color": "#299c46",
|
341
|
+
"value": null
|
342
|
+
},
|
343
|
+
{
|
344
|
+
"color": "yellow",
|
345
|
+
"value": 150
|
346
|
+
},
|
347
|
+
{
|
348
|
+
"color": "red",
|
349
|
+
"value": 300
|
350
|
+
}
|
351
|
+
]
|
352
|
+
},
|
353
|
+
"unit": "ms"
|
354
|
+
},
|
355
|
+
"overrides": []
|
424
356
|
},
|
425
357
|
"gridPos": {
|
426
358
|
"h": 3,
|
427
|
-
"w":
|
428
|
-
"x":
|
359
|
+
"w": 4,
|
360
|
+
"x": 12,
|
429
361
|
"y": 0
|
430
362
|
},
|
431
|
-
"id":
|
363
|
+
"id": 10,
|
432
364
|
"interval": null,
|
433
365
|
"links": [],
|
434
|
-
"mappingType": 1,
|
435
|
-
"mappingTypes": [
|
436
|
-
{
|
437
|
-
"name": "value to text",
|
438
|
-
"value": 1
|
439
|
-
},
|
440
|
-
{
|
441
|
-
"name": "range to text",
|
442
|
-
"value": 2
|
443
|
-
}
|
444
|
-
],
|
445
366
|
"maxDataPoints": 100,
|
446
|
-
"
|
447
|
-
|
448
|
-
|
449
|
-
|
450
|
-
|
451
|
-
|
452
|
-
|
453
|
-
|
454
|
-
|
455
|
-
"
|
456
|
-
"
|
457
|
-
|
458
|
-
|
459
|
-
],
|
460
|
-
"sparkline": {
|
461
|
-
"fillColor": "rgba(31, 118, 189, 0.18)",
|
462
|
-
"full": false,
|
463
|
-
"lineColor": "rgb(31, 120, 193)",
|
464
|
-
"show": false
|
367
|
+
"options": {
|
368
|
+
"colorMode": "value",
|
369
|
+
"graphMode": "none",
|
370
|
+
"justifyMode": "center",
|
371
|
+
"orientation": "horizontal",
|
372
|
+
"reduceOptions": {
|
373
|
+
"calcs": [
|
374
|
+
"mean"
|
375
|
+
],
|
376
|
+
"fields": "",
|
377
|
+
"values": false
|
378
|
+
},
|
379
|
+
"textMode": "auto"
|
465
380
|
},
|
466
|
-
"
|
381
|
+
"pluginVersion": "7.1.1",
|
467
382
|
"targets": [
|
468
383
|
{
|
469
|
-
"groupBy": [
|
384
|
+
"groupBy": [
|
385
|
+
{
|
386
|
+
"params": [
|
387
|
+
"$per"
|
388
|
+
],
|
389
|
+
"type": "time"
|
390
|
+
},
|
391
|
+
{
|
392
|
+
"params": [
|
393
|
+
"null"
|
394
|
+
],
|
395
|
+
"type": "fill"
|
396
|
+
}
|
397
|
+
],
|
470
398
|
"hide": false,
|
471
399
|
"measurement": "rails",
|
472
400
|
"orderByTime": "ASC",
|
@@ -477,13 +405,13 @@
|
|
477
405
|
[
|
478
406
|
{
|
479
407
|
"params": [
|
480
|
-
"
|
408
|
+
"controller"
|
481
409
|
],
|
482
410
|
"type": "field"
|
483
411
|
},
|
484
412
|
{
|
485
413
|
"params": [],
|
486
|
-
"type": "
|
414
|
+
"type": "mean"
|
487
415
|
}
|
488
416
|
]
|
489
417
|
],
|
@@ -496,84 +424,76 @@
|
|
496
424
|
]
|
497
425
|
}
|
498
426
|
],
|
499
|
-
"
|
500
|
-
"
|
501
|
-
"type": "singlestat",
|
502
|
-
"valueFontSize": "80%",
|
503
|
-
"valueMaps": [
|
504
|
-
{
|
505
|
-
"op": "=",
|
506
|
-
"text": "N/A",
|
507
|
-
"value": "null"
|
508
|
-
}
|
509
|
-
],
|
510
|
-
"valueName": "current"
|
427
|
+
"title": "Average Response",
|
428
|
+
"type": "stat"
|
511
429
|
},
|
512
430
|
{
|
513
|
-
"
|
514
|
-
"rails.controller.mean": "#1f78c1"
|
515
|
-
},
|
516
|
-
"bars": false,
|
517
|
-
"dashLength": 10,
|
518
|
-
"dashes": false,
|
431
|
+
"cacheTimeout": null,
|
519
432
|
"datasource": "InfluxDB",
|
520
|
-
"
|
521
|
-
|
522
|
-
|
523
|
-
|
524
|
-
|
525
|
-
|
526
|
-
|
433
|
+
"fieldConfig": {
|
434
|
+
"defaults": {
|
435
|
+
"custom": {},
|
436
|
+
"displayName": "Response Time",
|
437
|
+
"mappings": [],
|
438
|
+
"nullValueMode": "connected",
|
439
|
+
"thresholds": {
|
440
|
+
"mode": "absolute",
|
441
|
+
"steps": [
|
442
|
+
{
|
443
|
+
"color": "#299c46",
|
444
|
+
"value": null
|
445
|
+
},
|
446
|
+
{
|
447
|
+
"color": "rgba(237, 129, 40, 0.89)",
|
448
|
+
"value": 50
|
449
|
+
},
|
450
|
+
{
|
451
|
+
"color": "#d44a3a",
|
452
|
+
"value": 100
|
453
|
+
}
|
454
|
+
]
|
455
|
+
},
|
456
|
+
"unit": "ms"
|
457
|
+
},
|
458
|
+
"overrides": []
|
527
459
|
},
|
528
|
-
"
|
529
|
-
|
530
|
-
"
|
531
|
-
"
|
532
|
-
"
|
533
|
-
"max": false,
|
534
|
-
"min": false,
|
535
|
-
"rightSide": false,
|
536
|
-
"show": false,
|
537
|
-
"total": false,
|
538
|
-
"values": false
|
460
|
+
"gridPos": {
|
461
|
+
"h": 3,
|
462
|
+
"w": 4,
|
463
|
+
"x": 16,
|
464
|
+
"y": 0
|
539
465
|
},
|
540
|
-
"
|
541
|
-
"
|
466
|
+
"id": 12,
|
467
|
+
"interval": null,
|
542
468
|
"links": [],
|
543
|
-
"
|
544
|
-
"options": {
|
545
|
-
|
546
|
-
|
547
|
-
|
548
|
-
|
549
|
-
|
550
|
-
|
551
|
-
|
552
|
-
|
553
|
-
"
|
554
|
-
"
|
469
|
+
"maxDataPoints": 100,
|
470
|
+
"options": {
|
471
|
+
"colorMode": "value",
|
472
|
+
"graphMode": "none",
|
473
|
+
"justifyMode": "center",
|
474
|
+
"orientation": "horizontal",
|
475
|
+
"reduceOptions": {
|
476
|
+
"calcs": [
|
477
|
+
"mean"
|
478
|
+
],
|
479
|
+
"fields": "",
|
480
|
+
"values": false
|
555
481
|
},
|
556
|
-
|
557
|
-
|
558
|
-
|
559
|
-
}
|
560
|
-
],
|
561
|
-
"spaceLength": 10,
|
562
|
-
"stack": false,
|
563
|
-
"steppedLine": false,
|
482
|
+
"textMode": "auto"
|
483
|
+
},
|
484
|
+
"pluginVersion": "7.1.1",
|
564
485
|
"targets": [
|
565
486
|
{
|
566
|
-
"alias": "Maximum",
|
567
487
|
"groupBy": [
|
568
488
|
{
|
569
489
|
"params": [
|
570
|
-
"$
|
490
|
+
"$per"
|
571
491
|
],
|
572
492
|
"type": "time"
|
573
493
|
},
|
574
494
|
{
|
575
495
|
"params": [
|
576
|
-
"
|
496
|
+
"null"
|
577
497
|
],
|
578
498
|
"type": "fill"
|
579
499
|
}
|
@@ -581,19 +501,19 @@
|
|
581
501
|
"measurement": "rails",
|
582
502
|
"orderByTime": "ASC",
|
583
503
|
"policy": "default",
|
584
|
-
"refId": "
|
504
|
+
"refId": "A",
|
585
505
|
"resultFormat": "time_series",
|
586
506
|
"select": [
|
587
507
|
[
|
588
508
|
{
|
589
509
|
"params": [
|
590
|
-
"
|
510
|
+
"db"
|
591
511
|
],
|
592
512
|
"type": "field"
|
593
513
|
},
|
594
514
|
{
|
595
515
|
"params": [],
|
596
|
-
"type": "
|
516
|
+
"type": "mean"
|
597
517
|
}
|
598
518
|
]
|
599
519
|
],
|
@@ -604,62 +524,78 @@
|
|
604
524
|
"value": "process_action"
|
605
525
|
}
|
606
526
|
]
|
527
|
+
}
|
528
|
+
],
|
529
|
+
"title": "Average Database Response",
|
530
|
+
"type": "stat"
|
531
|
+
},
|
532
|
+
{
|
533
|
+
"cacheTimeout": null,
|
534
|
+
"datasource": "InfluxDB",
|
535
|
+
"fieldConfig": {
|
536
|
+
"defaults": {
|
537
|
+
"custom": {},
|
538
|
+
"displayName": "Response Time",
|
539
|
+
"mappings": [],
|
540
|
+
"nullValueMode": "connected",
|
541
|
+
"thresholds": {
|
542
|
+
"mode": "absolute",
|
543
|
+
"steps": [
|
544
|
+
{
|
545
|
+
"color": "#299c46",
|
546
|
+
"value": null
|
547
|
+
},
|
548
|
+
{
|
549
|
+
"color": "rgba(237, 129, 40, 0.89)",
|
550
|
+
"value": 1500
|
551
|
+
},
|
552
|
+
{
|
553
|
+
"color": "#d44a3a",
|
554
|
+
"value": 3000
|
555
|
+
}
|
556
|
+
]
|
557
|
+
},
|
558
|
+
"unit": "ms"
|
607
559
|
},
|
608
|
-
|
609
|
-
|
610
|
-
|
611
|
-
|
612
|
-
|
613
|
-
|
614
|
-
|
615
|
-
|
616
|
-
|
617
|
-
|
618
|
-
|
619
|
-
|
620
|
-
|
621
|
-
|
622
|
-
|
623
|
-
|
624
|
-
|
625
|
-
|
626
|
-
"
|
627
|
-
|
628
|
-
"resultFormat": "time_series",
|
629
|
-
"select": [
|
630
|
-
[
|
631
|
-
{
|
632
|
-
"params": [
|
633
|
-
"controller"
|
634
|
-
],
|
635
|
-
"type": "field"
|
636
|
-
},
|
637
|
-
{
|
638
|
-
"params": [],
|
639
|
-
"type": "mean"
|
640
|
-
}
|
641
|
-
]
|
560
|
+
"overrides": []
|
561
|
+
},
|
562
|
+
"gridPos": {
|
563
|
+
"h": 3,
|
564
|
+
"w": 4,
|
565
|
+
"x": 20,
|
566
|
+
"y": 0
|
567
|
+
},
|
568
|
+
"id": 28,
|
569
|
+
"interval": null,
|
570
|
+
"links": [],
|
571
|
+
"maxDataPoints": 100,
|
572
|
+
"options": {
|
573
|
+
"colorMode": "value",
|
574
|
+
"graphMode": "none",
|
575
|
+
"justifyMode": "center",
|
576
|
+
"orientation": "horizontal",
|
577
|
+
"reduceOptions": {
|
578
|
+
"calcs": [
|
579
|
+
"mean"
|
642
580
|
],
|
643
|
-
"
|
644
|
-
|
645
|
-
"key": "hook",
|
646
|
-
"operator": "=",
|
647
|
-
"value": "process_action"
|
648
|
-
}
|
649
|
-
]
|
581
|
+
"fields": "",
|
582
|
+
"values": false
|
650
583
|
},
|
584
|
+
"textMode": "auto"
|
585
|
+
},
|
586
|
+
"pluginVersion": "7.1.1",
|
587
|
+
"targets": [
|
651
588
|
{
|
652
|
-
"alias": "Minimum",
|
653
589
|
"groupBy": [
|
654
590
|
{
|
655
591
|
"params": [
|
656
|
-
"$
|
592
|
+
"$per"
|
657
593
|
],
|
658
594
|
"type": "time"
|
659
595
|
},
|
660
596
|
{
|
661
597
|
"params": [
|
662
|
-
"
|
598
|
+
"null"
|
663
599
|
],
|
664
600
|
"type": "fill"
|
665
601
|
}
|
@@ -667,19 +603,19 @@
|
|
667
603
|
"measurement": "rails",
|
668
604
|
"orderByTime": "ASC",
|
669
605
|
"policy": "default",
|
670
|
-
"refId": "
|
606
|
+
"refId": "A",
|
671
607
|
"resultFormat": "time_series",
|
672
608
|
"select": [
|
673
609
|
[
|
674
610
|
{
|
675
611
|
"params": [
|
676
|
-
"
|
612
|
+
"value"
|
677
613
|
],
|
678
614
|
"type": "field"
|
679
615
|
},
|
680
616
|
{
|
681
617
|
"params": [],
|
682
|
-
"type": "
|
618
|
+
"type": "mean"
|
683
619
|
}
|
684
620
|
]
|
685
621
|
],
|
@@ -687,113 +623,75 @@
|
|
687
623
|
{
|
688
624
|
"key": "hook",
|
689
625
|
"operator": "=",
|
690
|
-
"value": "
|
626
|
+
"value": "perform"
|
691
627
|
}
|
692
628
|
]
|
693
629
|
}
|
694
630
|
],
|
695
|
-
"
|
696
|
-
"
|
697
|
-
"timeRegions": [],
|
698
|
-
"timeShift": null,
|
699
|
-
"title": "Controller Action Runtime",
|
700
|
-
"tooltip": {
|
701
|
-
"shared": true,
|
702
|
-
"sort": 0,
|
703
|
-
"value_type": "individual"
|
704
|
-
},
|
705
|
-
"type": "graph",
|
706
|
-
"xaxis": {
|
707
|
-
"buckets": null,
|
708
|
-
"mode": "time",
|
709
|
-
"name": null,
|
710
|
-
"show": true,
|
711
|
-
"values": []
|
712
|
-
},
|
713
|
-
"yaxes": [
|
714
|
-
{
|
715
|
-
"format": "dtdurationms",
|
716
|
-
"label": null,
|
717
|
-
"logBase": 2,
|
718
|
-
"max": null,
|
719
|
-
"min": null,
|
720
|
-
"show": true
|
721
|
-
},
|
722
|
-
{
|
723
|
-
"format": "short",
|
724
|
-
"label": null,
|
725
|
-
"logBase": 1,
|
726
|
-
"max": null,
|
727
|
-
"min": null,
|
728
|
-
"show": true
|
729
|
-
}
|
730
|
-
],
|
731
|
-
"yaxis": {
|
732
|
-
"align": false,
|
733
|
-
"alignLevel": null
|
734
|
-
}
|
631
|
+
"title": "Average Job Execution",
|
632
|
+
"type": "stat"
|
735
633
|
},
|
736
634
|
{
|
737
|
-
"aliasColors": {
|
738
|
-
|
635
|
+
"aliasColors": {
|
636
|
+
"Error": "dark-red",
|
637
|
+
"Success": "semi-dark-green"
|
638
|
+
},
|
639
|
+
"bars": true,
|
739
640
|
"dashLength": 10,
|
740
641
|
"dashes": false,
|
741
642
|
"datasource": "InfluxDB",
|
742
|
-
"description": "
|
643
|
+
"description": "Requests Served",
|
644
|
+
"fieldConfig": {
|
645
|
+
"defaults": {
|
646
|
+
"custom": {}
|
647
|
+
},
|
648
|
+
"overrides": []
|
649
|
+
},
|
743
650
|
"fill": 1,
|
651
|
+
"fillGradient": 0,
|
744
652
|
"gridPos": {
|
745
|
-
"h":
|
746
|
-
"w":
|
747
|
-
"x":
|
653
|
+
"h": 7,
|
654
|
+
"w": 12,
|
655
|
+
"x": 0,
|
748
656
|
"y": 3
|
749
657
|
},
|
750
|
-
"
|
658
|
+
"hiddenSeries": false,
|
659
|
+
"id": 18,
|
751
660
|
"legend": {
|
752
661
|
"avg": false,
|
753
662
|
"current": false,
|
754
663
|
"max": false,
|
755
664
|
"min": false,
|
756
|
-
"show":
|
665
|
+
"show": true,
|
757
666
|
"total": false,
|
758
667
|
"values": false
|
759
668
|
},
|
760
|
-
"lines":
|
669
|
+
"lines": false,
|
761
670
|
"linewidth": 1,
|
762
671
|
"links": [],
|
763
672
|
"nullPointMode": "null",
|
764
|
-
"options": {},
|
765
|
-
"paceLength": 10,
|
766
673
|
"percentage": false,
|
767
|
-
"
|
674
|
+
"pluginVersion": "7.1.1",
|
675
|
+
"pointradius": 2,
|
768
676
|
"points": false,
|
769
677
|
"renderer": "flot",
|
770
|
-
"seriesOverrides": [
|
771
|
-
{
|
772
|
-
"alias": "Maximum",
|
773
|
-
"fillBelowTo": "Minimum",
|
774
|
-
"lines": false
|
775
|
-
},
|
776
|
-
{
|
777
|
-
"alias": "Minimum",
|
778
|
-
"lines": false
|
779
|
-
}
|
780
|
-
],
|
678
|
+
"seriesOverrides": [],
|
781
679
|
"spaceLength": 10,
|
782
680
|
"stack": false,
|
783
681
|
"steppedLine": false,
|
784
682
|
"targets": [
|
785
683
|
{
|
786
|
-
"alias": "
|
684
|
+
"alias": "Success",
|
787
685
|
"groupBy": [
|
788
686
|
{
|
789
687
|
"params": [
|
790
|
-
"$
|
688
|
+
"$per"
|
791
689
|
],
|
792
690
|
"type": "time"
|
793
691
|
},
|
794
692
|
{
|
795
693
|
"params": [
|
796
|
-
"
|
694
|
+
"previous"
|
797
695
|
],
|
798
696
|
"type": "fill"
|
799
697
|
}
|
@@ -801,19 +699,19 @@
|
|
801
699
|
"measurement": "rails",
|
802
700
|
"orderByTime": "ASC",
|
803
701
|
"policy": "default",
|
804
|
-
"refId": "
|
702
|
+
"refId": "A",
|
805
703
|
"resultFormat": "time_series",
|
806
704
|
"select": [
|
807
705
|
[
|
808
706
|
{
|
809
707
|
"params": [
|
810
|
-
"
|
708
|
+
"controller"
|
811
709
|
],
|
812
710
|
"type": "field"
|
813
711
|
},
|
814
712
|
{
|
815
713
|
"params": [],
|
816
|
-
"type": "
|
714
|
+
"type": "count"
|
817
715
|
}
|
818
716
|
]
|
819
717
|
],
|
@@ -822,64 +720,27 @@
|
|
822
720
|
"key": "hook",
|
823
721
|
"operator": "=",
|
824
722
|
"value": "process_action"
|
825
|
-
}
|
826
|
-
]
|
827
|
-
},
|
828
|
-
{
|
829
|
-
"alias": "Mean",
|
830
|
-
"groupBy": [
|
831
|
-
{
|
832
|
-
"params": [
|
833
|
-
"$__interval"
|
834
|
-
],
|
835
|
-
"type": "time"
|
836
723
|
},
|
837
724
|
{
|
838
|
-
"
|
839
|
-
|
840
|
-
],
|
841
|
-
"type": "fill"
|
842
|
-
}
|
843
|
-
],
|
844
|
-
"measurement": "rails",
|
845
|
-
"orderByTime": "ASC",
|
846
|
-
"policy": "default",
|
847
|
-
"refId": "A",
|
848
|
-
"resultFormat": "time_series",
|
849
|
-
"select": [
|
850
|
-
[
|
851
|
-
{
|
852
|
-
"params": [
|
853
|
-
"db"
|
854
|
-
],
|
855
|
-
"type": "field"
|
856
|
-
},
|
857
|
-
{
|
858
|
-
"params": [],
|
859
|
-
"type": "mean"
|
860
|
-
}
|
861
|
-
]
|
862
|
-
],
|
863
|
-
"tags": [
|
864
|
-
{
|
865
|
-
"key": "hook",
|
725
|
+
"condition": "AND",
|
726
|
+
"key": "status",
|
866
727
|
"operator": "=",
|
867
|
-
"value": "
|
728
|
+
"value": "200"
|
868
729
|
}
|
869
730
|
]
|
870
731
|
},
|
871
732
|
{
|
872
|
-
"alias": "
|
733
|
+
"alias": "Error",
|
873
734
|
"groupBy": [
|
874
735
|
{
|
875
736
|
"params": [
|
876
|
-
"$
|
737
|
+
"$per"
|
877
738
|
],
|
878
739
|
"type": "time"
|
879
740
|
},
|
880
741
|
{
|
881
742
|
"params": [
|
882
|
-
"
|
743
|
+
"previous"
|
883
744
|
],
|
884
745
|
"type": "fill"
|
885
746
|
}
|
@@ -887,19 +748,19 @@
|
|
887
748
|
"measurement": "rails",
|
888
749
|
"orderByTime": "ASC",
|
889
750
|
"policy": "default",
|
890
|
-
"refId": "
|
751
|
+
"refId": "B",
|
891
752
|
"resultFormat": "time_series",
|
892
753
|
"select": [
|
893
754
|
[
|
894
755
|
{
|
895
756
|
"params": [
|
896
|
-
"
|
757
|
+
"controller"
|
897
758
|
],
|
898
759
|
"type": "field"
|
899
760
|
},
|
900
761
|
{
|
901
762
|
"params": [],
|
902
|
-
"type": "
|
763
|
+
"type": "count"
|
903
764
|
}
|
904
765
|
]
|
905
766
|
],
|
@@ -908,6 +769,12 @@
|
|
908
769
|
"key": "hook",
|
909
770
|
"operator": "=",
|
910
771
|
"value": "process_action"
|
772
|
+
},
|
773
|
+
{
|
774
|
+
"condition": "AND",
|
775
|
+
"key": "status",
|
776
|
+
"operator": "!=",
|
777
|
+
"value": "200"
|
911
778
|
}
|
912
779
|
]
|
913
780
|
}
|
@@ -916,7 +783,7 @@
|
|
916
783
|
"timeFrom": null,
|
917
784
|
"timeRegions": [],
|
918
785
|
"timeShift": null,
|
919
|
-
"title": "
|
786
|
+
"title": "Requests per $per",
|
920
787
|
"tooltip": {
|
921
788
|
"shared": true,
|
922
789
|
"sort": 0,
|
@@ -932,14 +799,16 @@
|
|
932
799
|
},
|
933
800
|
"yaxes": [
|
934
801
|
{
|
935
|
-
"
|
802
|
+
"$$hashKey": "object:477",
|
803
|
+
"format": "short",
|
936
804
|
"label": null,
|
937
|
-
"logBase":
|
805
|
+
"logBase": 1,
|
938
806
|
"max": null,
|
939
807
|
"min": null,
|
940
808
|
"show": true
|
941
809
|
},
|
942
810
|
{
|
811
|
+
"$$hashKey": "object:478",
|
943
812
|
"format": "short",
|
944
813
|
"label": null,
|
945
814
|
"logBase": 1,
|
@@ -955,27 +824,37 @@
|
|
955
824
|
},
|
956
825
|
{
|
957
826
|
"aliasColors": {
|
958
|
-
"rails.
|
827
|
+
"rails.controller.mean": "#1f78c1"
|
959
828
|
},
|
960
829
|
"bars": false,
|
961
830
|
"dashLength": 10,
|
962
831
|
"dashes": false,
|
963
832
|
"datasource": "InfluxDB",
|
964
|
-
"description": "Time spent in
|
965
|
-
"
|
833
|
+
"description": "Time spent in controller actions",
|
834
|
+
"fieldConfig": {
|
835
|
+
"defaults": {
|
836
|
+
"custom": {}
|
837
|
+
},
|
838
|
+
"overrides": []
|
839
|
+
},
|
840
|
+
"fill": 1,
|
841
|
+
"fillGradient": 0,
|
966
842
|
"gridPos": {
|
967
|
-
"h":
|
968
|
-
"w":
|
969
|
-
"x":
|
843
|
+
"h": 7,
|
844
|
+
"w": 12,
|
845
|
+
"x": 12,
|
970
846
|
"y": 3
|
971
847
|
},
|
972
|
-
"
|
848
|
+
"hiddenSeries": false,
|
849
|
+
"id": 6,
|
973
850
|
"legend": {
|
851
|
+
"alignAsTable": false,
|
974
852
|
"avg": false,
|
975
853
|
"current": false,
|
976
854
|
"max": false,
|
977
855
|
"min": false,
|
978
|
-
"
|
856
|
+
"rightSide": false,
|
857
|
+
"show": true,
|
979
858
|
"total": false,
|
980
859
|
"values": false
|
981
860
|
},
|
@@ -983,9 +862,9 @@
|
|
983
862
|
"linewidth": 1,
|
984
863
|
"links": [],
|
985
864
|
"nullPointMode": "null",
|
986
|
-
"options": {},
|
987
865
|
"paceLength": 10,
|
988
866
|
"percentage": false,
|
867
|
+
"pluginVersion": "7.1.1",
|
989
868
|
"pointradius": 5,
|
990
869
|
"points": false,
|
991
870
|
"renderer": "flot",
|
@@ -1005,17 +884,17 @@
|
|
1005
884
|
"steppedLine": false,
|
1006
885
|
"targets": [
|
1007
886
|
{
|
1008
|
-
"alias": "
|
887
|
+
"alias": "P99",
|
1009
888
|
"groupBy": [
|
1010
889
|
{
|
1011
890
|
"params": [
|
1012
|
-
"$
|
891
|
+
"$per"
|
1013
892
|
],
|
1014
893
|
"type": "time"
|
1015
894
|
},
|
1016
895
|
{
|
1017
896
|
"params": [
|
1018
|
-
"
|
897
|
+
"null"
|
1019
898
|
],
|
1020
899
|
"type": "fill"
|
1021
900
|
}
|
@@ -1023,19 +902,21 @@
|
|
1023
902
|
"measurement": "rails",
|
1024
903
|
"orderByTime": "ASC",
|
1025
904
|
"policy": "default",
|
1026
|
-
"refId": "
|
905
|
+
"refId": "A",
|
1027
906
|
"resultFormat": "time_series",
|
1028
907
|
"select": [
|
1029
908
|
[
|
1030
909
|
{
|
1031
910
|
"params": [
|
1032
|
-
"
|
911
|
+
"controller"
|
1033
912
|
],
|
1034
913
|
"type": "field"
|
1035
914
|
},
|
1036
915
|
{
|
1037
|
-
"params": [
|
1038
|
-
|
916
|
+
"params": [
|
917
|
+
"99"
|
918
|
+
],
|
919
|
+
"type": "percentile"
|
1039
920
|
}
|
1040
921
|
]
|
1041
922
|
],
|
@@ -1048,17 +929,17 @@
|
|
1048
929
|
]
|
1049
930
|
},
|
1050
931
|
{
|
1051
|
-
"alias": "
|
932
|
+
"alias": "P95",
|
1052
933
|
"groupBy": [
|
1053
934
|
{
|
1054
935
|
"params": [
|
1055
|
-
"$
|
936
|
+
"$per"
|
1056
937
|
],
|
1057
938
|
"type": "time"
|
1058
939
|
},
|
1059
940
|
{
|
1060
941
|
"params": [
|
1061
|
-
"
|
942
|
+
"null"
|
1062
943
|
],
|
1063
944
|
"type": "fill"
|
1064
945
|
}
|
@@ -1066,19 +947,64 @@
|
|
1066
947
|
"measurement": "rails",
|
1067
948
|
"orderByTime": "ASC",
|
1068
949
|
"policy": "default",
|
1069
|
-
"refId": "
|
950
|
+
"refId": "B",
|
951
|
+
"resultFormat": "time_series",
|
952
|
+
"select": [
|
953
|
+
[
|
954
|
+
{
|
955
|
+
"params": [
|
956
|
+
"controller"
|
957
|
+
],
|
958
|
+
"type": "field"
|
959
|
+
},
|
960
|
+
{
|
961
|
+
"params": [
|
962
|
+
"95"
|
963
|
+
],
|
964
|
+
"type": "percentile"
|
965
|
+
}
|
966
|
+
]
|
967
|
+
],
|
968
|
+
"tags": [
|
969
|
+
{
|
970
|
+
"key": "hook",
|
971
|
+
"operator": "=",
|
972
|
+
"value": "process_action"
|
973
|
+
}
|
974
|
+
]
|
975
|
+
},
|
976
|
+
{
|
977
|
+
"alias": "P50",
|
978
|
+
"groupBy": [
|
979
|
+
{
|
980
|
+
"params": [
|
981
|
+
"$per"
|
982
|
+
],
|
983
|
+
"type": "time"
|
984
|
+
},
|
985
|
+
{
|
986
|
+
"params": [
|
987
|
+
"null"
|
988
|
+
],
|
989
|
+
"type": "fill"
|
990
|
+
}
|
991
|
+
],
|
992
|
+
"measurement": "rails",
|
993
|
+
"orderByTime": "ASC",
|
994
|
+
"policy": "default",
|
995
|
+
"refId": "C",
|
1070
996
|
"resultFormat": "time_series",
|
1071
997
|
"select": [
|
1072
998
|
[
|
1073
999
|
{
|
1074
1000
|
"params": [
|
1075
|
-
"
|
1001
|
+
"controller"
|
1076
1002
|
],
|
1077
1003
|
"type": "field"
|
1078
1004
|
},
|
1079
1005
|
{
|
1080
1006
|
"params": [],
|
1081
|
-
"type": "
|
1007
|
+
"type": "median"
|
1082
1008
|
}
|
1083
1009
|
]
|
1084
1010
|
],
|
@@ -1091,17 +1017,17 @@
|
|
1091
1017
|
]
|
1092
1018
|
},
|
1093
1019
|
{
|
1094
|
-
"alias": "
|
1020
|
+
"alias": "Mean",
|
1095
1021
|
"groupBy": [
|
1096
1022
|
{
|
1097
1023
|
"params": [
|
1098
|
-
"$
|
1024
|
+
"$per"
|
1099
1025
|
],
|
1100
1026
|
"type": "time"
|
1101
1027
|
},
|
1102
1028
|
{
|
1103
1029
|
"params": [
|
1104
|
-
"
|
1030
|
+
"null"
|
1105
1031
|
],
|
1106
1032
|
"type": "fill"
|
1107
1033
|
}
|
@@ -1109,19 +1035,19 @@
|
|
1109
1035
|
"measurement": "rails",
|
1110
1036
|
"orderByTime": "ASC",
|
1111
1037
|
"policy": "default",
|
1112
|
-
"refId": "
|
1038
|
+
"refId": "D",
|
1113
1039
|
"resultFormat": "time_series",
|
1114
1040
|
"select": [
|
1115
1041
|
[
|
1116
1042
|
{
|
1117
1043
|
"params": [
|
1118
|
-
"
|
1044
|
+
"controller"
|
1119
1045
|
],
|
1120
1046
|
"type": "field"
|
1121
1047
|
},
|
1122
1048
|
{
|
1123
1049
|
"params": [],
|
1124
|
-
"type": "
|
1050
|
+
"type": "mean"
|
1125
1051
|
}
|
1126
1052
|
]
|
1127
1053
|
],
|
@@ -1138,7 +1064,7 @@
|
|
1138
1064
|
"timeFrom": null,
|
1139
1065
|
"timeRegions": [],
|
1140
1066
|
"timeShift": null,
|
1141
|
-
"title": "
|
1067
|
+
"title": "Controller Action Performance",
|
1142
1068
|
"tooltip": {
|
1143
1069
|
"shared": true,
|
1144
1070
|
"sort": 0,
|
@@ -1154,7 +1080,8 @@
|
|
1154
1080
|
},
|
1155
1081
|
"yaxes": [
|
1156
1082
|
{
|
1157
|
-
"
|
1083
|
+
"$$hashKey": "object:2305",
|
1084
|
+
"format": "ms",
|
1158
1085
|
"label": null,
|
1159
1086
|
"logBase": 2,
|
1160
1087
|
"max": null,
|
@@ -1162,12 +1089,13 @@
|
|
1162
1089
|
"show": true
|
1163
1090
|
},
|
1164
1091
|
{
|
1092
|
+
"$$hashKey": "object:2306",
|
1165
1093
|
"format": "short",
|
1166
1094
|
"label": null,
|
1167
1095
|
"logBase": 1,
|
1168
1096
|
"max": null,
|
1169
1097
|
"min": null,
|
1170
|
-
"show":
|
1098
|
+
"show": false
|
1171
1099
|
}
|
1172
1100
|
],
|
1173
1101
|
"yaxis": {
|
@@ -1176,195 +1104,87 @@
|
|
1176
1104
|
}
|
1177
1105
|
},
|
1178
1106
|
{
|
1179
|
-
"
|
1107
|
+
"aliasColors": {
|
1108
|
+
"Error": "dark-red",
|
1109
|
+
"Success": "semi-dark-green"
|
1110
|
+
},
|
1111
|
+
"bars": true,
|
1112
|
+
"dashLength": 10,
|
1113
|
+
"dashes": false,
|
1180
1114
|
"datasource": "InfluxDB",
|
1181
|
-
"description": "
|
1182
|
-
"
|
1115
|
+
"description": "Records Instantiated",
|
1116
|
+
"fieldConfig": {
|
1117
|
+
"defaults": {
|
1118
|
+
"custom": {},
|
1119
|
+
"displayName": "Records Instantiated"
|
1120
|
+
},
|
1121
|
+
"overrides": []
|
1122
|
+
},
|
1123
|
+
"fill": 1,
|
1124
|
+
"fillGradient": 0,
|
1183
1125
|
"gridPos": {
|
1184
|
-
"h":
|
1126
|
+
"h": 6,
|
1185
1127
|
"w": 12,
|
1186
1128
|
"x": 0,
|
1187
|
-
"y":
|
1129
|
+
"y": 10
|
1188
1130
|
},
|
1189
|
-
"
|
1190
|
-
"
|
1191
|
-
"
|
1192
|
-
|
1193
|
-
|
1194
|
-
|
1195
|
-
|
1196
|
-
"
|
1197
|
-
"
|
1131
|
+
"hiddenSeries": false,
|
1132
|
+
"id": 24,
|
1133
|
+
"legend": {
|
1134
|
+
"avg": false,
|
1135
|
+
"current": false,
|
1136
|
+
"max": false,
|
1137
|
+
"min": false,
|
1138
|
+
"show": false,
|
1139
|
+
"total": false,
|
1140
|
+
"values": false
|
1198
1141
|
},
|
1199
|
-
"
|
1200
|
-
|
1201
|
-
|
1202
|
-
|
1203
|
-
|
1204
|
-
|
1205
|
-
|
1206
|
-
|
1207
|
-
|
1208
|
-
|
1209
|
-
|
1210
|
-
|
1211
|
-
|
1212
|
-
"rgba(50, 172, 45, 0.97)"
|
1213
|
-
],
|
1214
|
-
"dateFormat": "YYYY-MM-DD HH:mm:ss",
|
1215
|
-
"decimals": 2,
|
1216
|
-
"mappingType": 1,
|
1217
|
-
"pattern": "mean",
|
1218
|
-
"thresholds": [],
|
1219
|
-
"type": "number",
|
1220
|
-
"unit": "ms"
|
1221
|
-
},
|
1222
|
-
{
|
1223
|
-
"alias": "Count",
|
1224
|
-
"colorMode": null,
|
1225
|
-
"colors": [
|
1226
|
-
"rgba(245, 54, 54, 0.9)",
|
1227
|
-
"rgba(237, 129, 40, 0.89)",
|
1228
|
-
"rgba(50, 172, 45, 0.97)"
|
1229
|
-
],
|
1230
|
-
"dateFormat": "YYYY-MM-DD HH:mm:ss",
|
1231
|
-
"decimals": 0,
|
1232
|
-
"mappingType": 1,
|
1233
|
-
"pattern": "count",
|
1234
|
-
"thresholds": [],
|
1235
|
-
"type": "number",
|
1236
|
-
"unit": "short"
|
1237
|
-
},
|
1238
|
-
{
|
1239
|
-
"alias": "Median",
|
1240
|
-
"colorMode": null,
|
1241
|
-
"colors": [
|
1242
|
-
"rgba(245, 54, 54, 0.9)",
|
1243
|
-
"rgba(237, 129, 40, 0.89)",
|
1244
|
-
"rgba(50, 172, 45, 0.97)"
|
1245
|
-
],
|
1246
|
-
"dateFormat": "YYYY-MM-DD HH:mm:ss",
|
1247
|
-
"decimals": 2,
|
1248
|
-
"mappingType": 1,
|
1249
|
-
"pattern": "median",
|
1250
|
-
"thresholds": [],
|
1251
|
-
"type": "number",
|
1252
|
-
"unit": "ms"
|
1253
|
-
},
|
1254
|
-
{
|
1255
|
-
"alias": "Controller Action",
|
1256
|
-
"colorMode": null,
|
1257
|
-
"colors": [
|
1258
|
-
"rgba(245, 54, 54, 0.9)",
|
1259
|
-
"rgba(237, 129, 40, 0.89)",
|
1260
|
-
"rgba(50, 172, 45, 0.97)"
|
1261
|
-
],
|
1262
|
-
"dateFormat": "YYYY-MM-DD HH:mm:ss",
|
1263
|
-
"decimals": 2,
|
1264
|
-
"link": true,
|
1265
|
-
"linkTargetBlank": true,
|
1266
|
-
"linkTooltip": "View data per this Controller Action",
|
1267
|
-
"linkUrl": "/d/$ACTION_DASHBOARD_UID/ruby-on-rails-performance-per-action?var-Action=${__cell}&from=$__from&to=$__to",
|
1268
|
-
"mappingType": 1,
|
1269
|
-
"pattern": "method",
|
1270
|
-
"thresholds": [],
|
1271
|
-
"type": "number",
|
1272
|
-
"unit": "short"
|
1273
|
-
},
|
1274
|
-
{
|
1275
|
-
"alias": "Maximum",
|
1276
|
-
"colorMode": null,
|
1277
|
-
"colors": [
|
1278
|
-
"rgba(245, 54, 54, 0.9)",
|
1279
|
-
"rgba(237, 129, 40, 0.89)",
|
1280
|
-
"rgba(50, 172, 45, 0.97)"
|
1281
|
-
],
|
1282
|
-
"dateFormat": "YYYY-MM-DD HH:mm:ss",
|
1283
|
-
"decimals": 2,
|
1284
|
-
"mappingType": 1,
|
1285
|
-
"pattern": "max",
|
1286
|
-
"thresholds": [],
|
1287
|
-
"type": "number",
|
1288
|
-
"unit": "ms"
|
1289
|
-
},
|
1290
|
-
{
|
1291
|
-
"alias": "",
|
1292
|
-
"colorMode": null,
|
1293
|
-
"colors": [
|
1294
|
-
"rgba(245, 54, 54, 0.9)",
|
1295
|
-
"rgba(237, 129, 40, 0.89)",
|
1296
|
-
"rgba(50, 172, 45, 0.97)"
|
1297
|
-
],
|
1298
|
-
"decimals": 2,
|
1299
|
-
"pattern": "/.*/",
|
1300
|
-
"thresholds": [],
|
1301
|
-
"type": "number",
|
1302
|
-
"unit": "short"
|
1303
|
-
}
|
1304
|
-
],
|
1142
|
+
"lines": false,
|
1143
|
+
"linewidth": 1,
|
1144
|
+
"links": [],
|
1145
|
+
"nullPointMode": "null",
|
1146
|
+
"percentage": false,
|
1147
|
+
"pluginVersion": "7.1.1",
|
1148
|
+
"pointradius": 2,
|
1149
|
+
"points": false,
|
1150
|
+
"renderer": "flot",
|
1151
|
+
"seriesOverrides": [],
|
1152
|
+
"spaceLength": 10,
|
1153
|
+
"stack": false,
|
1154
|
+
"steppedLine": false,
|
1305
1155
|
"targets": [
|
1306
1156
|
{
|
1157
|
+
"alias": "",
|
1307
1158
|
"groupBy": [
|
1308
1159
|
{
|
1309
1160
|
"params": [
|
1310
|
-
"
|
1161
|
+
"$per"
|
1162
|
+
],
|
1163
|
+
"type": "time"
|
1164
|
+
},
|
1165
|
+
{
|
1166
|
+
"params": [
|
1167
|
+
"previous"
|
1311
1168
|
],
|
1312
|
-
"type": "
|
1169
|
+
"type": "fill"
|
1313
1170
|
}
|
1314
1171
|
],
|
1315
|
-
"limit": "",
|
1316
1172
|
"measurement": "rails",
|
1317
1173
|
"orderByTime": "ASC",
|
1318
1174
|
"policy": "default",
|
1319
1175
|
"refId": "A",
|
1320
|
-
"resultFormat": "
|
1176
|
+
"resultFormat": "time_series",
|
1321
1177
|
"select": [
|
1322
1178
|
[
|
1323
1179
|
{
|
1324
1180
|
"params": [
|
1325
|
-
"
|
1326
|
-
],
|
1327
|
-
"type": "field"
|
1328
|
-
},
|
1329
|
-
{
|
1330
|
-
"params": [],
|
1331
|
-
"type": "count"
|
1332
|
-
}
|
1333
|
-
],
|
1334
|
-
[
|
1335
|
-
{
|
1336
|
-
"params": [
|
1337
|
-
"controller"
|
1338
|
-
],
|
1339
|
-
"type": "field"
|
1340
|
-
},
|
1341
|
-
{
|
1342
|
-
"params": [],
|
1343
|
-
"type": "mean"
|
1344
|
-
}
|
1345
|
-
],
|
1346
|
-
[
|
1347
|
-
{
|
1348
|
-
"params": [
|
1349
|
-
"controller"
|
1350
|
-
],
|
1351
|
-
"type": "field"
|
1352
|
-
},
|
1353
|
-
{
|
1354
|
-
"params": [],
|
1355
|
-
"type": "median"
|
1356
|
-
}
|
1357
|
-
],
|
1358
|
-
[
|
1359
|
-
{
|
1360
|
-
"params": [
|
1361
|
-
"controller"
|
1181
|
+
"record_count"
|
1362
1182
|
],
|
1363
1183
|
"type": "field"
|
1364
1184
|
},
|
1365
1185
|
{
|
1366
1186
|
"params": [],
|
1367
|
-
"type": "
|
1187
|
+
"type": "sum"
|
1368
1188
|
}
|
1369
1189
|
]
|
1370
1190
|
],
|
@@ -1372,226 +1192,190 @@
|
|
1372
1192
|
{
|
1373
1193
|
"key": "hook",
|
1374
1194
|
"operator": "=",
|
1375
|
-
"value": "
|
1195
|
+
"value": "instantiation"
|
1376
1196
|
}
|
1377
1197
|
]
|
1378
1198
|
}
|
1379
1199
|
],
|
1380
|
-
"
|
1381
|
-
"
|
1382
|
-
"
|
1200
|
+
"thresholds": [],
|
1201
|
+
"timeFrom": null,
|
1202
|
+
"timeRegions": [],
|
1203
|
+
"timeShift": null,
|
1204
|
+
"title": "Instantiation per $per",
|
1205
|
+
"tooltip": {
|
1206
|
+
"shared": true,
|
1207
|
+
"sort": 0,
|
1208
|
+
"value_type": "individual"
|
1209
|
+
},
|
1210
|
+
"type": "graph",
|
1211
|
+
"xaxis": {
|
1212
|
+
"buckets": null,
|
1213
|
+
"mode": "time",
|
1214
|
+
"name": null,
|
1215
|
+
"show": true,
|
1216
|
+
"values": []
|
1217
|
+
},
|
1218
|
+
"yaxes": [
|
1219
|
+
{
|
1220
|
+
"$$hashKey": "object:477",
|
1221
|
+
"format": "short",
|
1222
|
+
"label": null,
|
1223
|
+
"logBase": 1,
|
1224
|
+
"max": null,
|
1225
|
+
"min": null,
|
1226
|
+
"show": true
|
1227
|
+
},
|
1228
|
+
{
|
1229
|
+
"$$hashKey": "object:478",
|
1230
|
+
"format": "short",
|
1231
|
+
"label": null,
|
1232
|
+
"logBase": 1,
|
1233
|
+
"max": null,
|
1234
|
+
"min": null,
|
1235
|
+
"show": true
|
1236
|
+
}
|
1237
|
+
],
|
1238
|
+
"yaxis": {
|
1239
|
+
"align": false,
|
1240
|
+
"alignLevel": null
|
1241
|
+
}
|
1383
1242
|
},
|
1384
1243
|
{
|
1385
|
-
"
|
1244
|
+
"aliasColors": {},
|
1245
|
+
"bars": false,
|
1246
|
+
"dashLength": 10,
|
1247
|
+
"dashes": false,
|
1386
1248
|
"datasource": "InfluxDB",
|
1387
|
-
"description": "
|
1388
|
-
"
|
1249
|
+
"description": "Time spent in executing database queries",
|
1250
|
+
"fieldConfig": {
|
1251
|
+
"defaults": {
|
1252
|
+
"custom": {}
|
1253
|
+
},
|
1254
|
+
"overrides": []
|
1255
|
+
},
|
1256
|
+
"fill": 1,
|
1257
|
+
"fillGradient": 0,
|
1389
1258
|
"gridPos": {
|
1390
|
-
"h":
|
1259
|
+
"h": 6,
|
1391
1260
|
"w": 12,
|
1392
1261
|
"x": 12,
|
1393
|
-
"y":
|
1262
|
+
"y": 10
|
1394
1263
|
},
|
1395
|
-
"
|
1396
|
-
"
|
1397
|
-
"
|
1398
|
-
|
1399
|
-
|
1400
|
-
|
1401
|
-
|
1402
|
-
"
|
1403
|
-
"
|
1264
|
+
"hiddenSeries": false,
|
1265
|
+
"id": 2,
|
1266
|
+
"legend": {
|
1267
|
+
"avg": false,
|
1268
|
+
"current": false,
|
1269
|
+
"max": false,
|
1270
|
+
"min": false,
|
1271
|
+
"show": true,
|
1272
|
+
"total": false,
|
1273
|
+
"values": false
|
1404
1274
|
},
|
1405
|
-
"
|
1406
|
-
|
1407
|
-
|
1408
|
-
|
1409
|
-
|
1410
|
-
|
1411
|
-
|
1412
|
-
|
1413
|
-
|
1414
|
-
|
1415
|
-
|
1416
|
-
"rgba(245, 54, 54, 0.9)",
|
1417
|
-
"rgba(237, 129, 40, 0.89)",
|
1418
|
-
"rgba(50, 172, 45, 0.97)"
|
1419
|
-
],
|
1420
|
-
"dateFormat": "YYYY-MM-DD HH:mm:ss",
|
1421
|
-
"decimals": null,
|
1422
|
-
"mappingType": 1,
|
1423
|
-
"pattern": "count",
|
1424
|
-
"thresholds": [],
|
1425
|
-
"type": "number",
|
1426
|
-
"unit": "short"
|
1427
|
-
},
|
1428
|
-
{
|
1429
|
-
"alias": "Mean",
|
1430
|
-
"colorMode": null,
|
1431
|
-
"colors": [
|
1432
|
-
"rgba(245, 54, 54, 0.9)",
|
1433
|
-
"rgba(237, 129, 40, 0.89)",
|
1434
|
-
"rgba(50, 172, 45, 0.97)"
|
1435
|
-
],
|
1436
|
-
"dateFormat": "YYYY-MM-DD HH:mm:ss",
|
1437
|
-
"decimals": 2,
|
1438
|
-
"mappingType": 1,
|
1439
|
-
"pattern": "mean",
|
1440
|
-
"thresholds": [],
|
1441
|
-
"type": "number",
|
1442
|
-
"unit": "ms"
|
1443
|
-
},
|
1444
|
-
{
|
1445
|
-
"alias": "Median",
|
1446
|
-
"colorMode": null,
|
1447
|
-
"colors": [
|
1448
|
-
"rgba(245, 54, 54, 0.9)",
|
1449
|
-
"rgba(237, 129, 40, 0.89)",
|
1450
|
-
"rgba(50, 172, 45, 0.97)"
|
1451
|
-
],
|
1452
|
-
"dateFormat": "YYYY-MM-DD HH:mm:ss",
|
1453
|
-
"decimals": 2,
|
1454
|
-
"mappingType": 1,
|
1455
|
-
"pattern": "median",
|
1456
|
-
"thresholds": [],
|
1457
|
-
"type": "number",
|
1458
|
-
"unit": "ms"
|
1459
|
-
},
|
1460
|
-
{
|
1461
|
-
"alias": "Controller Action",
|
1462
|
-
"colorMode": null,
|
1463
|
-
"colors": [
|
1464
|
-
"rgba(245, 54, 54, 0.9)",
|
1465
|
-
"rgba(237, 129, 40, 0.89)",
|
1466
|
-
"rgba(50, 172, 45, 0.97)"
|
1467
|
-
],
|
1468
|
-
"dateFormat": "YYYY-MM-DD HH:mm:ss",
|
1469
|
-
"decimals": 2,
|
1470
|
-
"link": true,
|
1471
|
-
"linkTargetBlank": true,
|
1472
|
-
"linkTooltip": "View data per this Controller Action",
|
1473
|
-
"linkUrl": "/d/$ACTION_DASHBOARD_UID/ruby-on-rails-performance-per-action?var-Action=${__cell}&from=$__from&to=$__to",
|
1474
|
-
"mappingType": 1,
|
1475
|
-
"pattern": "location",
|
1476
|
-
"thresholds": [],
|
1477
|
-
"type": "number",
|
1478
|
-
"unit": "short"
|
1479
|
-
},
|
1480
|
-
{
|
1481
|
-
"alias": "Name of the operation",
|
1482
|
-
"colorMode": null,
|
1483
|
-
"colors": [
|
1484
|
-
"rgba(245, 54, 54, 0.9)",
|
1485
|
-
"rgba(237, 129, 40, 0.89)",
|
1486
|
-
"rgba(50, 172, 45, 0.97)"
|
1487
|
-
],
|
1488
|
-
"dateFormat": "YYYY-MM-DD HH:mm:ss",
|
1489
|
-
"decimals": 2,
|
1490
|
-
"mappingType": 1,
|
1491
|
-
"pattern": "name",
|
1492
|
-
"thresholds": [],
|
1493
|
-
"type": "number",
|
1494
|
-
"unit": "short"
|
1495
|
-
},
|
1275
|
+
"lines": true,
|
1276
|
+
"linewidth": 1,
|
1277
|
+
"links": [],
|
1278
|
+
"nullPointMode": "null",
|
1279
|
+
"paceLength": 10,
|
1280
|
+
"percentage": false,
|
1281
|
+
"pluginVersion": "7.1.1",
|
1282
|
+
"pointradius": 5,
|
1283
|
+
"points": false,
|
1284
|
+
"renderer": "flot",
|
1285
|
+
"seriesOverrides": [
|
1496
1286
|
{
|
1497
1287
|
"alias": "Maximum",
|
1498
|
-
"
|
1499
|
-
"
|
1500
|
-
"rgba(245, 54, 54, 0.9)",
|
1501
|
-
"rgba(237, 129, 40, 0.89)",
|
1502
|
-
"rgba(50, 172, 45, 0.97)"
|
1503
|
-
],
|
1504
|
-
"dateFormat": "YYYY-MM-DD HH:mm:ss",
|
1505
|
-
"decimals": 2,
|
1506
|
-
"mappingType": 1,
|
1507
|
-
"pattern": "max",
|
1508
|
-
"thresholds": [],
|
1509
|
-
"type": "number",
|
1510
|
-
"unit": "ms"
|
1288
|
+
"fillBelowTo": "Minimum",
|
1289
|
+
"lines": false
|
1511
1290
|
},
|
1512
1291
|
{
|
1513
|
-
"alias": "",
|
1514
|
-
"
|
1515
|
-
"colors": [
|
1516
|
-
"rgba(245, 54, 54, 0.9)",
|
1517
|
-
"rgba(237, 129, 40, 0.89)",
|
1518
|
-
"rgba(50, 172, 45, 0.97)"
|
1519
|
-
],
|
1520
|
-
"decimals": 2,
|
1521
|
-
"pattern": "/.*/",
|
1522
|
-
"thresholds": [],
|
1523
|
-
"type": "number",
|
1524
|
-
"unit": "short"
|
1292
|
+
"alias": "Minimum",
|
1293
|
+
"lines": false
|
1525
1294
|
}
|
1526
1295
|
],
|
1296
|
+
"spaceLength": 10,
|
1297
|
+
"stack": false,
|
1298
|
+
"steppedLine": false,
|
1527
1299
|
"targets": [
|
1528
1300
|
{
|
1301
|
+
"alias": "P99",
|
1529
1302
|
"groupBy": [
|
1530
1303
|
{
|
1531
1304
|
"params": [
|
1532
|
-
"
|
1305
|
+
"$per"
|
1533
1306
|
],
|
1534
|
-
"type": "
|
1307
|
+
"type": "time"
|
1535
1308
|
},
|
1536
1309
|
{
|
1537
1310
|
"params": [
|
1538
|
-
"
|
1311
|
+
"null"
|
1539
1312
|
],
|
1540
|
-
"type": "
|
1313
|
+
"type": "fill"
|
1541
1314
|
}
|
1542
1315
|
],
|
1543
1316
|
"measurement": "rails",
|
1544
1317
|
"orderByTime": "ASC",
|
1545
1318
|
"policy": "default",
|
1546
1319
|
"refId": "A",
|
1547
|
-
"resultFormat": "
|
1320
|
+
"resultFormat": "time_series",
|
1548
1321
|
"select": [
|
1549
1322
|
[
|
1550
1323
|
{
|
1551
1324
|
"params": [
|
1552
|
-
"
|
1325
|
+
"db"
|
1553
1326
|
],
|
1554
1327
|
"type": "field"
|
1555
1328
|
},
|
1556
|
-
{
|
1557
|
-
"params": [],
|
1558
|
-
"type": "count"
|
1559
|
-
}
|
1560
|
-
],
|
1561
|
-
[
|
1562
1329
|
{
|
1563
1330
|
"params": [
|
1564
|
-
"
|
1331
|
+
"99"
|
1565
1332
|
],
|
1566
|
-
"type": "
|
1567
|
-
},
|
1568
|
-
{
|
1569
|
-
"params": [],
|
1570
|
-
"type": "mean"
|
1333
|
+
"type": "percentile"
|
1571
1334
|
}
|
1572
|
-
]
|
1335
|
+
]
|
1336
|
+
],
|
1337
|
+
"tags": [
|
1338
|
+
{
|
1339
|
+
"key": "hook",
|
1340
|
+
"operator": "=",
|
1341
|
+
"value": "process_action"
|
1342
|
+
}
|
1343
|
+
]
|
1344
|
+
},
|
1345
|
+
{
|
1346
|
+
"alias": "P95",
|
1347
|
+
"groupBy": [
|
1348
|
+
{
|
1349
|
+
"params": [
|
1350
|
+
"$per"
|
1351
|
+
],
|
1352
|
+
"type": "time"
|
1353
|
+
},
|
1354
|
+
{
|
1355
|
+
"params": [
|
1356
|
+
"null"
|
1357
|
+
],
|
1358
|
+
"type": "fill"
|
1359
|
+
}
|
1360
|
+
],
|
1361
|
+
"measurement": "rails",
|
1362
|
+
"orderByTime": "ASC",
|
1363
|
+
"policy": "default",
|
1364
|
+
"refId": "B",
|
1365
|
+
"resultFormat": "time_series",
|
1366
|
+
"select": [
|
1573
1367
|
[
|
1574
1368
|
{
|
1575
1369
|
"params": [
|
1576
|
-
"
|
1370
|
+
"db"
|
1577
1371
|
],
|
1578
1372
|
"type": "field"
|
1579
1373
|
},
|
1580
|
-
{
|
1581
|
-
"params": [],
|
1582
|
-
"type": "median"
|
1583
|
-
}
|
1584
|
-
],
|
1585
|
-
[
|
1586
1374
|
{
|
1587
1375
|
"params": [
|
1588
|
-
"
|
1376
|
+
"95"
|
1589
1377
|
],
|
1590
|
-
"type": "
|
1591
|
-
},
|
1592
|
-
{
|
1593
|
-
"params": [],
|
1594
|
-
"type": "max"
|
1378
|
+
"type": "percentile"
|
1595
1379
|
}
|
1596
1380
|
]
|
1597
1381
|
],
|
@@ -1599,137 +1383,415 @@
|
|
1599
1383
|
{
|
1600
1384
|
"key": "hook",
|
1601
1385
|
"operator": "=",
|
1602
|
-
"value": "
|
1386
|
+
"value": "process_action"
|
1603
1387
|
}
|
1604
1388
|
]
|
1605
|
-
}
|
1606
|
-
|
1607
|
-
|
1608
|
-
|
1609
|
-
|
1610
|
-
|
1389
|
+
},
|
1390
|
+
{
|
1391
|
+
"alias": "P50",
|
1392
|
+
"groupBy": [
|
1393
|
+
{
|
1394
|
+
"params": [
|
1395
|
+
"$per"
|
1396
|
+
],
|
1397
|
+
"type": "time"
|
1398
|
+
},
|
1399
|
+
{
|
1400
|
+
"params": [
|
1401
|
+
"null"
|
1402
|
+
],
|
1403
|
+
"type": "fill"
|
1404
|
+
}
|
1405
|
+
],
|
1406
|
+
"measurement": "rails",
|
1407
|
+
"orderByTime": "ASC",
|
1408
|
+
"policy": "default",
|
1409
|
+
"refId": "C",
|
1410
|
+
"resultFormat": "time_series",
|
1411
|
+
"select": [
|
1412
|
+
[
|
1413
|
+
{
|
1414
|
+
"params": [
|
1415
|
+
"db"
|
1416
|
+
],
|
1417
|
+
"type": "field"
|
1418
|
+
},
|
1419
|
+
{
|
1420
|
+
"params": [],
|
1421
|
+
"type": "median"
|
1422
|
+
}
|
1423
|
+
]
|
1424
|
+
],
|
1425
|
+
"tags": [
|
1426
|
+
{
|
1427
|
+
"key": "hook",
|
1428
|
+
"operator": "=",
|
1429
|
+
"value": "process_action"
|
1430
|
+
}
|
1431
|
+
]
|
1432
|
+
},
|
1433
|
+
{
|
1434
|
+
"alias": "Mean",
|
1435
|
+
"groupBy": [
|
1436
|
+
{
|
1437
|
+
"params": [
|
1438
|
+
"$per"
|
1439
|
+
],
|
1440
|
+
"type": "time"
|
1441
|
+
},
|
1442
|
+
{
|
1443
|
+
"params": [
|
1444
|
+
"null"
|
1445
|
+
],
|
1446
|
+
"type": "fill"
|
1447
|
+
}
|
1448
|
+
],
|
1449
|
+
"measurement": "rails",
|
1450
|
+
"orderByTime": "ASC",
|
1451
|
+
"policy": "default",
|
1452
|
+
"refId": "D",
|
1453
|
+
"resultFormat": "time_series",
|
1454
|
+
"select": [
|
1455
|
+
[
|
1456
|
+
{
|
1457
|
+
"params": [
|
1458
|
+
"db"
|
1459
|
+
],
|
1460
|
+
"type": "field"
|
1461
|
+
},
|
1462
|
+
{
|
1463
|
+
"params": [],
|
1464
|
+
"type": "mean"
|
1465
|
+
}
|
1466
|
+
]
|
1467
|
+
],
|
1468
|
+
"tags": [
|
1469
|
+
{
|
1470
|
+
"key": "hook",
|
1471
|
+
"operator": "=",
|
1472
|
+
"value": "process_action"
|
1473
|
+
}
|
1474
|
+
]
|
1475
|
+
}
|
1476
|
+
],
|
1477
|
+
"thresholds": [],
|
1478
|
+
"timeFrom": null,
|
1479
|
+
"timeRegions": [],
|
1480
|
+
"timeShift": null,
|
1481
|
+
"title": "Database Query Performance",
|
1482
|
+
"tooltip": {
|
1483
|
+
"shared": true,
|
1484
|
+
"sort": 0,
|
1485
|
+
"value_type": "individual"
|
1486
|
+
},
|
1487
|
+
"type": "graph",
|
1488
|
+
"xaxis": {
|
1489
|
+
"buckets": null,
|
1490
|
+
"mode": "time",
|
1491
|
+
"name": null,
|
1492
|
+
"show": true,
|
1493
|
+
"values": []
|
1494
|
+
},
|
1495
|
+
"yaxes": [
|
1496
|
+
{
|
1497
|
+
"$$hashKey": "object:2533",
|
1498
|
+
"format": "dtdurationms",
|
1499
|
+
"label": null,
|
1500
|
+
"logBase": 2,
|
1501
|
+
"max": null,
|
1502
|
+
"min": null,
|
1503
|
+
"show": true
|
1504
|
+
},
|
1505
|
+
{
|
1506
|
+
"$$hashKey": "object:2534",
|
1507
|
+
"format": "short",
|
1508
|
+
"label": null,
|
1509
|
+
"logBase": 1,
|
1510
|
+
"max": null,
|
1511
|
+
"min": null,
|
1512
|
+
"show": true
|
1513
|
+
}
|
1514
|
+
],
|
1515
|
+
"yaxis": {
|
1516
|
+
"align": false,
|
1517
|
+
"alignLevel": null
|
1518
|
+
}
|
1519
|
+
},
|
1611
1520
|
{
|
1612
|
-
"
|
1521
|
+
"aliasColors": {
|
1522
|
+
"Failed": "red",
|
1523
|
+
"Jobs": "green"
|
1524
|
+
},
|
1525
|
+
"bars": true,
|
1526
|
+
"dashLength": 10,
|
1527
|
+
"dashes": false,
|
1613
1528
|
"datasource": "InfluxDB",
|
1614
|
-
"description": "
|
1615
|
-
"
|
1529
|
+
"description": "Jobs Performed",
|
1530
|
+
"fieldConfig": {
|
1531
|
+
"defaults": {
|
1532
|
+
"custom": {},
|
1533
|
+
"links": []
|
1534
|
+
},
|
1535
|
+
"overrides": []
|
1536
|
+
},
|
1537
|
+
"fill": 1,
|
1538
|
+
"fillGradient": 0,
|
1616
1539
|
"gridPos": {
|
1617
|
-
"h":
|
1540
|
+
"h": 6,
|
1618
1541
|
"w": 12,
|
1619
1542
|
"x": 0,
|
1620
|
-
"y":
|
1543
|
+
"y": 16
|
1621
1544
|
},
|
1622
|
-
"
|
1623
|
-
"
|
1624
|
-
"
|
1625
|
-
|
1626
|
-
|
1627
|
-
|
1628
|
-
|
1629
|
-
"
|
1630
|
-
"
|
1545
|
+
"hiddenSeries": false,
|
1546
|
+
"id": 20,
|
1547
|
+
"legend": {
|
1548
|
+
"alignAsTable": false,
|
1549
|
+
"avg": false,
|
1550
|
+
"current": false,
|
1551
|
+
"max": false,
|
1552
|
+
"min": false,
|
1553
|
+
"show": true,
|
1554
|
+
"total": false,
|
1555
|
+
"values": false
|
1631
1556
|
},
|
1632
|
-
"
|
1633
|
-
|
1634
|
-
|
1635
|
-
|
1636
|
-
|
1637
|
-
|
1638
|
-
|
1557
|
+
"lines": false,
|
1558
|
+
"linewidth": 1,
|
1559
|
+
"links": [],
|
1560
|
+
"nullPointMode": "null as zero",
|
1561
|
+
"paceLength": 10,
|
1562
|
+
"percentage": false,
|
1563
|
+
"pluginVersion": "7.1.1",
|
1564
|
+
"pointradius": 2,
|
1565
|
+
"points": false,
|
1566
|
+
"renderer": "flot",
|
1567
|
+
"seriesOverrides": [],
|
1568
|
+
"spaceLength": 10,
|
1569
|
+
"stack": false,
|
1570
|
+
"steppedLine": false,
|
1571
|
+
"targets": [
|
1639
1572
|
{
|
1640
|
-
"alias": "
|
1641
|
-
"
|
1642
|
-
|
1643
|
-
|
1644
|
-
|
1645
|
-
|
1573
|
+
"alias": "Success",
|
1574
|
+
"groupBy": [
|
1575
|
+
{
|
1576
|
+
"params": [
|
1577
|
+
"$per"
|
1578
|
+
],
|
1579
|
+
"type": "time"
|
1580
|
+
},
|
1581
|
+
{
|
1582
|
+
"params": [
|
1583
|
+
"null"
|
1584
|
+
],
|
1585
|
+
"type": "fill"
|
1586
|
+
}
|
1646
1587
|
],
|
1647
|
-
"
|
1648
|
-
"
|
1649
|
-
"
|
1650
|
-
"
|
1651
|
-
"
|
1652
|
-
"
|
1653
|
-
"
|
1588
|
+
"hide": false,
|
1589
|
+
"measurement": "rails",
|
1590
|
+
"orderByTime": "ASC",
|
1591
|
+
"policy": "default",
|
1592
|
+
"refId": "A",
|
1593
|
+
"resultFormat": "time_series",
|
1594
|
+
"select": [
|
1595
|
+
[
|
1596
|
+
{
|
1597
|
+
"params": [
|
1598
|
+
"value"
|
1599
|
+
],
|
1600
|
+
"type": "field"
|
1601
|
+
},
|
1602
|
+
{
|
1603
|
+
"params": [],
|
1604
|
+
"type": "count"
|
1605
|
+
}
|
1606
|
+
]
|
1607
|
+
],
|
1608
|
+
"tags": [
|
1609
|
+
{
|
1610
|
+
"key": "hook",
|
1611
|
+
"operator": "=",
|
1612
|
+
"value": "perform"
|
1613
|
+
},
|
1614
|
+
{
|
1615
|
+
"condition": "AND",
|
1616
|
+
"key": "state",
|
1617
|
+
"operator": "=",
|
1618
|
+
"value": "succeeded"
|
1619
|
+
}
|
1620
|
+
]
|
1654
1621
|
},
|
1655
1622
|
{
|
1656
|
-
"alias": "
|
1657
|
-
"
|
1658
|
-
|
1659
|
-
|
1660
|
-
|
1661
|
-
|
1623
|
+
"alias": "Failed",
|
1624
|
+
"groupBy": [
|
1625
|
+
{
|
1626
|
+
"params": [
|
1627
|
+
"$per"
|
1628
|
+
],
|
1629
|
+
"type": "time"
|
1630
|
+
},
|
1631
|
+
{
|
1632
|
+
"params": [
|
1633
|
+
"null"
|
1634
|
+
],
|
1635
|
+
"type": "fill"
|
1636
|
+
}
|
1662
1637
|
],
|
1663
|
-
"
|
1664
|
-
"
|
1665
|
-
"
|
1666
|
-
"
|
1667
|
-
"
|
1668
|
-
"
|
1669
|
-
|
1638
|
+
"measurement": "rails",
|
1639
|
+
"orderByTime": "ASC",
|
1640
|
+
"policy": "default",
|
1641
|
+
"refId": "B",
|
1642
|
+
"resultFormat": "time_series",
|
1643
|
+
"select": [
|
1644
|
+
[
|
1645
|
+
{
|
1646
|
+
"params": [
|
1647
|
+
"value"
|
1648
|
+
],
|
1649
|
+
"type": "field"
|
1650
|
+
},
|
1651
|
+
{
|
1652
|
+
"params": [],
|
1653
|
+
"type": "count"
|
1654
|
+
}
|
1655
|
+
]
|
1656
|
+
],
|
1657
|
+
"tags": [
|
1658
|
+
{
|
1659
|
+
"key": "hook",
|
1660
|
+
"operator": "=",
|
1661
|
+
"value": "perform"
|
1662
|
+
},
|
1663
|
+
{
|
1664
|
+
"condition": "AND",
|
1665
|
+
"key": "state",
|
1666
|
+
"operator": "=",
|
1667
|
+
"value": "failed"
|
1668
|
+
}
|
1669
|
+
]
|
1670
|
+
}
|
1671
|
+
],
|
1672
|
+
"thresholds": [],
|
1673
|
+
"timeFrom": null,
|
1674
|
+
"timeRegions": [],
|
1675
|
+
"timeShift": null,
|
1676
|
+
"title": "Jobs per $per",
|
1677
|
+
"tooltip": {
|
1678
|
+
"shared": true,
|
1679
|
+
"sort": 0,
|
1680
|
+
"value_type": "individual"
|
1681
|
+
},
|
1682
|
+
"type": "graph",
|
1683
|
+
"xaxis": {
|
1684
|
+
"buckets": null,
|
1685
|
+
"mode": "time",
|
1686
|
+
"name": null,
|
1687
|
+
"show": true,
|
1688
|
+
"values": []
|
1689
|
+
},
|
1690
|
+
"yaxes": [
|
1691
|
+
{
|
1692
|
+
"$$hashKey": "object:737",
|
1693
|
+
"format": "short",
|
1694
|
+
"label": null,
|
1695
|
+
"logBase": 1,
|
1696
|
+
"max": null,
|
1697
|
+
"min": null,
|
1698
|
+
"show": true
|
1670
1699
|
},
|
1671
1700
|
{
|
1672
|
-
"
|
1673
|
-
"
|
1674
|
-
"
|
1675
|
-
|
1676
|
-
|
1677
|
-
|
1678
|
-
|
1679
|
-
|
1680
|
-
|
1681
|
-
|
1682
|
-
|
1683
|
-
|
1684
|
-
|
1685
|
-
|
1701
|
+
"$$hashKey": "object:738",
|
1702
|
+
"format": "short",
|
1703
|
+
"label": null,
|
1704
|
+
"logBase": 1,
|
1705
|
+
"max": null,
|
1706
|
+
"min": null,
|
1707
|
+
"show": false
|
1708
|
+
}
|
1709
|
+
],
|
1710
|
+
"yaxis": {
|
1711
|
+
"align": false,
|
1712
|
+
"alignLevel": null
|
1713
|
+
}
|
1714
|
+
},
|
1715
|
+
{
|
1716
|
+
"aliasColors": {
|
1717
|
+
"rails.view.mean": "#eab839"
|
1718
|
+
},
|
1719
|
+
"bars": false,
|
1720
|
+
"dashLength": 10,
|
1721
|
+
"dashes": false,
|
1722
|
+
"datasource": "InfluxDB",
|
1723
|
+
"description": "Time spent in executing jobs",
|
1724
|
+
"fieldConfig": {
|
1725
|
+
"defaults": {
|
1726
|
+
"custom": {}
|
1686
1727
|
},
|
1728
|
+
"overrides": []
|
1729
|
+
},
|
1730
|
+
"fill": 1,
|
1731
|
+
"fillGradient": 0,
|
1732
|
+
"gridPos": {
|
1733
|
+
"h": 6,
|
1734
|
+
"w": 12,
|
1735
|
+
"x": 12,
|
1736
|
+
"y": 16
|
1737
|
+
},
|
1738
|
+
"hiddenSeries": false,
|
1739
|
+
"id": 23,
|
1740
|
+
"legend": {
|
1741
|
+
"avg": false,
|
1742
|
+
"current": false,
|
1743
|
+
"max": false,
|
1744
|
+
"min": false,
|
1745
|
+
"show": true,
|
1746
|
+
"total": false,
|
1747
|
+
"values": false
|
1748
|
+
},
|
1749
|
+
"lines": true,
|
1750
|
+
"linewidth": 1,
|
1751
|
+
"links": [],
|
1752
|
+
"nullPointMode": "null",
|
1753
|
+
"paceLength": 10,
|
1754
|
+
"percentage": false,
|
1755
|
+
"pluginVersion": "7.1.1",
|
1756
|
+
"pointradius": 5,
|
1757
|
+
"points": false,
|
1758
|
+
"renderer": "flot",
|
1759
|
+
"seriesOverrides": [
|
1687
1760
|
{
|
1688
1761
|
"alias": "Maximum",
|
1689
|
-
"
|
1690
|
-
"
|
1691
|
-
"rgba(245, 54, 54, 0.9)",
|
1692
|
-
"rgba(237, 129, 40, 0.89)",
|
1693
|
-
"rgba(50, 172, 45, 0.97)"
|
1694
|
-
],
|
1695
|
-
"dateFormat": "YYYY-MM-DD HH:mm:ss",
|
1696
|
-
"decimals": 2,
|
1697
|
-
"mappingType": 1,
|
1698
|
-
"pattern": "max",
|
1699
|
-
"thresholds": [],
|
1700
|
-
"type": "number",
|
1701
|
-
"unit": "ms"
|
1762
|
+
"fillBelowTo": "Minimum",
|
1763
|
+
"lines": false
|
1702
1764
|
},
|
1703
1765
|
{
|
1704
|
-
"alias": "
|
1705
|
-
"
|
1706
|
-
"colors": [
|
1707
|
-
"rgba(245, 54, 54, 0.9)",
|
1708
|
-
"rgba(237, 129, 40, 0.89)",
|
1709
|
-
"rgba(50, 172, 45, 0.97)"
|
1710
|
-
],
|
1711
|
-
"decimals": 2,
|
1712
|
-
"pattern": "/.*/",
|
1713
|
-
"thresholds": [],
|
1714
|
-
"type": "number",
|
1715
|
-
"unit": "short"
|
1766
|
+
"alias": "Minimum",
|
1767
|
+
"lines": false
|
1716
1768
|
}
|
1717
1769
|
],
|
1770
|
+
"spaceLength": 10,
|
1771
|
+
"stack": false,
|
1772
|
+
"steppedLine": false,
|
1718
1773
|
"targets": [
|
1719
1774
|
{
|
1775
|
+
"alias": "P99",
|
1720
1776
|
"groupBy": [
|
1721
1777
|
{
|
1722
1778
|
"params": [
|
1723
|
-
"
|
1779
|
+
"$per"
|
1780
|
+
],
|
1781
|
+
"type": "time"
|
1782
|
+
},
|
1783
|
+
{
|
1784
|
+
"params": [
|
1785
|
+
"null"
|
1724
1786
|
],
|
1725
|
-
"type": "
|
1787
|
+
"type": "fill"
|
1726
1788
|
}
|
1727
1789
|
],
|
1728
1790
|
"measurement": "rails",
|
1729
1791
|
"orderByTime": "ASC",
|
1730
1792
|
"policy": "default",
|
1731
1793
|
"refId": "A",
|
1732
|
-
"resultFormat": "
|
1794
|
+
"resultFormat": "time_series",
|
1733
1795
|
"select": [
|
1734
1796
|
[
|
1735
1797
|
{
|
@@ -1739,10 +1801,43 @@
|
|
1739
1801
|
"type": "field"
|
1740
1802
|
},
|
1741
1803
|
{
|
1742
|
-
"params": [
|
1743
|
-
|
1804
|
+
"params": [
|
1805
|
+
"99"
|
1806
|
+
],
|
1807
|
+
"type": "percentile"
|
1744
1808
|
}
|
1745
|
-
]
|
1809
|
+
]
|
1810
|
+
],
|
1811
|
+
"tags": [
|
1812
|
+
{
|
1813
|
+
"key": "hook",
|
1814
|
+
"operator": "=",
|
1815
|
+
"value": "perform"
|
1816
|
+
}
|
1817
|
+
]
|
1818
|
+
},
|
1819
|
+
{
|
1820
|
+
"alias": "P95",
|
1821
|
+
"groupBy": [
|
1822
|
+
{
|
1823
|
+
"params": [
|
1824
|
+
"$per"
|
1825
|
+
],
|
1826
|
+
"type": "time"
|
1827
|
+
},
|
1828
|
+
{
|
1829
|
+
"params": [
|
1830
|
+
"null"
|
1831
|
+
],
|
1832
|
+
"type": "fill"
|
1833
|
+
}
|
1834
|
+
],
|
1835
|
+
"measurement": "rails",
|
1836
|
+
"orderByTime": "ASC",
|
1837
|
+
"policy": "default",
|
1838
|
+
"refId": "B",
|
1839
|
+
"resultFormat": "time_series",
|
1840
|
+
"select": [
|
1746
1841
|
[
|
1747
1842
|
{
|
1748
1843
|
"params": [
|
@@ -1751,10 +1846,45 @@
|
|
1751
1846
|
"type": "field"
|
1752
1847
|
},
|
1753
1848
|
{
|
1754
|
-
"params": [
|
1755
|
-
|
1849
|
+
"params": [
|
1850
|
+
"95"
|
1851
|
+
],
|
1852
|
+
"type": "percentile"
|
1756
1853
|
}
|
1757
|
-
]
|
1854
|
+
]
|
1855
|
+
],
|
1856
|
+
"tags": [
|
1857
|
+
{
|
1858
|
+
"key": "hook",
|
1859
|
+
"operator": "=",
|
1860
|
+
"value": "perform"
|
1861
|
+
}
|
1862
|
+
]
|
1863
|
+
},
|
1864
|
+
{
|
1865
|
+
"alias": "P50",
|
1866
|
+
"groupBy": [
|
1867
|
+
{
|
1868
|
+
"params": [
|
1869
|
+
"$per"
|
1870
|
+
],
|
1871
|
+
"type": "time"
|
1872
|
+
},
|
1873
|
+
{
|
1874
|
+
"params": [
|
1875
|
+
"null"
|
1876
|
+
],
|
1877
|
+
"type": "fill"
|
1878
|
+
}
|
1879
|
+
],
|
1880
|
+
"measurement": "rails",
|
1881
|
+
"orderByTime": "ASC",
|
1882
|
+
"policy": "default",
|
1883
|
+
"query": "SELECT percentile(\"view\", 50) FROM \"rails\" WHERE (\"hook\" = 'process_action') AND $timeFilter GROUP BY time(1m) fill(null)",
|
1884
|
+
"rawQuery": false,
|
1885
|
+
"refId": "C",
|
1886
|
+
"resultFormat": "time_series",
|
1887
|
+
"select": [
|
1758
1888
|
[
|
1759
1889
|
{
|
1760
1890
|
"params": [
|
@@ -1766,7 +1896,38 @@
|
|
1766
1896
|
"params": [],
|
1767
1897
|
"type": "median"
|
1768
1898
|
}
|
1769
|
-
]
|
1899
|
+
]
|
1900
|
+
],
|
1901
|
+
"tags": [
|
1902
|
+
{
|
1903
|
+
"key": "hook",
|
1904
|
+
"operator": "=",
|
1905
|
+
"value": "perform"
|
1906
|
+
}
|
1907
|
+
]
|
1908
|
+
},
|
1909
|
+
{
|
1910
|
+
"alias": "Mean",
|
1911
|
+
"groupBy": [
|
1912
|
+
{
|
1913
|
+
"params": [
|
1914
|
+
"$per"
|
1915
|
+
],
|
1916
|
+
"type": "time"
|
1917
|
+
},
|
1918
|
+
{
|
1919
|
+
"params": [
|
1920
|
+
"null"
|
1921
|
+
],
|
1922
|
+
"type": "fill"
|
1923
|
+
}
|
1924
|
+
],
|
1925
|
+
"measurement": "rails",
|
1926
|
+
"orderByTime": "ASC",
|
1927
|
+
"policy": "default",
|
1928
|
+
"refId": "D",
|
1929
|
+
"resultFormat": "time_series",
|
1930
|
+
"select": [
|
1770
1931
|
[
|
1771
1932
|
{
|
1772
1933
|
"params": [
|
@@ -1776,7 +1937,7 @@
|
|
1776
1937
|
},
|
1777
1938
|
{
|
1778
1939
|
"params": [],
|
1779
|
-
"type": "
|
1940
|
+
"type": "mean"
|
1780
1941
|
}
|
1781
1942
|
]
|
1782
1943
|
],
|
@@ -1784,158 +1945,126 @@
|
|
1784
1945
|
{
|
1785
1946
|
"key": "hook",
|
1786
1947
|
"operator": "=",
|
1787
|
-
"value": "
|
1948
|
+
"value": "perform"
|
1788
1949
|
}
|
1789
1950
|
]
|
1790
1951
|
}
|
1791
1952
|
],
|
1792
|
-
"
|
1793
|
-
"
|
1794
|
-
"
|
1795
|
-
|
1796
|
-
|
1797
|
-
"
|
1798
|
-
|
1799
|
-
|
1800
|
-
|
1801
|
-
"gridPos": {
|
1802
|
-
"h": 13,
|
1803
|
-
"w": 12,
|
1804
|
-
"x": 12,
|
1805
|
-
"y": 25
|
1953
|
+
"thresholds": [],
|
1954
|
+
"timeFrom": null,
|
1955
|
+
"timeRegions": [],
|
1956
|
+
"timeShift": null,
|
1957
|
+
"title": "ActiveJob Performance",
|
1958
|
+
"tooltip": {
|
1959
|
+
"shared": true,
|
1960
|
+
"sort": 0,
|
1961
|
+
"value_type": "individual"
|
1806
1962
|
},
|
1807
|
-
"
|
1808
|
-
"
|
1809
|
-
|
1810
|
-
|
1811
|
-
|
1812
|
-
|
1813
|
-
|
1814
|
-
"col": 4,
|
1815
|
-
"desc": true
|
1963
|
+
"type": "graph",
|
1964
|
+
"xaxis": {
|
1965
|
+
"buckets": null,
|
1966
|
+
"mode": "time",
|
1967
|
+
"name": null,
|
1968
|
+
"show": true,
|
1969
|
+
"values": []
|
1816
1970
|
},
|
1817
|
-
"
|
1818
|
-
{
|
1819
|
-
"alias": "Finished",
|
1820
|
-
"dateFormat": "YYYY-MM-DD HH:mm:ss",
|
1821
|
-
"pattern": "Time",
|
1822
|
-
"type": "hidden"
|
1823
|
-
},
|
1824
|
-
{
|
1825
|
-
"alias": "Started",
|
1826
|
-
"colorMode": null,
|
1827
|
-
"colors": [
|
1828
|
-
"rgba(245, 54, 54, 0.9)",
|
1829
|
-
"rgba(237, 129, 40, 0.89)",
|
1830
|
-
"rgba(50, 172, 45, 0.97)"
|
1831
|
-
],
|
1832
|
-
"dateFormat": "YYYY-MM-DD HH:mm:ss",
|
1833
|
-
"decimals": 2,
|
1834
|
-
"pattern": "started",
|
1835
|
-
"thresholds": [],
|
1836
|
-
"type": "hidden",
|
1837
|
-
"unit": "short"
|
1838
|
-
},
|
1839
|
-
{
|
1840
|
-
"alias": "Maximum",
|
1841
|
-
"colorMode": null,
|
1842
|
-
"colors": [
|
1843
|
-
"rgba(245, 54, 54, 0.9)",
|
1844
|
-
"rgba(237, 129, 40, 0.89)",
|
1845
|
-
"rgba(50, 172, 45, 0.97)"
|
1846
|
-
],
|
1847
|
-
"dateFormat": "YYYY-MM-DD HH:mm:ss",
|
1848
|
-
"decimals": 2,
|
1849
|
-
"mappingType": 1,
|
1850
|
-
"pattern": "max",
|
1851
|
-
"thresholds": [],
|
1852
|
-
"type": "number",
|
1853
|
-
"unit": "ms"
|
1854
|
-
},
|
1971
|
+
"yaxes": [
|
1855
1972
|
{
|
1856
|
-
"
|
1857
|
-
"
|
1858
|
-
"
|
1859
|
-
|
1860
|
-
|
1861
|
-
|
1862
|
-
|
1863
|
-
"dateFormat": "YYYY-MM-DD HH:mm:ss",
|
1864
|
-
"decimals": 2,
|
1865
|
-
"link": true,
|
1866
|
-
"linkTargetBlank": false,
|
1867
|
-
"linkTooltip": "View data per this Request",
|
1868
|
-
"linkUrl": "/d/$REQUEST_DASHBOARD_UID/ruby-on-rails-performance-per-request?var-request_id=${__cell}&from=${__cell_2}&to=${__cell_0}&var-method=${__cell_1}",
|
1869
|
-
"mappingType": 1,
|
1870
|
-
"pattern": "request_id",
|
1871
|
-
"thresholds": [],
|
1872
|
-
"type": "string",
|
1873
|
-
"unit": "short"
|
1973
|
+
"$$hashKey": "object:3057",
|
1974
|
+
"format": "ms",
|
1975
|
+
"label": null,
|
1976
|
+
"logBase": 2,
|
1977
|
+
"max": null,
|
1978
|
+
"min": null,
|
1979
|
+
"show": true
|
1874
1980
|
},
|
1875
1981
|
{
|
1876
|
-
"
|
1877
|
-
"
|
1878
|
-
"
|
1879
|
-
|
1880
|
-
|
1881
|
-
|
1882
|
-
|
1883
|
-
"dateFormat": "YYYY-MM-DD HH:mm:ss",
|
1884
|
-
"decimals": 2,
|
1885
|
-
"link": true,
|
1886
|
-
"linkTargetBlank": true,
|
1887
|
-
"linkTooltip": "View data per this Controller Action",
|
1888
|
-
"linkUrl": "/d/$ACTION_DASHBOARD_UID/ruby-on-rails-performance-per-action?var-Action=${__cell}&from=$__from&to=$__to",
|
1889
|
-
"mappingType": 1,
|
1890
|
-
"pattern": "method",
|
1891
|
-
"thresholds": [],
|
1892
|
-
"type": "number",
|
1893
|
-
"unit": "short"
|
1982
|
+
"$$hashKey": "object:3058",
|
1983
|
+
"format": "short",
|
1984
|
+
"label": null,
|
1985
|
+
"logBase": 1,
|
1986
|
+
"max": null,
|
1987
|
+
"min": null,
|
1988
|
+
"show": false
|
1894
1989
|
}
|
1895
1990
|
],
|
1991
|
+
"yaxis": {
|
1992
|
+
"align": false,
|
1993
|
+
"alignLevel": null
|
1994
|
+
}
|
1995
|
+
},
|
1996
|
+
{
|
1997
|
+
"aliasColors": {},
|
1998
|
+
"bars": true,
|
1999
|
+
"dashLength": 10,
|
2000
|
+
"dashes": false,
|
2001
|
+
"datasource": "InfluxDB",
|
2002
|
+
"description": "Emails Sent",
|
2003
|
+
"fieldConfig": {
|
2004
|
+
"defaults": {
|
2005
|
+
"custom": {},
|
2006
|
+
"displayName": "Emails"
|
2007
|
+
},
|
2008
|
+
"overrides": []
|
2009
|
+
},
|
2010
|
+
"fill": 1,
|
2011
|
+
"fillGradient": 0,
|
2012
|
+
"gridPos": {
|
2013
|
+
"h": 6,
|
2014
|
+
"w": 12,
|
2015
|
+
"x": 0,
|
2016
|
+
"y": 22
|
2017
|
+
},
|
2018
|
+
"hiddenSeries": false,
|
2019
|
+
"id": 22,
|
2020
|
+
"legend": {
|
2021
|
+
"avg": false,
|
2022
|
+
"current": false,
|
2023
|
+
"max": false,
|
2024
|
+
"min": false,
|
2025
|
+
"show": false,
|
2026
|
+
"total": false,
|
2027
|
+
"values": false
|
2028
|
+
},
|
2029
|
+
"lines": false,
|
2030
|
+
"linewidth": 2,
|
2031
|
+
"nullPointMode": "connected",
|
2032
|
+
"percentage": false,
|
2033
|
+
"pluginVersion": "7.1.1",
|
2034
|
+
"pointradius": 2,
|
2035
|
+
"points": false,
|
2036
|
+
"renderer": "flot",
|
2037
|
+
"seriesOverrides": [],
|
2038
|
+
"spaceLength": 10,
|
2039
|
+
"stack": false,
|
2040
|
+
"steppedLine": false,
|
1896
2041
|
"targets": [
|
1897
2042
|
{
|
2043
|
+
"alias": "",
|
1898
2044
|
"groupBy": [
|
1899
2045
|
{
|
1900
2046
|
"params": [
|
1901
|
-
"
|
2047
|
+
"$per"
|
1902
2048
|
],
|
1903
|
-
"type": "
|
2049
|
+
"type": "time"
|
1904
2050
|
}
|
1905
2051
|
],
|
1906
|
-
"limit": "20",
|
1907
2052
|
"measurement": "rails",
|
1908
2053
|
"orderByTime": "ASC",
|
1909
2054
|
"policy": "default",
|
1910
2055
|
"refId": "A",
|
1911
|
-
"resultFormat": "
|
2056
|
+
"resultFormat": "time_series",
|
1912
2057
|
"select": [
|
1913
2058
|
[
|
1914
2059
|
{
|
1915
2060
|
"params": [
|
1916
|
-
"
|
1917
|
-
],
|
1918
|
-
"type": "field"
|
1919
|
-
}
|
1920
|
-
],
|
1921
|
-
[
|
1922
|
-
{
|
1923
|
-
"params": [
|
1924
|
-
"request_id"
|
1925
|
-
],
|
1926
|
-
"type": "field"
|
1927
|
-
}
|
1928
|
-
],
|
1929
|
-
[
|
1930
|
-
{
|
1931
|
-
"params": [
|
1932
|
-
"controller"
|
2061
|
+
"value"
|
1933
2062
|
],
|
1934
2063
|
"type": "field"
|
1935
2064
|
},
|
1936
2065
|
{
|
1937
2066
|
"params": [],
|
1938
|
-
"type": "
|
2067
|
+
"type": "count"
|
1939
2068
|
}
|
1940
2069
|
]
|
1941
2070
|
],
|
@@ -1943,65 +2072,145 @@
|
|
1943
2072
|
{
|
1944
2073
|
"key": "hook",
|
1945
2074
|
"operator": "=",
|
1946
|
-
"value": "
|
2075
|
+
"value": "deliver"
|
1947
2076
|
}
|
1948
2077
|
]
|
1949
2078
|
}
|
1950
2079
|
],
|
1951
|
-
"
|
1952
|
-
"
|
1953
|
-
"
|
2080
|
+
"thresholds": [],
|
2081
|
+
"timeFrom": null,
|
2082
|
+
"timeRegions": [],
|
2083
|
+
"timeShift": null,
|
2084
|
+
"title": "Mails per $per",
|
2085
|
+
"tooltip": {
|
2086
|
+
"shared": true,
|
2087
|
+
"sort": 0,
|
2088
|
+
"value_type": "individual"
|
2089
|
+
},
|
2090
|
+
"type": "graph",
|
2091
|
+
"xaxis": {
|
2092
|
+
"buckets": null,
|
2093
|
+
"mode": "time",
|
2094
|
+
"name": null,
|
2095
|
+
"show": true,
|
2096
|
+
"values": []
|
2097
|
+
},
|
2098
|
+
"yaxes": [
|
2099
|
+
{
|
2100
|
+
"$$hashKey": "object:282",
|
2101
|
+
"format": "short",
|
2102
|
+
"label": null,
|
2103
|
+
"logBase": 1,
|
2104
|
+
"max": null,
|
2105
|
+
"min": null,
|
2106
|
+
"show": true
|
2107
|
+
},
|
2108
|
+
{
|
2109
|
+
"$$hashKey": "object:283",
|
2110
|
+
"decimals": 0,
|
2111
|
+
"format": "Misc",
|
2112
|
+
"label": null,
|
2113
|
+
"logBase": 1,
|
2114
|
+
"max": null,
|
2115
|
+
"min": null,
|
2116
|
+
"show": false
|
2117
|
+
}
|
2118
|
+
],
|
2119
|
+
"yaxis": {
|
2120
|
+
"align": false,
|
2121
|
+
"alignLevel": null
|
2122
|
+
}
|
1954
2123
|
}
|
1955
2124
|
],
|
1956
2125
|
"refresh": "5m",
|
1957
|
-
"schemaVersion":
|
2126
|
+
"schemaVersion": 26,
|
1958
2127
|
"style": "dark",
|
1959
2128
|
"tags": [
|
1960
|
-
"
|
1961
|
-
"
|
1962
|
-
"influxdb"
|
2129
|
+
"Performance",
|
2130
|
+
"Ruby on Rails",
|
2131
|
+
"influxdb-rails"
|
1963
2132
|
],
|
1964
2133
|
"templating": {
|
1965
2134
|
"list": [
|
1966
2135
|
{
|
1967
|
-
"
|
2136
|
+
"auto": true,
|
2137
|
+
"auto_count": "50",
|
2138
|
+
"auto_min": "",
|
1968
2139
|
"current": {
|
1969
|
-
"
|
1970
|
-
"
|
2140
|
+
"selected": false,
|
2141
|
+
"text": "auto",
|
2142
|
+
"value": "$__auto_interval_per"
|
1971
2143
|
},
|
1972
|
-
"hide":
|
1973
|
-
"includeAll": false,
|
2144
|
+
"hide": 0,
|
1974
2145
|
"label": null,
|
1975
|
-
"
|
1976
|
-
"name": "REQUEST_DASHBOARD_UID",
|
2146
|
+
"name": "per",
|
1977
2147
|
"options": [
|
1978
2148
|
{
|
1979
2149
|
"selected": true,
|
1980
|
-
"text": "
|
1981
|
-
"value": "
|
1982
|
-
}
|
1983
|
-
|
1984
|
-
|
1985
|
-
|
1986
|
-
|
1987
|
-
|
1988
|
-
|
1989
|
-
|
1990
|
-
|
1991
|
-
|
1992
|
-
|
1993
|
-
|
1994
|
-
|
1995
|
-
|
1996
|
-
|
2150
|
+
"text": "auto",
|
2151
|
+
"value": "$__auto_interval_per"
|
2152
|
+
},
|
2153
|
+
{
|
2154
|
+
"selected": false,
|
2155
|
+
"text": "1m",
|
2156
|
+
"value": "1m"
|
2157
|
+
},
|
2158
|
+
{
|
2159
|
+
"selected": false,
|
2160
|
+
"text": "5m",
|
2161
|
+
"value": "5m"
|
2162
|
+
},
|
2163
|
+
{
|
2164
|
+
"selected": false,
|
2165
|
+
"text": "10m",
|
2166
|
+
"value": "10m"
|
2167
|
+
},
|
2168
|
+
{
|
2169
|
+
"selected": false,
|
2170
|
+
"text": "30m",
|
2171
|
+
"value": "30m"
|
2172
|
+
},
|
2173
|
+
{
|
2174
|
+
"selected": false,
|
2175
|
+
"text": "1h",
|
2176
|
+
"value": "1h"
|
2177
|
+
},
|
2178
|
+
{
|
2179
|
+
"selected": false,
|
2180
|
+
"text": "6h",
|
2181
|
+
"value": "6h"
|
2182
|
+
},
|
2183
|
+
{
|
2184
|
+
"selected": false,
|
2185
|
+
"text": "12h",
|
2186
|
+
"value": "12h"
|
2187
|
+
},
|
2188
|
+
{
|
2189
|
+
"selected": false,
|
2190
|
+
"text": "1d",
|
2191
|
+
"value": "1d"
|
2192
|
+
},
|
2193
|
+
{
|
2194
|
+
"selected": false,
|
2195
|
+
"text": "7d",
|
2196
|
+
"value": "7d"
|
2197
|
+
},
|
2198
|
+
{
|
2199
|
+
"selected": false,
|
2200
|
+
"text": "14d",
|
2201
|
+
"value": "14d"
|
2202
|
+
},
|
1997
2203
|
{
|
1998
|
-
"
|
1999
|
-
"text": "
|
2204
|
+
"selected": false,
|
2205
|
+
"text": "30d",
|
2206
|
+
"value": "30d"
|
2000
2207
|
}
|
2001
2208
|
],
|
2002
|
-
"query": "
|
2209
|
+
"query": "1m,5m,10m,30m,1h,6h,12h,1d,7d,14d,30d",
|
2210
|
+
"queryValue": "",
|
2211
|
+
"refresh": 2,
|
2003
2212
|
"skipUrlSync": false,
|
2004
|
-
"type": "
|
2213
|
+
"type": "interval"
|
2005
2214
|
}
|
2006
2215
|
]
|
2007
2216
|
},
|
@@ -2011,7 +2220,6 @@
|
|
2011
2220
|
},
|
2012
2221
|
"timepicker": {
|
2013
2222
|
"refresh_intervals": [
|
2014
|
-
"5s",
|
2015
2223
|
"10s",
|
2016
2224
|
"30s",
|
2017
2225
|
"1m",
|
@@ -2035,7 +2243,7 @@
|
|
2035
2243
|
]
|
2036
2244
|
},
|
2037
2245
|
"timezone": "",
|
2038
|
-
"title": "
|
2039
|
-
"uid": "
|
2040
|
-
"version":
|
2041
|
-
}
|
2246
|
+
"title": "Performance",
|
2247
|
+
"uid": "influxdb-rails-overview",
|
2248
|
+
"version": 24
|
2249
|
+
}
|