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",
|
@@ -10,11 +10,17 @@
|
|
10
10
|
}
|
11
11
|
],
|
12
12
|
"__requires": [
|
13
|
+
{
|
14
|
+
"type": "panel",
|
15
|
+
"id": "bargauge",
|
16
|
+
"name": "Bar gauge",
|
17
|
+
"version": ""
|
18
|
+
},
|
13
19
|
{
|
14
20
|
"type": "grafana",
|
15
21
|
"id": "grafana",
|
16
22
|
"name": "Grafana",
|
17
|
-
"version": "
|
23
|
+
"version": "7.1.1"
|
18
24
|
},
|
19
25
|
{
|
20
26
|
"type": "datasource",
|
@@ -24,21 +30,21 @@
|
|
24
30
|
},
|
25
31
|
{
|
26
32
|
"type": "panel",
|
27
|
-
"id": "
|
28
|
-
"name": "
|
33
|
+
"id": "stat",
|
34
|
+
"name": "Stat",
|
29
35
|
"version": ""
|
30
36
|
},
|
31
37
|
{
|
32
38
|
"type": "panel",
|
33
|
-
"id": "table",
|
34
|
-
"name": "Table",
|
39
|
+
"id": "table-old",
|
40
|
+
"name": "Table (old)",
|
35
41
|
"version": ""
|
36
42
|
},
|
37
43
|
{
|
38
44
|
"type": "panel",
|
39
45
|
"id": "text",
|
40
46
|
"name": "Text",
|
41
|
-
"version": ""
|
47
|
+
"version": "7.1.0"
|
42
48
|
}
|
43
49
|
],
|
44
50
|
"annotations": {
|
@@ -54,16 +60,32 @@
|
|
54
60
|
}
|
55
61
|
]
|
56
62
|
},
|
57
|
-
"description": "
|
63
|
+
"description": "",
|
58
64
|
"editable": true,
|
59
65
|
"gnetId": 10429,
|
60
66
|
"graphTooltip": 0,
|
61
67
|
"id": null,
|
62
|
-
"iteration":
|
63
|
-
"links": [
|
68
|
+
"iteration": 1616428738654,
|
69
|
+
"links": [
|
70
|
+
{
|
71
|
+
"$$hashKey": "object:392",
|
72
|
+
"icon": "external link",
|
73
|
+
"tags": [
|
74
|
+
"influxdb-rails"
|
75
|
+
],
|
76
|
+
"type": "dashboards"
|
77
|
+
}
|
78
|
+
],
|
64
79
|
"panels": [
|
65
80
|
{
|
66
81
|
"content": "## Details for $method ($request_id)",
|
82
|
+
"datasource": "${DS_INFLUXDB-RAILS}",
|
83
|
+
"fieldConfig": {
|
84
|
+
"defaults": {
|
85
|
+
"custom": {}
|
86
|
+
},
|
87
|
+
"overrides": []
|
88
|
+
},
|
67
89
|
"gridPos": {
|
68
90
|
"h": 2,
|
69
91
|
"w": 24,
|
@@ -73,29 +95,51 @@
|
|
73
95
|
"id": 4,
|
74
96
|
"links": [],
|
75
97
|
"mode": "markdown",
|
76
|
-
"options": {
|
98
|
+
"options": {
|
99
|
+
"content": "## Details for $method ($request_id)",
|
100
|
+
"mode": "markdown"
|
101
|
+
},
|
102
|
+
"pluginVersion": "7.1.0",
|
77
103
|
"title": "",
|
78
104
|
"type": "text"
|
79
105
|
},
|
80
106
|
{
|
81
107
|
"cacheTimeout": null,
|
82
|
-
"
|
83
|
-
"colorPrefix": false,
|
84
|
-
"colorValue": true,
|
85
|
-
"colors": [
|
86
|
-
"#299c46",
|
87
|
-
"rgba(237, 129, 40, 0.89)",
|
88
|
-
"#d44a3a"
|
89
|
-
],
|
90
|
-
"datasource": "${DS_INFLUXDB}",
|
108
|
+
"datasource": "${DS_INFLUXDB-RAILS}",
|
91
109
|
"description": "",
|
92
|
-
"
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
110
|
+
"fieldConfig": {
|
111
|
+
"defaults": {
|
112
|
+
"custom": {},
|
113
|
+
"mappings": [
|
114
|
+
{
|
115
|
+
"id": 0,
|
116
|
+
"op": "=",
|
117
|
+
"text": "N/A",
|
118
|
+
"type": 1,
|
119
|
+
"value": "null"
|
120
|
+
}
|
121
|
+
],
|
122
|
+
"nullValueMode": "connected",
|
123
|
+
"thresholds": {
|
124
|
+
"mode": "absolute",
|
125
|
+
"steps": [
|
126
|
+
{
|
127
|
+
"color": "#299c46",
|
128
|
+
"value": null
|
129
|
+
},
|
130
|
+
{
|
131
|
+
"color": "rgba(237, 129, 40, 0.89)",
|
132
|
+
"value": 200
|
133
|
+
},
|
134
|
+
{
|
135
|
+
"color": "#d44a3a",
|
136
|
+
"value": 300
|
137
|
+
}
|
138
|
+
]
|
139
|
+
},
|
140
|
+
"unit": "ms"
|
141
|
+
},
|
142
|
+
"overrides": []
|
99
143
|
},
|
100
144
|
"gridPos": {
|
101
145
|
"h": 3,
|
@@ -106,39 +150,22 @@
|
|
106
150
|
"id": 2,
|
107
151
|
"interval": null,
|
108
152
|
"links": [],
|
109
|
-
"mappingType": 1,
|
110
|
-
"mappingTypes": [
|
111
|
-
{
|
112
|
-
"name": "value to text",
|
113
|
-
"value": 1
|
114
|
-
},
|
115
|
-
{
|
116
|
-
"name": "range to text",
|
117
|
-
"value": 2
|
118
|
-
}
|
119
|
-
],
|
120
153
|
"maxDataPoints": 100,
|
121
|
-
"
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
"
|
131
|
-
"
|
132
|
-
|
133
|
-
|
134
|
-
],
|
135
|
-
"sparkline": {
|
136
|
-
"fillColor": "rgba(31, 118, 189, 0.18)",
|
137
|
-
"full": false,
|
138
|
-
"lineColor": "rgb(31, 120, 193)",
|
139
|
-
"show": false
|
154
|
+
"options": {
|
155
|
+
"colorMode": "value",
|
156
|
+
"graphMode": "none",
|
157
|
+
"justifyMode": "auto",
|
158
|
+
"orientation": "horizontal",
|
159
|
+
"reduceOptions": {
|
160
|
+
"calcs": [
|
161
|
+
"sum"
|
162
|
+
],
|
163
|
+
"fields": "",
|
164
|
+
"values": false
|
165
|
+
},
|
166
|
+
"textMode": "auto"
|
140
167
|
},
|
141
|
-
"
|
168
|
+
"pluginVersion": "7.1.1",
|
142
169
|
"targets": [
|
143
170
|
{
|
144
171
|
"groupBy": [],
|
@@ -172,36 +199,45 @@
|
|
172
199
|
]
|
173
200
|
}
|
174
201
|
],
|
175
|
-
"thresholds": "200,300",
|
176
202
|
"title": "Total Controller Action Runtime",
|
177
|
-
"type": "
|
178
|
-
"valueFontSize": "80%",
|
179
|
-
"valueMaps": [
|
180
|
-
{
|
181
|
-
"op": "=",
|
182
|
-
"text": "N/A",
|
183
|
-
"value": "null"
|
184
|
-
}
|
185
|
-
],
|
186
|
-
"valueName": "total"
|
203
|
+
"type": "stat"
|
187
204
|
},
|
188
205
|
{
|
189
206
|
"cacheTimeout": null,
|
190
|
-
"
|
191
|
-
"
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
207
|
+
"datasource": "${DS_INFLUXDB-RAILS}",
|
208
|
+
"fieldConfig": {
|
209
|
+
"defaults": {
|
210
|
+
"custom": {},
|
211
|
+
"mappings": [
|
212
|
+
{
|
213
|
+
"id": 0,
|
214
|
+
"op": "=",
|
215
|
+
"text": "N/A",
|
216
|
+
"type": 1,
|
217
|
+
"value": "null"
|
218
|
+
}
|
219
|
+
],
|
220
|
+
"nullValueMode": "connected",
|
221
|
+
"thresholds": {
|
222
|
+
"mode": "absolute",
|
223
|
+
"steps": [
|
224
|
+
{
|
225
|
+
"color": "#299c46",
|
226
|
+
"value": null
|
227
|
+
},
|
228
|
+
{
|
229
|
+
"color": "rgba(237, 129, 40, 0.89)",
|
230
|
+
"value": 200
|
231
|
+
},
|
232
|
+
{
|
233
|
+
"color": "#d44a3a",
|
234
|
+
"value": 300
|
235
|
+
}
|
236
|
+
]
|
237
|
+
},
|
238
|
+
"unit": "ms"
|
239
|
+
},
|
240
|
+
"overrides": []
|
205
241
|
},
|
206
242
|
"gridPos": {
|
207
243
|
"h": 3,
|
@@ -212,39 +248,22 @@
|
|
212
248
|
"id": 6,
|
213
249
|
"interval": null,
|
214
250
|
"links": [],
|
215
|
-
"mappingType": 1,
|
216
|
-
"mappingTypes": [
|
217
|
-
{
|
218
|
-
"name": "value to text",
|
219
|
-
"value": 1
|
220
|
-
},
|
221
|
-
{
|
222
|
-
"name": "range to text",
|
223
|
-
"value": 2
|
224
|
-
}
|
225
|
-
],
|
226
251
|
"maxDataPoints": 100,
|
227
|
-
"
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
"
|
237
|
-
"
|
238
|
-
|
239
|
-
|
240
|
-
],
|
241
|
-
"sparkline": {
|
242
|
-
"fillColor": "rgba(31, 118, 189, 0.18)",
|
243
|
-
"full": false,
|
244
|
-
"lineColor": "rgb(31, 120, 193)",
|
245
|
-
"show": false
|
252
|
+
"options": {
|
253
|
+
"colorMode": "value",
|
254
|
+
"graphMode": "none",
|
255
|
+
"justifyMode": "auto",
|
256
|
+
"orientation": "horizontal",
|
257
|
+
"reduceOptions": {
|
258
|
+
"calcs": [
|
259
|
+
"mean"
|
260
|
+
],
|
261
|
+
"fields": "",
|
262
|
+
"values": false
|
263
|
+
},
|
264
|
+
"textMode": "auto"
|
246
265
|
},
|
247
|
-
"
|
266
|
+
"pluginVersion": "7.1.1",
|
248
267
|
"targets": [
|
249
268
|
{
|
250
269
|
"groupBy": [],
|
@@ -278,36 +297,45 @@
|
|
278
297
|
]
|
279
298
|
}
|
280
299
|
],
|
281
|
-
"thresholds": "200,300",
|
282
300
|
"title": "Total Database Query Runtime",
|
283
|
-
"type": "
|
284
|
-
"valueFontSize": "80%",
|
285
|
-
"valueMaps": [
|
286
|
-
{
|
287
|
-
"op": "=",
|
288
|
-
"text": "N/A",
|
289
|
-
"value": "null"
|
290
|
-
}
|
291
|
-
],
|
292
|
-
"valueName": "avg"
|
301
|
+
"type": "stat"
|
293
302
|
},
|
294
303
|
{
|
295
304
|
"cacheTimeout": null,
|
296
|
-
"
|
297
|
-
"
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
305
|
+
"datasource": "${DS_INFLUXDB-RAILS}",
|
306
|
+
"fieldConfig": {
|
307
|
+
"defaults": {
|
308
|
+
"custom": {},
|
309
|
+
"mappings": [
|
310
|
+
{
|
311
|
+
"id": 0,
|
312
|
+
"op": "=",
|
313
|
+
"text": "0",
|
314
|
+
"type": 1,
|
315
|
+
"value": "null"
|
316
|
+
}
|
317
|
+
],
|
318
|
+
"nullValueMode": "connected",
|
319
|
+
"thresholds": {
|
320
|
+
"mode": "absolute",
|
321
|
+
"steps": [
|
322
|
+
{
|
323
|
+
"color": "#299c46",
|
324
|
+
"value": null
|
325
|
+
},
|
326
|
+
{
|
327
|
+
"color": "rgba(237, 129, 40, 0.89)",
|
328
|
+
"value": 200
|
329
|
+
},
|
330
|
+
{
|
331
|
+
"color": "#d44a3a",
|
332
|
+
"value": 300
|
333
|
+
}
|
334
|
+
]
|
335
|
+
},
|
336
|
+
"unit": "ms"
|
337
|
+
},
|
338
|
+
"overrides": []
|
311
339
|
},
|
312
340
|
"gridPos": {
|
313
341
|
"h": 3,
|
@@ -318,39 +346,22 @@
|
|
318
346
|
"id": 8,
|
319
347
|
"interval": null,
|
320
348
|
"links": [],
|
321
|
-
"mappingType": 1,
|
322
|
-
"mappingTypes": [
|
323
|
-
{
|
324
|
-
"name": "value to text",
|
325
|
-
"value": 1
|
326
|
-
},
|
327
|
-
{
|
328
|
-
"name": "range to text",
|
329
|
-
"value": 2
|
330
|
-
}
|
331
|
-
],
|
332
349
|
"maxDataPoints": 100,
|
333
|
-
"
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
"
|
343
|
-
"
|
344
|
-
|
345
|
-
|
346
|
-
],
|
347
|
-
"sparkline": {
|
348
|
-
"fillColor": "rgba(31, 118, 189, 0.18)",
|
349
|
-
"full": false,
|
350
|
-
"lineColor": "rgb(31, 120, 193)",
|
351
|
-
"show": false
|
350
|
+
"options": {
|
351
|
+
"colorMode": "value",
|
352
|
+
"graphMode": "none",
|
353
|
+
"justifyMode": "auto",
|
354
|
+
"orientation": "horizontal",
|
355
|
+
"reduceOptions": {
|
356
|
+
"calcs": [
|
357
|
+
"mean"
|
358
|
+
],
|
359
|
+
"fields": "",
|
360
|
+
"values": false
|
361
|
+
},
|
362
|
+
"textMode": "auto"
|
352
363
|
},
|
353
|
-
"
|
364
|
+
"pluginVersion": "7.1.1",
|
354
365
|
"targets": [
|
355
366
|
{
|
356
367
|
"groupBy": [],
|
@@ -384,49 +395,48 @@
|
|
384
395
|
]
|
385
396
|
}
|
386
397
|
],
|
387
|
-
"thresholds": "200,300",
|
388
398
|
"title": "Total View Rendering Runtime",
|
389
|
-
"type": "
|
390
|
-
"valueFontSize": "80%",
|
391
|
-
"valueMaps": [
|
392
|
-
{
|
393
|
-
"op": "=",
|
394
|
-
"text": "N/A",
|
395
|
-
"value": "null"
|
396
|
-
}
|
397
|
-
],
|
398
|
-
"valueName": "avg"
|
399
|
+
"type": "stat"
|
399
400
|
},
|
400
401
|
{
|
401
402
|
"columns": [],
|
402
|
-
"datasource": "${DS_INFLUXDB}",
|
403
|
+
"datasource": "${DS_INFLUXDB-RAILS}",
|
403
404
|
"description": "Database queries in this request.\n\n- Count: Number of occurrences\n- Mean: Average time spent in this query\n- Maximum: Slowest occurrence\n- Total: Total amount of time spent in this query",
|
405
|
+
"fieldConfig": {
|
406
|
+
"defaults": {
|
407
|
+
"custom": {}
|
408
|
+
},
|
409
|
+
"overrides": []
|
410
|
+
},
|
404
411
|
"fontSize": "100%",
|
405
412
|
"gridPos": {
|
406
|
-
"h":
|
407
|
-
"w":
|
413
|
+
"h": 7,
|
414
|
+
"w": 12,
|
408
415
|
"x": 0,
|
409
416
|
"y": 5
|
410
417
|
},
|
411
418
|
"id": 12,
|
412
419
|
"links": [],
|
413
|
-
"options": {},
|
414
420
|
"pageSize": null,
|
415
421
|
"scroll": true,
|
416
422
|
"showHeader": true,
|
417
423
|
"sort": {
|
418
|
-
"col":
|
424
|
+
"col": 5,
|
419
425
|
"desc": true
|
420
426
|
},
|
421
427
|
"styles": [
|
422
428
|
{
|
429
|
+
"$$hashKey": "object:554",
|
423
430
|
"alias": "Time",
|
431
|
+
"align": "auto",
|
424
432
|
"dateFormat": "YYYY-MM-DD HH:mm:ss",
|
425
433
|
"pattern": "Time",
|
426
434
|
"type": "hidden"
|
427
435
|
},
|
428
436
|
{
|
437
|
+
"$$hashKey": "object:555",
|
429
438
|
"alias": "Count",
|
439
|
+
"align": "auto",
|
430
440
|
"colorMode": null,
|
431
441
|
"colors": [
|
432
442
|
"rgba(245, 54, 54, 0.9)",
|
@@ -442,7 +452,9 @@
|
|
442
452
|
"unit": "short"
|
443
453
|
},
|
444
454
|
{
|
455
|
+
"$$hashKey": "object:556",
|
445
456
|
"alias": "Query",
|
457
|
+
"align": "auto",
|
446
458
|
"colorMode": null,
|
447
459
|
"colors": [
|
448
460
|
"rgba(245, 54, 54, 0.9)",
|
@@ -453,12 +465,23 @@
|
|
453
465
|
"decimals": 2,
|
454
466
|
"mappingType": 1,
|
455
467
|
"pattern": "name",
|
468
|
+
"preserveFormat": false,
|
469
|
+
"sanitize": false,
|
456
470
|
"thresholds": [],
|
457
|
-
"type": "
|
458
|
-
"unit": "short"
|
471
|
+
"type": "string",
|
472
|
+
"unit": "short",
|
473
|
+
"valueMaps": [
|
474
|
+
{
|
475
|
+
"$$hashKey": "object:823",
|
476
|
+
"text": "Unkown",
|
477
|
+
"value": ""
|
478
|
+
}
|
479
|
+
]
|
459
480
|
},
|
460
481
|
{
|
482
|
+
"$$hashKey": "object:557",
|
461
483
|
"alias": "Mean",
|
484
|
+
"align": "auto",
|
462
485
|
"colorMode": null,
|
463
486
|
"colors": [
|
464
487
|
"rgba(245, 54, 54, 0.9)",
|
@@ -474,7 +497,9 @@
|
|
474
497
|
"unit": "ms"
|
475
498
|
},
|
476
499
|
{
|
500
|
+
"$$hashKey": "object:558",
|
477
501
|
"alias": "Maximum",
|
502
|
+
"align": "auto",
|
478
503
|
"colorMode": null,
|
479
504
|
"colors": [
|
480
505
|
"rgba(245, 54, 54, 0.9)",
|
@@ -490,7 +515,9 @@
|
|
490
515
|
"unit": "ms"
|
491
516
|
},
|
492
517
|
{
|
518
|
+
"$$hashKey": "object:559",
|
493
519
|
"alias": "Total",
|
520
|
+
"align": "auto",
|
494
521
|
"colorMode": null,
|
495
522
|
"colors": [
|
496
523
|
"rgba(245, 54, 54, 0.9)",
|
@@ -506,7 +533,9 @@
|
|
506
533
|
"unit": "ms"
|
507
534
|
},
|
508
535
|
{
|
536
|
+
"$$hashKey": "object:560",
|
509
537
|
"alias": "",
|
538
|
+
"align": "auto",
|
510
539
|
"colorMode": null,
|
511
540
|
"colors": [
|
512
541
|
"rgba(245, 54, 54, 0.9)",
|
@@ -602,22 +631,127 @@
|
|
602
631
|
],
|
603
632
|
"title": "Database Queries",
|
604
633
|
"transform": "table",
|
605
|
-
"type": "table"
|
634
|
+
"type": "table-old"
|
635
|
+
},
|
636
|
+
{
|
637
|
+
"cacheTimeout": null,
|
638
|
+
"datasource": "${DS_INFLUXDB-RAILS}",
|
639
|
+
"description": "",
|
640
|
+
"fieldConfig": {
|
641
|
+
"defaults": {
|
642
|
+
"custom": {},
|
643
|
+
"mappings": [],
|
644
|
+
"thresholds": {
|
645
|
+
"mode": "absolute",
|
646
|
+
"steps": [
|
647
|
+
{
|
648
|
+
"color": "green",
|
649
|
+
"value": null
|
650
|
+
},
|
651
|
+
{
|
652
|
+
"color": "yellow",
|
653
|
+
"value": 100
|
654
|
+
},
|
655
|
+
{
|
656
|
+
"color": "red",
|
657
|
+
"value": 200
|
658
|
+
}
|
659
|
+
]
|
660
|
+
},
|
661
|
+
"unit": "short"
|
662
|
+
},
|
663
|
+
"overrides": []
|
664
|
+
},
|
665
|
+
"gridPos": {
|
666
|
+
"h": 7,
|
667
|
+
"w": 12,
|
668
|
+
"x": 12,
|
669
|
+
"y": 5
|
670
|
+
},
|
671
|
+
"id": 17,
|
672
|
+
"interval": null,
|
673
|
+
"links": [],
|
674
|
+
"maxDataPoints": 3,
|
675
|
+
"options": {
|
676
|
+
"displayMode": "lcd",
|
677
|
+
"orientation": "horizontal",
|
678
|
+
"reduceOptions": {
|
679
|
+
"calcs": [
|
680
|
+
"mean"
|
681
|
+
],
|
682
|
+
"fields": "",
|
683
|
+
"values": true
|
684
|
+
},
|
685
|
+
"showUnfilled": true
|
686
|
+
},
|
687
|
+
"pluginVersion": "7.1.1",
|
688
|
+
"targets": [
|
689
|
+
{
|
690
|
+
"alias": "$tag_class_name",
|
691
|
+
"groupBy": [
|
692
|
+
{
|
693
|
+
"params": [
|
694
|
+
"class_name"
|
695
|
+
],
|
696
|
+
"type": "tag"
|
697
|
+
}
|
698
|
+
],
|
699
|
+
"measurement": "rails",
|
700
|
+
"orderByTime": "ASC",
|
701
|
+
"policy": "default",
|
702
|
+
"refId": "A",
|
703
|
+
"resultFormat": "time_series",
|
704
|
+
"select": [
|
705
|
+
[
|
706
|
+
{
|
707
|
+
"params": [
|
708
|
+
"record_count"
|
709
|
+
],
|
710
|
+
"type": "field"
|
711
|
+
},
|
712
|
+
{
|
713
|
+
"params": [],
|
714
|
+
"type": "count"
|
715
|
+
}
|
716
|
+
]
|
717
|
+
],
|
718
|
+
"tags": [
|
719
|
+
{
|
720
|
+
"key": "request_id",
|
721
|
+
"operator": "=~",
|
722
|
+
"value": "/^$request_id$/"
|
723
|
+
},
|
724
|
+
{
|
725
|
+
"condition": "AND",
|
726
|
+
"key": "hook",
|
727
|
+
"operator": "=",
|
728
|
+
"value": "instantiation"
|
729
|
+
}
|
730
|
+
]
|
731
|
+
}
|
732
|
+
],
|
733
|
+
"title": "Record Instantiation",
|
734
|
+
"type": "bargauge"
|
606
735
|
},
|
607
736
|
{
|
608
737
|
"columns": [],
|
609
|
-
"datasource": "${DS_INFLUXDB}",
|
738
|
+
"datasource": "${DS_INFLUXDB-RAILS}",
|
610
739
|
"description": "Views rendered in this request.\n\n- Count: Number of occurrences\n- Mean: Average time spent in this query\n- Maximum: Slowest occurrence",
|
740
|
+
"fieldConfig": {
|
741
|
+
"defaults": {
|
742
|
+
"custom": {}
|
743
|
+
},
|
744
|
+
"overrides": []
|
745
|
+
},
|
611
746
|
"fontSize": "100%",
|
612
747
|
"gridPos": {
|
613
748
|
"h": 9,
|
614
749
|
"w": 12,
|
615
750
|
"x": 0,
|
616
|
-
"y":
|
751
|
+
"y": 12
|
617
752
|
},
|
618
753
|
"id": 10,
|
619
754
|
"links": [],
|
620
|
-
"options": {},
|
621
755
|
"pageSize": null,
|
622
756
|
"scroll": true,
|
623
757
|
"showHeader": true,
|
@@ -628,12 +762,14 @@
|
|
628
762
|
"styles": [
|
629
763
|
{
|
630
764
|
"alias": "Time",
|
765
|
+
"align": "auto",
|
631
766
|
"dateFormat": "YYYY-MM-DD HH:mm:ss",
|
632
767
|
"pattern": "Time",
|
633
768
|
"type": "hidden"
|
634
769
|
},
|
635
770
|
{
|
636
771
|
"alias": "Count",
|
772
|
+
"align": "auto",
|
637
773
|
"colorMode": null,
|
638
774
|
"colors": [
|
639
775
|
"rgba(245, 54, 54, 0.9)",
|
@@ -650,6 +786,7 @@
|
|
650
786
|
},
|
651
787
|
{
|
652
788
|
"alias": "Mean",
|
789
|
+
"align": "auto",
|
653
790
|
"colorMode": null,
|
654
791
|
"colors": [
|
655
792
|
"rgba(245, 54, 54, 0.9)",
|
@@ -666,6 +803,7 @@
|
|
666
803
|
},
|
667
804
|
{
|
668
805
|
"alias": "Maximum",
|
806
|
+
"align": "auto",
|
669
807
|
"colorMode": null,
|
670
808
|
"colors": [
|
671
809
|
"rgba(245, 54, 54, 0.9)",
|
@@ -682,6 +820,7 @@
|
|
682
820
|
},
|
683
821
|
{
|
684
822
|
"alias": "File",
|
823
|
+
"align": "auto",
|
685
824
|
"colorMode": null,
|
686
825
|
"colors": [
|
687
826
|
"rgba(245, 54, 54, 0.9)",
|
@@ -765,38 +904,45 @@
|
|
765
904
|
],
|
766
905
|
"title": "Views Rendered",
|
767
906
|
"transform": "table",
|
768
|
-
"type": "table"
|
907
|
+
"type": "table-old"
|
769
908
|
},
|
770
909
|
{
|
771
910
|
"columns": [],
|
772
|
-
"datasource": "${DS_INFLUXDB}",
|
911
|
+
"datasource": "${DS_INFLUXDB-RAILS}",
|
773
912
|
"description": "Partials rendered in this request.\n\n- Count: Number of occurrences\n- Mean: Average time spent in this partial\n- Maximum: Slowest occurrence\n- Total: Total time spent in this partial",
|
913
|
+
"fieldConfig": {
|
914
|
+
"defaults": {
|
915
|
+
"custom": {}
|
916
|
+
},
|
917
|
+
"overrides": []
|
918
|
+
},
|
774
919
|
"fontSize": "100%",
|
775
920
|
"gridPos": {
|
776
921
|
"h": 9,
|
777
922
|
"w": 12,
|
778
923
|
"x": 12,
|
779
|
-
"y":
|
924
|
+
"y": 12
|
780
925
|
},
|
781
926
|
"id": 16,
|
782
927
|
"links": [],
|
783
|
-
"options": {},
|
784
928
|
"pageSize": null,
|
785
929
|
"scroll": true,
|
786
930
|
"showHeader": true,
|
787
931
|
"sort": {
|
788
|
-
"col":
|
932
|
+
"col": 5,
|
789
933
|
"desc": true
|
790
934
|
},
|
791
935
|
"styles": [
|
792
936
|
{
|
793
937
|
"alias": "Time",
|
938
|
+
"align": "auto",
|
794
939
|
"dateFormat": "YYYY-MM-DD HH:mm:ss",
|
795
940
|
"pattern": "Time",
|
796
941
|
"type": "hidden"
|
797
942
|
},
|
798
943
|
{
|
799
944
|
"alias": "Count",
|
945
|
+
"align": "auto",
|
800
946
|
"colorMode": null,
|
801
947
|
"colors": [
|
802
948
|
"rgba(245, 54, 54, 0.9)",
|
@@ -813,6 +959,7 @@
|
|
813
959
|
},
|
814
960
|
{
|
815
961
|
"alias": "File",
|
962
|
+
"align": "auto",
|
816
963
|
"colorMode": null,
|
817
964
|
"colors": [
|
818
965
|
"rgba(245, 54, 54, 0.9)",
|
@@ -829,6 +976,7 @@
|
|
829
976
|
},
|
830
977
|
{
|
831
978
|
"alias": "Mean",
|
979
|
+
"align": "auto",
|
832
980
|
"colorMode": null,
|
833
981
|
"colors": [
|
834
982
|
"rgba(245, 54, 54, 0.9)",
|
@@ -845,6 +993,7 @@
|
|
845
993
|
},
|
846
994
|
{
|
847
995
|
"alias": "Maximum",
|
996
|
+
"align": "auto",
|
848
997
|
"colorMode": null,
|
849
998
|
"colors": [
|
850
999
|
"rgba(245, 54, 54, 0.9)",
|
@@ -861,6 +1010,7 @@
|
|
861
1010
|
},
|
862
1011
|
{
|
863
1012
|
"alias": "Total",
|
1013
|
+
"align": "auto",
|
864
1014
|
"colorMode": null,
|
865
1015
|
"colors": [
|
866
1016
|
"rgba(245, 54, 54, 0.9)",
|
@@ -877,6 +1027,7 @@
|
|
877
1027
|
},
|
878
1028
|
{
|
879
1029
|
"alias": "",
|
1030
|
+
"align": "auto",
|
880
1031
|
"colorMode": null,
|
881
1032
|
"colors": [
|
882
1033
|
"rgba(245, 54, 54, 0.9)",
|
@@ -972,16 +1123,15 @@
|
|
972
1123
|
],
|
973
1124
|
"title": "Partials Rendered",
|
974
1125
|
"transform": "table",
|
975
|
-
"type": "table"
|
1126
|
+
"type": "table-old"
|
976
1127
|
}
|
977
1128
|
],
|
978
1129
|
"refresh": false,
|
979
|
-
"schemaVersion":
|
1130
|
+
"schemaVersion": 26,
|
980
1131
|
"style": "dark",
|
981
1132
|
"tags": [
|
982
|
-
"
|
983
|
-
"
|
984
|
-
"influxdb"
|
1133
|
+
"Performance",
|
1134
|
+
"Ruby on Rails"
|
985
1135
|
],
|
986
1136
|
"templating": {
|
987
1137
|
"list": [
|
@@ -1000,7 +1150,7 @@
|
|
1000
1150
|
"value": ""
|
1001
1151
|
}
|
1002
1152
|
],
|
1003
|
-
"query": "",
|
1153
|
+
"query": "ba3c5e76-d15a-40fb-bb0c-a6dc0220fa8c",
|
1004
1154
|
"skipUrlSync": false,
|
1005
1155
|
"type": "textbox"
|
1006
1156
|
},
|
@@ -1019,7 +1169,7 @@
|
|
1019
1169
|
"value": ""
|
1020
1170
|
}
|
1021
1171
|
],
|
1022
|
-
"query": "",
|
1172
|
+
"query": "Webui::PackageController#meta",
|
1023
1173
|
"skipUrlSync": false,
|
1024
1174
|
"type": "textbox"
|
1025
1175
|
}
|
@@ -1047,7 +1197,7 @@
|
|
1047
1197
|
]
|
1048
1198
|
},
|
1049
1199
|
"timezone": "",
|
1050
|
-
"title": "
|
1051
|
-
"uid": "
|
1052
|
-
"version":
|
1053
|
-
}
|
1200
|
+
"title": "Performance (per Request)",
|
1201
|
+
"uid": "influxdb-rails-request",
|
1202
|
+
"version": 9
|
1203
|
+
}
|