funktor 0.7.13 → 0.7.14

Sign up to get free protection for your applications and to get access to all the features.
@@ -189,6 +189,194 @@ Resources:
189
189
  },
190
190
  <% current_y += 3 %>
191
191
 
192
+ { <% "Worker Overview" %>
193
+ "height": 1,
194
+ "width": 24,
195
+ "y": <%= current_y %>,
196
+ "x": 0,
197
+ "type": "text",
198
+ "properties": {
199
+ "markdown": "\n# Worker Overviews\n"
200
+ }
201
+ },
202
+ <% current_y += 1 %>
203
+
204
+ <%- primary_workers.each_with_index do |worker_name, index| -%>
205
+ <%- current_y += 5 if (index > 0 && (index % 3) == 0) %>
206
+ { <% "Worker Overview" %>
207
+ "height": 5,
208
+ "width": 8,
209
+ "y": <%= current_y %>,
210
+ "x": <%= (index % 3) * 8 %>,
211
+ "type": "metric",
212
+ "properties": {
213
+ "metrics": [
214
+ [ "${self:custom.funktor.DashboardNamespace}", "processed", "WorkerClassName", "<%= worker_name %>", { "color": "#2ca02c" } ],
215
+ [ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "<%= worker_name %>", { "label": "p90", "color": "#ff7f0e", "stat": "p90" } ],
216
+ [ "${self:custom.funktor.DashboardNamespace}", "failed", "WorkerClassName", "<%= worker_name %>", { "color": "#d62728" } ],
217
+ [ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "<%= worker_name %>", { "label": "p60", "color": "#1f77b4", "stat": "p60" } ]
218
+ ],
219
+ "view": "singleValue",
220
+ "region": "us-east-1",
221
+ "stat": "Sum",
222
+ "period": 60,
223
+ "sparkline": true,
224
+ "title": "<%= worker_name %>"
225
+ }
226
+ },
227
+ <%- end -%>
228
+ <%#- current_y += 5 if (primary_workers.count - 1) % 3 != 0 %>
229
+ <%- current_y += 5 %>
230
+
231
+ { <% "Worker Overview Redux" %>
232
+ "height": 1,
233
+ "width": 24,
234
+ "y": <%= current_y %>,
235
+ "x": 0,
236
+ "type": "text",
237
+ "properties": {
238
+ "markdown": "\n# Worker Overviews Redux\n"
239
+ }
240
+ },
241
+ <% current_y += 1 %>
242
+
243
+ <%- primary_workers.each_with_index do |worker_name, index| -%>
244
+ <%- current_y += 9 if (index > 0 && (index % 6) == 0) %>
245
+ { <% "Worker Overview" %>
246
+ "height": 9,
247
+ "width": 4,
248
+ "y": <%= current_y %>,
249
+ "x": <%= (index % 6) * 4 %>,
250
+ "type": "metric",
251
+ "properties": {
252
+ "metrics": [
253
+ [ "${self:custom.funktor.DashboardNamespace}", "processed", "WorkerClassName", "<%= worker_name %>", { "color": "#2ca02c" } ],
254
+ [ "${self:custom.funktor.DashboardNamespace}", "failed", "WorkerClassName", "<%= worker_name %>", { "color": "#d62728" } ],
255
+ [ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "<%= worker_name %>", { "label": "p90", "color": "#ff7f0e", "stat": "p90" } ],
256
+ [ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "<%= worker_name %>", { "label": "p60", "color": "#1f77b4", "stat": "p60" } ]
257
+ ],
258
+ "view": "singleValue",
259
+ "region": "us-east-1",
260
+ "stat": "Sum",
261
+ "period": 60,
262
+ "sparkline": true,
263
+ "title": "<%= worker_name %>"
264
+ }
265
+ },
266
+ <%- end -%>
267
+ <%#- current_y += 9 if (primary_workers.count - 1) % 3 != 0 %>
268
+ <%- current_y += 9 %>
269
+
270
+ { <% "Jobs/Minute Section" %>
271
+ "height": 1,
272
+ "width": 24,
273
+ "y": <%= current_y %>,
274
+ "x": 0,
275
+ "type": "text",
276
+ "properties": {
277
+ "markdown": "\n# Jobs Per Minute By Worker\n"
278
+ }
279
+ },
280
+ <% current_y += 1 %>
281
+
282
+ <%- primary_workers.each_with_index do |worker_name, index| -%>
283
+ <%- current_y += 3 if (index > 0 && (index % 6) == 0) %>
284
+ { <% "Worker Jobs per minute" %>
285
+ "height": 3,
286
+ "width": 3,
287
+ "y": <%= current_y %>,
288
+ "x": <%= (index % 8) * 3 %>,
289
+ "type": "metric",
290
+ "properties": {
291
+ "metrics": [
292
+ [ "${self:custom.funktor.DashboardNamespace}", "processed", "WorkerClassName", "<%= worker_name %>" ]
293
+ ],
294
+ "view": "singleValue",
295
+ "region": "us-east-1",
296
+ "stat": "Sum",
297
+ "period": 60,
298
+ "sparkline": true,
299
+ "title": "<%= worker_name %>"
300
+ }
301
+ },
302
+ <%- end -%>
303
+ <%- current_y += 3 if (primary_workers.count - 1) % 6 != 0 %>
304
+
305
+ { <% "Failures/Minute Section" %>
306
+ "height": 1,
307
+ "width": 24,
308
+ "y": <%= current_y %>,
309
+ "x": 0,
310
+ "type": "text",
311
+ "properties": {
312
+ "markdown": "\n# Failures Per Minute By Worker\n"
313
+ }
314
+ },
315
+ <% current_y += 1 %>
316
+
317
+ <%- primary_workers.each_with_index do |worker_name, index| -%>
318
+ <%- current_y += 3 if (index > 0 && (index % 6) == 0) %>
319
+ { <% "Worker Failures per minute" %>
320
+ "height": 3,
321
+ "width": 3,
322
+ "y": <%= current_y %>,
323
+ "x": <%= (index % 8) * 3 %>,
324
+ "type": "metric",
325
+ "properties": {
326
+ "metrics": [
327
+ [ "${self:custom.funktor.DashboardNamespace}", "failed", "WorkerClassName", "<%= worker_name %>" ]
328
+ ],
329
+ "view": "singleValue",
330
+ "region": "us-east-1",
331
+ "stat": "Sum",
332
+ "period": 60,
333
+ "sparkline": true,
334
+ "title": "<%= worker_name %>"
335
+ }
336
+ },
337
+ <%- end -%>
338
+ <%- current_y += 3 if (primary_workers.count - 1) % 6 != 0 %>
339
+
340
+ { <% "Duration Percentiles Section" %>
341
+ "height": 1,
342
+ "width": 24,
343
+ "y": <%= current_y %>,
344
+ "x": 0,
345
+ "type": "text",
346
+ "properties": {
347
+ "markdown": "\n# Duration Percentiles By Worker\n"
348
+ }
349
+ },
350
+ <% current_y += 1 %>
351
+
352
+ <%- primary_workers.each_with_index do |worker_name, index| -%>
353
+ <%- current_y += 5 if (index > 0 && (index % 6) == 0) %>
354
+ { <% "p50 by worker" %>
355
+ "height": 5,
356
+ "width": 3,
357
+ "y": <%= current_y %>,
358
+ "x": <%= (index % 8) * 3 %>,
359
+ "type": "metric",
360
+ "properties": {
361
+ "metrics": [
362
+ [ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "<%= worker_name %>", { "color": "#d62728", "label": "p90"} ],
363
+ [ "${self:custom.funktor.DashboardNamespace}", "Duration", "WorkerClassName", "<%= worker_name %>", { "color": "#1f77b4", "label": "p60", "stat": "p60"} ]
364
+ ],
365
+ "view": "singleValue",
366
+ "region": "us-east-1",
367
+ "stat": "p90",
368
+ "period": 60,
369
+ "sparkline": true,
370
+ "title": "<%= worker_name %>"
371
+ }
372
+ },
373
+ <%- end -%>
374
+ <%- current_y += 5 if (primary_workers.count - 1) % 6 != 0 %>
375
+
376
+
377
+
378
+
379
+
192
380
  { <% "Jobs/Minute Section" %>
193
381
  "height": 1,
194
382
  "width": 24,
@@ -1,3 +1,3 @@
1
1
  module Funktor
2
- VERSION = "0.7.13"
2
+ VERSION = "0.7.14"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: funktor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.13
4
+ version: 0.7.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeremy Green