sidekiq-prometheus-exporter 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +0 -3
- data/Appraisals +1 -2
- data/Gemfile +13 -0
- data/README.md +5 -1
- data/Rakefile +6 -3
- data/lib/sidekiq/prometheus/exporter/version.rb +1 -1
- data/lib/sidekiq/prometheus/exporter.rb +5 -4
- data/sidekiq-prometheus-exporter.gemspec +1 -14
- metadata +3 -210
- data/.github/FUNDING.yml +0 -12
- data/.github/workflows/ci.yaml +0 -70
- data/docker/Dockerfile +0 -24
- data/docker/README.md +0 -61
- data/docker/config.ru +0 -41
- data/examples/docker-compose.yml +0 -49
- data/examples/metrics/Dockerfile +0 -7
- data/examples/metrics/config.ru +0 -10
- data/examples/prometheus/prometheus.yml +0 -8
- data/examples/screenshot.png +0 -0
- data/examples/sidekiq/Dockerfile +0 -5
- data/examples/sidekiq/sidekiq.rb +0 -41
- data/examples/sidekiq/sidekiq.yml +0 -5
- data/examples/sidekiq-dashboard.grafana-6.json +0 -837
- data/examples/sidekiq-dashboard.grafana-7.json +0 -845
- data/gemfiles/sidekiq_4.1.0.Gemfile +0 -9
- data/gemfiles/sidekiq_4.1.0.Gemfile.lock +0 -117
- data/gemfiles/sidekiq_4.x.Gemfile +0 -8
- data/gemfiles/sidekiq_4.x.Gemfile.lock +0 -105
- data/gemfiles/sidekiq_5.x.Gemfile +0 -8
- data/gemfiles/sidekiq_5.x.Gemfile.lock +0 -104
- data/gemfiles/sidekiq_6.x.Gemfile +0 -8
- data/gemfiles/sidekiq_6.x.Gemfile.lock +0 -101
- data/gemfiles/sidekiq_7.x.Gemfile +0 -8
- data/gemfiles/sidekiq_7.x.Gemfile.lock +0 -109
- data/gemfiles/sidekiq_latest.Gemfile +0 -9
- data/gemfiles/sidekiq_latest.Gemfile.lock +0 -121
- data/helm/sidekiq-prometheus-exporter/.helmignore +0 -22
- data/helm/sidekiq-prometheus-exporter/Chart.yaml +0 -6
- data/helm/sidekiq-prometheus-exporter/README.md +0 -89
- data/helm/sidekiq-prometheus-exporter/templates/NOTES.txt +0 -15
- data/helm/sidekiq-prometheus-exporter/templates/_helpers.tpl +0 -109
- data/helm/sidekiq-prometheus-exporter/templates/clusterrole.yaml +0 -20
- data/helm/sidekiq-prometheus-exporter/templates/clusterrolebinding.yaml +0 -17
- data/helm/sidekiq-prometheus-exporter/templates/deployment.yaml +0 -65
- data/helm/sidekiq-prometheus-exporter/templates/service.yaml +0 -17
- data/helm/sidekiq-prometheus-exporter/templates/serviceaccount.yaml +0 -9
- data/helm/sidekiq-prometheus-exporter/templates/servicemonitor.yaml +0 -26
- data/helm/sidekiq-prometheus-exporter/values.yaml +0 -139
@@ -1,837 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"annotations": {
|
3
|
-
"list": [
|
4
|
-
{
|
5
|
-
"builtIn": 1,
|
6
|
-
"datasource": "-- Grafana --",
|
7
|
-
"enable": true,
|
8
|
-
"hide": true,
|
9
|
-
"iconColor": "rgba(0, 211, 255, 1)",
|
10
|
-
"name": "Annotations & Alerts",
|
11
|
-
"type": "dashboard"
|
12
|
-
}
|
13
|
-
]
|
14
|
-
},
|
15
|
-
"editable": true,
|
16
|
-
"gnetId": null,
|
17
|
-
"graphTooltip": 0,
|
18
|
-
"id": 5,
|
19
|
-
"links": [],
|
20
|
-
"panels": [
|
21
|
-
{
|
22
|
-
"cacheTimeout": null,
|
23
|
-
"colorBackground": false,
|
24
|
-
"colorValue": false,
|
25
|
-
"colors": ["#299c46", "rgba(237, 129, 40, 0.89)", "#d44a3a"],
|
26
|
-
"datasource": null,
|
27
|
-
"format": "none",
|
28
|
-
"gauge": {
|
29
|
-
"maxValue": 100,
|
30
|
-
"minValue": 0,
|
31
|
-
"show": false,
|
32
|
-
"thresholdLabels": false,
|
33
|
-
"thresholdMarkers": true
|
34
|
-
},
|
35
|
-
"gridPos": {
|
36
|
-
"h": 4,
|
37
|
-
"w": 3,
|
38
|
-
"x": 0,
|
39
|
-
"y": 0
|
40
|
-
},
|
41
|
-
"id": 12,
|
42
|
-
"interval": null,
|
43
|
-
"links": [],
|
44
|
-
"mappingType": 1,
|
45
|
-
"mappingTypes": [
|
46
|
-
{
|
47
|
-
"name": "value to text",
|
48
|
-
"value": 1
|
49
|
-
},
|
50
|
-
{
|
51
|
-
"name": "range to text",
|
52
|
-
"value": 2
|
53
|
-
}
|
54
|
-
],
|
55
|
-
"maxDataPoints": 100,
|
56
|
-
"nullPointMode": "connected",
|
57
|
-
"nullText": null,
|
58
|
-
"postfix": "",
|
59
|
-
"postfixFontSize": "50%",
|
60
|
-
"prefix": "",
|
61
|
-
"prefixFontSize": "50%",
|
62
|
-
"rangeMaps": [
|
63
|
-
{
|
64
|
-
"from": "null",
|
65
|
-
"text": "N/A",
|
66
|
-
"to": "null"
|
67
|
-
}
|
68
|
-
],
|
69
|
-
"sparkline": {
|
70
|
-
"fillColor": "rgba(31, 118, 189, 0.18)",
|
71
|
-
"full": false,
|
72
|
-
"lineColor": "rgb(31, 120, 193)",
|
73
|
-
"show": true
|
74
|
-
},
|
75
|
-
"tableColumn": "",
|
76
|
-
"targets": [
|
77
|
-
{
|
78
|
-
"expr": "rate(sidekiq_enqueued_jobs[1m])",
|
79
|
-
"format": "time_series",
|
80
|
-
"intervalFactor": 1,
|
81
|
-
"refId": "A"
|
82
|
-
}
|
83
|
-
],
|
84
|
-
"thresholds": "",
|
85
|
-
"title": "Enqueuing rate",
|
86
|
-
"type": "singlestat",
|
87
|
-
"valueFontSize": "80%",
|
88
|
-
"valueMaps": [
|
89
|
-
{
|
90
|
-
"op": "=",
|
91
|
-
"text": "N/A",
|
92
|
-
"value": "null"
|
93
|
-
}
|
94
|
-
],
|
95
|
-
"valueName": "current"
|
96
|
-
},
|
97
|
-
{
|
98
|
-
"cacheTimeout": null,
|
99
|
-
"colorBackground": false,
|
100
|
-
"colorValue": false,
|
101
|
-
"colors": ["#d44a3a", "rgba(237, 129, 40, 0.89)", "#299c46"],
|
102
|
-
"datasource": null,
|
103
|
-
"format": "none",
|
104
|
-
"gauge": {
|
105
|
-
"maxValue": 100,
|
106
|
-
"minValue": 0,
|
107
|
-
"show": false,
|
108
|
-
"thresholdLabels": false,
|
109
|
-
"thresholdMarkers": true
|
110
|
-
},
|
111
|
-
"gridPos": {
|
112
|
-
"h": 4,
|
113
|
-
"w": 3,
|
114
|
-
"x": 3,
|
115
|
-
"y": 0
|
116
|
-
},
|
117
|
-
"id": 13,
|
118
|
-
"interval": null,
|
119
|
-
"links": [],
|
120
|
-
"mappingType": 1,
|
121
|
-
"mappingTypes": [
|
122
|
-
{
|
123
|
-
"name": "value to text",
|
124
|
-
"value": 1
|
125
|
-
},
|
126
|
-
{
|
127
|
-
"name": "range to text",
|
128
|
-
"value": 2
|
129
|
-
}
|
130
|
-
],
|
131
|
-
"maxDataPoints": 100,
|
132
|
-
"nullPointMode": "connected",
|
133
|
-
"nullText": null,
|
134
|
-
"postfix": "",
|
135
|
-
"postfixFontSize": "50%",
|
136
|
-
"prefix": "",
|
137
|
-
"prefixFontSize": "50%",
|
138
|
-
"rangeMaps": [
|
139
|
-
{
|
140
|
-
"from": "null",
|
141
|
-
"text": "N/A",
|
142
|
-
"to": "null"
|
143
|
-
}
|
144
|
-
],
|
145
|
-
"sparkline": {
|
146
|
-
"fillColor": "rgba(31, 118, 189, 0.18)",
|
147
|
-
"full": false,
|
148
|
-
"lineColor": "rgb(31, 120, 193)",
|
149
|
-
"show": true
|
150
|
-
},
|
151
|
-
"tableColumn": "",
|
152
|
-
"targets": [
|
153
|
-
{
|
154
|
-
"expr": "rate(sidekiq_processed_jobs_total[1m])",
|
155
|
-
"format": "time_series",
|
156
|
-
"intervalFactor": 1,
|
157
|
-
"refId": "A"
|
158
|
-
}
|
159
|
-
],
|
160
|
-
"thresholds": "",
|
161
|
-
"title": "Processing rate",
|
162
|
-
"type": "singlestat",
|
163
|
-
"valueFontSize": "80%",
|
164
|
-
"valueMaps": [
|
165
|
-
{
|
166
|
-
"op": "=",
|
167
|
-
"text": "N/A",
|
168
|
-
"value": "null"
|
169
|
-
}
|
170
|
-
],
|
171
|
-
"valueName": "current"
|
172
|
-
},
|
173
|
-
{
|
174
|
-
"cacheTimeout": null,
|
175
|
-
"colorBackground": false,
|
176
|
-
"colorValue": true,
|
177
|
-
"colors": ["#299c46", "rgba(237, 129, 40, 0.89)", "#d44a3a"],
|
178
|
-
"datasource": null,
|
179
|
-
"format": "none",
|
180
|
-
"gauge": {
|
181
|
-
"maxValue": 100,
|
182
|
-
"minValue": 0,
|
183
|
-
"show": false,
|
184
|
-
"thresholdLabels": false,
|
185
|
-
"thresholdMarkers": true
|
186
|
-
},
|
187
|
-
"gridPos": {
|
188
|
-
"h": 4,
|
189
|
-
"w": 3,
|
190
|
-
"x": 6,
|
191
|
-
"y": 0
|
192
|
-
},
|
193
|
-
"id": 10,
|
194
|
-
"interval": null,
|
195
|
-
"links": [],
|
196
|
-
"mappingType": 1,
|
197
|
-
"mappingTypes": [
|
198
|
-
{
|
199
|
-
"name": "value to text",
|
200
|
-
"value": 1
|
201
|
-
},
|
202
|
-
{
|
203
|
-
"name": "range to text",
|
204
|
-
"value": 2
|
205
|
-
}
|
206
|
-
],
|
207
|
-
"maxDataPoints": 100,
|
208
|
-
"nullPointMode": "connected",
|
209
|
-
"nullText": null,
|
210
|
-
"postfix": "",
|
211
|
-
"postfixFontSize": "50%",
|
212
|
-
"prefix": "",
|
213
|
-
"prefixFontSize": "50%",
|
214
|
-
"rangeMaps": [
|
215
|
-
{
|
216
|
-
"from": "null",
|
217
|
-
"text": "N/A",
|
218
|
-
"to": "null"
|
219
|
-
}
|
220
|
-
],
|
221
|
-
"sparkline": {
|
222
|
-
"fillColor": "rgba(31, 118, 189, 0.18)",
|
223
|
-
"full": false,
|
224
|
-
"lineColor": "rgb(31, 120, 193)",
|
225
|
-
"show": true
|
226
|
-
},
|
227
|
-
"tableColumn": "",
|
228
|
-
"targets": [
|
229
|
-
{
|
230
|
-
"expr": "increase(sidekiq_failed_jobs_total[1m])",
|
231
|
-
"format": "time_series",
|
232
|
-
"intervalFactor": 1,
|
233
|
-
"refId": "A"
|
234
|
-
}
|
235
|
-
],
|
236
|
-
"thresholds": "1,10",
|
237
|
-
"title": "Failed growth",
|
238
|
-
"type": "singlestat",
|
239
|
-
"valueFontSize": "80%",
|
240
|
-
"valueMaps": [
|
241
|
-
{
|
242
|
-
"op": "=",
|
243
|
-
"text": "N/A",
|
244
|
-
"value": "null"
|
245
|
-
}
|
246
|
-
],
|
247
|
-
"valueName": "current"
|
248
|
-
},
|
249
|
-
{
|
250
|
-
"cacheTimeout": null,
|
251
|
-
"colorBackground": false,
|
252
|
-
"colorValue": true,
|
253
|
-
"colors": ["#299c46", "rgba(237, 129, 40, 0.89)", "#d44a3a"],
|
254
|
-
"datasource": null,
|
255
|
-
"format": "none",
|
256
|
-
"gauge": {
|
257
|
-
"maxValue": 100,
|
258
|
-
"minValue": 0,
|
259
|
-
"show": false,
|
260
|
-
"thresholdLabels": false,
|
261
|
-
"thresholdMarkers": true
|
262
|
-
},
|
263
|
-
"gridPos": {
|
264
|
-
"h": 4,
|
265
|
-
"w": 3,
|
266
|
-
"x": 9,
|
267
|
-
"y": 0
|
268
|
-
},
|
269
|
-
"id": 14,
|
270
|
-
"interval": null,
|
271
|
-
"links": [],
|
272
|
-
"mappingType": 1,
|
273
|
-
"mappingTypes": [
|
274
|
-
{
|
275
|
-
"name": "value to text",
|
276
|
-
"value": 1
|
277
|
-
},
|
278
|
-
{
|
279
|
-
"name": "range to text",
|
280
|
-
"value": 2
|
281
|
-
}
|
282
|
-
],
|
283
|
-
"maxDataPoints": 100,
|
284
|
-
"nullPointMode": "connected",
|
285
|
-
"nullText": null,
|
286
|
-
"postfix": "",
|
287
|
-
"postfixFontSize": "50%",
|
288
|
-
"prefix": "",
|
289
|
-
"prefixFontSize": "50%",
|
290
|
-
"rangeMaps": [
|
291
|
-
{
|
292
|
-
"from": "null",
|
293
|
-
"text": "N/A",
|
294
|
-
"to": "null"
|
295
|
-
}
|
296
|
-
],
|
297
|
-
"sparkline": {
|
298
|
-
"fillColor": "rgba(31, 118, 189, 0.18)",
|
299
|
-
"full": false,
|
300
|
-
"lineColor": "rgb(31, 120, 193)",
|
301
|
-
"show": true
|
302
|
-
},
|
303
|
-
"tableColumn": "",
|
304
|
-
"targets": [
|
305
|
-
{
|
306
|
-
"expr": "sidekiq_retry_jobs",
|
307
|
-
"format": "time_series",
|
308
|
-
"intervalFactor": 1,
|
309
|
-
"refId": "A"
|
310
|
-
}
|
311
|
-
],
|
312
|
-
"thresholds": "1,10",
|
313
|
-
"title": "Retry jobs",
|
314
|
-
"type": "singlestat",
|
315
|
-
"valueFontSize": "80%",
|
316
|
-
"valueMaps": [
|
317
|
-
{
|
318
|
-
"op": "=",
|
319
|
-
"text": "N/A",
|
320
|
-
"value": "null"
|
321
|
-
}
|
322
|
-
],
|
323
|
-
"valueName": "current"
|
324
|
-
},
|
325
|
-
{
|
326
|
-
"cacheTimeout": null,
|
327
|
-
"colorBackground": false,
|
328
|
-
"colorValue": true,
|
329
|
-
"colors": ["#299c46", "rgba(237, 129, 40, 0.89)", "#d44a3a"],
|
330
|
-
"datasource": null,
|
331
|
-
"format": "none",
|
332
|
-
"gauge": {
|
333
|
-
"maxValue": 100,
|
334
|
-
"minValue": 0,
|
335
|
-
"show": false,
|
336
|
-
"thresholdLabels": false,
|
337
|
-
"thresholdMarkers": true
|
338
|
-
},
|
339
|
-
"gridPos": {
|
340
|
-
"h": 4,
|
341
|
-
"w": 3,
|
342
|
-
"x": 12,
|
343
|
-
"y": 0
|
344
|
-
},
|
345
|
-
"id": 8,
|
346
|
-
"interval": null,
|
347
|
-
"links": [],
|
348
|
-
"mappingType": 1,
|
349
|
-
"mappingTypes": [
|
350
|
-
{
|
351
|
-
"name": "value to text",
|
352
|
-
"value": 1
|
353
|
-
},
|
354
|
-
{
|
355
|
-
"name": "range to text",
|
356
|
-
"value": 2
|
357
|
-
}
|
358
|
-
],
|
359
|
-
"maxDataPoints": 100,
|
360
|
-
"nullPointMode": "connected",
|
361
|
-
"nullText": null,
|
362
|
-
"postfix": "",
|
363
|
-
"postfixFontSize": "50%",
|
364
|
-
"prefix": "",
|
365
|
-
"prefixFontSize": "50%",
|
366
|
-
"rangeMaps": [
|
367
|
-
{
|
368
|
-
"from": "null",
|
369
|
-
"text": "N/A",
|
370
|
-
"to": "null"
|
371
|
-
}
|
372
|
-
],
|
373
|
-
"sparkline": {
|
374
|
-
"fillColor": "rgba(31, 118, 189, 0.18)",
|
375
|
-
"full": false,
|
376
|
-
"lineColor": "rgb(31, 120, 193)",
|
377
|
-
"show": true
|
378
|
-
},
|
379
|
-
"tableColumn": "",
|
380
|
-
"targets": [
|
381
|
-
{
|
382
|
-
"expr": "sidekiq_dead_jobs",
|
383
|
-
"format": "time_series",
|
384
|
-
"intervalFactor": 1,
|
385
|
-
"refId": "A"
|
386
|
-
}
|
387
|
-
],
|
388
|
-
"thresholds": "10,20",
|
389
|
-
"title": "Dead jobs",
|
390
|
-
"type": "singlestat",
|
391
|
-
"valueFontSize": "80%",
|
392
|
-
"valueMaps": [
|
393
|
-
{
|
394
|
-
"op": "=",
|
395
|
-
"text": "N/A",
|
396
|
-
"value": "null"
|
397
|
-
}
|
398
|
-
],
|
399
|
-
"valueName": "current"
|
400
|
-
},
|
401
|
-
{
|
402
|
-
"cacheTimeout": null,
|
403
|
-
"colorBackground": false,
|
404
|
-
"colorValue": false,
|
405
|
-
"colors": ["#299c46", "rgba(237, 129, 40, 0.89)", "#d44a3a"],
|
406
|
-
"datasource": null,
|
407
|
-
"format": "none",
|
408
|
-
"gauge": {
|
409
|
-
"maxValue": 100,
|
410
|
-
"minValue": 0,
|
411
|
-
"show": false,
|
412
|
-
"thresholdLabels": false,
|
413
|
-
"thresholdMarkers": true
|
414
|
-
},
|
415
|
-
"gridPos": {
|
416
|
-
"h": 4,
|
417
|
-
"w": 3,
|
418
|
-
"x": 15,
|
419
|
-
"y": 0
|
420
|
-
},
|
421
|
-
"id": 9,
|
422
|
-
"interval": null,
|
423
|
-
"links": [],
|
424
|
-
"mappingType": 1,
|
425
|
-
"mappingTypes": [
|
426
|
-
{
|
427
|
-
"name": "value to text",
|
428
|
-
"value": 1
|
429
|
-
},
|
430
|
-
{
|
431
|
-
"name": "range to text",
|
432
|
-
"value": 2
|
433
|
-
}
|
434
|
-
],
|
435
|
-
"maxDataPoints": 100,
|
436
|
-
"nullPointMode": "connected",
|
437
|
-
"nullText": null,
|
438
|
-
"postfix": "",
|
439
|
-
"postfixFontSize": "50%",
|
440
|
-
"prefix": "",
|
441
|
-
"prefixFontSize": "50%",
|
442
|
-
"rangeMaps": [
|
443
|
-
{
|
444
|
-
"from": "null",
|
445
|
-
"text": "N/A",
|
446
|
-
"to": "null"
|
447
|
-
}
|
448
|
-
],
|
449
|
-
"sparkline": {
|
450
|
-
"fillColor": "rgba(31, 118, 189, 0.18)",
|
451
|
-
"full": false,
|
452
|
-
"lineColor": "rgb(31, 120, 193)",
|
453
|
-
"show": true
|
454
|
-
},
|
455
|
-
"tableColumn": "",
|
456
|
-
"targets": [
|
457
|
-
{
|
458
|
-
"expr": "sidekiq_enqueued_jobs",
|
459
|
-
"format": "time_series",
|
460
|
-
"intervalFactor": 1,
|
461
|
-
"refId": "A"
|
462
|
-
}
|
463
|
-
],
|
464
|
-
"thresholds": "",
|
465
|
-
"title": "Enqueued jobs",
|
466
|
-
"type": "singlestat",
|
467
|
-
"valueFontSize": "80%",
|
468
|
-
"valueMaps": [
|
469
|
-
{
|
470
|
-
"op": "=",
|
471
|
-
"text": "N/A",
|
472
|
-
"value": "null"
|
473
|
-
}
|
474
|
-
],
|
475
|
-
"valueName": "current"
|
476
|
-
},
|
477
|
-
{
|
478
|
-
"cacheTimeout": null,
|
479
|
-
"colorBackground": false,
|
480
|
-
"colorValue": false,
|
481
|
-
"colors": ["#299c46", "rgba(237, 129, 40, 0.89)", "#d44a3a"],
|
482
|
-
"datasource": null,
|
483
|
-
"format": "none",
|
484
|
-
"gauge": {
|
485
|
-
"maxValue": 100,
|
486
|
-
"minValue": 0,
|
487
|
-
"show": false,
|
488
|
-
"thresholdLabels": false,
|
489
|
-
"thresholdMarkers": true
|
490
|
-
},
|
491
|
-
"gridPos": {
|
492
|
-
"h": 4,
|
493
|
-
"w": 3,
|
494
|
-
"x": 18,
|
495
|
-
"y": 0
|
496
|
-
},
|
497
|
-
"id": 4,
|
498
|
-
"interval": null,
|
499
|
-
"links": [],
|
500
|
-
"mappingType": 1,
|
501
|
-
"mappingTypes": [
|
502
|
-
{
|
503
|
-
"name": "value to text",
|
504
|
-
"value": 1
|
505
|
-
},
|
506
|
-
{
|
507
|
-
"name": "range to text",
|
508
|
-
"value": 2
|
509
|
-
}
|
510
|
-
],
|
511
|
-
"maxDataPoints": 100,
|
512
|
-
"nullPointMode": "connected",
|
513
|
-
"nullText": null,
|
514
|
-
"postfix": "",
|
515
|
-
"postfixFontSize": "50%",
|
516
|
-
"prefix": "",
|
517
|
-
"prefixFontSize": "50%",
|
518
|
-
"rangeMaps": [
|
519
|
-
{
|
520
|
-
"from": "null",
|
521
|
-
"text": "N/A",
|
522
|
-
"to": "null"
|
523
|
-
}
|
524
|
-
],
|
525
|
-
"sparkline": {
|
526
|
-
"fillColor": "rgba(31, 118, 189, 0.18)",
|
527
|
-
"full": false,
|
528
|
-
"lineColor": "rgb(31, 120, 193)",
|
529
|
-
"show": true
|
530
|
-
},
|
531
|
-
"tableColumn": "",
|
532
|
-
"targets": [
|
533
|
-
{
|
534
|
-
"expr": "sidekiq_busy_workers",
|
535
|
-
"format": "time_series",
|
536
|
-
"intervalFactor": 1,
|
537
|
-
"refId": "A"
|
538
|
-
}
|
539
|
-
],
|
540
|
-
"thresholds": "",
|
541
|
-
"title": "Busy workers",
|
542
|
-
"type": "singlestat",
|
543
|
-
"valueFontSize": "80%",
|
544
|
-
"valueMaps": [
|
545
|
-
{
|
546
|
-
"op": "=",
|
547
|
-
"text": "N/A",
|
548
|
-
"value": "null"
|
549
|
-
}
|
550
|
-
],
|
551
|
-
"valueName": "current"
|
552
|
-
},
|
553
|
-
{
|
554
|
-
"cacheTimeout": null,
|
555
|
-
"colorBackground": false,
|
556
|
-
"colorValue": false,
|
557
|
-
"colors": ["#299c46", "rgba(237, 129, 40, 0.89)", "#d44a3a"],
|
558
|
-
"datasource": null,
|
559
|
-
"format": "none",
|
560
|
-
"gauge": {
|
561
|
-
"maxValue": 100,
|
562
|
-
"minValue": 0,
|
563
|
-
"show": false,
|
564
|
-
"thresholdLabels": false,
|
565
|
-
"thresholdMarkers": true
|
566
|
-
},
|
567
|
-
"gridPos": {
|
568
|
-
"h": 4,
|
569
|
-
"w": 3,
|
570
|
-
"x": 21,
|
571
|
-
"y": 0
|
572
|
-
},
|
573
|
-
"id": 6,
|
574
|
-
"interval": null,
|
575
|
-
"links": [],
|
576
|
-
"mappingType": 1,
|
577
|
-
"mappingTypes": [
|
578
|
-
{
|
579
|
-
"name": "value to text",
|
580
|
-
"value": 1
|
581
|
-
},
|
582
|
-
{
|
583
|
-
"name": "range to text",
|
584
|
-
"value": 2
|
585
|
-
}
|
586
|
-
],
|
587
|
-
"maxDataPoints": 100,
|
588
|
-
"nullPointMode": "connected",
|
589
|
-
"nullText": null,
|
590
|
-
"postfix": "",
|
591
|
-
"postfixFontSize": "50%",
|
592
|
-
"prefix": "",
|
593
|
-
"prefixFontSize": "50%",
|
594
|
-
"rangeMaps": [
|
595
|
-
{
|
596
|
-
"from": "null",
|
597
|
-
"text": "N/A",
|
598
|
-
"to": "null"
|
599
|
-
}
|
600
|
-
],
|
601
|
-
"sparkline": {
|
602
|
-
"fillColor": "rgba(31, 118, 189, 0.18)",
|
603
|
-
"full": false,
|
604
|
-
"lineColor": "rgb(31, 120, 193)",
|
605
|
-
"show": true
|
606
|
-
},
|
607
|
-
"tableColumn": "",
|
608
|
-
"targets": [
|
609
|
-
{
|
610
|
-
"expr": "sidekiq_scheduled_jobs",
|
611
|
-
"format": "time_series",
|
612
|
-
"intervalFactor": 1,
|
613
|
-
"refId": "A"
|
614
|
-
}
|
615
|
-
],
|
616
|
-
"thresholds": "",
|
617
|
-
"title": "Scheduled jobs",
|
618
|
-
"type": "singlestat",
|
619
|
-
"valueFontSize": "80%",
|
620
|
-
"valueMaps": [
|
621
|
-
{
|
622
|
-
"op": "=",
|
623
|
-
"text": "N/A",
|
624
|
-
"value": "null"
|
625
|
-
}
|
626
|
-
],
|
627
|
-
"valueName": "current"
|
628
|
-
},
|
629
|
-
{
|
630
|
-
"aliasColors": {},
|
631
|
-
"bars": false,
|
632
|
-
"dashLength": 10,
|
633
|
-
"dashes": false,
|
634
|
-
"datasource": null,
|
635
|
-
"fill": 1,
|
636
|
-
"gridPos": {
|
637
|
-
"h": 14,
|
638
|
-
"w": 13,
|
639
|
-
"x": 0,
|
640
|
-
"y": 4
|
641
|
-
},
|
642
|
-
"id": 2,
|
643
|
-
"legend": {
|
644
|
-
"avg": false,
|
645
|
-
"current": false,
|
646
|
-
"max": false,
|
647
|
-
"min": false,
|
648
|
-
"show": true,
|
649
|
-
"total": false,
|
650
|
-
"values": false
|
651
|
-
},
|
652
|
-
"lines": true,
|
653
|
-
"linewidth": 1,
|
654
|
-
"links": [],
|
655
|
-
"nullPointMode": "null",
|
656
|
-
"percentage": false,
|
657
|
-
"pointradius": 5,
|
658
|
-
"points": false,
|
659
|
-
"renderer": "flot",
|
660
|
-
"seriesOverrides": [
|
661
|
-
{
|
662
|
-
"alias": "processing rate",
|
663
|
-
"color": "#447ebc",
|
664
|
-
"fill": 0,
|
665
|
-
"yaxis": 2
|
666
|
-
}
|
667
|
-
],
|
668
|
-
"spaceLength": 10,
|
669
|
-
"stack": false,
|
670
|
-
"steppedLine": false,
|
671
|
-
"targets": [
|
672
|
-
{
|
673
|
-
"expr": "rate(sidekiq_queue_latency_seconds[1m])",
|
674
|
-
"format": "time_series",
|
675
|
-
"intervalFactor": 1,
|
676
|
-
"legendFormat": "{{name}}",
|
677
|
-
"refId": "A"
|
678
|
-
},
|
679
|
-
{
|
680
|
-
"expr": "rate(sidekiq_processed_jobs_total[1m])",
|
681
|
-
"format": "time_series",
|
682
|
-
"intervalFactor": 1,
|
683
|
-
"legendFormat": "processing rate",
|
684
|
-
"refId": "B"
|
685
|
-
}
|
686
|
-
],
|
687
|
-
"thresholds": [],
|
688
|
-
"timeFrom": null,
|
689
|
-
"timeShift": null,
|
690
|
-
"title": "Queues latency",
|
691
|
-
"tooltip": {
|
692
|
-
"shared": true,
|
693
|
-
"sort": 0,
|
694
|
-
"value_type": "individual"
|
695
|
-
},
|
696
|
-
"type": "graph",
|
697
|
-
"xaxis": {
|
698
|
-
"buckets": null,
|
699
|
-
"mode": "time",
|
700
|
-
"name": null,
|
701
|
-
"show": true,
|
702
|
-
"values": []
|
703
|
-
},
|
704
|
-
"yaxes": [
|
705
|
-
{
|
706
|
-
"format": "s",
|
707
|
-
"label": null,
|
708
|
-
"logBase": 1,
|
709
|
-
"max": null,
|
710
|
-
"min": "0",
|
711
|
-
"show": true
|
712
|
-
},
|
713
|
-
{
|
714
|
-
"format": "short",
|
715
|
-
"label": null,
|
716
|
-
"logBase": 1,
|
717
|
-
"max": null,
|
718
|
-
"min": null,
|
719
|
-
"show": false
|
720
|
-
}
|
721
|
-
]
|
722
|
-
},
|
723
|
-
{
|
724
|
-
"aliasColors": {},
|
725
|
-
"bars": false,
|
726
|
-
"dashLength": 10,
|
727
|
-
"dashes": false,
|
728
|
-
"datasource": null,
|
729
|
-
"fill": 1,
|
730
|
-
"gridPos": {
|
731
|
-
"h": 14,
|
732
|
-
"w": 11,
|
733
|
-
"x": 13,
|
734
|
-
"y": 4
|
735
|
-
},
|
736
|
-
"id": 16,
|
737
|
-
"legend": {
|
738
|
-
"avg": false,
|
739
|
-
"current": false,
|
740
|
-
"max": false,
|
741
|
-
"min": false,
|
742
|
-
"show": true,
|
743
|
-
"total": false,
|
744
|
-
"values": false
|
745
|
-
},
|
746
|
-
"lines": true,
|
747
|
-
"linewidth": 1,
|
748
|
-
"links": [],
|
749
|
-
"nullPointMode": "null",
|
750
|
-
"percentage": false,
|
751
|
-
"pointradius": 5,
|
752
|
-
"points": false,
|
753
|
-
"renderer": "flot",
|
754
|
-
"seriesOverrides": [],
|
755
|
-
"spaceLength": 10,
|
756
|
-
"stack": false,
|
757
|
-
"steppedLine": false,
|
758
|
-
"targets": [
|
759
|
-
{
|
760
|
-
"$$hashKey": "object:957",
|
761
|
-
"expr": "sidekiq_queue_enqueued_jobs",
|
762
|
-
"format": "time_series",
|
763
|
-
"intervalFactor": 1,
|
764
|
-
"legendFormat": "{{name}}",
|
765
|
-
"refId": "A"
|
766
|
-
}
|
767
|
-
],
|
768
|
-
"thresholds": [],
|
769
|
-
"timeFrom": null,
|
770
|
-
"timeShift": null,
|
771
|
-
"title": "Queue enqueued jobs",
|
772
|
-
"tooltip": {
|
773
|
-
"shared": true,
|
774
|
-
"sort": 0,
|
775
|
-
"value_type": "individual"
|
776
|
-
},
|
777
|
-
"type": "graph",
|
778
|
-
"xaxis": {
|
779
|
-
"buckets": null,
|
780
|
-
"mode": "time",
|
781
|
-
"name": null,
|
782
|
-
"show": true,
|
783
|
-
"values": []
|
784
|
-
},
|
785
|
-
"yaxes": [
|
786
|
-
{
|
787
|
-
"$$hashKey": "object:1150",
|
788
|
-
"format": "none",
|
789
|
-
"label": null,
|
790
|
-
"logBase": 1,
|
791
|
-
"max": null,
|
792
|
-
"min": null,
|
793
|
-
"show": true
|
794
|
-
},
|
795
|
-
{
|
796
|
-
"$$hashKey": "object:1151",
|
797
|
-
"format": "short",
|
798
|
-
"label": null,
|
799
|
-
"logBase": 1,
|
800
|
-
"max": null,
|
801
|
-
"min": null,
|
802
|
-
"show": false
|
803
|
-
}
|
804
|
-
]
|
805
|
-
}
|
806
|
-
],
|
807
|
-
"refresh": "5s",
|
808
|
-
"schemaVersion": 16,
|
809
|
-
"style": "dark",
|
810
|
-
"tags": [],
|
811
|
-
"templating": {
|
812
|
-
"list": []
|
813
|
-
},
|
814
|
-
"time": {
|
815
|
-
"from": "now-30m",
|
816
|
-
"to": "now"
|
817
|
-
},
|
818
|
-
"timepicker": {
|
819
|
-
"refresh_intervals": [
|
820
|
-
"5s",
|
821
|
-
"10s",
|
822
|
-
"30s",
|
823
|
-
"1m",
|
824
|
-
"5m",
|
825
|
-
"15m",
|
826
|
-
"30m",
|
827
|
-
"1h",
|
828
|
-
"2h",
|
829
|
-
"1d"
|
830
|
-
],
|
831
|
-
"time_options": ["5m", "15m", "1h", "6h", "12h", "24h", "2d", "7d", "30d"]
|
832
|
-
},
|
833
|
-
"timezone": "",
|
834
|
-
"title": "Sidekiq Dashboard",
|
835
|
-
"uid": "SwCwV7qkz",
|
836
|
-
"version": 2
|
837
|
-
}
|