@leverege/build-tools 2.101.2 → 2.103.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/.vscode/launch.json +10 -0
  2. package/README.md +22 -9
  3. package/package.json +10 -13
  4. package/src/Utils.mjs +2 -0
  5. package/src/chart-to-registry.mjs +12 -1
  6. package/src/circle-orb-it/{circle-orb.yml → circle-npm.yml} +6 -3
  7. package/src/circle-orb-it/circle-orb-it.mjs +16 -11
  8. package/src/circle-orb-it/circle-yarn.yml +25 -0
  9. package/src/dashboard/DashboardManager.mjs +192 -17
  10. package/src/dashboard/dashboard.mjs +29 -4
  11. package/src/dashboard/json/{standard/noc-rows-12.json → devops/devops-noc.json} +801 -61
  12. package/src/dashboard/json/{standard/pvc-all-usage.json → devops/pvc-usage.json} +2 -2
  13. package/src/dashboard/json/leverege/leverege-noc.json +2364 -0
  14. package/src/dashboard/json/{standard/redis.json → leverege/leverege-rule-engine.json} +695 -646
  15. package/src/dashboard/json/leverege/leverege-services.json +4757 -0
  16. package/src/dashboard/json/recovr/recovr-locators.json +1227 -0
  17. package/src/dashboard/json/recovr/recovr-noc.json +1949 -0
  18. package/src/dashboard/json/recovr/recovr-position-srvr.json +339 -0
  19. package/src/dashboard/json/recovr/recovr-server.json +1127 -0
  20. package/src/dashboard/json/siren/siren-services.json +2066 -0
  21. package/src/dashboard/json/{standard/cloudnative-pg-20417-rev4.json → system/cloudnative-pg.json} +241 -243
  22. package/src/dashboard/json/{standard → system}/elasticsearch8.json +123 -72
  23. package/src/dashboard/json/system/stackdriver.json +1189 -0
  24. package/src/dashboard/json/{standard/traefik-op.json → system/traefik.json} +44 -56
  25. package/src/dashboard/json/{standard → system}/valkey.json +91 -86
  26. package/src/dashboard/json/{standard → tpi}/gpu-autoscaling-dashboard-ui-import.json +1 -1
  27. package/src/dashboard/json/tpi/leverege-noc.json +3624 -0
  28. package/src/helm-charts/prom-operator/helmup.plugin +1 -1
  29. package/src/helm-charts/prom-operator/prometheus-stack.yaml.ovh +15 -0
  30. package/src/helm-charts/prom-operator/rules/gke-maintenance-rules.yaml +19 -0
  31. package/src/helm-charts/prom-operator/stackdriver-exporter.yaml.ovh +2 -1
  32. package/src/helm-charts/valkey/valkey-local.yaml +1 -0
  33. package/src/helmup.sh +24 -1
  34. package/src/init-my-chart/Chartwright.mjs +1 -1
  35. package/src/init-my-chart/leaf-chart-templates/templates/extraobjects.yaml +1 -0
  36. package/src/overwhelm.mjs +5 -5
  37. package/src/push-my-chart.mjs +13 -4
  38. package/src/repo-panopticon.mjs +415 -0
  39. package/src/service-man/config/secrets/npmrc.json +1 -0
  40. package/src/service-man/config/secrets/tsdb-dense-password.json +13 -0
  41. package/src/dashboard/json/standard/stackdriver.json +0 -624
  42. package/src/pkgck.sh +0 -158
  43. /package/src/dashboard/json/{standard → devops}/k8s-api-latency.json +0 -0
@@ -0,0 +1,4757 @@
1
+ {
2
+ "annotations": {
3
+ "list": [
4
+ {
5
+ "builtIn": 1,
6
+ "datasource": {
7
+ "type": "grafana",
8
+ "uid": "-- Grafana --"
9
+ },
10
+ "enable": true,
11
+ "hide": true,
12
+ "iconColor": "rgba(0, 211, 255, 1)",
13
+ "name": "Annotations & Alerts",
14
+ "type": "dashboard"
15
+ }
16
+ ]
17
+ },
18
+ "editable": false,
19
+ "fiscalYearStartMonth": 0,
20
+ "graphTooltip": 1,
21
+ "links": [],
22
+ "panels": [
23
+ {
24
+ "collapsed": false,
25
+ "gridPos": {
26
+ "h": 1,
27
+ "w": 24,
28
+ "x": 0,
29
+ "y": 0
30
+ },
31
+ "id": 42,
32
+ "panels": [],
33
+ "title": "Data Writes",
34
+ "type": "row"
35
+ },
36
+ {
37
+ "datasource": {
38
+ "type": "prometheus",
39
+ "uid": "${datasource}"
40
+ },
41
+ "fieldConfig": {
42
+ "defaults": {
43
+ "color": {
44
+ "mode": "palette-classic"
45
+ },
46
+ "custom": {
47
+ "axisBorderShow": false,
48
+ "axisCenteredZero": false,
49
+ "axisColorMode": "text",
50
+ "axisLabel": "",
51
+ "axisPlacement": "auto",
52
+ "barAlignment": 0,
53
+ "barWidthFactor": 0.6,
54
+ "drawStyle": "line",
55
+ "fillOpacity": 0,
56
+ "gradientMode": "none",
57
+ "hideFrom": {
58
+ "legend": false,
59
+ "tooltip": false,
60
+ "viz": false
61
+ },
62
+ "insertNulls": false,
63
+ "lineInterpolation": "linear",
64
+ "lineWidth": 1,
65
+ "pointSize": 5,
66
+ "scaleDistribution": {
67
+ "type": "linear"
68
+ },
69
+ "showPoints": "auto",
70
+ "showValues": false,
71
+ "spanNulls": false,
72
+ "stacking": {
73
+ "group": "A",
74
+ "mode": "none"
75
+ },
76
+ "thresholdsStyle": {
77
+ "mode": "off"
78
+ }
79
+ },
80
+ "mappings": [],
81
+ "thresholds": {
82
+ "mode": "absolute",
83
+ "steps": [
84
+ {
85
+ "color": "green",
86
+ "value": 0
87
+ },
88
+ {
89
+ "color": "red",
90
+ "value": 80
91
+ }
92
+ ]
93
+ }
94
+ },
95
+ "overrides": []
96
+ },
97
+ "gridPos": {
98
+ "h": 9,
99
+ "w": 12,
100
+ "x": 0,
101
+ "y": 1
102
+ },
103
+ "id": 39,
104
+ "options": {
105
+ "legend": {
106
+ "calcs": [],
107
+ "displayMode": "list",
108
+ "placement": "bottom",
109
+ "showLegend": true
110
+ },
111
+ "tooltip": {
112
+ "hideZeros": false,
113
+ "mode": "multi",
114
+ "sort": "desc"
115
+ }
116
+ },
117
+ "pluginVersion": "12.4.3",
118
+ "targets": [
119
+ {
120
+ "datasource": {
121
+ "type": "prometheus",
122
+ "uid": "${datasource}"
123
+ },
124
+ "editorMode": "code",
125
+ "expr": "sum( rate(api_server_search_controller_get_total[5m]) )",
126
+ "instant": false,
127
+ "legendFormat": "total gets",
128
+ "range": true,
129
+ "refId": "A"
130
+ },
131
+ {
132
+ "datasource": {
133
+ "type": "prometheus",
134
+ "uid": "${datasource}"
135
+ },
136
+ "editorMode": "code",
137
+ "expr": "sum( rate( api_server_search_controller_get_no_bp[5m] ) )",
138
+ "instant": false,
139
+ "legendFormat": "gets no bp",
140
+ "range": true,
141
+ "refId": "B"
142
+ },
143
+ {
144
+ "datasource": {
145
+ "type": "prometheus",
146
+ "uid": "${datasource}"
147
+ },
148
+ "editorMode": "code",
149
+ "expr": "sum( rate( api_server_search_controller_get_no_bp_error[5m] ) )",
150
+ "instant": false,
151
+ "legendFormat": "gets no bp errors",
152
+ "range": true,
153
+ "refId": "C"
154
+ },
155
+ {
156
+ "datasource": {
157
+ "type": "prometheus",
158
+ "uid": "${datasource}"
159
+ },
160
+ "editorMode": "code",
161
+ "expr": "sum( rate( api_server_search_controller_get[5m] ) )",
162
+ "instant": false,
163
+ "legendFormat": "gets with bp",
164
+ "range": true,
165
+ "refId": "D"
166
+ },
167
+ {
168
+ "datasource": {
169
+ "type": "prometheus",
170
+ "uid": "${datasource}"
171
+ },
172
+ "editorMode": "code",
173
+ "expr": "sum( rate( api_server_search_controller_search_total[5m] ) )",
174
+ "instant": false,
175
+ "legendFormat": "total searches",
176
+ "range": true,
177
+ "refId": "E"
178
+ },
179
+ {
180
+ "datasource": {
181
+ "type": "prometheus",
182
+ "uid": "${datasource}"
183
+ },
184
+ "editorMode": "code",
185
+ "expr": "sum( rate( api_server_search_controller_search_error[5m] ) )",
186
+ "instant": false,
187
+ "legendFormat": "search errors",
188
+ "range": true,
189
+ "refId": "F"
190
+ },
191
+ {
192
+ "datasource": {
193
+ "type": "prometheus",
194
+ "uid": "${datasource}"
195
+ },
196
+ "editorMode": "code",
197
+ "expr": "sum( rate( api_server_search_controller_get_error[5m] ) )",
198
+ "instant": false,
199
+ "legendFormat": "gets with bp errors",
200
+ "range": true,
201
+ "refId": "G"
202
+ },
203
+ {
204
+ "datasource": {
205
+ "type": "prometheus",
206
+ "uid": "${datasource}"
207
+ },
208
+ "editorMode": "code",
209
+ "expr": "sum( rate( api_server_search_controller_get_no_bp_error[5m] ) + rate( api_server_search_controller_search_error[5m] ) )",
210
+ "instant": false,
211
+ "legendFormat": "total errors (no non-bp error)",
212
+ "range": true,
213
+ "refId": "H"
214
+ },
215
+ {
216
+ "datasource": {
217
+ "type": "prometheus",
218
+ "uid": "${datasource}"
219
+ },
220
+ "editorMode": "code",
221
+ "expr": "sum( rate( api_server_search_controller_mget_total[5m] ) )",
222
+ "instant": false,
223
+ "legendFormat": "total mgets",
224
+ "range": true,
225
+ "refId": "I"
226
+ },
227
+ {
228
+ "datasource": {
229
+ "type": "prometheus",
230
+ "uid": "${datasource}"
231
+ },
232
+ "editorMode": "code",
233
+ "expr": "sum( rate( api_server_search_controller_mget_with_docs[5m] ) )",
234
+ "instant": false,
235
+ "legendFormat": "mget with docs",
236
+ "range": true,
237
+ "refId": "J"
238
+ },
239
+ {
240
+ "datasource": {
241
+ "type": "prometheus",
242
+ "uid": "${datasource}"
243
+ },
244
+ "editorMode": "code",
245
+ "expr": "sum( rate( api_server_search_controller_mget_single_index[5m] ) )",
246
+ "instant": false,
247
+ "legendFormat": "mget single index",
248
+ "range": true,
249
+ "refId": "K"
250
+ }
251
+ ],
252
+ "title": "API Server ES Metrics",
253
+ "type": "timeseries"
254
+ },
255
+ {
256
+ "datasource": {
257
+ "type": "prometheus",
258
+ "uid": "${datasource}"
259
+ },
260
+ "fieldConfig": {
261
+ "defaults": {
262
+ "color": {
263
+ "mode": "palette-classic"
264
+ },
265
+ "custom": {
266
+ "axisBorderShow": false,
267
+ "axisCenteredZero": false,
268
+ "axisColorMode": "text",
269
+ "axisLabel": "",
270
+ "axisPlacement": "auto",
271
+ "axisSoftMax": 100,
272
+ "barAlignment": 0,
273
+ "barWidthFactor": 0.6,
274
+ "drawStyle": "line",
275
+ "fillOpacity": 10,
276
+ "gradientMode": "none",
277
+ "hideFrom": {
278
+ "legend": false,
279
+ "tooltip": false,
280
+ "viz": false
281
+ },
282
+ "insertNulls": false,
283
+ "lineInterpolation": "linear",
284
+ "lineWidth": 1,
285
+ "pointSize": 5,
286
+ "scaleDistribution": {
287
+ "type": "linear"
288
+ },
289
+ "showPoints": "never",
290
+ "showValues": false,
291
+ "spanNulls": false,
292
+ "stacking": {
293
+ "group": "A",
294
+ "mode": "none"
295
+ },
296
+ "thresholdsStyle": {
297
+ "mode": "off"
298
+ }
299
+ },
300
+ "mappings": [],
301
+ "thresholds": {
302
+ "mode": "absolute",
303
+ "steps": [
304
+ {
305
+ "color": "green",
306
+ "value": 0
307
+ },
308
+ {
309
+ "color": "red",
310
+ "value": 80
311
+ }
312
+ ]
313
+ },
314
+ "unit": "ms"
315
+ },
316
+ "overrides": []
317
+ },
318
+ "gridPos": {
319
+ "h": 9,
320
+ "w": 12,
321
+ "x": 12,
322
+ "y": 1
323
+ },
324
+ "id": 14,
325
+ "options": {
326
+ "legend": {
327
+ "calcs": [],
328
+ "displayMode": "list",
329
+ "placement": "bottom",
330
+ "showLegend": true
331
+ },
332
+ "tooltip": {
333
+ "hideZeros": false,
334
+ "mode": "multi",
335
+ "sort": "desc"
336
+ }
337
+ },
338
+ "pluginVersion": "12.4.3",
339
+ "targets": [
340
+ {
341
+ "datasource": {
342
+ "type": "prometheus",
343
+ "uid": "${datasource}"
344
+ },
345
+ "editorMode": "code",
346
+ "expr": "sum( rate( lev_transponder_writer_dataForwarding_deviceDataEventMsg_total_time[5m]) ) / sum( rate( lev_transponder_writer_dataForwarding_deviceDataEventMsg_count[5m] ) )",
347
+ "interval": "",
348
+ "legendFormat": "data forwarding success",
349
+ "range": true,
350
+ "refId": "A"
351
+ },
352
+ {
353
+ "datasource": {
354
+ "type": "prometheus",
355
+ "uid": "${datasource}"
356
+ },
357
+ "expr": "sum( rate( lev_transponder_writer_firebase_deviceDataEventMsg_total_time[5m]) ) / sum( rate( lev_transponder_writer_firebase_deviceDataEventMsg_count[5m] ) )",
358
+ "interval": "",
359
+ "legendFormat": "firebase success",
360
+ "refId": "B"
361
+ },
362
+ {
363
+ "datasource": {
364
+ "type": "prometheus",
365
+ "uid": "${datasource}"
366
+ },
367
+ "expr": "sum( rate( lev_transponder_writer_elasticSearch_deviceDataEventMsg_total_time[5m]) ) / sum( rate( lev_transponder_writer_elasticSearch_deviceDataEventMsg_count[5m] ) )",
368
+ "interval": "",
369
+ "legendFormat": "elasticsearch success",
370
+ "refId": "C"
371
+ },
372
+ {
373
+ "datasource": {
374
+ "type": "prometheus",
375
+ "uid": "${datasource}"
376
+ },
377
+ "expr": "sum( rate( lev_transponder_writer_elasticSearch_deviceDataEventMsg_error_total_time[5m]) ) / sum( rate( lev_transponder_writer_elasticSearch_deviceDataEventMsg_error_count[5m] ) )",
378
+ "interval": "",
379
+ "legendFormat": "elasticsearch error",
380
+ "refId": "D"
381
+ },
382
+ {
383
+ "datasource": {
384
+ "type": "prometheus",
385
+ "uid": "${datasource}"
386
+ },
387
+ "expr": "sum( rate( lev_transponder_writer_firebase_deviceDataEventMsg_error_total_time[5m]) ) / sum( rate( lev_transponder_writer_firebase_deviceDataEventMsg_error_count[5m] ) )",
388
+ "interval": "",
389
+ "legendFormat": "firebase error",
390
+ "refId": "E"
391
+ },
392
+ {
393
+ "datasource": {
394
+ "type": "prometheus",
395
+ "uid": "${datasource}"
396
+ },
397
+ "expr": "sum( rate( lev_transponder_writer_dataForwarding_deviceDataEventMsg_error_total_time[5m]) ) / sum( rate( lev_transponder_writer_dataForwarding_deviceDataEventMsg_error_count[5m] ) )",
398
+ "interval": "",
399
+ "legendFormat": "data forwarding error",
400
+ "refId": "F"
401
+ },
402
+ {
403
+ "datasource": {
404
+ "type": "prometheus",
405
+ "uid": "${datasource}"
406
+ },
407
+ "expr": "( sum( rate( lev_transponder_writer_dataForwarding_deviceDataEventMsg_total_time[5m]) ) + sum( rate( lev_transponder_writer_dataForwarding_deviceDataEventMsg_error_total_time[5m]) ) ) / ( sum( rate( lev_transponder_writer_dataForwarding_deviceDataEventMsg_count[5m] ) ) + sum( rate( lev_transponder_writer_dataForwarding_deviceDataEventMsg_error_count[5m] ) ) )",
408
+ "interval": "",
409
+ "legendFormat": "data forwarding combined",
410
+ "refId": "G"
411
+ },
412
+ {
413
+ "datasource": {
414
+ "type": "prometheus",
415
+ "uid": "${datasource}"
416
+ },
417
+ "expr": "( sum( rate( lev_transponder_writer_elasticSearch_deviceDataEventMsg_total_time[5m]) ) + sum( rate( lev_transponder_writer_elasticSearch_deviceDataEventMsg_error_total_time[5m]) ) ) / ( sum( rate( lev_transponder_writer_elasticSearch_deviceDataEventMsg_count[5m] ) ) + sum( rate( lev_transponder_writer_elasticSearch_deviceDataEventMsg_error_count[5m] ) ) )",
418
+ "interval": "",
419
+ "legendFormat": "elasticsearch combined",
420
+ "refId": "H"
421
+ },
422
+ {
423
+ "datasource": {
424
+ "type": "prometheus",
425
+ "uid": "${datasource}"
426
+ },
427
+ "expr": "( sum( rate( lev_transponder_writer_firebase_deviceDataEventMsg_total_time[5m]) ) + sum( rate( lev_transponder_writer_firebase_deviceDataEventMsg_error_total_time[5m]) ) ) / ( sum( rate( lev_transponder_writer_firebase_deviceDataEventMsg_count[5m] ) ) + sum( rate( lev_transponder_writer_firebase_deviceDataEventMsg_error_count[5m] ) ) )",
428
+ "interval": "",
429
+ "legendFormat": "firebase combined",
430
+ "refId": "I"
431
+ },
432
+ {
433
+ "datasource": {
434
+ "type": "prometheus",
435
+ "uid": "${datasource}"
436
+ },
437
+ "editorMode": "code",
438
+ "expr": "sum( rate( lev_transponder_writer_bigqueryjsonhistory_deviceDataEventMsg_total_time[5m]) ) / sum( rate( lev_transponder_writer_bigqueryjsonhistory_deviceDataEventMsg_count[5m] ) )",
439
+ "instant": false,
440
+ "legendFormat": "bigquery success",
441
+ "range": true,
442
+ "refId": "J"
443
+ }
444
+ ],
445
+ "title": "Average Write Time",
446
+ "type": "timeseries"
447
+ },
448
+ {
449
+ "datasource": {
450
+ "type": "prometheus",
451
+ "uid": "${datasource}"
452
+ },
453
+ "fieldConfig": {
454
+ "defaults": {
455
+ "color": {
456
+ "mode": "palette-classic"
457
+ },
458
+ "custom": {
459
+ "axisBorderShow": false,
460
+ "axisCenteredZero": false,
461
+ "axisColorMode": "text",
462
+ "axisLabel": "",
463
+ "axisPlacement": "auto",
464
+ "barAlignment": 0,
465
+ "barWidthFactor": 0.6,
466
+ "drawStyle": "line",
467
+ "fillOpacity": 10,
468
+ "gradientMode": "none",
469
+ "hideFrom": {
470
+ "legend": false,
471
+ "tooltip": false,
472
+ "viz": false
473
+ },
474
+ "insertNulls": false,
475
+ "lineInterpolation": "linear",
476
+ "lineWidth": 1,
477
+ "pointSize": 5,
478
+ "scaleDistribution": {
479
+ "type": "linear"
480
+ },
481
+ "showPoints": "never",
482
+ "showValues": false,
483
+ "spanNulls": false,
484
+ "stacking": {
485
+ "group": "A",
486
+ "mode": "none"
487
+ },
488
+ "thresholdsStyle": {
489
+ "mode": "off"
490
+ }
491
+ },
492
+ "mappings": [],
493
+ "thresholds": {
494
+ "mode": "absolute",
495
+ "steps": [
496
+ {
497
+ "color": "green",
498
+ "value": 0
499
+ },
500
+ {
501
+ "color": "red",
502
+ "value": 80
503
+ }
504
+ ]
505
+ },
506
+ "unit": "bytes"
507
+ },
508
+ "overrides": []
509
+ },
510
+ "gridPos": {
511
+ "h": 9,
512
+ "w": 12,
513
+ "x": 12,
514
+ "y": 10
515
+ },
516
+ "id": 30,
517
+ "options": {
518
+ "legend": {
519
+ "calcs": [],
520
+ "displayMode": "list",
521
+ "placement": "bottom",
522
+ "showLegend": true
523
+ },
524
+ "tooltip": {
525
+ "hideZeros": false,
526
+ "mode": "multi",
527
+ "sort": "desc"
528
+ }
529
+ },
530
+ "pluginVersion": "12.4.3",
531
+ "targets": [
532
+ {
533
+ "datasource": {
534
+ "type": "prometheus",
535
+ "uid": "${datasource}"
536
+ },
537
+ "editorMode": "code",
538
+ "exemplar": true,
539
+ "expr": "container_memory_working_set_bytes{container=~\".*api-server.*\"}",
540
+ "interval": "",
541
+ "legendFormat": "{{pod}}",
542
+ "range": true,
543
+ "refId": "A"
544
+ },
545
+ {
546
+ "datasource": {
547
+ "type": "prometheus",
548
+ "uid": "${datasource}"
549
+ },
550
+ "exemplar": true,
551
+ "expr": "avg(kube_pod_container_resource_requests_memory_bytes{container=~\".*api-server.*\"})",
552
+ "interval": "",
553
+ "legendFormat": "requests",
554
+ "refId": "B"
555
+ },
556
+ {
557
+ "datasource": {
558
+ "type": "prometheus",
559
+ "uid": "${datasource}"
560
+ },
561
+ "exemplar": true,
562
+ "expr": "avg(kube_pod_container_resource_limits_memory_bytes{container=~\".*api-server.*\"})",
563
+ "interval": "",
564
+ "legendFormat": "limits",
565
+ "refId": "C"
566
+ }
567
+ ],
568
+ "title": "API Server Memory",
569
+ "type": "timeseries"
570
+ },
571
+ {
572
+ "collapsed": false,
573
+ "gridPos": {
574
+ "h": 1,
575
+ "w": 24,
576
+ "x": 0,
577
+ "y": 19
578
+ },
579
+ "id": 67,
580
+ "panels": [],
581
+ "title": "Restarts",
582
+ "type": "row"
583
+ },
584
+ {
585
+ "datasource": {
586
+ "type": "prometheus",
587
+ "uid": "${datasource}"
588
+ },
589
+ "fieldConfig": {
590
+ "defaults": {
591
+ "color": {
592
+ "mode": "palette-classic"
593
+ },
594
+ "custom": {
595
+ "axisBorderShow": false,
596
+ "axisCenteredZero": false,
597
+ "axisColorMode": "text",
598
+ "axisLabel": "",
599
+ "axisPlacement": "auto",
600
+ "barAlignment": 0,
601
+ "barWidthFactor": 0.6,
602
+ "drawStyle": "line",
603
+ "fillOpacity": 10,
604
+ "gradientMode": "none",
605
+ "hideFrom": {
606
+ "legend": false,
607
+ "tooltip": false,
608
+ "viz": false
609
+ },
610
+ "insertNulls": false,
611
+ "lineInterpolation": "linear",
612
+ "lineWidth": 1,
613
+ "pointSize": 5,
614
+ "scaleDistribution": {
615
+ "type": "linear"
616
+ },
617
+ "showPoints": "never",
618
+ "showValues": false,
619
+ "spanNulls": false,
620
+ "stacking": {
621
+ "group": "A",
622
+ "mode": "none"
623
+ },
624
+ "thresholdsStyle": {
625
+ "mode": "off"
626
+ }
627
+ },
628
+ "mappings": [],
629
+ "thresholds": {
630
+ "mode": "absolute",
631
+ "steps": [
632
+ {
633
+ "color": "green",
634
+ "value": 0
635
+ },
636
+ {
637
+ "color": "red",
638
+ "value": 80
639
+ }
640
+ ]
641
+ },
642
+ "unit": "short"
643
+ },
644
+ "overrides": []
645
+ },
646
+ "gridPos": {
647
+ "h": 9,
648
+ "w": 12,
649
+ "x": 0,
650
+ "y": 20
651
+ },
652
+ "id": 18,
653
+ "options": {
654
+ "legend": {
655
+ "calcs": [],
656
+ "displayMode": "list",
657
+ "placement": "bottom",
658
+ "showLegend": true
659
+ },
660
+ "tooltip": {
661
+ "hideZeros": false,
662
+ "mode": "multi",
663
+ "sort": "none"
664
+ }
665
+ },
666
+ "pluginVersion": "12.4.3",
667
+ "targets": [
668
+ {
669
+ "datasource": {
670
+ "type": "prometheus",
671
+ "uid": "${datasource}"
672
+ },
673
+ "editorMode": "code",
674
+ "exemplar": true,
675
+ "expr": "sum( increase( kube_pod_container_status_restarts_total{pod=~\"api-server.*\"}[2m] ) )",
676
+ "interval": "",
677
+ "legendFormat": "API Server",
678
+ "range": true,
679
+ "refId": "A"
680
+ },
681
+ {
682
+ "datasource": {
683
+ "type": "prometheus",
684
+ "uid": "${datasource}"
685
+ },
686
+ "editorMode": "code",
687
+ "exemplar": true,
688
+ "expr": "sum( increase( kube_pod_container_status_restarts_total{pod=~\"fota-server.*\"}[2m] ) )",
689
+ "interval": "",
690
+ "legendFormat": "FOTA Server",
691
+ "range": true,
692
+ "refId": "B"
693
+ }
694
+ ],
695
+ "title": "Server Pod Restarts",
696
+ "type": "timeseries"
697
+ },
698
+ {
699
+ "datasource": {
700
+ "type": "prometheus",
701
+ "uid": "${datasource}"
702
+ },
703
+ "fieldConfig": {
704
+ "defaults": {
705
+ "color": {
706
+ "mode": "palette-classic"
707
+ },
708
+ "custom": {
709
+ "axisBorderShow": false,
710
+ "axisCenteredZero": false,
711
+ "axisColorMode": "text",
712
+ "axisLabel": "",
713
+ "axisPlacement": "auto",
714
+ "barAlignment": 0,
715
+ "barWidthFactor": 0.6,
716
+ "drawStyle": "line",
717
+ "fillOpacity": 10,
718
+ "gradientMode": "none",
719
+ "hideFrom": {
720
+ "legend": false,
721
+ "tooltip": false,
722
+ "viz": false
723
+ },
724
+ "insertNulls": false,
725
+ "lineInterpolation": "linear",
726
+ "lineWidth": 1,
727
+ "pointSize": 5,
728
+ "scaleDistribution": {
729
+ "type": "linear"
730
+ },
731
+ "showPoints": "never",
732
+ "showValues": false,
733
+ "spanNulls": false,
734
+ "stacking": {
735
+ "group": "A",
736
+ "mode": "none"
737
+ },
738
+ "thresholdsStyle": {
739
+ "mode": "off"
740
+ }
741
+ },
742
+ "mappings": [],
743
+ "thresholds": {
744
+ "mode": "absolute",
745
+ "steps": [
746
+ {
747
+ "color": "green",
748
+ "value": 0
749
+ },
750
+ {
751
+ "color": "red",
752
+ "value": 80
753
+ }
754
+ ]
755
+ },
756
+ "unit": "short"
757
+ },
758
+ "overrides": []
759
+ },
760
+ "gridPos": {
761
+ "h": 9,
762
+ "w": 12,
763
+ "x": 12,
764
+ "y": 20
765
+ },
766
+ "id": 28,
767
+ "options": {
768
+ "legend": {
769
+ "calcs": [],
770
+ "displayMode": "list",
771
+ "placement": "bottom",
772
+ "showLegend": true
773
+ },
774
+ "tooltip": {
775
+ "hideZeros": false,
776
+ "mode": "multi",
777
+ "sort": "desc"
778
+ }
779
+ },
780
+ "pluginVersion": "12.4.3",
781
+ "targets": [
782
+ {
783
+ "datasource": {
784
+ "type": "prometheus",
785
+ "uid": "${datasource}"
786
+ },
787
+ "editorMode": "code",
788
+ "exemplar": true,
789
+ "expr": "sum(increase(nodejs_app_exit_count[2m])) by (app)",
790
+ "interval": "",
791
+ "legendFormat": "{{app}}",
792
+ "range": true,
793
+ "refId": "A"
794
+ }
795
+ ],
796
+ "title": "Child Process Restarts",
797
+ "type": "timeseries"
798
+ },
799
+ {
800
+ "collapsed": true,
801
+ "gridPos": {
802
+ "h": 1,
803
+ "w": 24,
804
+ "x": 0,
805
+ "y": 29
806
+ },
807
+ "id": 51,
808
+ "panels": [
809
+ {
810
+ "datasource": {
811
+ "type": "prometheus",
812
+ "uid": "${datasource}"
813
+ },
814
+ "fieldConfig": {
815
+ "defaults": {
816
+ "color": {
817
+ "mode": "palette-classic"
818
+ },
819
+ "custom": {
820
+ "axisBorderShow": false,
821
+ "axisCenteredZero": false,
822
+ "axisColorMode": "text",
823
+ "axisLabel": "",
824
+ "axisPlacement": "auto",
825
+ "axisSoftMax": 75,
826
+ "axisSoftMin": 15,
827
+ "barAlignment": 0,
828
+ "barWidthFactor": 0.6,
829
+ "drawStyle": "line",
830
+ "fillOpacity": 10,
831
+ "gradientMode": "none",
832
+ "hideFrom": {
833
+ "legend": false,
834
+ "tooltip": false,
835
+ "viz": false
836
+ },
837
+ "insertNulls": false,
838
+ "lineInterpolation": "linear",
839
+ "lineWidth": 1,
840
+ "pointSize": 5,
841
+ "scaleDistribution": {
842
+ "type": "linear"
843
+ },
844
+ "showPoints": "never",
845
+ "showValues": false,
846
+ "spanNulls": false,
847
+ "stacking": {
848
+ "group": "A",
849
+ "mode": "none"
850
+ },
851
+ "thresholdsStyle": {
852
+ "mode": "area"
853
+ }
854
+ },
855
+ "mappings": [],
856
+ "thresholds": {
857
+ "mode": "absolute",
858
+ "steps": [
859
+ {
860
+ "color": "green",
861
+ "value": 0
862
+ },
863
+ {
864
+ "color": "yellow",
865
+ "value": 60
866
+ },
867
+ {
868
+ "color": "red",
869
+ "value": 65
870
+ }
871
+ ]
872
+ },
873
+ "unit": "short"
874
+ },
875
+ "overrides": []
876
+ },
877
+ "gridPos": {
878
+ "h": 9,
879
+ "w": 8,
880
+ "x": 0,
881
+ "y": 30
882
+ },
883
+ "id": 2,
884
+ "options": {
885
+ "legend": {
886
+ "calcs": [],
887
+ "displayMode": "list",
888
+ "placement": "bottom",
889
+ "showLegend": true
890
+ },
891
+ "tooltip": {
892
+ "hideZeros": false,
893
+ "mode": "multi",
894
+ "sort": "none"
895
+ }
896
+ },
897
+ "pluginVersion": "12.4.3",
898
+ "targets": [
899
+ {
900
+ "datasource": {
901
+ "type": "prometheus",
902
+ "uid": "${datasource}"
903
+ },
904
+ "editorMode": "code",
905
+ "expr": "sum by(group) (\n label_replace(\n kube_replicaset_status_replicas{replicaset=~\"api-server.*\"}, \n \"group\", \n \"$1\", \n \"replicaset\", \n \"^(api-server(?:-canary)?)(?:-[a-z0-9]+)$\"\n )\n)",
906
+ "interval": "",
907
+ "legendFormat": "{{group}}-total",
908
+ "range": true,
909
+ "refId": "A"
910
+ },
911
+ {
912
+ "datasource": {
913
+ "type": "prometheus",
914
+ "uid": "${datasource}"
915
+ },
916
+ "editorMode": "code",
917
+ "expr": "\n\nsum by(group) (\n label_replace(\n kube_replicaset_status_ready_replicas{replicaset=~\"api-server.*\"}, \n \"group\", \n \"$1\", \n \"replicaset\", \n \"^(api-server(?:-canary)?)(?:-[a-z0-9]+)$\"\n )\n)",
918
+ "interval": "",
919
+ "legendFormat": "{{group}}-ready",
920
+ "range": true,
921
+ "refId": "B"
922
+ }
923
+ ],
924
+ "title": "Ready vs Total API Server Replicas",
925
+ "type": "timeseries"
926
+ },
927
+ {
928
+ "datasource": {
929
+ "type": "prometheus",
930
+ "uid": "${datasource}"
931
+ },
932
+ "fieldConfig": {
933
+ "defaults": {
934
+ "color": {
935
+ "mode": "palette-classic"
936
+ },
937
+ "custom": {
938
+ "axisBorderShow": false,
939
+ "axisCenteredZero": false,
940
+ "axisColorMode": "text",
941
+ "axisLabel": "",
942
+ "axisPlacement": "auto",
943
+ "axisSoftMax": 30,
944
+ "axisSoftMin": 10,
945
+ "barAlignment": 0,
946
+ "barWidthFactor": 0.6,
947
+ "drawStyle": "line",
948
+ "fillOpacity": 10,
949
+ "gradientMode": "none",
950
+ "hideFrom": {
951
+ "legend": false,
952
+ "tooltip": false,
953
+ "viz": false
954
+ },
955
+ "insertNulls": false,
956
+ "lineInterpolation": "linear",
957
+ "lineWidth": 1,
958
+ "pointSize": 5,
959
+ "scaleDistribution": {
960
+ "type": "linear"
961
+ },
962
+ "showPoints": "never",
963
+ "showValues": false,
964
+ "spanNulls": false,
965
+ "stacking": {
966
+ "group": "A",
967
+ "mode": "none"
968
+ },
969
+ "thresholdsStyle": {
970
+ "mode": "area"
971
+ }
972
+ },
973
+ "mappings": [],
974
+ "thresholds": {
975
+ "mode": "absolute",
976
+ "steps": [
977
+ {
978
+ "color": "green",
979
+ "value": 0
980
+ },
981
+ {
982
+ "color": "yellow",
983
+ "value": 20
984
+ },
985
+ {
986
+ "color": "red",
987
+ "value": 25
988
+ }
989
+ ]
990
+ },
991
+ "unit": "short"
992
+ },
993
+ "overrides": []
994
+ },
995
+ "gridPos": {
996
+ "h": 9,
997
+ "w": 8,
998
+ "x": 8,
999
+ "y": 30
1000
+ },
1001
+ "id": 35,
1002
+ "options": {
1003
+ "legend": {
1004
+ "calcs": [],
1005
+ "displayMode": "list",
1006
+ "placement": "bottom",
1007
+ "showLegend": true
1008
+ },
1009
+ "tooltip": {
1010
+ "hideZeros": false,
1011
+ "mode": "multi",
1012
+ "sort": "none"
1013
+ }
1014
+ },
1015
+ "pluginVersion": "12.4.3",
1016
+ "targets": [
1017
+ {
1018
+ "datasource": {
1019
+ "type": "prometheus",
1020
+ "uid": "${datasource}"
1021
+ },
1022
+ "editorMode": "code",
1023
+ "exemplar": true,
1024
+ "expr": "sum( rate(container_cpu_usage_seconds_total{container=~\".*api-server.*\"} [5m]) ) ",
1025
+ "interval": "",
1026
+ "legendFormat": "total",
1027
+ "range": true,
1028
+ "refId": "A"
1029
+ }
1030
+ ],
1031
+ "title": "API Server CPU Total",
1032
+ "type": "timeseries"
1033
+ },
1034
+ {
1035
+ "datasource": {
1036
+ "type": "prometheus",
1037
+ "uid": "${datasource}"
1038
+ },
1039
+ "fieldConfig": {
1040
+ "defaults": {
1041
+ "color": {
1042
+ "mode": "palette-classic"
1043
+ },
1044
+ "custom": {
1045
+ "axisBorderShow": false,
1046
+ "axisCenteredZero": false,
1047
+ "axisColorMode": "text",
1048
+ "axisLabel": "",
1049
+ "axisPlacement": "auto",
1050
+ "axisSoftMin": 0,
1051
+ "barAlignment": 0,
1052
+ "barWidthFactor": 0.6,
1053
+ "drawStyle": "line",
1054
+ "fillOpacity": 10,
1055
+ "gradientMode": "none",
1056
+ "hideFrom": {
1057
+ "legend": false,
1058
+ "tooltip": false,
1059
+ "viz": false
1060
+ },
1061
+ "insertNulls": false,
1062
+ "lineInterpolation": "linear",
1063
+ "lineWidth": 1,
1064
+ "pointSize": 5,
1065
+ "scaleDistribution": {
1066
+ "type": "linear"
1067
+ },
1068
+ "showPoints": "never",
1069
+ "showValues": false,
1070
+ "spanNulls": false,
1071
+ "stacking": {
1072
+ "group": "A",
1073
+ "mode": "none"
1074
+ },
1075
+ "thresholdsStyle": {
1076
+ "mode": "area"
1077
+ }
1078
+ },
1079
+ "mappings": [],
1080
+ "thresholds": {
1081
+ "mode": "absolute",
1082
+ "steps": [
1083
+ {
1084
+ "color": "green",
1085
+ "value": 0
1086
+ }
1087
+ ]
1088
+ },
1089
+ "unit": "short"
1090
+ },
1091
+ "overrides": []
1092
+ },
1093
+ "gridPos": {
1094
+ "h": 9,
1095
+ "w": 8,
1096
+ "x": 16,
1097
+ "y": 30
1098
+ },
1099
+ "id": 61,
1100
+ "options": {
1101
+ "legend": {
1102
+ "calcs": [],
1103
+ "displayMode": "list",
1104
+ "placement": "bottom",
1105
+ "showLegend": true
1106
+ },
1107
+ "tooltip": {
1108
+ "hideZeros": false,
1109
+ "mode": "multi",
1110
+ "sort": "none"
1111
+ }
1112
+ },
1113
+ "pluginVersion": "12.4.3",
1114
+ "targets": [
1115
+ {
1116
+ "datasource": {
1117
+ "type": "prometheus",
1118
+ "uid": "${datasource}"
1119
+ },
1120
+ "editorMode": "code",
1121
+ "exemplar": true,
1122
+ "expr": "avg by(container)( rate(container_cpu_usage_seconds_total{container=~\".*api-server.*\"} [5m]) ) ",
1123
+ "interval": "",
1124
+ "legendFormat": "{{container}}",
1125
+ "range": true,
1126
+ "refId": "A"
1127
+ }
1128
+ ],
1129
+ "title": "API Server CPU Avg Per Pod",
1130
+ "type": "timeseries"
1131
+ },
1132
+ {
1133
+ "datasource": {
1134
+ "type": "prometheus",
1135
+ "uid": "${datasource}"
1136
+ },
1137
+ "fieldConfig": {
1138
+ "defaults": {
1139
+ "color": {
1140
+ "mode": "palette-classic"
1141
+ },
1142
+ "custom": {
1143
+ "axisBorderShow": false,
1144
+ "axisCenteredZero": false,
1145
+ "axisColorMode": "text",
1146
+ "axisLabel": "",
1147
+ "axisPlacement": "auto",
1148
+ "barAlignment": 0,
1149
+ "barWidthFactor": 0.6,
1150
+ "drawStyle": "line",
1151
+ "fillOpacity": 10,
1152
+ "gradientMode": "none",
1153
+ "hideFrom": {
1154
+ "legend": false,
1155
+ "tooltip": false,
1156
+ "viz": false
1157
+ },
1158
+ "insertNulls": false,
1159
+ "lineInterpolation": "linear",
1160
+ "lineWidth": 1,
1161
+ "pointSize": 5,
1162
+ "scaleDistribution": {
1163
+ "type": "linear"
1164
+ },
1165
+ "showPoints": "never",
1166
+ "showValues": false,
1167
+ "spanNulls": false,
1168
+ "stacking": {
1169
+ "group": "A",
1170
+ "mode": "none"
1171
+ },
1172
+ "thresholdsStyle": {
1173
+ "mode": "off"
1174
+ }
1175
+ },
1176
+ "mappings": [],
1177
+ "thresholds": {
1178
+ "mode": "absolute",
1179
+ "steps": [
1180
+ {
1181
+ "color": "green",
1182
+ "value": 0
1183
+ },
1184
+ {
1185
+ "color": "red",
1186
+ "value": 80
1187
+ }
1188
+ ]
1189
+ },
1190
+ "unit": "short"
1191
+ },
1192
+ "overrides": []
1193
+ },
1194
+ "gridPos": {
1195
+ "h": 7,
1196
+ "w": 24,
1197
+ "x": 0,
1198
+ "y": 39
1199
+ },
1200
+ "id": 6,
1201
+ "options": {
1202
+ "legend": {
1203
+ "calcs": [],
1204
+ "displayMode": "list",
1205
+ "placement": "bottom",
1206
+ "showLegend": true
1207
+ },
1208
+ "tooltip": {
1209
+ "hideZeros": false,
1210
+ "mode": "multi",
1211
+ "sort": "none"
1212
+ }
1213
+ },
1214
+ "pluginVersion": "12.4.3",
1215
+ "targets": [
1216
+ {
1217
+ "datasource": {
1218
+ "type": "prometheus",
1219
+ "uid": "${datasource}"
1220
+ },
1221
+ "expr": "kube_pod_status_ready{pod=~\"api-server.*\", condition=\"true\"}",
1222
+ "interval": "",
1223
+ "legendFormat": "{{ pod }}",
1224
+ "refId": "A"
1225
+ }
1226
+ ],
1227
+ "title": "API Server Pod Readiness Status",
1228
+ "type": "timeseries"
1229
+ }
1230
+ ],
1231
+ "title": "API Server",
1232
+ "type": "row"
1233
+ },
1234
+ {
1235
+ "collapsed": true,
1236
+ "gridPos": {
1237
+ "h": 1,
1238
+ "w": 24,
1239
+ "x": 0,
1240
+ "y": 30
1241
+ },
1242
+ "id": 52,
1243
+ "panels": [
1244
+ {
1245
+ "datasource": {
1246
+ "type": "prometheus",
1247
+ "uid": "${datasource}"
1248
+ },
1249
+ "fieldConfig": {
1250
+ "defaults": {
1251
+ "color": {
1252
+ "mode": "palette-classic"
1253
+ },
1254
+ "custom": {
1255
+ "axisBorderShow": false,
1256
+ "axisCenteredZero": false,
1257
+ "axisColorMode": "text",
1258
+ "axisLabel": "",
1259
+ "axisPlacement": "auto",
1260
+ "axisSoftMax": 16,
1261
+ "axisSoftMin": 0,
1262
+ "barAlignment": 0,
1263
+ "barWidthFactor": 0.6,
1264
+ "drawStyle": "line",
1265
+ "fillOpacity": 10,
1266
+ "gradientMode": "none",
1267
+ "hideFrom": {
1268
+ "legend": false,
1269
+ "tooltip": false,
1270
+ "viz": false
1271
+ },
1272
+ "insertNulls": false,
1273
+ "lineInterpolation": "linear",
1274
+ "lineWidth": 1,
1275
+ "pointSize": 5,
1276
+ "scaleDistribution": {
1277
+ "type": "linear"
1278
+ },
1279
+ "showPoints": "never",
1280
+ "showValues": false,
1281
+ "spanNulls": false,
1282
+ "stacking": {
1283
+ "group": "A",
1284
+ "mode": "none"
1285
+ },
1286
+ "thresholdsStyle": {
1287
+ "mode": "off"
1288
+ }
1289
+ },
1290
+ "mappings": [],
1291
+ "thresholds": {
1292
+ "mode": "absolute",
1293
+ "steps": [
1294
+ {
1295
+ "color": "green",
1296
+ "value": 0
1297
+ },
1298
+ {
1299
+ "color": "red",
1300
+ "value": 80
1301
+ }
1302
+ ]
1303
+ },
1304
+ "unit": "short"
1305
+ },
1306
+ "overrides": []
1307
+ },
1308
+ "gridPos": {
1309
+ "h": 8,
1310
+ "w": 12,
1311
+ "x": 0,
1312
+ "y": 55
1313
+ },
1314
+ "id": 16,
1315
+ "options": {
1316
+ "legend": {
1317
+ "calcs": [],
1318
+ "displayMode": "list",
1319
+ "placement": "bottom",
1320
+ "showLegend": true
1321
+ },
1322
+ "tooltip": {
1323
+ "hideZeros": false,
1324
+ "mode": "multi",
1325
+ "sort": "none"
1326
+ }
1327
+ },
1328
+ "pluginVersion": "12.4.3",
1329
+ "targets": [
1330
+ {
1331
+ "datasource": {
1332
+ "type": "prometheus",
1333
+ "uid": "${datasource}"
1334
+ },
1335
+ "expr": "sum( kube_replicaset_status_replicas{replicaset=~\"authz-server.*\"} )",
1336
+ "interval": "",
1337
+ "legendFormat": "total",
1338
+ "refId": "A"
1339
+ },
1340
+ {
1341
+ "datasource": {
1342
+ "type": "prometheus",
1343
+ "uid": "${datasource}"
1344
+ },
1345
+ "expr": "sum( kube_replicaset_status_ready_replicas{replicaset=~\"authz-server.*\"} )",
1346
+ "interval": "",
1347
+ "legendFormat": "ready",
1348
+ "refId": "B"
1349
+ }
1350
+ ],
1351
+ "title": "Authz Server Ready vs Total Pods",
1352
+ "type": "timeseries"
1353
+ },
1354
+ {
1355
+ "datasource": {
1356
+ "type": "prometheus",
1357
+ "uid": "${datasource}"
1358
+ },
1359
+ "fieldConfig": {
1360
+ "defaults": {
1361
+ "color": {
1362
+ "mode": "palette-classic"
1363
+ },
1364
+ "custom": {
1365
+ "axisBorderShow": false,
1366
+ "axisCenteredZero": false,
1367
+ "axisColorMode": "text",
1368
+ "axisLabel": "",
1369
+ "axisPlacement": "auto",
1370
+ "barAlignment": 0,
1371
+ "barWidthFactor": 0.6,
1372
+ "drawStyle": "line",
1373
+ "fillOpacity": 10,
1374
+ "gradientMode": "none",
1375
+ "hideFrom": {
1376
+ "legend": false,
1377
+ "tooltip": false,
1378
+ "viz": false
1379
+ },
1380
+ "insertNulls": false,
1381
+ "lineInterpolation": "linear",
1382
+ "lineWidth": 1,
1383
+ "pointSize": 5,
1384
+ "scaleDistribution": {
1385
+ "type": "linear"
1386
+ },
1387
+ "showPoints": "never",
1388
+ "showValues": false,
1389
+ "spanNulls": false,
1390
+ "stacking": {
1391
+ "group": "A",
1392
+ "mode": "none"
1393
+ },
1394
+ "thresholdsStyle": {
1395
+ "mode": "off"
1396
+ }
1397
+ },
1398
+ "mappings": [],
1399
+ "thresholds": {
1400
+ "mode": "absolute",
1401
+ "steps": [
1402
+ {
1403
+ "color": "green",
1404
+ "value": 0
1405
+ },
1406
+ {
1407
+ "color": "red",
1408
+ "value": 80
1409
+ }
1410
+ ]
1411
+ },
1412
+ "unit": "short"
1413
+ },
1414
+ "overrides": []
1415
+ },
1416
+ "gridPos": {
1417
+ "h": 8,
1418
+ "w": 12,
1419
+ "x": 12,
1420
+ "y": 55
1421
+ },
1422
+ "id": 37,
1423
+ "options": {
1424
+ "legend": {
1425
+ "calcs": [],
1426
+ "displayMode": "list",
1427
+ "placement": "bottom",
1428
+ "showLegend": true
1429
+ },
1430
+ "tooltip": {
1431
+ "hideZeros": false,
1432
+ "mode": "multi",
1433
+ "sort": "none"
1434
+ }
1435
+ },
1436
+ "pluginVersion": "12.4.3",
1437
+ "targets": [
1438
+ {
1439
+ "datasource": {
1440
+ "type": "prometheus",
1441
+ "uid": "${datasource}"
1442
+ },
1443
+ "editorMode": "code",
1444
+ "exemplar": true,
1445
+ "expr": "sum( rate(container_cpu_usage_seconds_total{container=~\".*authz-server.*\"} [5m]) ) ",
1446
+ "interval": "",
1447
+ "legendFormat": "total",
1448
+ "range": true,
1449
+ "refId": "A"
1450
+ }
1451
+ ],
1452
+ "title": "AuthZ Server CPU",
1453
+ "type": "timeseries"
1454
+ }
1455
+ ],
1456
+ "title": "AuthZ",
1457
+ "type": "row"
1458
+ },
1459
+ {
1460
+ "collapsed": true,
1461
+ "gridPos": {
1462
+ "h": 1,
1463
+ "w": 24,
1464
+ "x": 0,
1465
+ "y": 31
1466
+ },
1467
+ "id": 53,
1468
+ "panels": [
1469
+ {
1470
+ "datasource": {
1471
+ "type": "prometheus",
1472
+ "uid": "${datasource}"
1473
+ },
1474
+ "fieldConfig": {
1475
+ "defaults": {
1476
+ "color": {
1477
+ "mode": "palette-classic"
1478
+ },
1479
+ "custom": {
1480
+ "axisBorderShow": false,
1481
+ "axisCenteredZero": false,
1482
+ "axisColorMode": "text",
1483
+ "axisLabel": "",
1484
+ "axisPlacement": "auto",
1485
+ "axisSoftMin": 0,
1486
+ "barAlignment": 0,
1487
+ "barWidthFactor": 0.6,
1488
+ "drawStyle": "line",
1489
+ "fillOpacity": 10,
1490
+ "gradientMode": "none",
1491
+ "hideFrom": {
1492
+ "legend": false,
1493
+ "tooltip": false,
1494
+ "viz": false
1495
+ },
1496
+ "insertNulls": false,
1497
+ "lineInterpolation": "linear",
1498
+ "lineWidth": 1,
1499
+ "pointSize": 5,
1500
+ "scaleDistribution": {
1501
+ "type": "linear"
1502
+ },
1503
+ "showPoints": "never",
1504
+ "showValues": false,
1505
+ "spanNulls": false,
1506
+ "stacking": {
1507
+ "group": "A",
1508
+ "mode": "none"
1509
+ },
1510
+ "thresholdsStyle": {
1511
+ "mode": "area"
1512
+ }
1513
+ },
1514
+ "mappings": [],
1515
+ "thresholds": {
1516
+ "mode": "absolute",
1517
+ "steps": [
1518
+ {
1519
+ "color": "green",
1520
+ "value": 0
1521
+ },
1522
+ {
1523
+ "color": "#EAB839",
1524
+ "value": 28
1525
+ },
1526
+ {
1527
+ "color": "red",
1528
+ "value": 32
1529
+ }
1530
+ ]
1531
+ },
1532
+ "unit": "short"
1533
+ },
1534
+ "overrides": []
1535
+ },
1536
+ "gridPos": {
1537
+ "h": 8,
1538
+ "w": 8,
1539
+ "x": 0,
1540
+ "y": 56
1541
+ },
1542
+ "id": 40,
1543
+ "options": {
1544
+ "legend": {
1545
+ "calcs": [],
1546
+ "displayMode": "list",
1547
+ "placement": "bottom",
1548
+ "showLegend": true
1549
+ },
1550
+ "tooltip": {
1551
+ "hideZeros": false,
1552
+ "mode": "multi",
1553
+ "sort": "none"
1554
+ }
1555
+ },
1556
+ "pluginVersion": "12.4.3",
1557
+ "targets": [
1558
+ {
1559
+ "datasource": {
1560
+ "type": "prometheus",
1561
+ "uid": "${datasource}"
1562
+ },
1563
+ "editorMode": "code",
1564
+ "expr": "sum by(group) (\n label_replace(\n kube_replicaset_status_replicas{replicaset=~\"rule-engine.*\"}, \n \"group\", \n \"$1\", \n \"replicaset\", \n \"^(rule-engine(?:-canary)?)(?:-[a-z0-9]+)$\"\n )\n)",
1565
+ "interval": "",
1566
+ "legendFormat": "{{group}} - Total",
1567
+ "range": true,
1568
+ "refId": "A"
1569
+ },
1570
+ {
1571
+ "datasource": {
1572
+ "type": "prometheus",
1573
+ "uid": "${datasource}"
1574
+ },
1575
+ "editorMode": "code",
1576
+ "expr": "sum by(group) (\n label_replace(\n kube_replicaset_status_ready_replicas{replicaset=~\"rule-engine.*\"}, \n \"group\", \n \"$1\", \n \"replicaset\", \n \"^(rule-engine(?:-canary)?)(?:-[a-z0-9]+)$\"\n )\n)",
1577
+ "interval": "",
1578
+ "legendFormat": "{{group}} - Ready",
1579
+ "range": true,
1580
+ "refId": "B"
1581
+ }
1582
+ ],
1583
+ "title": "Rule Engine Ready vs Total Pods",
1584
+ "type": "timeseries"
1585
+ },
1586
+ {
1587
+ "datasource": {
1588
+ "type": "prometheus",
1589
+ "uid": "${datasource}"
1590
+ },
1591
+ "fieldConfig": {
1592
+ "defaults": {
1593
+ "color": {
1594
+ "mode": "palette-classic"
1595
+ },
1596
+ "custom": {
1597
+ "axisBorderShow": false,
1598
+ "axisCenteredZero": false,
1599
+ "axisColorMode": "text",
1600
+ "axisLabel": "",
1601
+ "axisPlacement": "auto",
1602
+ "barAlignment": 0,
1603
+ "barWidthFactor": 0.6,
1604
+ "drawStyle": "line",
1605
+ "fillOpacity": 10,
1606
+ "gradientMode": "none",
1607
+ "hideFrom": {
1608
+ "legend": false,
1609
+ "tooltip": false,
1610
+ "viz": false
1611
+ },
1612
+ "insertNulls": false,
1613
+ "lineInterpolation": "linear",
1614
+ "lineWidth": 1,
1615
+ "pointSize": 5,
1616
+ "scaleDistribution": {
1617
+ "type": "linear"
1618
+ },
1619
+ "showPoints": "never",
1620
+ "showValues": false,
1621
+ "spanNulls": false,
1622
+ "stacking": {
1623
+ "group": "A",
1624
+ "mode": "none"
1625
+ },
1626
+ "thresholdsStyle": {
1627
+ "mode": "off"
1628
+ }
1629
+ },
1630
+ "mappings": [],
1631
+ "thresholds": {
1632
+ "mode": "absolute",
1633
+ "steps": [
1634
+ {
1635
+ "color": "green",
1636
+ "value": 0
1637
+ },
1638
+ {
1639
+ "color": "red",
1640
+ "value": 80
1641
+ }
1642
+ ]
1643
+ },
1644
+ "unit": "short"
1645
+ },
1646
+ "overrides": []
1647
+ },
1648
+ "gridPos": {
1649
+ "h": 8,
1650
+ "w": 8,
1651
+ "x": 8,
1652
+ "y": 56
1653
+ },
1654
+ "id": 36,
1655
+ "options": {
1656
+ "legend": {
1657
+ "calcs": [],
1658
+ "displayMode": "list",
1659
+ "placement": "bottom",
1660
+ "showLegend": true
1661
+ },
1662
+ "tooltip": {
1663
+ "hideZeros": false,
1664
+ "mode": "multi",
1665
+ "sort": "none"
1666
+ }
1667
+ },
1668
+ "pluginVersion": "12.4.3",
1669
+ "targets": [
1670
+ {
1671
+ "datasource": {
1672
+ "type": "prometheus",
1673
+ "uid": "${datasource}"
1674
+ },
1675
+ "editorMode": "code",
1676
+ "exemplar": true,
1677
+ "expr": "sum by(container)( rate(container_cpu_usage_seconds_total{container=~\".*rule-engine.*\"} [5m]) ) ",
1678
+ "interval": "",
1679
+ "legendFormat": "{{container}}",
1680
+ "range": true,
1681
+ "refId": "A"
1682
+ }
1683
+ ],
1684
+ "title": "Total Rule Engine CPU",
1685
+ "type": "timeseries"
1686
+ },
1687
+ {
1688
+ "datasource": {
1689
+ "type": "prometheus",
1690
+ "uid": "${datasource}"
1691
+ },
1692
+ "fieldConfig": {
1693
+ "defaults": {
1694
+ "color": {
1695
+ "mode": "palette-classic"
1696
+ },
1697
+ "custom": {
1698
+ "axisBorderShow": false,
1699
+ "axisCenteredZero": false,
1700
+ "axisColorMode": "text",
1701
+ "axisLabel": "",
1702
+ "axisPlacement": "auto",
1703
+ "barAlignment": 0,
1704
+ "barWidthFactor": 0.6,
1705
+ "drawStyle": "line",
1706
+ "fillOpacity": 10,
1707
+ "gradientMode": "none",
1708
+ "hideFrom": {
1709
+ "legend": false,
1710
+ "tooltip": false,
1711
+ "viz": false
1712
+ },
1713
+ "insertNulls": false,
1714
+ "lineInterpolation": "linear",
1715
+ "lineWidth": 1,
1716
+ "pointSize": 5,
1717
+ "scaleDistribution": {
1718
+ "type": "linear"
1719
+ },
1720
+ "showPoints": "never",
1721
+ "showValues": false,
1722
+ "spanNulls": false,
1723
+ "stacking": {
1724
+ "group": "A",
1725
+ "mode": "none"
1726
+ },
1727
+ "thresholdsStyle": {
1728
+ "mode": "off"
1729
+ }
1730
+ },
1731
+ "mappings": [],
1732
+ "min": 0,
1733
+ "thresholds": {
1734
+ "mode": "absolute",
1735
+ "steps": [
1736
+ {
1737
+ "color": "green",
1738
+ "value": 0
1739
+ },
1740
+ {
1741
+ "color": "red",
1742
+ "value": 80
1743
+ }
1744
+ ]
1745
+ },
1746
+ "unit": "short"
1747
+ },
1748
+ "overrides": []
1749
+ },
1750
+ "gridPos": {
1751
+ "h": 8,
1752
+ "w": 8,
1753
+ "x": 16,
1754
+ "y": 56
1755
+ },
1756
+ "id": 59,
1757
+ "options": {
1758
+ "legend": {
1759
+ "calcs": [],
1760
+ "displayMode": "list",
1761
+ "placement": "bottom",
1762
+ "showLegend": true
1763
+ },
1764
+ "tooltip": {
1765
+ "hideZeros": false,
1766
+ "mode": "multi",
1767
+ "sort": "none"
1768
+ }
1769
+ },
1770
+ "pluginVersion": "12.4.3",
1771
+ "targets": [
1772
+ {
1773
+ "datasource": {
1774
+ "type": "prometheus",
1775
+ "uid": "${datasource}"
1776
+ },
1777
+ "editorMode": "code",
1778
+ "exemplar": true,
1779
+ "expr": "avg by(container)( rate(container_cpu_usage_seconds_total{container=~\".*rule-engine.*\"} [5m]) ) ",
1780
+ "interval": "",
1781
+ "legendFormat": "{{container}}",
1782
+ "range": true,
1783
+ "refId": "A"
1784
+ }
1785
+ ],
1786
+ "title": "Average CPU per pod",
1787
+ "type": "timeseries"
1788
+ }
1789
+ ],
1790
+ "title": "Rule Engine",
1791
+ "type": "row"
1792
+ },
1793
+ {
1794
+ "collapsed": true,
1795
+ "gridPos": {
1796
+ "h": 1,
1797
+ "w": 24,
1798
+ "x": 0,
1799
+ "y": 32
1800
+ },
1801
+ "id": 54,
1802
+ "panels": [
1803
+ {
1804
+ "datasource": {
1805
+ "type": "prometheus",
1806
+ "uid": "${datasource}"
1807
+ },
1808
+ "fieldConfig": {
1809
+ "defaults": {
1810
+ "color": {
1811
+ "mode": "palette-classic"
1812
+ },
1813
+ "custom": {
1814
+ "axisBorderShow": false,
1815
+ "axisCenteredZero": false,
1816
+ "axisColorMode": "text",
1817
+ "axisLabel": "",
1818
+ "axisPlacement": "auto",
1819
+ "axisSoftMin": 0,
1820
+ "barAlignment": 0,
1821
+ "barWidthFactor": 0.6,
1822
+ "drawStyle": "line",
1823
+ "fillOpacity": 10,
1824
+ "gradientMode": "none",
1825
+ "hideFrom": {
1826
+ "legend": false,
1827
+ "tooltip": false,
1828
+ "viz": false
1829
+ },
1830
+ "insertNulls": false,
1831
+ "lineInterpolation": "linear",
1832
+ "lineWidth": 1,
1833
+ "pointSize": 5,
1834
+ "scaleDistribution": {
1835
+ "type": "linear"
1836
+ },
1837
+ "showPoints": "never",
1838
+ "showValues": false,
1839
+ "spanNulls": false,
1840
+ "stacking": {
1841
+ "group": "A",
1842
+ "mode": "none"
1843
+ },
1844
+ "thresholdsStyle": {
1845
+ "mode": "area"
1846
+ }
1847
+ },
1848
+ "mappings": [],
1849
+ "thresholds": {
1850
+ "mode": "absolute",
1851
+ "steps": [
1852
+ {
1853
+ "color": "green",
1854
+ "value": 0
1855
+ },
1856
+ {
1857
+ "color": "#EAB839",
1858
+ "value": 10
1859
+ },
1860
+ {
1861
+ "color": "red",
1862
+ "value": 12
1863
+ }
1864
+ ]
1865
+ },
1866
+ "unit": "short"
1867
+ },
1868
+ "overrides": []
1869
+ },
1870
+ "gridPos": {
1871
+ "h": 8,
1872
+ "w": 8,
1873
+ "x": 0,
1874
+ "y": 57
1875
+ },
1876
+ "id": 46,
1877
+ "options": {
1878
+ "legend": {
1879
+ "calcs": [],
1880
+ "displayMode": "list",
1881
+ "placement": "bottom",
1882
+ "showLegend": true
1883
+ },
1884
+ "tooltip": {
1885
+ "hideZeros": false,
1886
+ "mode": "multi",
1887
+ "sort": "none"
1888
+ }
1889
+ },
1890
+ "pluginVersion": "12.4.3",
1891
+ "targets": [
1892
+ {
1893
+ "datasource": {
1894
+ "type": "prometheus",
1895
+ "uid": "${datasource}"
1896
+ },
1897
+ "editorMode": "code",
1898
+ "expr": "sum by(container) (\n label_replace(\n kube_replicaset_status_replicas{replicaset=~\"scheduler.*\"}, \n \"container\", \n \"$1\", \n \"replicaset\", \n \"^(scheduler(?:-\\\\w)?)(?:-[a-z0-9]+)$\"\n )\n)",
1899
+ "interval": "",
1900
+ "legendFormat": "{{container}}-total",
1901
+ "range": true,
1902
+ "refId": "A"
1903
+ },
1904
+ {
1905
+ "datasource": {
1906
+ "type": "prometheus",
1907
+ "uid": "${datasource}"
1908
+ },
1909
+ "editorMode": "code",
1910
+ "expr": "sum by(container) (\n label_replace(\n kube_replicaset_status_ready_replicas{replicaset=~\"scheduler.*\"}, \n \"container\", \n \"$1\", \n \"replicaset\", \n \"^(scheduler(?:-\\\\w)?)(?:-[a-z0-9]+)$\"\n )\n)",
1911
+ "interval": "",
1912
+ "legendFormat": "{{container}}-ready",
1913
+ "range": true,
1914
+ "refId": "B"
1915
+ }
1916
+ ],
1917
+ "title": "Scheduler Ready vs Total Pods",
1918
+ "type": "timeseries"
1919
+ },
1920
+ {
1921
+ "datasource": {
1922
+ "type": "prometheus",
1923
+ "uid": "${datasource}"
1924
+ },
1925
+ "fieldConfig": {
1926
+ "defaults": {
1927
+ "color": {
1928
+ "mode": "palette-classic"
1929
+ },
1930
+ "custom": {
1931
+ "axisBorderShow": false,
1932
+ "axisCenteredZero": false,
1933
+ "axisColorMode": "text",
1934
+ "axisLabel": "",
1935
+ "axisPlacement": "auto",
1936
+ "axisSoftMax": 11,
1937
+ "barAlignment": 0,
1938
+ "barWidthFactor": 0.6,
1939
+ "drawStyle": "line",
1940
+ "fillOpacity": 10,
1941
+ "gradientMode": "none",
1942
+ "hideFrom": {
1943
+ "legend": false,
1944
+ "tooltip": false,
1945
+ "viz": false
1946
+ },
1947
+ "insertNulls": false,
1948
+ "lineInterpolation": "linear",
1949
+ "lineWidth": 1,
1950
+ "pointSize": 5,
1951
+ "scaleDistribution": {
1952
+ "type": "linear"
1953
+ },
1954
+ "showPoints": "never",
1955
+ "showValues": false,
1956
+ "spanNulls": false,
1957
+ "stacking": {
1958
+ "group": "A",
1959
+ "mode": "none"
1960
+ },
1961
+ "thresholdsStyle": {
1962
+ "mode": "off"
1963
+ }
1964
+ },
1965
+ "mappings": [],
1966
+ "thresholds": {
1967
+ "mode": "absolute",
1968
+ "steps": [
1969
+ {
1970
+ "color": "green",
1971
+ "value": 0
1972
+ }
1973
+ ]
1974
+ },
1975
+ "unit": "short"
1976
+ },
1977
+ "overrides": []
1978
+ },
1979
+ "gridPos": {
1980
+ "h": 8,
1981
+ "w": 8,
1982
+ "x": 8,
1983
+ "y": 57
1984
+ },
1985
+ "id": 41,
1986
+ "options": {
1987
+ "legend": {
1988
+ "calcs": [],
1989
+ "displayMode": "list",
1990
+ "placement": "bottom",
1991
+ "showLegend": true
1992
+ },
1993
+ "tooltip": {
1994
+ "hideZeros": false,
1995
+ "mode": "multi",
1996
+ "sort": "none"
1997
+ }
1998
+ },
1999
+ "pluginVersion": "12.4.3",
2000
+ "targets": [
2001
+ {
2002
+ "datasource": {
2003
+ "type": "prometheus",
2004
+ "uid": "${datasource}"
2005
+ },
2006
+ "editorMode": "code",
2007
+ "exemplar": true,
2008
+ "expr": "sum by (container)( rate(container_cpu_usage_seconds_total{container=~\".*scheduler.*\"} [5m]) ) ",
2009
+ "interval": "",
2010
+ "legendFormat": "{{container}}",
2011
+ "range": true,
2012
+ "refId": "A"
2013
+ }
2014
+ ],
2015
+ "title": "Total Scheduler CPU",
2016
+ "transparent": true,
2017
+ "type": "timeseries"
2018
+ },
2019
+ {
2020
+ "datasource": {
2021
+ "type": "prometheus",
2022
+ "uid": "${datasource}"
2023
+ },
2024
+ "fieldConfig": {
2025
+ "defaults": {
2026
+ "color": {
2027
+ "mode": "palette-classic"
2028
+ },
2029
+ "custom": {
2030
+ "axisBorderShow": false,
2031
+ "axisCenteredZero": false,
2032
+ "axisColorMode": "text",
2033
+ "axisLabel": "",
2034
+ "axisPlacement": "auto",
2035
+ "axisSoftMax": 11,
2036
+ "barAlignment": 0,
2037
+ "barWidthFactor": 0.6,
2038
+ "drawStyle": "line",
2039
+ "fillOpacity": 10,
2040
+ "gradientMode": "none",
2041
+ "hideFrom": {
2042
+ "legend": false,
2043
+ "tooltip": false,
2044
+ "viz": false
2045
+ },
2046
+ "insertNulls": false,
2047
+ "lineInterpolation": "linear",
2048
+ "lineWidth": 1,
2049
+ "pointSize": 5,
2050
+ "scaleDistribution": {
2051
+ "type": "linear"
2052
+ },
2053
+ "showPoints": "never",
2054
+ "showValues": false,
2055
+ "spanNulls": false,
2056
+ "stacking": {
2057
+ "group": "A",
2058
+ "mode": "none"
2059
+ },
2060
+ "thresholdsStyle": {
2061
+ "mode": "off"
2062
+ }
2063
+ },
2064
+ "mappings": [],
2065
+ "thresholds": {
2066
+ "mode": "absolute",
2067
+ "steps": [
2068
+ {
2069
+ "color": "green",
2070
+ "value": 0
2071
+ }
2072
+ ]
2073
+ },
2074
+ "unit": "short"
2075
+ },
2076
+ "overrides": []
2077
+ },
2078
+ "gridPos": {
2079
+ "h": 8,
2080
+ "w": 8,
2081
+ "x": 16,
2082
+ "y": 57
2083
+ },
2084
+ "id": 60,
2085
+ "options": {
2086
+ "legend": {
2087
+ "calcs": [],
2088
+ "displayMode": "list",
2089
+ "placement": "bottom",
2090
+ "showLegend": true
2091
+ },
2092
+ "tooltip": {
2093
+ "hideZeros": false,
2094
+ "mode": "multi",
2095
+ "sort": "none"
2096
+ }
2097
+ },
2098
+ "pluginVersion": "12.4.3",
2099
+ "targets": [
2100
+ {
2101
+ "datasource": {
2102
+ "type": "prometheus",
2103
+ "uid": "${datasource}"
2104
+ },
2105
+ "editorMode": "code",
2106
+ "exemplar": true,
2107
+ "expr": "avg by(container)( rate(container_cpu_usage_seconds_total{container=~\".*scheduler.*\"} [5m]) ) ",
2108
+ "interval": "",
2109
+ "legendFormat": "{{container}}",
2110
+ "range": true,
2111
+ "refId": "A"
2112
+ }
2113
+ ],
2114
+ "title": "Average Scheduler CPU",
2115
+ "transparent": true,
2116
+ "type": "timeseries"
2117
+ }
2118
+ ],
2119
+ "title": "Scheduler",
2120
+ "type": "row"
2121
+ },
2122
+ {
2123
+ "collapsed": true,
2124
+ "gridPos": {
2125
+ "h": 1,
2126
+ "w": 24,
2127
+ "x": 0,
2128
+ "y": 33
2129
+ },
2130
+ "id": 80,
2131
+ "panels": [
2132
+ {
2133
+ "datasource": {
2134
+ "type": "prometheus",
2135
+ "uid": "${datasource}"
2136
+ },
2137
+ "fieldConfig": {
2138
+ "defaults": {
2139
+ "color": {
2140
+ "mode": "palette-classic"
2141
+ },
2142
+ "custom": {
2143
+ "axisBorderShow": false,
2144
+ "axisCenteredZero": false,
2145
+ "axisColorMode": "text",
2146
+ "axisLabel": "",
2147
+ "axisPlacement": "auto",
2148
+ "barAlignment": 0,
2149
+ "barWidthFactor": 0.6,
2150
+ "drawStyle": "line",
2151
+ "fillOpacity": 10,
2152
+ "gradientMode": "none",
2153
+ "hideFrom": {
2154
+ "legend": false,
2155
+ "tooltip": false,
2156
+ "viz": false
2157
+ },
2158
+ "insertNulls": false,
2159
+ "lineInterpolation": "linear",
2160
+ "lineWidth": 1,
2161
+ "pointSize": 5,
2162
+ "scaleDistribution": {
2163
+ "type": "linear"
2164
+ },
2165
+ "showPoints": "never",
2166
+ "spanNulls": false,
2167
+ "stacking": {
2168
+ "group": "A",
2169
+ "mode": "none"
2170
+ },
2171
+ "thresholdsStyle": {
2172
+ "mode": "off"
2173
+ }
2174
+ },
2175
+ "mappings": [],
2176
+ "thresholds": {
2177
+ "mode": "absolute",
2178
+ "steps": [
2179
+ {
2180
+ "color": "green"
2181
+ },
2182
+ {
2183
+ "color": "red",
2184
+ "value": 80
2185
+ }
2186
+ ]
2187
+ },
2188
+ "unit": "short"
2189
+ },
2190
+ "overrides": []
2191
+ },
2192
+ "gridPos": {
2193
+ "h": 8,
2194
+ "w": 12,
2195
+ "x": 0,
2196
+ "y": 0
2197
+ },
2198
+ "id": 81,
2199
+ "options": {
2200
+ "alertThreshold": true,
2201
+ "legend": {
2202
+ "calcs": [],
2203
+ "displayMode": "list",
2204
+ "placement": "bottom",
2205
+ "showLegend": true
2206
+ },
2207
+ "tooltip": {
2208
+ "hideZeros": false,
2209
+ "mode": "multi",
2210
+ "sort": "none"
2211
+ }
2212
+ },
2213
+ "pluginVersion": "11.6.1",
2214
+ "targets": [
2215
+ {
2216
+ "datasource": {
2217
+ "type": "prometheus",
2218
+ "uid": "${datasource}"
2219
+ },
2220
+ "expr": "sum( kube_replicaset_status_replicas{replicaset=~\"api-server.*\"} )",
2221
+ "interval": "",
2222
+ "legendFormat": "total",
2223
+ "refId": "A"
2224
+ },
2225
+ {
2226
+ "datasource": {
2227
+ "type": "prometheus",
2228
+ "uid": "${datasource}"
2229
+ },
2230
+ "expr": "sum( kube_replicaset_status_ready_replicas{replicaset=~\"api-server.*\"} )",
2231
+ "interval": "",
2232
+ "legendFormat": "ready",
2233
+ "refId": "B"
2234
+ }
2235
+ ],
2236
+ "title": "API Server Ready vs. Total Pods",
2237
+ "type": "timeseries"
2238
+ },
2239
+ {
2240
+ "datasource": {
2241
+ "type": "prometheus",
2242
+ "uid": "${datasource}"
2243
+ },
2244
+ "fieldConfig": {
2245
+ "defaults": {
2246
+ "color": {
2247
+ "mode": "palette-classic"
2248
+ },
2249
+ "custom": {
2250
+ "axisBorderShow": false,
2251
+ "axisCenteredZero": false,
2252
+ "axisColorMode": "text",
2253
+ "axisLabel": "",
2254
+ "axisPlacement": "auto",
2255
+ "barAlignment": 0,
2256
+ "barWidthFactor": 0.6,
2257
+ "drawStyle": "line",
2258
+ "fillOpacity": 10,
2259
+ "gradientMode": "none",
2260
+ "hideFrom": {
2261
+ "legend": false,
2262
+ "tooltip": false,
2263
+ "viz": false
2264
+ },
2265
+ "insertNulls": false,
2266
+ "lineInterpolation": "linear",
2267
+ "lineWidth": 1,
2268
+ "pointSize": 5,
2269
+ "scaleDistribution": {
2270
+ "type": "linear"
2271
+ },
2272
+ "showPoints": "never",
2273
+ "spanNulls": false,
2274
+ "stacking": {
2275
+ "group": "A",
2276
+ "mode": "none"
2277
+ },
2278
+ "thresholdsStyle": {
2279
+ "mode": "off"
2280
+ }
2281
+ },
2282
+ "links": [],
2283
+ "mappings": [],
2284
+ "thresholds": {
2285
+ "mode": "absolute",
2286
+ "steps": [
2287
+ {
2288
+ "color": "green"
2289
+ },
2290
+ {
2291
+ "color": "red",
2292
+ "value": 80
2293
+ }
2294
+ ]
2295
+ },
2296
+ "unit": "short"
2297
+ },
2298
+ "overrides": []
2299
+ },
2300
+ "gridPos": {
2301
+ "h": 8,
2302
+ "w": 12,
2303
+ "x": 12,
2304
+ "y": 0
2305
+ },
2306
+ "id": 82,
2307
+ "options": {
2308
+ "alertThreshold": true,
2309
+ "legend": {
2310
+ "calcs": [],
2311
+ "displayMode": "list",
2312
+ "placement": "bottom",
2313
+ "showLegend": true
2314
+ },
2315
+ "tooltip": {
2316
+ "hideZeros": false,
2317
+ "mode": "multi",
2318
+ "sort": "none"
2319
+ }
2320
+ },
2321
+ "pluginVersion": "11.6.1",
2322
+ "targets": [
2323
+ {
2324
+ "datasource": {
2325
+ "type": "prometheus",
2326
+ "uid": "${datasource}"
2327
+ },
2328
+ "expr": "sum( container_sockets{ pod=~\"api-server.*\" } )",
2329
+ "legendFormat": "api-server sockets",
2330
+ "refId": "A"
2331
+ },
2332
+ {
2333
+ "datasource": {
2334
+ "type": "prometheus",
2335
+ "uid": "${datasource}"
2336
+ },
2337
+ "expr": "sum( container_sockets{ pod=~\"transponder-rt.*\" } )",
2338
+ "legendFormat": "transponder-rt sockets",
2339
+ "refId": "B"
2340
+ },
2341
+ {
2342
+ "datasource": {
2343
+ "type": "prometheus",
2344
+ "uid": "${datasource}"
2345
+ },
2346
+ "expr": "sum( container_sockets{ pod=~\"authz.*\" } )",
2347
+ "legendFormat": "authz-server sockets",
2348
+ "refId": "C"
2349
+ }
2350
+ ],
2351
+ "title": "Deployment Sockets",
2352
+ "type": "timeseries"
2353
+ },
2354
+ {
2355
+ "datasource": {
2356
+ "type": "prometheus",
2357
+ "uid": "${datasource}"
2358
+ },
2359
+ "fieldConfig": {
2360
+ "defaults": {
2361
+ "color": {
2362
+ "mode": "palette-classic"
2363
+ },
2364
+ "custom": {
2365
+ "axisBorderShow": false,
2366
+ "axisCenteredZero": false,
2367
+ "axisColorMode": "text",
2368
+ "axisLabel": "",
2369
+ "axisPlacement": "auto",
2370
+ "barAlignment": 0,
2371
+ "barWidthFactor": 0.6,
2372
+ "drawStyle": "line",
2373
+ "fillOpacity": 10,
2374
+ "gradientMode": "none",
2375
+ "hideFrom": {
2376
+ "legend": false,
2377
+ "tooltip": false,
2378
+ "viz": false
2379
+ },
2380
+ "insertNulls": false,
2381
+ "lineInterpolation": "linear",
2382
+ "lineWidth": 1,
2383
+ "pointSize": 5,
2384
+ "scaleDistribution": {
2385
+ "type": "linear"
2386
+ },
2387
+ "showPoints": "never",
2388
+ "spanNulls": false,
2389
+ "stacking": {
2390
+ "group": "A",
2391
+ "mode": "none"
2392
+ },
2393
+ "thresholdsStyle": {
2394
+ "mode": "off"
2395
+ }
2396
+ },
2397
+ "links": [],
2398
+ "mappings": [],
2399
+ "thresholds": {
2400
+ "mode": "absolute",
2401
+ "steps": [
2402
+ {
2403
+ "color": "green"
2404
+ },
2405
+ {
2406
+ "color": "red",
2407
+ "value": 80
2408
+ }
2409
+ ]
2410
+ },
2411
+ "unit": "short"
2412
+ },
2413
+ "overrides": []
2414
+ },
2415
+ "gridPos": {
2416
+ "h": 8,
2417
+ "w": 12,
2418
+ "x": 0,
2419
+ "y": 8
2420
+ },
2421
+ "id": 83,
2422
+ "options": {
2423
+ "alertThreshold": true,
2424
+ "legend": {
2425
+ "calcs": [],
2426
+ "displayMode": "list",
2427
+ "placement": "bottom",
2428
+ "showLegend": true
2429
+ },
2430
+ "tooltip": {
2431
+ "hideZeros": false,
2432
+ "mode": "multi",
2433
+ "sort": "none"
2434
+ }
2435
+ },
2436
+ "pluginVersion": "11.6.1",
2437
+ "targets": [
2438
+ {
2439
+ "datasource": {
2440
+ "type": "prometheus",
2441
+ "uid": "${datasource}"
2442
+ },
2443
+ "expr": "sum( rate( lev_transponder_writer_firebase_deviceDataEventMsg_error_count[5m] ) )",
2444
+ "interval": "",
2445
+ "intervalFactor": 1,
2446
+ "legendFormat": "firebase error",
2447
+ "refId": "A"
2448
+ },
2449
+ {
2450
+ "datasource": {
2451
+ "type": "prometheus",
2452
+ "uid": "${datasource}"
2453
+ },
2454
+ "expr": "sum( rate( lev_transponder_writer_elasticSearch_deviceDataEventMsg_error_count[5m] ) )",
2455
+ "legendFormat": "elasticsearch error",
2456
+ "refId": "B"
2457
+ },
2458
+ {
2459
+ "datasource": {
2460
+ "type": "prometheus",
2461
+ "uid": "${datasource}"
2462
+ },
2463
+ "expr": "sum( rate( lev_transponder_writer_dataForwarding_deviceDataEventMsg_error_count[5m] ) )",
2464
+ "legendFormat": "data forwarding error",
2465
+ "refId": "C"
2466
+ },
2467
+ {
2468
+ "datasource": {
2469
+ "type": "prometheus",
2470
+ "uid": "${datasource}"
2471
+ },
2472
+ "expr": "sum( rate( lev_transponder_writer_firebase_deviceDataEventMsg_count[5m] ) )",
2473
+ "legendFormat": "firebase",
2474
+ "refId": "D"
2475
+ },
2476
+ {
2477
+ "datasource": {
2478
+ "type": "prometheus",
2479
+ "uid": "${datasource}"
2480
+ },
2481
+ "expr": "sum( rate( lev_transponder_writer_elasticSearch_deviceDataEventMsg_count[5m] ) )",
2482
+ "legendFormat": "elasticsearch",
2483
+ "refId": "E"
2484
+ },
2485
+ {
2486
+ "datasource": {
2487
+ "type": "prometheus",
2488
+ "uid": "${datasource}"
2489
+ },
2490
+ "expr": "sum( rate( lev_transponder_writer_dataForwarding_deviceDataEventMsg_count[5m] ) )",
2491
+ "legendFormat": "data forwarding",
2492
+ "refId": "F"
2493
+ }
2494
+ ],
2495
+ "title": "Data Count",
2496
+ "type": "timeseries"
2497
+ },
2498
+ {
2499
+ "datasource": {
2500
+ "type": "prometheus",
2501
+ "uid": "${datasource}"
2502
+ },
2503
+ "fieldConfig": {
2504
+ "defaults": {
2505
+ "color": {
2506
+ "mode": "palette-classic"
2507
+ },
2508
+ "custom": {
2509
+ "axisBorderShow": false,
2510
+ "axisCenteredZero": false,
2511
+ "axisColorMode": "text",
2512
+ "axisLabel": "",
2513
+ "axisPlacement": "auto",
2514
+ "barAlignment": 0,
2515
+ "barWidthFactor": 0.6,
2516
+ "drawStyle": "line",
2517
+ "fillOpacity": 10,
2518
+ "gradientMode": "none",
2519
+ "hideFrom": {
2520
+ "legend": false,
2521
+ "tooltip": false,
2522
+ "viz": false
2523
+ },
2524
+ "insertNulls": false,
2525
+ "lineInterpolation": "linear",
2526
+ "lineWidth": 1,
2527
+ "pointSize": 5,
2528
+ "scaleDistribution": {
2529
+ "type": "linear"
2530
+ },
2531
+ "showPoints": "never",
2532
+ "spanNulls": false,
2533
+ "stacking": {
2534
+ "group": "A",
2535
+ "mode": "none"
2536
+ },
2537
+ "thresholdsStyle": {
2538
+ "mode": "off"
2539
+ }
2540
+ },
2541
+ "links": [],
2542
+ "mappings": [],
2543
+ "thresholds": {
2544
+ "mode": "absolute",
2545
+ "steps": [
2546
+ {
2547
+ "color": "green"
2548
+ },
2549
+ {
2550
+ "color": "red",
2551
+ "value": 80
2552
+ }
2553
+ ]
2554
+ },
2555
+ "unit": "short"
2556
+ },
2557
+ "overrides": []
2558
+ },
2559
+ "gridPos": {
2560
+ "h": 8,
2561
+ "w": 12,
2562
+ "x": 12,
2563
+ "y": 8
2564
+ },
2565
+ "id": 84,
2566
+ "options": {
2567
+ "alertThreshold": true,
2568
+ "legend": {
2569
+ "calcs": [],
2570
+ "displayMode": "list",
2571
+ "placement": "bottom",
2572
+ "showLegend": true
2573
+ },
2574
+ "tooltip": {
2575
+ "hideZeros": false,
2576
+ "mode": "multi",
2577
+ "sort": "none"
2578
+ }
2579
+ },
2580
+ "pluginVersion": "11.6.1",
2581
+ "targets": [
2582
+ {
2583
+ "datasource": {
2584
+ "type": "prometheus",
2585
+ "uid": "${datasource}"
2586
+ },
2587
+ "expr": "sum( container_sockets ) by ( instance )",
2588
+ "legendFormat": "{{instance}}",
2589
+ "refId": "A"
2590
+ }
2591
+ ],
2592
+ "title": "Node Sockets",
2593
+ "type": "timeseries"
2594
+ },
2595
+ {
2596
+ "datasource": {
2597
+ "type": "prometheus",
2598
+ "uid": "${datasource}"
2599
+ },
2600
+ "fieldConfig": {
2601
+ "defaults": {
2602
+ "color": {
2603
+ "mode": "palette-classic"
2604
+ },
2605
+ "custom": {
2606
+ "axisBorderShow": false,
2607
+ "axisCenteredZero": false,
2608
+ "axisColorMode": "text",
2609
+ "axisLabel": "",
2610
+ "axisPlacement": "auto",
2611
+ "barAlignment": 0,
2612
+ "barWidthFactor": 0.6,
2613
+ "drawStyle": "line",
2614
+ "fillOpacity": 10,
2615
+ "gradientMode": "none",
2616
+ "hideFrom": {
2617
+ "legend": false,
2618
+ "tooltip": false,
2619
+ "viz": false
2620
+ },
2621
+ "insertNulls": false,
2622
+ "lineInterpolation": "linear",
2623
+ "lineWidth": 1,
2624
+ "pointSize": 5,
2625
+ "scaleDistribution": {
2626
+ "type": "linear"
2627
+ },
2628
+ "showPoints": "never",
2629
+ "spanNulls": false,
2630
+ "stacking": {
2631
+ "group": "A",
2632
+ "mode": "none"
2633
+ },
2634
+ "thresholdsStyle": {
2635
+ "mode": "off"
2636
+ }
2637
+ },
2638
+ "links": [],
2639
+ "mappings": [],
2640
+ "thresholds": {
2641
+ "mode": "absolute",
2642
+ "steps": [
2643
+ {
2644
+ "color": "green"
2645
+ },
2646
+ {
2647
+ "color": "red",
2648
+ "value": 80
2649
+ }
2650
+ ]
2651
+ },
2652
+ "unit": "short"
2653
+ },
2654
+ "overrides": []
2655
+ },
2656
+ "gridPos": {
2657
+ "h": 8,
2658
+ "w": 12,
2659
+ "x": 0,
2660
+ "y": 16
2661
+ },
2662
+ "id": 85,
2663
+ "options": {
2664
+ "alertThreshold": true,
2665
+ "legend": {
2666
+ "calcs": [],
2667
+ "displayMode": "list",
2668
+ "placement": "bottom",
2669
+ "showLegend": true
2670
+ },
2671
+ "tooltip": {
2672
+ "hideZeros": false,
2673
+ "mode": "multi",
2674
+ "sort": "none"
2675
+ }
2676
+ },
2677
+ "pluginVersion": "11.6.1",
2678
+ "targets": [
2679
+ {
2680
+ "datasource": {
2681
+ "type": "prometheus",
2682
+ "uid": "${datasource}"
2683
+ },
2684
+ "expr": "sum( rate( net_conntrack_dialer_conn_failed_total[5m] ) ) by ( reason )",
2685
+ "instant": false,
2686
+ "interval": "",
2687
+ "legendFormat": "{{reason}}",
2688
+ "refId": "A"
2689
+ }
2690
+ ],
2691
+ "title": "Conntrack Errors",
2692
+ "type": "timeseries"
2693
+ },
2694
+ {
2695
+ "datasource": {
2696
+ "type": "prometheus",
2697
+ "uid": "${datasource}"
2698
+ },
2699
+ "fieldConfig": {
2700
+ "defaults": {
2701
+ "color": {
2702
+ "mode": "palette-classic"
2703
+ },
2704
+ "custom": {
2705
+ "axisBorderShow": false,
2706
+ "axisCenteredZero": false,
2707
+ "axisColorMode": "text",
2708
+ "axisLabel": "",
2709
+ "axisPlacement": "auto",
2710
+ "barAlignment": 0,
2711
+ "barWidthFactor": 0.6,
2712
+ "drawStyle": "line",
2713
+ "fillOpacity": 10,
2714
+ "gradientMode": "none",
2715
+ "hideFrom": {
2716
+ "legend": false,
2717
+ "tooltip": false,
2718
+ "viz": false
2719
+ },
2720
+ "insertNulls": false,
2721
+ "lineInterpolation": "linear",
2722
+ "lineWidth": 1,
2723
+ "pointSize": 5,
2724
+ "scaleDistribution": {
2725
+ "type": "linear"
2726
+ },
2727
+ "showPoints": "never",
2728
+ "spanNulls": false,
2729
+ "stacking": {
2730
+ "group": "A",
2731
+ "mode": "none"
2732
+ },
2733
+ "thresholdsStyle": {
2734
+ "mode": "off"
2735
+ }
2736
+ },
2737
+ "links": [],
2738
+ "mappings": [],
2739
+ "thresholds": {
2740
+ "mode": "absolute",
2741
+ "steps": [
2742
+ {
2743
+ "color": "green"
2744
+ },
2745
+ {
2746
+ "color": "red",
2747
+ "value": 80
2748
+ }
2749
+ ]
2750
+ },
2751
+ "unit": "percentunit"
2752
+ },
2753
+ "overrides": []
2754
+ },
2755
+ "gridPos": {
2756
+ "h": 8,
2757
+ "w": 12,
2758
+ "x": 12,
2759
+ "y": 16
2760
+ },
2761
+ "id": 86,
2762
+ "options": {
2763
+ "alertThreshold": true,
2764
+ "legend": {
2765
+ "calcs": [],
2766
+ "displayMode": "list",
2767
+ "placement": "bottom",
2768
+ "showLegend": true
2769
+ },
2770
+ "tooltip": {
2771
+ "hideZeros": false,
2772
+ "mode": "multi",
2773
+ "sort": "none"
2774
+ }
2775
+ },
2776
+ "pluginVersion": "11.6.1",
2777
+ "targets": [
2778
+ {
2779
+ "datasource": {
2780
+ "type": "prometheus",
2781
+ "uid": "${datasource}"
2782
+ },
2783
+ "expr": "sum( rate( lev_transponder_writer_firebase_deviceDataEventMsg_error_count[5m] ) ) / ( sum( rate( lev_transponder_writer_firebase_deviceDataEventMsg_error_count[5m] ) ) + sum( rate( lev_transponder_writer_firebase_deviceDataEventMsg_count[5m] ) ) )",
2784
+ "legendFormat": "firebase",
2785
+ "refId": "A"
2786
+ },
2787
+ {
2788
+ "datasource": {
2789
+ "type": "prometheus",
2790
+ "uid": "${datasource}"
2791
+ },
2792
+ "expr": "sum( rate( lev_transponder_writer_elasticSearch_deviceDataEventMsg_error_count[5m] ) ) / ( sum( rate( lev_transponder_writer_elasticSearch_deviceDataEventMsg_error_count[5m] ) ) + sum( rate( lev_transponder_writer_elasticSearch_deviceDataEventMsg_count[5m] ) ) )",
2793
+ "legendFormat": "elasticsearch",
2794
+ "refId": "B"
2795
+ },
2796
+ {
2797
+ "datasource": {
2798
+ "type": "prometheus",
2799
+ "uid": "${datasource}"
2800
+ },
2801
+ "expr": "sum( rate( lev_transponder_writer_dataForwarding_deviceDataEventMsg_error_count[5m] ) ) / ( sum( rate( lev_transponder_writer_dataForwarding_deviceDataEventMsg_error_count[5m] ) ) + sum( rate( lev_transponder_writer_dataForwarding_deviceDataEventMsg_count[5m] ) ) )",
2802
+ "legendFormat": "data forwarding",
2803
+ "refId": "C"
2804
+ }
2805
+ ],
2806
+ "title": "Error Rate",
2807
+ "type": "timeseries"
2808
+ },
2809
+ {
2810
+ "datasource": {
2811
+ "type": "prometheus",
2812
+ "uid": "${datasource}"
2813
+ },
2814
+ "fieldConfig": {
2815
+ "defaults": {
2816
+ "color": {
2817
+ "mode": "palette-classic"
2818
+ },
2819
+ "custom": {
2820
+ "axisBorderShow": false,
2821
+ "axisCenteredZero": false,
2822
+ "axisColorMode": "text",
2823
+ "axisLabel": "",
2824
+ "axisPlacement": "auto",
2825
+ "barAlignment": 0,
2826
+ "barWidthFactor": 0.6,
2827
+ "drawStyle": "line",
2828
+ "fillOpacity": 10,
2829
+ "gradientMode": "none",
2830
+ "hideFrom": {
2831
+ "legend": false,
2832
+ "tooltip": false,
2833
+ "viz": false
2834
+ },
2835
+ "insertNulls": false,
2836
+ "lineInterpolation": "linear",
2837
+ "lineWidth": 1,
2838
+ "pointSize": 5,
2839
+ "scaleDistribution": {
2840
+ "type": "linear"
2841
+ },
2842
+ "showPoints": "never",
2843
+ "spanNulls": false,
2844
+ "stacking": {
2845
+ "group": "A",
2846
+ "mode": "none"
2847
+ },
2848
+ "thresholdsStyle": {
2849
+ "mode": "off"
2850
+ }
2851
+ },
2852
+ "links": [],
2853
+ "mappings": [],
2854
+ "thresholds": {
2855
+ "mode": "absolute",
2856
+ "steps": [
2857
+ {
2858
+ "color": "green"
2859
+ },
2860
+ {
2861
+ "color": "red",
2862
+ "value": 80
2863
+ }
2864
+ ]
2865
+ },
2866
+ "unit": "ms"
2867
+ },
2868
+ "overrides": []
2869
+ },
2870
+ "gridPos": {
2871
+ "h": 9,
2872
+ "w": 12,
2873
+ "x": 0,
2874
+ "y": 24
2875
+ },
2876
+ "id": 87,
2877
+ "options": {
2878
+ "alertThreshold": true,
2879
+ "legend": {
2880
+ "calcs": [],
2881
+ "displayMode": "list",
2882
+ "placement": "bottom",
2883
+ "showLegend": true
2884
+ },
2885
+ "tooltip": {
2886
+ "hideZeros": false,
2887
+ "mode": "multi",
2888
+ "sort": "none"
2889
+ }
2890
+ },
2891
+ "pluginVersion": "11.6.1",
2892
+ "targets": [
2893
+ {
2894
+ "datasource": {
2895
+ "type": "prometheus",
2896
+ "uid": "${datasource}"
2897
+ },
2898
+ "expr": "sum( rate( lev_transponder_writer_dataForwarding_deviceDataEventMsg_total_time[5m]) ) / sum( rate( lev_transponder_writer_dataForwarding_deviceDataEventMsg_count[5m] ) )",
2899
+ "legendFormat": "data forwarding success",
2900
+ "refId": "A"
2901
+ },
2902
+ {
2903
+ "datasource": {
2904
+ "type": "prometheus",
2905
+ "uid": "${datasource}"
2906
+ },
2907
+ "expr": "sum( rate( lev_transponder_writer_firebase_deviceDataEventMsg_total_time[5m]) ) / sum( rate( lev_transponder_writer_firebase_deviceDataEventMsg_count[5m] ) )",
2908
+ "legendFormat": "firebase success",
2909
+ "refId": "B"
2910
+ },
2911
+ {
2912
+ "datasource": {
2913
+ "type": "prometheus",
2914
+ "uid": "${datasource}"
2915
+ },
2916
+ "expr": "sum( rate( lev_transponder_writer_elasticSearch_deviceDataEventMsg_total_time[5m]) ) / sum( rate( lev_transponder_writer_elasticSearch_deviceDataEventMsg_count[5m] ) )",
2917
+ "legendFormat": "elasticsearch success",
2918
+ "refId": "C"
2919
+ },
2920
+ {
2921
+ "datasource": {
2922
+ "type": "prometheus",
2923
+ "uid": "${datasource}"
2924
+ },
2925
+ "expr": "sum( rate( lev_transponder_writer_elasticSearch_deviceDataEventMsg_error_total_time[5m]) ) / sum( rate( lev_transponder_writer_elasticSearch_deviceDataEventMsg_error_count[5m] ) )",
2926
+ "legendFormat": "elasticsearch error",
2927
+ "refId": "D"
2928
+ },
2929
+ {
2930
+ "datasource": {
2931
+ "type": "prometheus",
2932
+ "uid": "${datasource}"
2933
+ },
2934
+ "expr": "sum( rate( lev_transponder_writer_firebase_deviceDataEventMsg_error_total_time[5m]) ) / sum( rate( lev_transponder_writer_firebase_deviceDataEventMsg_error_count[5m] ) )",
2935
+ "legendFormat": "firebase error",
2936
+ "refId": "E"
2937
+ },
2938
+ {
2939
+ "datasource": {
2940
+ "type": "prometheus",
2941
+ "uid": "${datasource}"
2942
+ },
2943
+ "expr": "sum( rate( lev_transponder_writer_dataForwarding_deviceDataEventMsg_error_total_time[5m]) ) / sum( rate( lev_transponder_writer_dataForwarding_deviceDataEventMsg_error_count[5m] ) )",
2944
+ "legendFormat": "data forwarding error",
2945
+ "refId": "F"
2946
+ },
2947
+ {
2948
+ "datasource": {
2949
+ "type": "prometheus",
2950
+ "uid": "${datasource}"
2951
+ },
2952
+ "expr": "( sum( rate( lev_transponder_writer_dataForwarding_deviceDataEventMsg_total_time[5m]) ) + sum( rate( lev_transponder_writer_dataForwarding_deviceDataEventMsg_error_total_time[5m]) ) ) / ( sum( rate( lev_transponder_writer_dataForwarding_deviceDataEventMsg_count[5m] ) ) + sum( rate( lev_transponder_writer_dataForwarding_deviceDataEventMsg_error_count[5m] ) ) )",
2953
+ "legendFormat": "data forwarding combined",
2954
+ "refId": "G"
2955
+ },
2956
+ {
2957
+ "datasource": {
2958
+ "type": "prometheus",
2959
+ "uid": "${datasource}"
2960
+ },
2961
+ "expr": "( sum( rate( lev_transponder_writer_elasticSearch_deviceDataEventMsg_total_time[5m]) ) + sum( rate( lev_transponder_writer_elasticSearch_deviceDataEventMsg_error_total_time[5m]) ) ) / ( sum( rate( lev_transponder_writer_elasticSearch_deviceDataEventMsg_count[5m] ) ) + sum( rate( lev_transponder_writer_elasticSearch_deviceDataEventMsg_error_count[5m] ) ) )",
2962
+ "legendFormat": "elasticsearch combined",
2963
+ "refId": "H"
2964
+ },
2965
+ {
2966
+ "datasource": {
2967
+ "type": "prometheus",
2968
+ "uid": "${datasource}"
2969
+ },
2970
+ "expr": "( sum( rate( lev_transponder_writer_firebase_deviceDataEventMsg_total_time[5m]) ) + sum( rate( lev_transponder_writer_firebase_deviceDataEventMsg_error_total_time[5m]) ) ) / ( sum( rate( lev_transponder_writer_firebase_deviceDataEventMsg_count[5m] ) ) + sum( rate( lev_transponder_writer_firebase_deviceDataEventMsg_error_count[5m] ) ) )",
2971
+ "legendFormat": "firebase combined",
2972
+ "refId": "I"
2973
+ }
2974
+ ],
2975
+ "title": "Average Write Time",
2976
+ "type": "timeseries"
2977
+ }
2978
+ ],
2979
+ "title": "Transponder",
2980
+ "type": "row"
2981
+ },
2982
+ {
2983
+ "collapsed": true,
2984
+ "gridPos": {
2985
+ "h": 1,
2986
+ "w": 24,
2987
+ "x": 0,
2988
+ "y": 34
2989
+ },
2990
+ "id": 62,
2991
+ "panels": [
2992
+ {
2993
+ "datasource": {
2994
+ "type": "prometheus",
2995
+ "uid": "${datasource}"
2996
+ },
2997
+ "fieldConfig": {
2998
+ "defaults": {
2999
+ "color": {
3000
+ "mode": "palette-classic"
3001
+ },
3002
+ "custom": {
3003
+ "axisBorderShow": false,
3004
+ "axisCenteredZero": false,
3005
+ "axisColorMode": "text",
3006
+ "axisLabel": "",
3007
+ "axisPlacement": "auto",
3008
+ "axisSoftMin": 0,
3009
+ "barAlignment": 0,
3010
+ "barWidthFactor": 0.6,
3011
+ "drawStyle": "line",
3012
+ "fillOpacity": 10,
3013
+ "gradientMode": "none",
3014
+ "hideFrom": {
3015
+ "legend": false,
3016
+ "tooltip": false,
3017
+ "viz": false
3018
+ },
3019
+ "insertNulls": false,
3020
+ "lineInterpolation": "linear",
3021
+ "lineWidth": 1,
3022
+ "pointSize": 5,
3023
+ "scaleDistribution": {
3024
+ "type": "linear"
3025
+ },
3026
+ "showPoints": "never",
3027
+ "showValues": false,
3028
+ "spanNulls": false,
3029
+ "stacking": {
3030
+ "group": "A",
3031
+ "mode": "none"
3032
+ },
3033
+ "thresholdsStyle": {
3034
+ "mode": "area"
3035
+ }
3036
+ },
3037
+ "mappings": [],
3038
+ "thresholds": {
3039
+ "mode": "absolute",
3040
+ "steps": [
3041
+ {
3042
+ "color": "green",
3043
+ "value": 0
3044
+ },
3045
+ {
3046
+ "color": "#EAB839",
3047
+ "value": 10
3048
+ },
3049
+ {
3050
+ "color": "red",
3051
+ "value": 12
3052
+ }
3053
+ ]
3054
+ },
3055
+ "unit": "short"
3056
+ },
3057
+ "overrides": []
3058
+ },
3059
+ "gridPos": {
3060
+ "h": 8,
3061
+ "w": 8,
3062
+ "x": 0,
3063
+ "y": 58
3064
+ },
3065
+ "id": 64,
3066
+ "options": {
3067
+ "legend": {
3068
+ "calcs": [],
3069
+ "displayMode": "list",
3070
+ "placement": "bottom",
3071
+ "showLegend": true
3072
+ },
3073
+ "tooltip": {
3074
+ "hideZeros": false,
3075
+ "mode": "multi",
3076
+ "sort": "none"
3077
+ }
3078
+ },
3079
+ "pluginVersion": "12.4.3",
3080
+ "targets": [
3081
+ {
3082
+ "datasource": {
3083
+ "type": "prometheus",
3084
+ "uid": "${datasource}"
3085
+ },
3086
+ "editorMode": "code",
3087
+ "expr": "sum by(container) (\n label_replace(\n kube_replicaset_status_replicas{replicaset=~\"resource.*\"}, \n \"container\", \n \"$1\", \n \"replicaset\", \n \"^(resource-server(?:-\\\\w)?)(?:-[a-z0-9]+)$\"\n )\n)",
3088
+ "interval": "",
3089
+ "legendFormat": "{{container}}-total",
3090
+ "range": true,
3091
+ "refId": "A"
3092
+ },
3093
+ {
3094
+ "datasource": {
3095
+ "type": "prometheus",
3096
+ "uid": "${datasource}"
3097
+ },
3098
+ "editorMode": "code",
3099
+ "expr": "sum by(container) (\n label_replace(\n kube_replicaset_status_ready_replicas{replicaset=~\"resource.*\"}, \n \"container\", \n \"$1\", \n \"replicaset\", \n \"^(resource-server(?:-\\\\w)?)(?:-[a-z0-9]+)$\"\n )\n)",
3100
+ "interval": "",
3101
+ "legendFormat": "{{container}}-ready",
3102
+ "range": true,
3103
+ "refId": "B"
3104
+ }
3105
+ ],
3106
+ "title": "Resource Server Ready vs Total Pods",
3107
+ "type": "timeseries"
3108
+ },
3109
+ {
3110
+ "datasource": {
3111
+ "type": "prometheus",
3112
+ "uid": "${datasource}"
3113
+ },
3114
+ "fieldConfig": {
3115
+ "defaults": {
3116
+ "color": {
3117
+ "mode": "palette-classic"
3118
+ },
3119
+ "custom": {
3120
+ "axisBorderShow": false,
3121
+ "axisCenteredZero": false,
3122
+ "axisColorMode": "text",
3123
+ "axisLabel": "",
3124
+ "axisPlacement": "auto",
3125
+ "axisSoftMax": 11,
3126
+ "barAlignment": 0,
3127
+ "barWidthFactor": 0.6,
3128
+ "drawStyle": "line",
3129
+ "fillOpacity": 10,
3130
+ "gradientMode": "none",
3131
+ "hideFrom": {
3132
+ "legend": false,
3133
+ "tooltip": false,
3134
+ "viz": false
3135
+ },
3136
+ "insertNulls": false,
3137
+ "lineInterpolation": "linear",
3138
+ "lineWidth": 1,
3139
+ "pointSize": 5,
3140
+ "scaleDistribution": {
3141
+ "type": "linear"
3142
+ },
3143
+ "showPoints": "never",
3144
+ "showValues": false,
3145
+ "spanNulls": false,
3146
+ "stacking": {
3147
+ "group": "A",
3148
+ "mode": "none"
3149
+ },
3150
+ "thresholdsStyle": {
3151
+ "mode": "off"
3152
+ }
3153
+ },
3154
+ "mappings": [],
3155
+ "thresholds": {
3156
+ "mode": "absolute",
3157
+ "steps": [
3158
+ {
3159
+ "color": "green",
3160
+ "value": 0
3161
+ }
3162
+ ]
3163
+ },
3164
+ "unit": "short"
3165
+ },
3166
+ "overrides": []
3167
+ },
3168
+ "gridPos": {
3169
+ "h": 8,
3170
+ "w": 8,
3171
+ "x": 8,
3172
+ "y": 58
3173
+ },
3174
+ "id": 65,
3175
+ "options": {
3176
+ "legend": {
3177
+ "calcs": [],
3178
+ "displayMode": "list",
3179
+ "placement": "bottom",
3180
+ "showLegend": true
3181
+ },
3182
+ "tooltip": {
3183
+ "hideZeros": false,
3184
+ "mode": "multi",
3185
+ "sort": "none"
3186
+ }
3187
+ },
3188
+ "pluginVersion": "12.4.3",
3189
+ "targets": [
3190
+ {
3191
+ "datasource": {
3192
+ "type": "prometheus",
3193
+ "uid": "${datasource}"
3194
+ },
3195
+ "editorMode": "code",
3196
+ "exemplar": true,
3197
+ "expr": "sum by (container)( rate(container_cpu_usage_seconds_total{container=~\".*resource.*\"} [5m]) ) ",
3198
+ "interval": "",
3199
+ "legendFormat": "{{container}}",
3200
+ "range": true,
3201
+ "refId": "A"
3202
+ }
3203
+ ],
3204
+ "title": "Total Resource Server CPU",
3205
+ "transparent": true,
3206
+ "type": "timeseries"
3207
+ },
3208
+ {
3209
+ "datasource": {
3210
+ "type": "prometheus",
3211
+ "uid": "${datasource}"
3212
+ },
3213
+ "fieldConfig": {
3214
+ "defaults": {
3215
+ "color": {
3216
+ "mode": "palette-classic"
3217
+ },
3218
+ "custom": {
3219
+ "axisBorderShow": false,
3220
+ "axisCenteredZero": false,
3221
+ "axisColorMode": "text",
3222
+ "axisLabel": "",
3223
+ "axisPlacement": "auto",
3224
+ "axisSoftMax": 11,
3225
+ "barAlignment": 0,
3226
+ "barWidthFactor": 0.6,
3227
+ "drawStyle": "line",
3228
+ "fillOpacity": 10,
3229
+ "gradientMode": "none",
3230
+ "hideFrom": {
3231
+ "legend": false,
3232
+ "tooltip": false,
3233
+ "viz": false
3234
+ },
3235
+ "insertNulls": false,
3236
+ "lineInterpolation": "linear",
3237
+ "lineWidth": 1,
3238
+ "pointSize": 5,
3239
+ "scaleDistribution": {
3240
+ "type": "linear"
3241
+ },
3242
+ "showPoints": "never",
3243
+ "showValues": false,
3244
+ "spanNulls": false,
3245
+ "stacking": {
3246
+ "group": "A",
3247
+ "mode": "none"
3248
+ },
3249
+ "thresholdsStyle": {
3250
+ "mode": "off"
3251
+ }
3252
+ },
3253
+ "mappings": [],
3254
+ "thresholds": {
3255
+ "mode": "absolute",
3256
+ "steps": [
3257
+ {
3258
+ "color": "green",
3259
+ "value": 0
3260
+ }
3261
+ ]
3262
+ },
3263
+ "unit": "short"
3264
+ },
3265
+ "overrides": []
3266
+ },
3267
+ "gridPos": {
3268
+ "h": 8,
3269
+ "w": 8,
3270
+ "x": 16,
3271
+ "y": 58
3272
+ },
3273
+ "id": 66,
3274
+ "options": {
3275
+ "legend": {
3276
+ "calcs": [],
3277
+ "displayMode": "list",
3278
+ "placement": "bottom",
3279
+ "showLegend": true
3280
+ },
3281
+ "tooltip": {
3282
+ "hideZeros": false,
3283
+ "mode": "multi",
3284
+ "sort": "none"
3285
+ }
3286
+ },
3287
+ "pluginVersion": "12.4.3",
3288
+ "targets": [
3289
+ {
3290
+ "datasource": {
3291
+ "type": "prometheus",
3292
+ "uid": "${datasource}"
3293
+ },
3294
+ "editorMode": "code",
3295
+ "exemplar": true,
3296
+ "expr": "avg by(container)( rate(container_cpu_usage_seconds_total{container=~\".*resource.*\"} [5m]) ) ",
3297
+ "interval": "",
3298
+ "legendFormat": "{{container}}",
3299
+ "range": true,
3300
+ "refId": "A"
3301
+ }
3302
+ ],
3303
+ "title": "Average Resource Server CPU",
3304
+ "transparent": true,
3305
+ "type": "timeseries"
3306
+ },
3307
+ {
3308
+ "datasource": {
3309
+ "type": "prometheus",
3310
+ "uid": "${datasource}"
3311
+ },
3312
+ "fieldConfig": {
3313
+ "defaults": {
3314
+ "color": {
3315
+ "mode": "palette-classic"
3316
+ },
3317
+ "custom": {
3318
+ "axisBorderShow": false,
3319
+ "axisCenteredZero": false,
3320
+ "axisColorMode": "text",
3321
+ "axisLabel": "",
3322
+ "axisPlacement": "auto",
3323
+ "barAlignment": 0,
3324
+ "barWidthFactor": 0.6,
3325
+ "drawStyle": "line",
3326
+ "fillOpacity": 0,
3327
+ "gradientMode": "none",
3328
+ "hideFrom": {
3329
+ "legend": false,
3330
+ "tooltip": false,
3331
+ "viz": false
3332
+ },
3333
+ "insertNulls": false,
3334
+ "lineInterpolation": "linear",
3335
+ "lineWidth": 1,
3336
+ "pointSize": 5,
3337
+ "scaleDistribution": {
3338
+ "type": "linear"
3339
+ },
3340
+ "showPoints": "auto",
3341
+ "spanNulls": false,
3342
+ "stacking": {
3343
+ "group": "A",
3344
+ "mode": "none"
3345
+ },
3346
+ "thresholdsStyle": {
3347
+ "mode": "off"
3348
+ }
3349
+ },
3350
+ "mappings": [],
3351
+ "thresholds": {
3352
+ "mode": "absolute",
3353
+ "steps": [
3354
+ {
3355
+ "color": "green",
3356
+ "value": 0
3357
+ },
3358
+ {
3359
+ "color": "red",
3360
+ "value": 80
3361
+ }
3362
+ ]
3363
+ }
3364
+ },
3365
+ "overrides": []
3366
+ },
3367
+ "gridPos": {
3368
+ "h": 8,
3369
+ "w": 12,
3370
+ "x": 0,
3371
+ "y": 66
3372
+ },
3373
+ "id": 88,
3374
+ "options": {
3375
+ "legend": {
3376
+ "calcs": [],
3377
+ "displayMode": "list",
3378
+ "placement": "bottom",
3379
+ "showLegend": true
3380
+ },
3381
+ "tooltip": {
3382
+ "hideZeros": false,
3383
+ "mode": "single",
3384
+ "sort": "none"
3385
+ }
3386
+ },
3387
+ "targets": [
3388
+ {
3389
+ "datasource": {
3390
+ "type": "prometheus",
3391
+ "uid": "${datasource}"
3392
+ },
3393
+ "editorMode": "code",
3394
+ "expr": "sum( rate( resource_server_resource_controller_list_count[5m] ) )",
3395
+ "legendFormat": "list",
3396
+ "range": true,
3397
+ "refId": "A"
3398
+ },
3399
+ {
3400
+ "datasource": {
3401
+ "type": "prometheus",
3402
+ "uid": "${datasource}"
3403
+ },
3404
+ "editorMode": "code",
3405
+ "expr": "sum( rate( resource_server_resource_controller_post_list_count[5m] ) )",
3406
+ "instant": false,
3407
+ "legendFormat": "post list",
3408
+ "range": true,
3409
+ "refId": "B"
3410
+ },
3411
+ {
3412
+ "datasource": {
3413
+ "type": "prometheus",
3414
+ "uid": "${datasource}"
3415
+ },
3416
+ "editorMode": "code",
3417
+ "expr": "sum( rate( resource_server_resource_controller_create_count[5m] ) )",
3418
+ "instant": false,
3419
+ "legendFormat": "create",
3420
+ "range": true,
3421
+ "refId": "C"
3422
+ },
3423
+ {
3424
+ "datasource": {
3425
+ "type": "prometheus",
3426
+ "uid": "${datasource}"
3427
+ },
3428
+ "editorMode": "code",
3429
+ "expr": "sum( rate( resource_server_resource_controller_post_create_count[5m] ) )",
3430
+ "instant": false,
3431
+ "legendFormat": "post create",
3432
+ "range": true,
3433
+ "refId": "D"
3434
+ },
3435
+ {
3436
+ "datasource": {
3437
+ "type": "prometheus",
3438
+ "uid": "${datasource}"
3439
+ },
3440
+ "editorMode": "code",
3441
+ "expr": "sum( rate( resource_server_resource_controller_get_count[5m] ) )",
3442
+ "instant": false,
3443
+ "legendFormat": "get",
3444
+ "range": true,
3445
+ "refId": "E"
3446
+ },
3447
+ {
3448
+ "datasource": {
3449
+ "type": "prometheus",
3450
+ "uid": "${datasource}"
3451
+ },
3452
+ "editorMode": "code",
3453
+ "expr": "sum( rate( resource_server_resource_controller_post_get_count[5m] ) )",
3454
+ "instant": false,
3455
+ "legendFormat": "post get",
3456
+ "range": true,
3457
+ "refId": "F"
3458
+ },
3459
+ {
3460
+ "datasource": {
3461
+ "type": "prometheus",
3462
+ "uid": "${datasource}"
3463
+ },
3464
+ "editorMode": "code",
3465
+ "expr": "sum( rate( resource_server_resource_controller_update_count[5m] ) )",
3466
+ "instant": false,
3467
+ "legendFormat": "update",
3468
+ "range": true,
3469
+ "refId": "G"
3470
+ },
3471
+ {
3472
+ "datasource": {
3473
+ "type": "prometheus",
3474
+ "uid": "${datasource}"
3475
+ },
3476
+ "editorMode": "code",
3477
+ "expr": "sum( rate( resource_server_resource_controller_post_update_count[5m] ) )",
3478
+ "instant": false,
3479
+ "legendFormat": "post update",
3480
+ "range": true,
3481
+ "refId": "H"
3482
+ },
3483
+ {
3484
+ "datasource": {
3485
+ "type": "prometheus",
3486
+ "uid": "${datasource}"
3487
+ },
3488
+ "editorMode": "code",
3489
+ "expr": "sum( rate( resource_server_resource_controller_pre_delete_count[5m] ) )",
3490
+ "instant": false,
3491
+ "legendFormat": "pre delete",
3492
+ "range": true,
3493
+ "refId": "I"
3494
+ },
3495
+ {
3496
+ "datasource": {
3497
+ "type": "prometheus",
3498
+ "uid": "${datasource}"
3499
+ },
3500
+ "editorMode": "code",
3501
+ "expr": "sum( rate( resource_server_resource_controller_delete_count[5m] ) )",
3502
+ "instant": false,
3503
+ "legendFormat": "delete",
3504
+ "range": true,
3505
+ "refId": "J"
3506
+ },
3507
+ {
3508
+ "datasource": {
3509
+ "type": "prometheus",
3510
+ "uid": "${datasource}"
3511
+ },
3512
+ "editorMode": "code",
3513
+ "expr": "sum( rate( resource_server_resource_controller_post_delete_count[5m] ) )",
3514
+ "instant": false,
3515
+ "legendFormat": "post delete",
3516
+ "range": true,
3517
+ "refId": "K"
3518
+ },
3519
+ {
3520
+ "datasource": {
3521
+ "type": "prometheus",
3522
+ "uid": "${datasource}"
3523
+ },
3524
+ "editorMode": "code",
3525
+ "expr": "sum( rate( resource_server_resource_controller_pre_bulk_delete_count[5m] ) )",
3526
+ "instant": false,
3527
+ "legendFormat": "pre bulk delete",
3528
+ "range": true,
3529
+ "refId": "L"
3530
+ },
3531
+ {
3532
+ "datasource": {
3533
+ "type": "prometheus",
3534
+ "uid": "${datasource}"
3535
+ },
3536
+ "editorMode": "code",
3537
+ "expr": "sum( rate( resource_server_resource_controller_bulk_delete_count[5m] ) )",
3538
+ "instant": false,
3539
+ "legendFormat": "bulk delete",
3540
+ "range": true,
3541
+ "refId": "M"
3542
+ },
3543
+ {
3544
+ "datasource": {
3545
+ "type": "prometheus",
3546
+ "uid": "${datasource}"
3547
+ },
3548
+ "editorMode": "code",
3549
+ "expr": "sum( rate( resource_server_resource_controller_post_bulk_delete_count[5m] ) )",
3550
+ "instant": false,
3551
+ "legendFormat": "post bulk delete",
3552
+ "range": true,
3553
+ "refId": "N"
3554
+ }
3555
+ ],
3556
+ "title": "Operations Per Second",
3557
+ "type": "timeseries"
3558
+ },
3559
+ {
3560
+ "datasource": {
3561
+ "type": "prometheus",
3562
+ "uid": "${datasource}"
3563
+ },
3564
+ "fieldConfig": {
3565
+ "defaults": {
3566
+ "color": {
3567
+ "mode": "palette-classic"
3568
+ },
3569
+ "custom": {
3570
+ "axisBorderShow": false,
3571
+ "axisCenteredZero": false,
3572
+ "axisColorMode": "text",
3573
+ "axisLabel": "",
3574
+ "axisPlacement": "auto",
3575
+ "barAlignment": 0,
3576
+ "barWidthFactor": 0.6,
3577
+ "drawStyle": "line",
3578
+ "fillOpacity": 0,
3579
+ "gradientMode": "none",
3580
+ "hideFrom": {
3581
+ "legend": false,
3582
+ "tooltip": false,
3583
+ "viz": false
3584
+ },
3585
+ "insertNulls": false,
3586
+ "lineInterpolation": "linear",
3587
+ "lineWidth": 1,
3588
+ "pointSize": 5,
3589
+ "scaleDistribution": {
3590
+ "type": "linear"
3591
+ },
3592
+ "showPoints": "auto",
3593
+ "spanNulls": false,
3594
+ "stacking": {
3595
+ "group": "A",
3596
+ "mode": "none"
3597
+ },
3598
+ "thresholdsStyle": {
3599
+ "mode": "off"
3600
+ }
3601
+ },
3602
+ "mappings": [],
3603
+ "thresholds": {
3604
+ "mode": "absolute",
3605
+ "steps": [
3606
+ {
3607
+ "color": "green",
3608
+ "value": 0
3609
+ },
3610
+ {
3611
+ "color": "red",
3612
+ "value": 80
3613
+ }
3614
+ ]
3615
+ },
3616
+ "unit": "ms"
3617
+ },
3618
+ "overrides": []
3619
+ },
3620
+ "gridPos": {
3621
+ "h": 8,
3622
+ "w": 12,
3623
+ "x": 12,
3624
+ "y": 66
3625
+ },
3626
+ "id": 89,
3627
+ "options": {
3628
+ "legend": {
3629
+ "calcs": [],
3630
+ "displayMode": "list",
3631
+ "placement": "bottom",
3632
+ "showLegend": true
3633
+ },
3634
+ "tooltip": {
3635
+ "hideZeros": false,
3636
+ "mode": "single",
3637
+ "sort": "none"
3638
+ }
3639
+ },
3640
+ "targets": [
3641
+ {
3642
+ "datasource": {
3643
+ "type": "prometheus",
3644
+ "uid": "${datasource}"
3645
+ },
3646
+ "editorMode": "code",
3647
+ "expr": "sum( rate( resource_server_resource_controller_list_total_time[5m] ) ) / sum( rate( resource_server_resource_controller_list_count[5m] ) )",
3648
+ "legendFormat": "list",
3649
+ "range": true,
3650
+ "refId": "A"
3651
+ },
3652
+ {
3653
+ "datasource": {
3654
+ "type": "prometheus",
3655
+ "uid": "${datasource}"
3656
+ },
3657
+ "editorMode": "code",
3658
+ "expr": "sum( rate( resource_server_resource_controller_post_list_total_time[5m] ) ) / sum( rate( resource_server_resource_controller_post_list_count[5m] ) )",
3659
+ "instant": false,
3660
+ "legendFormat": "post list",
3661
+ "range": true,
3662
+ "refId": "B"
3663
+ },
3664
+ {
3665
+ "datasource": {
3666
+ "type": "prometheus",
3667
+ "uid": "${datasource}"
3668
+ },
3669
+ "editorMode": "code",
3670
+ "expr": "sum( rate( resource_server_resource_controller_create_total_time[5m] ) ) / sum( rate( resource_server_resource_controller_create_count[5m] ) )",
3671
+ "instant": false,
3672
+ "legendFormat": "create",
3673
+ "range": true,
3674
+ "refId": "C"
3675
+ },
3676
+ {
3677
+ "datasource": {
3678
+ "type": "prometheus",
3679
+ "uid": "${datasource}"
3680
+ },
3681
+ "editorMode": "code",
3682
+ "expr": "sum( rate( resource_server_resource_controller_post_create_total_time[5m] ) ) / sum( rate( resource_server_resource_controller_post_create_count[5m] ) )",
3683
+ "instant": false,
3684
+ "legendFormat": "post create",
3685
+ "range": true,
3686
+ "refId": "D"
3687
+ },
3688
+ {
3689
+ "datasource": {
3690
+ "type": "prometheus",
3691
+ "uid": "${datasource}"
3692
+ },
3693
+ "editorMode": "code",
3694
+ "expr": "sum( rate( resource_server_resource_controller_get_total_time[5m] ) ) / sum( rate( resource_server_resource_controller_get_count[5m] ) )",
3695
+ "instant": false,
3696
+ "legendFormat": "get",
3697
+ "range": true,
3698
+ "refId": "E"
3699
+ },
3700
+ {
3701
+ "datasource": {
3702
+ "type": "prometheus",
3703
+ "uid": "${datasource}"
3704
+ },
3705
+ "editorMode": "code",
3706
+ "expr": "sum( rate( resource_server_resource_controller_post_get_total_time[5m] ) ) / sum( rate( resource_server_resource_controller_post_get_count[5m] ) )",
3707
+ "instant": false,
3708
+ "legendFormat": "post get",
3709
+ "range": true,
3710
+ "refId": "F"
3711
+ },
3712
+ {
3713
+ "datasource": {
3714
+ "type": "prometheus",
3715
+ "uid": "${datasource}"
3716
+ },
3717
+ "editorMode": "code",
3718
+ "expr": "sum( rate( resource_server_resource_controller_update_total_time[5m] ) ) / sum( rate( resource_server_resource_controller_update_count[5m] ) )",
3719
+ "instant": false,
3720
+ "legendFormat": "update",
3721
+ "range": true,
3722
+ "refId": "G"
3723
+ },
3724
+ {
3725
+ "datasource": {
3726
+ "type": "prometheus",
3727
+ "uid": "${datasource}"
3728
+ },
3729
+ "editorMode": "code",
3730
+ "expr": "sum( rate( resource_server_resource_controller_post_update_total_time[5m] ) ) / sum( rate( resource_server_resource_controller_post_update_count[5m] ) )",
3731
+ "instant": false,
3732
+ "legendFormat": "post update",
3733
+ "range": true,
3734
+ "refId": "H"
3735
+ },
3736
+ {
3737
+ "datasource": {
3738
+ "type": "prometheus",
3739
+ "uid": "${datasource}"
3740
+ },
3741
+ "editorMode": "code",
3742
+ "expr": "sum( rate( resource_server_resource_controller_pre_delete_total_time[5m] ) ) / sum( rate( resource_server_resource_controller_pre_delete_count[5m] ) )",
3743
+ "instant": false,
3744
+ "legendFormat": "pre delete",
3745
+ "range": true,
3746
+ "refId": "I"
3747
+ },
3748
+ {
3749
+ "datasource": {
3750
+ "type": "prometheus",
3751
+ "uid": "${datasource}"
3752
+ },
3753
+ "editorMode": "code",
3754
+ "expr": "sum( rate( resource_server_resource_controller_delete_total_time[5m] ) ) / sum( rate( resource_server_resource_controller_delete_count[5m] ) )",
3755
+ "instant": false,
3756
+ "legendFormat": "delete",
3757
+ "range": true,
3758
+ "refId": "J"
3759
+ },
3760
+ {
3761
+ "datasource": {
3762
+ "type": "prometheus",
3763
+ "uid": "${datasource}"
3764
+ },
3765
+ "editorMode": "code",
3766
+ "expr": "sum( rate( resource_server_resource_controller_post_delete_total_time[5m] ) ) / sum( rate( resource_server_resource_controller_post_delete_count[5m] ) )",
3767
+ "instant": false,
3768
+ "legendFormat": "post delete",
3769
+ "range": true,
3770
+ "refId": "K"
3771
+ },
3772
+ {
3773
+ "datasource": {
3774
+ "type": "prometheus",
3775
+ "uid": "${datasource}"
3776
+ },
3777
+ "editorMode": "code",
3778
+ "expr": "sum( rate( resource_server_resource_controller_pre_bulk_delete_total_time[5m] ) ) / sum( rate( resource_server_resource_controller_pre_bulk_delete_count[5m] ) )",
3779
+ "instant": false,
3780
+ "legendFormat": "pre bulk delete",
3781
+ "range": true,
3782
+ "refId": "L"
3783
+ },
3784
+ {
3785
+ "datasource": {
3786
+ "type": "prometheus",
3787
+ "uid": "${datasource}"
3788
+ },
3789
+ "editorMode": "code",
3790
+ "expr": "sum( rate( resource_server_resource_controller_bulk_delete_total_time[5m] ) ) / sum( rate( resource_server_resource_controller_bulk_delete_count[5m] ) )",
3791
+ "instant": false,
3792
+ "legendFormat": "bulk delete",
3793
+ "range": true,
3794
+ "refId": "M"
3795
+ },
3796
+ {
3797
+ "datasource": {
3798
+ "type": "prometheus",
3799
+ "uid": "${datasource}"
3800
+ },
3801
+ "editorMode": "code",
3802
+ "expr": "sum( rate( resource_server_resource_controller_post_bulk_delete_total_time[5m] ) ) / sum( rate( resource_server_resource_controller_post_bulk_delete_count[5m] ) )",
3803
+ "instant": false,
3804
+ "legendFormat": "post bulk delete",
3805
+ "range": true,
3806
+ "refId": "N"
3807
+ }
3808
+ ],
3809
+ "title": "Operation Average Time (ms)",
3810
+ "type": "timeseries"
3811
+ }
3812
+ ],
3813
+ "title": "Resource Server",
3814
+ "type": "row"
3815
+ },
3816
+ {
3817
+ "collapsed": true,
3818
+ "gridPos": {
3819
+ "h": 1,
3820
+ "w": 24,
3821
+ "x": 0,
3822
+ "y": 35
3823
+ },
3824
+ "id": 56,
3825
+ "panels": [
3826
+ {
3827
+ "datasource": {
3828
+ "type": "prometheus",
3829
+ "uid": "${datasource}"
3830
+ },
3831
+ "fieldConfig": {
3832
+ "defaults": {
3833
+ "color": {
3834
+ "mode": "palette-classic"
3835
+ },
3836
+ "custom": {
3837
+ "axisBorderShow": false,
3838
+ "axisCenteredZero": false,
3839
+ "axisColorMode": "text",
3840
+ "axisLabel": "",
3841
+ "axisPlacement": "auto",
3842
+ "barAlignment": 0,
3843
+ "barWidthFactor": 0.6,
3844
+ "drawStyle": "line",
3845
+ "fillOpacity": 0,
3846
+ "gradientMode": "none",
3847
+ "hideFrom": {
3848
+ "legend": false,
3849
+ "tooltip": false,
3850
+ "viz": false
3851
+ },
3852
+ "insertNulls": false,
3853
+ "lineInterpolation": "linear",
3854
+ "lineWidth": 1,
3855
+ "pointSize": 5,
3856
+ "scaleDistribution": {
3857
+ "type": "linear"
3858
+ },
3859
+ "showPoints": "auto",
3860
+ "showValues": false,
3861
+ "spanNulls": false,
3862
+ "stacking": {
3863
+ "group": "A",
3864
+ "mode": "none"
3865
+ },
3866
+ "thresholdsStyle": {
3867
+ "mode": "off"
3868
+ }
3869
+ },
3870
+ "mappings": [],
3871
+ "thresholds": {
3872
+ "mode": "absolute",
3873
+ "steps": [
3874
+ {
3875
+ "color": "green",
3876
+ "value": 0
3877
+ },
3878
+ {
3879
+ "color": "red",
3880
+ "value": 80
3881
+ }
3882
+ ]
3883
+ }
3884
+ },
3885
+ "overrides": []
3886
+ },
3887
+ "gridPos": {
3888
+ "h": 8,
3889
+ "w": 17,
3890
+ "x": 0,
3891
+ "y": 59
3892
+ },
3893
+ "id": 45,
3894
+ "options": {
3895
+ "legend": {
3896
+ "calcs": [],
3897
+ "displayMode": "list",
3898
+ "placement": "bottom",
3899
+ "showLegend": true
3900
+ },
3901
+ "tooltip": {
3902
+ "hideZeros": false,
3903
+ "mode": "multi",
3904
+ "sort": "desc"
3905
+ }
3906
+ },
3907
+ "pluginVersion": "12.4.3",
3908
+ "targets": [
3909
+ {
3910
+ "datasource": {
3911
+ "type": "prometheus",
3912
+ "uid": "${datasource}"
3913
+ },
3914
+ "editorMode": "code",
3915
+ "expr": "stackdriver_pubsub_subscription_pubsub_googleapis_com_subscription_num_undelivered_messages{subscription_id!~\"gcr-.*\"} > 10",
3916
+ "instant": false,
3917
+ "legendFormat": "{{subscription_id}}",
3918
+ "range": true,
3919
+ "refId": "A"
3920
+ }
3921
+ ],
3922
+ "title": "Undelivered Pub/Sub",
3923
+ "type": "timeseries"
3924
+ },
3925
+ {
3926
+ "datasource": {
3927
+ "type": "prometheus",
3928
+ "uid": "${datasource}"
3929
+ },
3930
+ "fieldConfig": {
3931
+ "defaults": {
3932
+ "color": {
3933
+ "mode": "thresholds"
3934
+ },
3935
+ "displayName": "${__series.name}",
3936
+ "fieldMinMax": false,
3937
+ "mappings": [],
3938
+ "max": 2000,
3939
+ "min": 0,
3940
+ "thresholds": {
3941
+ "mode": "absolute",
3942
+ "steps": [
3943
+ {
3944
+ "color": "green",
3945
+ "value": 0
3946
+ },
3947
+ {
3948
+ "color": "#EAB839",
3949
+ "value": 600
3950
+ },
3951
+ {
3952
+ "color": "red",
3953
+ "value": 1800
3954
+ }
3955
+ ]
3956
+ },
3957
+ "unit": "s"
3958
+ },
3959
+ "overrides": []
3960
+ },
3961
+ "gridPos": {
3962
+ "h": 11,
3963
+ "w": 7,
3964
+ "x": 17,
3965
+ "y": 59
3966
+ },
3967
+ "id": 50,
3968
+ "interval": "1m",
3969
+ "options": {
3970
+ "minVizHeight": 75,
3971
+ "minVizWidth": 75,
3972
+ "orientation": "auto",
3973
+ "reduceOptions": {
3974
+ "calcs": [
3975
+ "lastNotNull"
3976
+ ],
3977
+ "fields": "/.*/",
3978
+ "values": false
3979
+ },
3980
+ "showThresholdLabels": false,
3981
+ "showThresholdMarkers": true,
3982
+ "sizing": "auto",
3983
+ "text": {}
3984
+ },
3985
+ "pluginVersion": "12.4.3",
3986
+ "targets": [
3987
+ {
3988
+ "datasource": {
3989
+ "type": "prometheus",
3990
+ "uid": "${datasource}"
3991
+ },
3992
+ "editorMode": "code",
3993
+ "exemplar": false,
3994
+ "expr": "stackdriver_pubsub_subscription_pubsub_googleapis_com_subscription_oldest_unacked_message_age{subscription_id!~\"gcr-.*\"} > 100",
3995
+ "format": "time_series",
3996
+ "instant": true,
3997
+ "interval": "",
3998
+ "legendFormat": "{{subscription_id}}",
3999
+ "range": false,
4000
+ "refId": "A"
4001
+ }
4002
+ ],
4003
+ "title": "Long Unacked Message Times",
4004
+ "transformations": [
4005
+ {
4006
+ "id": "filterFieldsByName",
4007
+ "options": {
4008
+ "include": {
4009
+ "names": [
4010
+ "rule-engine-default-processor"
4011
+ ]
4012
+ }
4013
+ }
4014
+ }
4015
+ ],
4016
+ "transparent": true,
4017
+ "type": "gauge"
4018
+ },
4019
+ {
4020
+ "datasource": {
4021
+ "type": "prometheus",
4022
+ "uid": "${datasource}"
4023
+ },
4024
+ "fieldConfig": {
4025
+ "defaults": {
4026
+ "color": {
4027
+ "mode": "palette-classic"
4028
+ },
4029
+ "custom": {
4030
+ "axisBorderShow": false,
4031
+ "axisCenteredZero": false,
4032
+ "axisColorMode": "text",
4033
+ "axisLabel": "",
4034
+ "axisPlacement": "auto",
4035
+ "barAlignment": 0,
4036
+ "barWidthFactor": 0.6,
4037
+ "drawStyle": "line",
4038
+ "fillOpacity": 0,
4039
+ "gradientMode": "none",
4040
+ "hideFrom": {
4041
+ "legend": false,
4042
+ "tooltip": false,
4043
+ "viz": false
4044
+ },
4045
+ "insertNulls": false,
4046
+ "lineInterpolation": "linear",
4047
+ "lineWidth": 1,
4048
+ "pointSize": 5,
4049
+ "scaleDistribution": {
4050
+ "type": "linear"
4051
+ },
4052
+ "showPoints": "auto",
4053
+ "showValues": false,
4054
+ "spanNulls": false,
4055
+ "stacking": {
4056
+ "group": "A",
4057
+ "mode": "none"
4058
+ },
4059
+ "thresholdsStyle": {
4060
+ "mode": "off"
4061
+ }
4062
+ },
4063
+ "mappings": [],
4064
+ "thresholds": {
4065
+ "mode": "absolute",
4066
+ "steps": [
4067
+ {
4068
+ "color": "green",
4069
+ "value": 0
4070
+ },
4071
+ {
4072
+ "color": "red",
4073
+ "value": 80
4074
+ }
4075
+ ]
4076
+ },
4077
+ "unit": "s"
4078
+ },
4079
+ "overrides": []
4080
+ },
4081
+ "gridPos": {
4082
+ "h": 7,
4083
+ "w": 17,
4084
+ "x": 0,
4085
+ "y": 67
4086
+ },
4087
+ "id": 49,
4088
+ "options": {
4089
+ "legend": {
4090
+ "calcs": [],
4091
+ "displayMode": "list",
4092
+ "placement": "bottom",
4093
+ "showLegend": true
4094
+ },
4095
+ "tooltip": {
4096
+ "hideZeros": false,
4097
+ "mode": "multi",
4098
+ "sort": "desc"
4099
+ }
4100
+ },
4101
+ "pluginVersion": "12.4.3",
4102
+ "targets": [
4103
+ {
4104
+ "datasource": {
4105
+ "type": "prometheus",
4106
+ "uid": "${datasource}"
4107
+ },
4108
+ "editorMode": "code",
4109
+ "expr": "stackdriver_pubsub_subscription_pubsub_googleapis_com_subscription_oldest_unacked_message_age{subscription_id!~\"gcr-.*\"} > 100",
4110
+ "instant": false,
4111
+ "legendFormat": "{{subscription_id}}",
4112
+ "range": true,
4113
+ "refId": "A"
4114
+ }
4115
+ ],
4116
+ "title": "Oldest Unacked Pub/Sub Message",
4117
+ "type": "timeseries"
4118
+ },
4119
+ {
4120
+ "datasource": {
4121
+ "type": "prometheus",
4122
+ "uid": "${datasource}"
4123
+ },
4124
+ "fieldConfig": {
4125
+ "defaults": {
4126
+ "color": {
4127
+ "mode": "palette-classic"
4128
+ },
4129
+ "custom": {
4130
+ "axisBorderShow": false,
4131
+ "axisCenteredZero": false,
4132
+ "axisColorMode": "text",
4133
+ "axisLabel": "",
4134
+ "axisPlacement": "auto",
4135
+ "barAlignment": 0,
4136
+ "barWidthFactor": 0.6,
4137
+ "drawStyle": "line",
4138
+ "fillOpacity": 10,
4139
+ "gradientMode": "none",
4140
+ "hideFrom": {
4141
+ "legend": false,
4142
+ "tooltip": false,
4143
+ "viz": false
4144
+ },
4145
+ "insertNulls": false,
4146
+ "lineInterpolation": "linear",
4147
+ "lineWidth": 1,
4148
+ "pointSize": 5,
4149
+ "scaleDistribution": {
4150
+ "type": "linear"
4151
+ },
4152
+ "showPoints": "never",
4153
+ "showValues": false,
4154
+ "spanNulls": false,
4155
+ "stacking": {
4156
+ "group": "A",
4157
+ "mode": "none"
4158
+ },
4159
+ "thresholdsStyle": {
4160
+ "mode": "off"
4161
+ }
4162
+ },
4163
+ "mappings": [],
4164
+ "thresholds": {
4165
+ "mode": "absolute",
4166
+ "steps": [
4167
+ {
4168
+ "color": "green",
4169
+ "value": 0
4170
+ },
4171
+ {
4172
+ "color": "red",
4173
+ "value": 80
4174
+ }
4175
+ ]
4176
+ },
4177
+ "unit": "short"
4178
+ },
4179
+ "overrides": []
4180
+ },
4181
+ "gridPos": {
4182
+ "h": 9,
4183
+ "w": 24,
4184
+ "x": 0,
4185
+ "y": 74
4186
+ },
4187
+ "id": 10,
4188
+ "options": {
4189
+ "legend": {
4190
+ "calcs": [],
4191
+ "displayMode": "list",
4192
+ "placement": "bottom",
4193
+ "showLegend": true
4194
+ },
4195
+ "tooltip": {
4196
+ "hideZeros": false,
4197
+ "mode": "multi",
4198
+ "sort": "none"
4199
+ }
4200
+ },
4201
+ "pluginVersion": "12.4.3",
4202
+ "targets": [
4203
+ {
4204
+ "datasource": {
4205
+ "type": "prometheus",
4206
+ "uid": "${datasource}"
4207
+ },
4208
+ "expr": "sum( rate( lev_transponder_writer_firebase_deviceDataEventMsg_error_count[5m] ) )",
4209
+ "interval": "",
4210
+ "legendFormat": "firebase error",
4211
+ "refId": "C"
4212
+ },
4213
+ {
4214
+ "datasource": {
4215
+ "type": "prometheus",
4216
+ "uid": "${datasource}"
4217
+ },
4218
+ "expr": "sum( rate( lev_transponder_writer_elasticSearch_deviceDataEventMsg_error_count[5m] ) )",
4219
+ "interval": "",
4220
+ "legendFormat": "elasticsearch error",
4221
+ "refId": "D"
4222
+ },
4223
+ {
4224
+ "datasource": {
4225
+ "type": "prometheus",
4226
+ "uid": "${datasource}"
4227
+ },
4228
+ "expr": "sum( rate( lev_transponder_writer_dataForwarding_deviceDataEventMsg_error_count[5m] ) )",
4229
+ "interval": "",
4230
+ "legendFormat": "data forwarding error",
4231
+ "refId": "E"
4232
+ },
4233
+ {
4234
+ "datasource": {
4235
+ "type": "prometheus",
4236
+ "uid": "${datasource}"
4237
+ },
4238
+ "expr": "sum( rate( lev_transponder_writer_firebase_deviceDataEventMsg_count[5m] ) )",
4239
+ "interval": "",
4240
+ "legendFormat": "firebase",
4241
+ "refId": "F"
4242
+ },
4243
+ {
4244
+ "datasource": {
4245
+ "type": "prometheus",
4246
+ "uid": "${datasource}"
4247
+ },
4248
+ "expr": "sum( rate( lev_transponder_writer_elasticSearch_deviceDataEventMsg_count[5m] ) )",
4249
+ "interval": "",
4250
+ "legendFormat": "elasticsearch",
4251
+ "refId": "A"
4252
+ },
4253
+ {
4254
+ "datasource": {
4255
+ "type": "prometheus",
4256
+ "uid": "${datasource}"
4257
+ },
4258
+ "expr": "sum( rate( lev_transponder_writer_dataForwarding_deviceDataEventMsg_count[5m] ) )",
4259
+ "interval": "",
4260
+ "legendFormat": "data forwarding",
4261
+ "refId": "B"
4262
+ }
4263
+ ],
4264
+ "title": "Data Count",
4265
+ "type": "timeseries"
4266
+ }
4267
+ ],
4268
+ "title": "PubSub + Data",
4269
+ "type": "row"
4270
+ },
4271
+ {
4272
+ "collapsed": true,
4273
+ "gridPos": {
4274
+ "h": 1,
4275
+ "w": 24,
4276
+ "x": 0,
4277
+ "y": 36
4278
+ },
4279
+ "id": 44,
4280
+ "panels": [
4281
+ {
4282
+ "datasource": {
4283
+ "type": "prometheus",
4284
+ "uid": "${datasource}"
4285
+ },
4286
+ "fieldConfig": {
4287
+ "defaults": {
4288
+ "color": {
4289
+ "mode": "palette-classic"
4290
+ },
4291
+ "custom": {
4292
+ "axisBorderShow": false,
4293
+ "axisCenteredZero": false,
4294
+ "axisColorMode": "text",
4295
+ "axisLabel": "",
4296
+ "axisPlacement": "auto",
4297
+ "barAlignment": 0,
4298
+ "barWidthFactor": 0.6,
4299
+ "drawStyle": "line",
4300
+ "fillOpacity": 10,
4301
+ "gradientMode": "none",
4302
+ "hideFrom": {
4303
+ "legend": false,
4304
+ "tooltip": false,
4305
+ "viz": false
4306
+ },
4307
+ "insertNulls": false,
4308
+ "lineInterpolation": "linear",
4309
+ "lineWidth": 1,
4310
+ "pointSize": 5,
4311
+ "scaleDistribution": {
4312
+ "type": "linear"
4313
+ },
4314
+ "showPoints": "never",
4315
+ "spanNulls": false,
4316
+ "stacking": {
4317
+ "group": "A",
4318
+ "mode": "none"
4319
+ },
4320
+ "thresholdsStyle": {
4321
+ "mode": "off"
4322
+ }
4323
+ },
4324
+ "mappings": [],
4325
+ "thresholds": {
4326
+ "mode": "absolute",
4327
+ "steps": [
4328
+ {
4329
+ "color": "green"
4330
+ },
4331
+ {
4332
+ "color": "red",
4333
+ "value": 80
4334
+ }
4335
+ ]
4336
+ },
4337
+ "unit": "short"
4338
+ },
4339
+ "overrides": []
4340
+ },
4341
+ "gridPos": {
4342
+ "h": 8,
4343
+ "w": 12,
4344
+ "x": 0,
4345
+ "y": 908
4346
+ },
4347
+ "id": 20,
4348
+ "options": {
4349
+ "legend": {
4350
+ "calcs": [],
4351
+ "displayMode": "list",
4352
+ "placement": "bottom",
4353
+ "showLegend": true
4354
+ },
4355
+ "tooltip": {
4356
+ "mode": "multi",
4357
+ "sort": "none"
4358
+ }
4359
+ },
4360
+ "pluginVersion": "10.0.3",
4361
+ "targets": [
4362
+ {
4363
+ "datasource": {
4364
+ "type": "prometheus",
4365
+ "uid": "${datasource}"
4366
+ },
4367
+ "expr": "sum( container_sockets{pod=~\"authz-server.*\"} )",
4368
+ "interval": "",
4369
+ "legendFormat": "sockets",
4370
+ "refId": "A"
4371
+ },
4372
+ {
4373
+ "datasource": {
4374
+ "type": "prometheus",
4375
+ "uid": "${datasource}"
4376
+ },
4377
+ "expr": "kube_deployment_status_replicas{deployment=\"authz-server\"} * 50",
4378
+ "interval": "",
4379
+ "legendFormat": "pods * 50",
4380
+ "refId": "B"
4381
+ }
4382
+ ],
4383
+ "title": "Authz Server Pod Sockets",
4384
+ "type": "timeseries"
4385
+ },
4386
+ {
4387
+ "datasource": {
4388
+ "type": "prometheus",
4389
+ "uid": "${datasource}"
4390
+ },
4391
+ "fieldConfig": {
4392
+ "defaults": {
4393
+ "color": {
4394
+ "mode": "palette-classic"
4395
+ },
4396
+ "custom": {
4397
+ "axisBorderShow": false,
4398
+ "axisCenteredZero": false,
4399
+ "axisColorMode": "text",
4400
+ "axisLabel": "",
4401
+ "axisPlacement": "auto",
4402
+ "barAlignment": 0,
4403
+ "barWidthFactor": 0.6,
4404
+ "drawStyle": "line",
4405
+ "fillOpacity": 10,
4406
+ "gradientMode": "none",
4407
+ "hideFrom": {
4408
+ "legend": false,
4409
+ "tooltip": false,
4410
+ "viz": false
4411
+ },
4412
+ "insertNulls": false,
4413
+ "lineInterpolation": "linear",
4414
+ "lineWidth": 1,
4415
+ "pointSize": 5,
4416
+ "scaleDistribution": {
4417
+ "type": "linear"
4418
+ },
4419
+ "showPoints": "never",
4420
+ "spanNulls": false,
4421
+ "stacking": {
4422
+ "group": "A",
4423
+ "mode": "none"
4424
+ },
4425
+ "thresholdsStyle": {
4426
+ "mode": "off"
4427
+ }
4428
+ },
4429
+ "mappings": [],
4430
+ "thresholds": {
4431
+ "mode": "absolute",
4432
+ "steps": [
4433
+ {
4434
+ "color": "green"
4435
+ },
4436
+ {
4437
+ "color": "red",
4438
+ "value": 80
4439
+ }
4440
+ ]
4441
+ },
4442
+ "unit": "short"
4443
+ },
4444
+ "overrides": []
4445
+ },
4446
+ "gridPos": {
4447
+ "h": 8,
4448
+ "w": 12,
4449
+ "x": 12,
4450
+ "y": 908
4451
+ },
4452
+ "id": 4,
4453
+ "options": {
4454
+ "legend": {
4455
+ "calcs": [],
4456
+ "displayMode": "list",
4457
+ "placement": "bottom",
4458
+ "showLegend": true
4459
+ },
4460
+ "tooltip": {
4461
+ "mode": "multi",
4462
+ "sort": "none"
4463
+ }
4464
+ },
4465
+ "pluginVersion": "10.0.3",
4466
+ "targets": [
4467
+ {
4468
+ "datasource": {
4469
+ "type": "prometheus",
4470
+ "uid": "${datasource}"
4471
+ },
4472
+ "expr": "sum( container_sockets{pod=~\"api-server.*\"} )",
4473
+ "interval": "",
4474
+ "legendFormat": "sum of all pod sockets",
4475
+ "refId": "A"
4476
+ },
4477
+ {
4478
+ "datasource": {
4479
+ "type": "prometheus",
4480
+ "uid": "${datasource}"
4481
+ },
4482
+ "editorMode": "code",
4483
+ "expr": "kube_deployment_status_replicas{deployment=\"api-server\"} * 50",
4484
+ "interval": "",
4485
+ "legendFormat": "pods count * 50",
4486
+ "range": true,
4487
+ "refId": "B"
4488
+ },
4489
+ {
4490
+ "datasource": {
4491
+ "type": "prometheus",
4492
+ "uid": "${datasource}"
4493
+ },
4494
+ "editorMode": "code",
4495
+ "expr": "container_sockets{pod=~\"api-server.*\"} > 0",
4496
+ "interval": "",
4497
+ "legendFormat": "{{pod}}",
4498
+ "range": true,
4499
+ "refId": "C"
4500
+ }
4501
+ ],
4502
+ "title": "API Server Pod Sockets",
4503
+ "type": "timeseries"
4504
+ },
4505
+ {
4506
+ "datasource": {
4507
+ "type": "prometheus",
4508
+ "uid": "${datasource}"
4509
+ },
4510
+ "fieldConfig": {
4511
+ "defaults": {
4512
+ "color": {
4513
+ "mode": "palette-classic"
4514
+ },
4515
+ "custom": {
4516
+ "axisBorderShow": false,
4517
+ "axisCenteredZero": false,
4518
+ "axisColorMode": "text",
4519
+ "axisLabel": "",
4520
+ "axisPlacement": "auto",
4521
+ "barAlignment": 0,
4522
+ "barWidthFactor": 0.6,
4523
+ "drawStyle": "line",
4524
+ "fillOpacity": 10,
4525
+ "gradientMode": "none",
4526
+ "hideFrom": {
4527
+ "legend": false,
4528
+ "tooltip": false,
4529
+ "viz": false
4530
+ },
4531
+ "insertNulls": false,
4532
+ "lineInterpolation": "linear",
4533
+ "lineWidth": 1,
4534
+ "pointSize": 5,
4535
+ "scaleDistribution": {
4536
+ "type": "linear"
4537
+ },
4538
+ "showPoints": "never",
4539
+ "spanNulls": false,
4540
+ "stacking": {
4541
+ "group": "A",
4542
+ "mode": "none"
4543
+ },
4544
+ "thresholdsStyle": {
4545
+ "mode": "off"
4546
+ }
4547
+ },
4548
+ "mappings": [],
4549
+ "thresholds": {
4550
+ "mode": "absolute",
4551
+ "steps": [
4552
+ {
4553
+ "color": "green"
4554
+ },
4555
+ {
4556
+ "color": "red",
4557
+ "value": 80
4558
+ }
4559
+ ]
4560
+ },
4561
+ "unit": "short"
4562
+ },
4563
+ "overrides": []
4564
+ },
4565
+ "gridPos": {
4566
+ "h": 8,
4567
+ "w": 12,
4568
+ "x": 0,
4569
+ "y": 916
4570
+ },
4571
+ "id": 8,
4572
+ "options": {
4573
+ "legend": {
4574
+ "calcs": [],
4575
+ "displayMode": "list",
4576
+ "placement": "bottom",
4577
+ "showLegend": true
4578
+ },
4579
+ "tooltip": {
4580
+ "mode": "multi",
4581
+ "sort": "none"
4582
+ }
4583
+ },
4584
+ "pluginVersion": "10.0.3",
4585
+ "targets": [
4586
+ {
4587
+ "datasource": {
4588
+ "type": "prometheus",
4589
+ "uid": "${datasource}"
4590
+ },
4591
+ "expr": "sum( rate( net_conntrack_dialer_conn_failed_total[5m] ) ) by ( reason )",
4592
+ "interval": "",
4593
+ "legendFormat": "",
4594
+ "refId": "A"
4595
+ }
4596
+ ],
4597
+ "title": "Conntrack Errors By Reason",
4598
+ "type": "timeseries"
4599
+ },
4600
+ {
4601
+ "datasource": {
4602
+ "type": "prometheus",
4603
+ "uid": "${datasource}"
4604
+ },
4605
+ "fieldConfig": {
4606
+ "defaults": {
4607
+ "color": {
4608
+ "mode": "palette-classic"
4609
+ },
4610
+ "custom": {
4611
+ "axisBorderShow": false,
4612
+ "axisCenteredZero": false,
4613
+ "axisColorMode": "text",
4614
+ "axisLabel": "",
4615
+ "axisPlacement": "auto",
4616
+ "barAlignment": 0,
4617
+ "barWidthFactor": 0.6,
4618
+ "drawStyle": "line",
4619
+ "fillOpacity": 10,
4620
+ "gradientMode": "none",
4621
+ "hideFrom": {
4622
+ "legend": false,
4623
+ "tooltip": false,
4624
+ "viz": false
4625
+ },
4626
+ "insertNulls": false,
4627
+ "lineInterpolation": "linear",
4628
+ "lineWidth": 1,
4629
+ "pointSize": 5,
4630
+ "scaleDistribution": {
4631
+ "type": "linear"
4632
+ },
4633
+ "showPoints": "never",
4634
+ "spanNulls": false,
4635
+ "stacking": {
4636
+ "group": "A",
4637
+ "mode": "none"
4638
+ },
4639
+ "thresholdsStyle": {
4640
+ "mode": "off"
4641
+ }
4642
+ },
4643
+ "mappings": [],
4644
+ "thresholds": {
4645
+ "mode": "absolute",
4646
+ "steps": [
4647
+ {
4648
+ "color": "green"
4649
+ },
4650
+ {
4651
+ "color": "red",
4652
+ "value": 80
4653
+ }
4654
+ ]
4655
+ },
4656
+ "unit": "short"
4657
+ },
4658
+ "overrides": []
4659
+ },
4660
+ "gridPos": {
4661
+ "h": 8,
4662
+ "w": 12,
4663
+ "x": 12,
4664
+ "y": 916
4665
+ },
4666
+ "id": 34,
4667
+ "options": {
4668
+ "legend": {
4669
+ "calcs": [],
4670
+ "displayMode": "list",
4671
+ "placement": "bottom",
4672
+ "showLegend": true
4673
+ },
4674
+ "tooltip": {
4675
+ "mode": "multi",
4676
+ "sort": "none"
4677
+ }
4678
+ },
4679
+ "pluginVersion": "10.0.3",
4680
+ "targets": [
4681
+ {
4682
+ "datasource": {
4683
+ "type": "prometheus",
4684
+ "uid": "${datasource}"
4685
+ },
4686
+ "editorMode": "code",
4687
+ "expr": "sum( container_sockets{pod=~\"recovr-server.*\"} )",
4688
+ "interval": "",
4689
+ "legendFormat": "sum of all pod sockets",
4690
+ "range": true,
4691
+ "refId": "A"
4692
+ },
4693
+ {
4694
+ "datasource": {
4695
+ "type": "prometheus",
4696
+ "uid": "${datasource}"
4697
+ },
4698
+ "editorMode": "code",
4699
+ "expr": "kube_deployment_status_replicas{deployment=\"recovr-server\"} * 50",
4700
+ "interval": "",
4701
+ "legendFormat": "pods count * 50",
4702
+ "range": true,
4703
+ "refId": "B"
4704
+ },
4705
+ {
4706
+ "datasource": {
4707
+ "type": "prometheus",
4708
+ "uid": "${datasource}"
4709
+ },
4710
+ "editorMode": "code",
4711
+ "expr": "container_sockets{pod=~\"recovr-server.*\"} > 0",
4712
+ "interval": "",
4713
+ "legendFormat": "{{pod}}",
4714
+ "range": true,
4715
+ "refId": "C"
4716
+ }
4717
+ ],
4718
+ "title": "RecovR Server Pod Sockets",
4719
+ "type": "timeseries"
4720
+ }
4721
+ ],
4722
+ "title": "Pod Sockets",
4723
+ "type": "row"
4724
+ }
4725
+ ],
4726
+ "preload": false,
4727
+ "refresh": "1m",
4728
+ "schemaVersion": 42,
4729
+ "tags": [],
4730
+ "templating": {
4731
+ "list": [
4732
+ {
4733
+ "current": {
4734
+ "text": "Prometheus",
4735
+ "value": "prometheus"
4736
+ },
4737
+ "includeAll": false,
4738
+ "label": "Datasource",
4739
+ "name": "datasource",
4740
+ "options": [],
4741
+ "query": "prometheus",
4742
+ "refresh": 1,
4743
+ "type": "datasource"
4744
+ }
4745
+ ]
4746
+ },
4747
+ "time": {
4748
+ "from": "now-3h",
4749
+ "to": "now"
4750
+ },
4751
+ "timepicker": {},
4752
+ "timezone": "browser",
4753
+ "title": "Leverege Services",
4754
+ "uid": "5dab27b9-6b31-4882-a25b-c7376cf5a0e9",
4755
+ "version": 2,
4756
+ "weekStart": ""
4757
+ }