@leverege/build-tools 2.101.1 → 2.102.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 (42) hide show
  1. package/package.json +8 -8
  2. package/src/Utils.mjs +5 -0
  3. package/src/bash-funcs +27 -0
  4. package/src/dashboard/DashboardManager.mjs +192 -17
  5. package/src/dashboard/dashboard.mjs +29 -4
  6. package/src/dashboard/json/{standard/noc-rows-12.json → devops/devops-noc.json} +801 -61
  7. package/src/dashboard/json/{standard/pvc-all-usage.json → devops/pvc-usage.json} +2 -2
  8. package/src/dashboard/json/leverege/leverege-noc.json +2364 -0
  9. package/src/dashboard/json/{standard/redis.json → leverege/leverege-rule-engine.json} +695 -646
  10. package/src/dashboard/json/leverege/leverege-services.json +4757 -0
  11. package/src/dashboard/json/recovr/recovr-locators.json +1227 -0
  12. package/src/dashboard/json/recovr/recovr-noc.json +1949 -0
  13. package/src/dashboard/json/recovr/recovr-position-srvr.json +339 -0
  14. package/src/dashboard/json/recovr/recovr-server.json +1127 -0
  15. package/src/dashboard/json/siren/siren-services.json +2066 -0
  16. package/src/dashboard/json/{standard/cloudnative-pg-20417-rev4.json → system/cloudnative-pg.json} +241 -243
  17. package/src/dashboard/json/{standard → system}/elasticsearch8.json +123 -72
  18. package/src/dashboard/json/system/stackdriver.json +1189 -0
  19. package/src/dashboard/json/{standard/traefik-op.json → system/traefik.json} +44 -56
  20. package/src/dashboard/json/{standard → system}/valkey.json +91 -86
  21. package/src/dashboard/json/{standard → tpi}/gpu-autoscaling-dashboard-ui-import.json +1 -1
  22. package/src/dashboard/json/tpi/leverege-noc.json +3624 -0
  23. package/src/helm-charts/cnpg-operator/helmup.bootstrap +19 -21
  24. package/src/helm-charts/eso/helmup.bootstrap +4 -2
  25. package/src/helm-charts/prom-operator/README-CRD-UPGRADES.md +105 -0
  26. package/src/helm-charts/prom-operator/helmup.bootstrap +22 -14
  27. package/src/helm-charts/prom-operator/helmup.plugin +1 -1
  28. package/src/helm-charts/prom-operator/prometheus-stack.yaml.ovh +23 -45
  29. package/src/helm-charts/prom-operator/rules/gke-maintenance-rules.yaml +19 -0
  30. package/src/helm-charts/prom-operator/stackdriver-exporter.yaml.ovh +3 -2
  31. package/src/helm-charts/valkey/valkey-local.yaml +1 -0
  32. package/src/helm-charts/velero/helmup.bootstrap +2 -0
  33. package/src/helmup.sh +31 -4
  34. package/src/init-my-chart/Chartwright.mjs +2 -2
  35. package/src/init-my-chart/leaf-chart-templates/templates/extraobjects.yaml +1 -0
  36. package/src/init-my-chart/leaf-chart-templates/templates/ingressroute.yaml +1 -0
  37. package/src/overwhelm.mjs +5 -5
  38. package/src/service-man/config/secrets/npmrc.json +14 -0
  39. package/src/service-man/config/secrets/tsdb-dense-password.json +13 -0
  40. package/src/dashboard/json/standard/stackdriver.json +0 -624
  41. package/src/docker-to-registry-py.mjs +0 -287
  42. /package/src/dashboard/json/{standard → devops}/k8s-api-latency.json +0 -0
@@ -0,0 +1,2364 @@
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
+ "target": {
15
+ "limit": 100,
16
+ "matchAny": false,
17
+ "tags": [],
18
+ "type": "dashboard"
19
+ },
20
+ "type": "dashboard"
21
+ }
22
+ ]
23
+ },
24
+ "description": "A Leverege specific NOC dashboard",
25
+ "editable": false,
26
+ "fiscalYearStartMonth": 0,
27
+ "graphTooltip": 1,
28
+ "id": null,
29
+ "links": [],
30
+ "panels": [
31
+ {
32
+ "datasource": {
33
+ "type": "prometheus",
34
+ "uid": "${datasource}"
35
+ },
36
+ "description": "",
37
+ "fieldConfig": {
38
+ "defaults": {
39
+ "color": {
40
+ "mode": "thresholds"
41
+ },
42
+ "mappings": [
43
+ {
44
+ "options": {
45
+ "0": {
46
+ "text": "RED"
47
+ },
48
+ "1": {
49
+ "text": "GREEN"
50
+ }
51
+ },
52
+ "type": "value"
53
+ }
54
+ ],
55
+ "thresholds": {
56
+ "mode": "absolute",
57
+ "steps": [
58
+ {
59
+ "color": "red",
60
+ "value": null
61
+ },
62
+ {
63
+ "color": "green",
64
+ "value": 1
65
+ }
66
+ ]
67
+ },
68
+ "unit": "none"
69
+ },
70
+ "overrides": []
71
+ },
72
+ "gridPos": {
73
+ "h": 5,
74
+ "w": 4,
75
+ "x": 0,
76
+ "y": 0
77
+ },
78
+ "id": 6,
79
+ "links": [
80
+ {
81
+ "title": "Elastic Stats",
82
+ "url": "${monitoring_url}/d/elasticsearch/elasticsearch-stats?orgId=1&refresh=1m&from=now-3h&to=now"
83
+ }
84
+ ],
85
+ "maxDataPoints": 100,
86
+ "options": {
87
+ "colorMode": "background",
88
+ "graphMode": "none",
89
+ "justifyMode": "auto",
90
+ "orientation": "horizontal",
91
+ "percentChangeColorMode": "standard",
92
+ "reduceOptions": {
93
+ "calcs": [
94
+ "lastNotNull"
95
+ ],
96
+ "fields": "",
97
+ "values": false
98
+ },
99
+ "showPercentChange": false,
100
+ "textMode": "auto",
101
+ "wideLayout": true
102
+ },
103
+ "pluginVersion": "11.6.1",
104
+ "targets": [
105
+ {
106
+ "datasource": {
107
+ "type": "prometheus",
108
+ "uid": "${datasource}"
109
+ },
110
+ "expr": "max(elasticsearch_cluster_health_status{color=\"green\"})",
111
+ "format": "time_series",
112
+ "hide": false,
113
+ "intervalFactor": 2,
114
+ "legendFormat": "",
115
+ "metric": "",
116
+ "refId": "A",
117
+ "step": 60
118
+ }
119
+ ],
120
+ "title": "Elasticsearch Status",
121
+ "transparent": true,
122
+ "type": "stat"
123
+ },
124
+ {
125
+ "datasource": {
126
+ "type": "prometheus",
127
+ "uid": "${datasource}"
128
+ },
129
+ "fieldConfig": {
130
+ "defaults": {
131
+ "color": {
132
+ "mode": "thresholds"
133
+ },
134
+ "mappings": [],
135
+ "thresholds": {
136
+ "mode": "absolute",
137
+ "steps": [
138
+ {
139
+ "color": "green"
140
+ },
141
+ {
142
+ "color": "red",
143
+ "value": 80
144
+ }
145
+ ]
146
+ }
147
+ },
148
+ "overrides": []
149
+ },
150
+ "gridPos": {
151
+ "h": 5,
152
+ "w": 4,
153
+ "x": 4,
154
+ "y": 0
155
+ },
156
+ "id": 42,
157
+ "options": {
158
+ "displayMode": "gradient",
159
+ "legend": {
160
+ "calcs": [],
161
+ "displayMode": "list",
162
+ "placement": "bottom",
163
+ "showLegend": false
164
+ },
165
+ "maxVizHeight": 300,
166
+ "minVizHeight": 10,
167
+ "minVizWidth": 0,
168
+ "namePlacement": "auto",
169
+ "orientation": "auto",
170
+ "reduceOptions": {
171
+ "calcs": [
172
+ "lastNotNull"
173
+ ],
174
+ "fields": "",
175
+ "values": false
176
+ },
177
+ "showUnfilled": true,
178
+ "sizing": "auto",
179
+ "valueMode": "color"
180
+ },
181
+ "pluginVersion": "11.6.1",
182
+ "targets": [
183
+ {
184
+ "datasource": {
185
+ "type": "prometheus",
186
+ "uid": "${datasource}"
187
+ },
188
+ "editorMode": "code",
189
+ "expr": "avg by (node_type) (label_replace(elasticsearch_process_cpu_percent{cluster=\"elastic\"}, \"node_type\", \"$1\", \"name\", \"^elasticsearch8-(.*)-\\\\d+$\"))",
190
+ "legendFormat": "__auto",
191
+ "range": true,
192
+ "refId": "A"
193
+ }
194
+ ],
195
+ "title": "Elasticsearch CPU % Avg",
196
+ "transparent": true,
197
+ "type": "bargauge"
198
+ },
199
+ {
200
+ "datasource": {
201
+ "type": "prometheus",
202
+ "uid": "${datasource}"
203
+ },
204
+ "fieldConfig": {
205
+ "defaults": {
206
+ "color": {
207
+ "mode": "palette-classic"
208
+ },
209
+ "custom": {
210
+ "axisBorderShow": false,
211
+ "axisCenteredZero": false,
212
+ "axisColorMode": "text",
213
+ "axisLabel": "",
214
+ "axisPlacement": "auto",
215
+ "barAlignment": 0,
216
+ "barWidthFactor": 0.6,
217
+ "drawStyle": "line",
218
+ "fillOpacity": 10,
219
+ "gradientMode": "none",
220
+ "hideFrom": {
221
+ "legend": false,
222
+ "tooltip": false,
223
+ "viz": false
224
+ },
225
+ "insertNulls": false,
226
+ "lineInterpolation": "linear",
227
+ "lineWidth": 1,
228
+ "pointSize": 5,
229
+ "scaleDistribution": {
230
+ "type": "linear"
231
+ },
232
+ "showPoints": "never",
233
+ "spanNulls": false,
234
+ "stacking": {
235
+ "group": "A",
236
+ "mode": "none"
237
+ },
238
+ "thresholdsStyle": {
239
+ "mode": "off"
240
+ }
241
+ },
242
+ "mappings": [],
243
+ "thresholds": {
244
+ "mode": "absolute",
245
+ "steps": [
246
+ {
247
+ "color": "green",
248
+ "value": null
249
+ },
250
+ {
251
+ "color": "red",
252
+ "value": 1
253
+ }
254
+ ]
255
+ },
256
+ "unit": "short"
257
+ },
258
+ "overrides": []
259
+ },
260
+ "gridPos": {
261
+ "h": 8,
262
+ "w": 12,
263
+ "x": 0,
264
+ "y": 49
265
+ },
266
+ "id": 44,
267
+ "options": {
268
+ "legend": {
269
+ "calcs": [],
270
+ "displayMode": "list",
271
+ "placement": "bottom",
272
+ "showLegend": true
273
+ },
274
+ "tooltip": {
275
+ "hideZeros": false,
276
+ "mode": "multi",
277
+ "sort": "desc"
278
+ }
279
+ },
280
+ "pluginVersion": "11.6.1",
281
+ "targets": [
282
+ {
283
+ "datasource": {
284
+ "type": "prometheus",
285
+ "uid": "${datasource}"
286
+ },
287
+ "editorMode": "code",
288
+ "expr": "sum(nodejs_app_exit_count) by (app) > 0",
289
+ "instant": false,
290
+ "legendFormat": "__auto",
291
+ "range": true,
292
+ "refId": "A"
293
+ }
294
+ ],
295
+ "title": "App Exit Count",
296
+ "transparent": true,
297
+ "type": "timeseries"
298
+ },
299
+ {
300
+ "datasource": {
301
+ "type": "prometheus",
302
+ "uid": "${datasource}"
303
+ },
304
+ "description": "",
305
+ "fieldConfig": {
306
+ "defaults": {
307
+ "color": {
308
+ "fixedColor": "green",
309
+ "mode": "thresholds"
310
+ },
311
+ "decimals": 0,
312
+ "mappings": [],
313
+ "max": 100,
314
+ "min": 0,
315
+ "noValue": "We Good",
316
+ "thresholds": {
317
+ "mode": "percentage",
318
+ "steps": [
319
+ {
320
+ "color": "green"
321
+ },
322
+ {
323
+ "color": "#EAB839",
324
+ "value": 79
325
+ },
326
+ {
327
+ "color": "red",
328
+ "value": 95
329
+ }
330
+ ]
331
+ },
332
+ "unit": "percent"
333
+ },
334
+ "overrides": []
335
+ },
336
+ "gridPos": {
337
+ "h": 5,
338
+ "w": 4,
339
+ "x": 16,
340
+ "y": 0
341
+ },
342
+ "id": 43,
343
+ "options": {
344
+ "colorMode": "background",
345
+ "graphMode": "none",
346
+ "justifyMode": "center",
347
+ "orientation": "horizontal",
348
+ "percentChangeColorMode": "standard",
349
+ "reduceOptions": {
350
+ "calcs": [
351
+ "lastNotNull"
352
+ ],
353
+ "fields": "",
354
+ "values": false
355
+ },
356
+ "showPercentChange": false,
357
+ "text": {
358
+ "titleSize": 16,
359
+ "valueSize": 15
360
+ },
361
+ "textMode": "value_and_name",
362
+ "wideLayout": true
363
+ },
364
+ "pluginVersion": "11.6.1",
365
+ "targets": [
366
+ {
367
+ "datasource": {
368
+ "type": "prometheus",
369
+ "uid": "${datasource}"
370
+ },
371
+ "editorMode": "code",
372
+ "exemplar": false,
373
+ "expr": "sort_desc((kube_horizontalpodautoscaler_status_desired_replicas/kube_horizontalpodautoscaler_spec_max_replicas*100) >= 70 AND (kube_horizontalpodautoscaler_spec_max_replicas > 3))",
374
+ "format": "time_series",
375
+ "instant": true,
376
+ "legendFormat": "{{horizontalpodautoscaler}}",
377
+ "range": false,
378
+ "refId": "A"
379
+ }
380
+ ],
381
+ "title": "Service Scaled >70%",
382
+ "transparent": true,
383
+ "type": "stat"
384
+ },
385
+ {
386
+ "datasource": {
387
+ "type": "prometheus",
388
+ "uid": "${datasource}"
389
+ },
390
+ "description": "",
391
+ "fieldConfig": {
392
+ "defaults": {
393
+ "color": {
394
+ "mode": "thresholds"
395
+ },
396
+ "mappings": [],
397
+ "max": 100,
398
+ "min": 0,
399
+ "thresholds": {
400
+ "mode": "percentage",
401
+ "steps": [
402
+ {
403
+ "color": "red"
404
+ },
405
+ {
406
+ "color": "red",
407
+ "value": 88
408
+ },
409
+ {
410
+ "color": "yellow",
411
+ "value": 90
412
+ },
413
+ {
414
+ "color": "semi-dark-green",
415
+ "value": 91
416
+ }
417
+ ]
418
+ },
419
+ "unit": "percent"
420
+ },
421
+ "overrides": []
422
+ },
423
+ "gridPos": {
424
+ "h": 5,
425
+ "w": 4,
426
+ "x": 20,
427
+ "y": 0
428
+ },
429
+ "id": 39,
430
+ "links": [
431
+ {
432
+ "targetBlank": true,
433
+ "title": "locators dashboard",
434
+ "url": "${monitoring_url}/d/cN1atnT7k/locators?orgId=1"
435
+ }
436
+ ],
437
+ "options": {
438
+ "colorMode": "background",
439
+ "graphMode": "none",
440
+ "justifyMode": "auto",
441
+ "orientation": "horizontal",
442
+ "percentChangeColorMode": "standard",
443
+ "reduceOptions": {
444
+ "calcs": [
445
+ "mean"
446
+ ],
447
+ "fields": "",
448
+ "values": false
449
+ },
450
+ "showPercentChange": false,
451
+ "text": {},
452
+ "textMode": "auto",
453
+ "wideLayout": true
454
+ },
455
+ "pluginVersion": "11.6.1",
456
+ "targets": [
457
+ {
458
+ "datasource": {
459
+ "type": "prometheus",
460
+ "uid": "${datasource}"
461
+ },
462
+ "editorMode": "code",
463
+ "expr": "avg(recovr_coap_locators_active_last_60m/ recovr_coap_locators_active_last_7d != 0) * 100",
464
+ "hide": false,
465
+ "instant": false,
466
+ "legendFormat": "60m",
467
+ "range": true,
468
+ "refId": "A"
469
+ }
470
+ ],
471
+ "title": "Locators / Hour",
472
+ "transparent": true,
473
+ "type": "stat"
474
+ },
475
+ {
476
+ "datasource": {
477
+ "type": "prometheus",
478
+ "uid": "${datasource}"
479
+ },
480
+ "description": "",
481
+ "fieldConfig": {
482
+ "defaults": {
483
+ "color": {
484
+ "mode": "palette-classic"
485
+ },
486
+ "custom": {
487
+ "axisBorderShow": false,
488
+ "axisCenteredZero": false,
489
+ "axisColorMode": "text",
490
+ "axisLabel": "CPU usage",
491
+ "axisPlacement": "auto",
492
+ "barAlignment": 0,
493
+ "barWidthFactor": 0.6,
494
+ "drawStyle": "line",
495
+ "fillOpacity": 10,
496
+ "gradientMode": "none",
497
+ "hideFrom": {
498
+ "legend": false,
499
+ "tooltip": false,
500
+ "viz": false
501
+ },
502
+ "insertNulls": false,
503
+ "lineInterpolation": "linear",
504
+ "lineWidth": 1,
505
+ "pointSize": 5,
506
+ "scaleDistribution": {
507
+ "type": "linear"
508
+ },
509
+ "showPoints": "never",
510
+ "spanNulls": true,
511
+ "stacking": {
512
+ "group": "A",
513
+ "mode": "none"
514
+ },
515
+ "thresholdsStyle": {
516
+ "mode": "off"
517
+ }
518
+ },
519
+ "mappings": [],
520
+ "max": 100,
521
+ "min": 0,
522
+ "thresholds": {
523
+ "mode": "absolute",
524
+ "steps": [
525
+ {
526
+ "color": "green"
527
+ },
528
+ {
529
+ "color": "red",
530
+ "value": 80
531
+ }
532
+ ]
533
+ },
534
+ "unit": "percent"
535
+ },
536
+ "overrides": []
537
+ },
538
+ "gridPos": {
539
+ "h": 8,
540
+ "w": 12,
541
+ "x": 0,
542
+ "y": 5
543
+ },
544
+ "id": 2,
545
+ "links": [
546
+ {
547
+ "title": "Cluster Data Node 0",
548
+ "url": "${monitoring_url}/d/5b64379ae97d471bb733c16fa5494f98/elasticsearch-node-stats?orgId=1&refresh=5m&var-cluster=elastic&var-instance=10.48.15.172:9108&var-name=elasticsearch8-data-0&var-interval=5m"
549
+ }
550
+ ],
551
+ "options": {
552
+ "legend": {
553
+ "calcs": [
554
+ "mean",
555
+ "lastNotNull",
556
+ "max",
557
+ "min"
558
+ ],
559
+ "displayMode": "table",
560
+ "placement": "bottom",
561
+ "showLegend": true,
562
+ "sortBy": "Mean",
563
+ "sortDesc": true
564
+ },
565
+ "tooltip": {
566
+ "hideZeros": false,
567
+ "mode": "multi",
568
+ "sort": "none"
569
+ }
570
+ },
571
+ "pluginVersion": "11.6.1",
572
+ "targets": [
573
+ {
574
+ "datasource": {
575
+ "type": "prometheus",
576
+ "uid": "${datasource}"
577
+ },
578
+ "editorMode": "code",
579
+ "expr": "elasticsearch_process_cpu_percent{cluster=~\"elastic\"}",
580
+ "format": "time_series",
581
+ "interval": "",
582
+ "intervalFactor": 2,
583
+ "legendFormat": "{{name}}",
584
+ "metric": "",
585
+ "range": true,
586
+ "refId": "A",
587
+ "step": 10
588
+ }
589
+ ],
590
+ "title": "Elasticsearch CPU Usage",
591
+ "transparent": true,
592
+ "type": "timeseries"
593
+ },
594
+ {
595
+ "datasource": {
596
+ "type": "prometheus",
597
+ "uid": "${datasource}"
598
+ },
599
+ "description": "",
600
+ "fieldConfig": {
601
+ "defaults": {
602
+ "color": {
603
+ "mode": "palette-classic"
604
+ },
605
+ "custom": {
606
+ "axisBorderShow": false,
607
+ "axisCenteredZero": false,
608
+ "axisColorMode": "text",
609
+ "axisLabel": "Time",
610
+ "axisPlacement": "auto",
611
+ "barAlignment": 0,
612
+ "barWidthFactor": 0.6,
613
+ "drawStyle": "line",
614
+ "fillOpacity": 10,
615
+ "gradientMode": "none",
616
+ "hideFrom": {
617
+ "legend": false,
618
+ "tooltip": false,
619
+ "viz": false
620
+ },
621
+ "insertNulls": false,
622
+ "lineInterpolation": "linear",
623
+ "lineWidth": 1,
624
+ "pointSize": 5,
625
+ "scaleDistribution": {
626
+ "type": "linear"
627
+ },
628
+ "showPoints": "never",
629
+ "spanNulls": true,
630
+ "stacking": {
631
+ "group": "A",
632
+ "mode": "none"
633
+ },
634
+ "thresholdsStyle": {
635
+ "mode": "off"
636
+ }
637
+ },
638
+ "mappings": [],
639
+ "thresholds": {
640
+ "mode": "absolute",
641
+ "steps": [
642
+ {
643
+ "color": "green"
644
+ },
645
+ {
646
+ "color": "red",
647
+ "value": 80
648
+ }
649
+ ]
650
+ },
651
+ "unit": "s"
652
+ },
653
+ "overrides": []
654
+ },
655
+ "gridPos": {
656
+ "h": 8,
657
+ "w": 12,
658
+ "x": 12,
659
+ "y": 5
660
+ },
661
+ "id": 4,
662
+ "links": [
663
+ {
664
+ "title": "Elasticsearch Stats",
665
+ "url": "${monitoring_url}/d/elasticsearch/elasticsearch-stats?orgId=1&refresh=1m"
666
+ }
667
+ ],
668
+ "options": {
669
+ "legend": {
670
+ "calcs": [
671
+ "mean",
672
+ "lastNotNull",
673
+ "max",
674
+ "min"
675
+ ],
676
+ "displayMode": "table",
677
+ "placement": "bottom",
678
+ "showLegend": true,
679
+ "sortBy": "Mean",
680
+ "sortDesc": false
681
+ },
682
+ "tooltip": {
683
+ "hideZeros": false,
684
+ "mode": "multi",
685
+ "sort": "desc"
686
+ }
687
+ },
688
+ "pluginVersion": "11.6.1",
689
+ "targets": [
690
+ {
691
+ "datasource": {
692
+ "type": "prometheus",
693
+ "uid": "${datasource}"
694
+ },
695
+ "editorMode": "code",
696
+ "expr": "rate(elasticsearch_indices_search_query_time_seconds{cluster=\"elastic\"}[5m]) / rate(elasticsearch_indices_search_query_total{cluster=\"elastic\"}[5m])",
697
+ "format": "time_series",
698
+ "interval": "",
699
+ "intervalFactor": 2,
700
+ "legendFormat": "{{name}}",
701
+ "metric": "",
702
+ "range": true,
703
+ "refId": "A",
704
+ "step": 10
705
+ }
706
+ ],
707
+ "title": "Elasticsearch Query Time",
708
+ "transparent": true,
709
+ "type": "timeseries"
710
+ },
711
+ {
712
+ "datasource": {
713
+ "type": "prometheus",
714
+ "uid": "${datasource}"
715
+ },
716
+ "description": "",
717
+ "fieldConfig": {
718
+ "defaults": {
719
+ "color": {
720
+ "mode": "palette-classic"
721
+ },
722
+ "custom": {
723
+ "axisBorderShow": false,
724
+ "axisCenteredZero": false,
725
+ "axisColorMode": "text",
726
+ "axisLabel": "",
727
+ "axisPlacement": "auto",
728
+ "barAlignment": 0,
729
+ "barWidthFactor": 0.6,
730
+ "drawStyle": "line",
731
+ "fillOpacity": 13,
732
+ "gradientMode": "none",
733
+ "hideFrom": {
734
+ "legend": false,
735
+ "tooltip": false,
736
+ "viz": false
737
+ },
738
+ "insertNulls": false,
739
+ "lineInterpolation": "linear",
740
+ "lineWidth": 1,
741
+ "pointSize": 5,
742
+ "scaleDistribution": {
743
+ "type": "linear"
744
+ },
745
+ "showPoints": "never",
746
+ "spanNulls": false,
747
+ "stacking": {
748
+ "group": "A",
749
+ "mode": "none"
750
+ },
751
+ "thresholdsStyle": {
752
+ "mode": "off"
753
+ }
754
+ },
755
+ "links": [
756
+ {
757
+ "targetBlank": true,
758
+ "title": "stackdriver chart",
759
+ "url": "${monitoring_url}/d/stackdriver/stackdriver?orgId=1"
760
+ }
761
+ ],
762
+ "mappings": [],
763
+ "min": 5,
764
+ "thresholds": {
765
+ "mode": "absolute",
766
+ "steps": [
767
+ {
768
+ "color": "green"
769
+ },
770
+ {
771
+ "color": "red",
772
+ "value": 1000
773
+ }
774
+ ]
775
+ },
776
+ "unit": "short"
777
+ },
778
+ "overrides": [
779
+ {
780
+ "matcher": {
781
+ "id": "byValue",
782
+ "options": {
783
+ "op": "gte",
784
+ "reducer": "allIsZero",
785
+ "value": 0
786
+ }
787
+ },
788
+ "properties": [
789
+ {
790
+ "id": "custom.hideFrom",
791
+ "value": {
792
+ "legend": true,
793
+ "tooltip": true,
794
+ "viz": false
795
+ }
796
+ }
797
+ ]
798
+ }
799
+ ]
800
+ },
801
+ "gridPos": {
802
+ "h": 7,
803
+ "w": 12,
804
+ "x": 0,
805
+ "y": 13
806
+ },
807
+ "id": 8,
808
+ "links": [
809
+ {
810
+ "title": "Stackdriver Stats",
811
+ "url": "${monitoring_url}/d/stackdriver/stackdriver?orgId=1&refresh=30s"
812
+ }
813
+ ],
814
+ "options": {
815
+ "legend": {
816
+ "calcs": [],
817
+ "displayMode": "list",
818
+ "placement": "bottom",
819
+ "showLegend": true
820
+ },
821
+ "tooltip": {
822
+ "hideZeros": false,
823
+ "mode": "multi",
824
+ "sort": "desc"
825
+ }
826
+ },
827
+ "pluginVersion": "11.6.1",
828
+ "targets": [
829
+ {
830
+ "datasource": {
831
+ "type": "prometheus",
832
+ "uid": "${datasource}"
833
+ },
834
+ "editorMode": "code",
835
+ "expr": "stackdriver_pubsub_subscription_pubsub_googleapis_com_subscription_num_undelivered_messages{subscription_id!~\"gcr-.*\"} > 10",
836
+ "format": "time_series",
837
+ "intervalFactor": 2,
838
+ "legendFormat": "{{subscription_id}}",
839
+ "range": true,
840
+ "refId": "A"
841
+ }
842
+ ],
843
+ "title": "Pub/Sub Undelivered Messages",
844
+ "transparent": true,
845
+ "type": "timeseries"
846
+ },
847
+ {
848
+ "datasource": {
849
+ "type": "prometheus",
850
+ "uid": "${datasource}"
851
+ },
852
+ "description": "",
853
+ "fieldConfig": {
854
+ "defaults": {
855
+ "color": {
856
+ "mode": "palette-classic"
857
+ },
858
+ "custom": {
859
+ "axisBorderShow": false,
860
+ "axisCenteredZero": false,
861
+ "axisColorMode": "text",
862
+ "axisLabel": "",
863
+ "axisPlacement": "auto",
864
+ "barAlignment": 0,
865
+ "barWidthFactor": 0.6,
866
+ "drawStyle": "line",
867
+ "fillOpacity": 10,
868
+ "gradientMode": "none",
869
+ "hideFrom": {
870
+ "legend": false,
871
+ "tooltip": false,
872
+ "viz": false
873
+ },
874
+ "insertNulls": false,
875
+ "lineInterpolation": "linear",
876
+ "lineWidth": 1,
877
+ "pointSize": 5,
878
+ "scaleDistribution": {
879
+ "type": "linear"
880
+ },
881
+ "showPoints": "never",
882
+ "spanNulls": false,
883
+ "stacking": {
884
+ "group": "A",
885
+ "mode": "none"
886
+ },
887
+ "thresholdsStyle": {
888
+ "mode": "line+area"
889
+ }
890
+ },
891
+ "links": [],
892
+ "mappings": [],
893
+ "max": 100,
894
+ "min": 0,
895
+ "thresholds": {
896
+ "mode": "absolute",
897
+ "steps": [
898
+ {
899
+ "color": "transparent"
900
+ },
901
+ {
902
+ "color": "red",
903
+ "value": 90
904
+ }
905
+ ]
906
+ },
907
+ "unit": "percent"
908
+ },
909
+ "overrides": []
910
+ },
911
+ "gridPos": {
912
+ "h": 7,
913
+ "w": 12,
914
+ "x": 12,
915
+ "y": 13
916
+ },
917
+ "id": 16,
918
+ "options": {
919
+ "legend": {
920
+ "calcs": [
921
+ "mean",
922
+ "lastNotNull"
923
+ ],
924
+ "displayMode": "table",
925
+ "placement": "bottom",
926
+ "showLegend": false,
927
+ "sortBy": "Name",
928
+ "sortDesc": false
929
+ },
930
+ "tooltip": {
931
+ "hideZeros": false,
932
+ "mode": "multi",
933
+ "sort": "none"
934
+ }
935
+ },
936
+ "pluginVersion": "11.6.1",
937
+ "targets": [
938
+ {
939
+ "datasource": {
940
+ "type": "prometheus",
941
+ "uid": "${datasource}"
942
+ },
943
+ "editorMode": "code",
944
+ "expr": "sum by (table_name) (\n stackdriver_firebase_namespace_firebasedatabase_googleapis_com_io_database_load{namespace=\"prometheus\"}\n) * 100",
945
+ "instant": false,
946
+ "legendFormat": "{{table_name}}",
947
+ "range": true,
948
+ "refId": "A"
949
+ }
950
+ ],
951
+ "title": "Firebase Load",
952
+ "transparent": true,
953
+ "type": "timeseries"
954
+ },
955
+ {
956
+ "datasource": {
957
+ "type": "prometheus",
958
+ "uid": "${datasource}"
959
+ },
960
+ "fieldConfig": {
961
+ "defaults": {
962
+ "color": {
963
+ "mode": "palette-classic"
964
+ },
965
+ "custom": {
966
+ "axisBorderShow": false,
967
+ "axisCenteredZero": false,
968
+ "axisColorMode": "text",
969
+ "axisLabel": "",
970
+ "axisPlacement": "auto",
971
+ "barAlignment": 0,
972
+ "barWidthFactor": 0.6,
973
+ "drawStyle": "line",
974
+ "fillOpacity": 0,
975
+ "gradientMode": "none",
976
+ "hideFrom": {
977
+ "legend": false,
978
+ "tooltip": false,
979
+ "viz": false
980
+ },
981
+ "insertNulls": false,
982
+ "lineInterpolation": "linear",
983
+ "lineWidth": 1,
984
+ "pointSize": 5,
985
+ "scaleDistribution": {
986
+ "type": "linear"
987
+ },
988
+ "showPoints": "never",
989
+ "spanNulls": false,
990
+ "stacking": {
991
+ "group": "A",
992
+ "mode": "none"
993
+ },
994
+ "thresholdsStyle": {
995
+ "mode": "off"
996
+ }
997
+ },
998
+ "mappings": [],
999
+ "thresholds": {
1000
+ "mode": "absolute",
1001
+ "steps": [
1002
+ {
1003
+ "color": "green"
1004
+ },
1005
+ {
1006
+ "color": "red",
1007
+ "value": 80
1008
+ }
1009
+ ]
1010
+ }
1011
+ },
1012
+ "overrides": []
1013
+ },
1014
+ "gridPos": {
1015
+ "h": 8,
1016
+ "w": 12,
1017
+ "x": 0,
1018
+ "y": 20
1019
+ },
1020
+ "id": 28,
1021
+ "options": {
1022
+ "legend": {
1023
+ "calcs": [],
1024
+ "displayMode": "list",
1025
+ "placement": "bottom",
1026
+ "showLegend": true
1027
+ },
1028
+ "tooltip": {
1029
+ "hideZeros": false,
1030
+ "mode": "multi",
1031
+ "sort": "desc"
1032
+ }
1033
+ },
1034
+ "pluginVersion": "11.6.1",
1035
+ "targets": [
1036
+ {
1037
+ "datasource": {
1038
+ "type": "prometheus",
1039
+ "uid": "${datasource}"
1040
+ },
1041
+ "editorMode": "code",
1042
+ "expr": "sum( rate( lev_transponder_writer_dataForwarding_deviceDataEventMsg_total_time[5m]) ) / sum( rate( lev_transponder_writer_dataForwarding_deviceDataEventMsg_count[5m] ) )",
1043
+ "legendFormat": "data forwarding success",
1044
+ "range": true,
1045
+ "refId": "A"
1046
+ },
1047
+ {
1048
+ "datasource": {
1049
+ "type": "prometheus",
1050
+ "uid": "${datasource}"
1051
+ },
1052
+ "editorMode": "code",
1053
+ "expr": "sum( rate( lev_transponder_writer_firebase_deviceDataEventMsg_total_time[5m]) ) / sum( rate( lev_transponder_writer_firebase_deviceDataEventMsg_count[5m] ) )",
1054
+ "hide": false,
1055
+ "legendFormat": "firebase success",
1056
+ "range": true,
1057
+ "refId": "B"
1058
+ },
1059
+ {
1060
+ "datasource": {
1061
+ "type": "prometheus",
1062
+ "uid": "${datasource}"
1063
+ },
1064
+ "editorMode": "code",
1065
+ "expr": "sum( rate( lev_transponder_writer_elasticSearch_deviceDataEventMsg_total_time[5m]) ) / sum( rate( lev_transponder_writer_elasticSearch_deviceDataEventMsg_count[5m] ) )",
1066
+ "hide": false,
1067
+ "legendFormat": "elasticsearch success",
1068
+ "range": true,
1069
+ "refId": "C"
1070
+ },
1071
+ {
1072
+ "datasource": {
1073
+ "type": "prometheus",
1074
+ "uid": "${datasource}"
1075
+ },
1076
+ "editorMode": "code",
1077
+ "expr": "sum( rate( lev_transponder_writer_elasticSearch_deviceDataEventMsg_error_total_time[5m]) ) / sum( rate( lev_transponder_writer_elasticSearch_deviceDataEventMsg_error_count[5m] ) )",
1078
+ "hide": false,
1079
+ "legendFormat": "elasticsearch error",
1080
+ "range": true,
1081
+ "refId": "D"
1082
+ },
1083
+ {
1084
+ "datasource": {
1085
+ "type": "prometheus",
1086
+ "uid": "${datasource}"
1087
+ },
1088
+ "editorMode": "code",
1089
+ "expr": "sum( rate( lev_transponder_writer_firebase_deviceDataEventMsg_error_total_time[5m]) ) / sum( rate( lev_transponder_writer_firebase_deviceDataEventMsg_error_count[5m] ) )",
1090
+ "hide": false,
1091
+ "legendFormat": "firebase error",
1092
+ "range": true,
1093
+ "refId": "E"
1094
+ },
1095
+ {
1096
+ "datasource": {
1097
+ "type": "prometheus",
1098
+ "uid": "${datasource}"
1099
+ },
1100
+ "editorMode": "code",
1101
+ "expr": "sum( rate( lev_transponder_writer_dataForwarding_deviceDataEventMsg_error_total_time[5m]) ) / sum( rate( lev_transponder_writer_dataForwarding_deviceDataEventMsg_error_count[5m] ) )",
1102
+ "hide": false,
1103
+ "legendFormat": "data forwarding error",
1104
+ "range": true,
1105
+ "refId": "F"
1106
+ },
1107
+ {
1108
+ "datasource": {
1109
+ "type": "prometheus",
1110
+ "uid": "${datasource}"
1111
+ },
1112
+ "editorMode": "code",
1113
+ "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] ) ) )",
1114
+ "hide": false,
1115
+ "legendFormat": "data forwarding combined",
1116
+ "range": true,
1117
+ "refId": "G"
1118
+ },
1119
+ {
1120
+ "datasource": {
1121
+ "type": "prometheus",
1122
+ "uid": "${datasource}"
1123
+ },
1124
+ "editorMode": "code",
1125
+ "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] ) ) )",
1126
+ "hide": false,
1127
+ "legendFormat": "elasticsearch combined",
1128
+ "range": true,
1129
+ "refId": "H"
1130
+ },
1131
+ {
1132
+ "datasource": {
1133
+ "type": "prometheus",
1134
+ "uid": "${datasource}"
1135
+ },
1136
+ "editorMode": "code",
1137
+ "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] ) ) )",
1138
+ "hide": false,
1139
+ "legendFormat": "firebase combined",
1140
+ "range": true,
1141
+ "refId": "I"
1142
+ },
1143
+ {
1144
+ "datasource": {
1145
+ "type": "prometheus",
1146
+ "uid": "${datasource}"
1147
+ },
1148
+ "editorMode": "code",
1149
+ "expr": "sum( rate( lev_transponder_writer_timescale_deviceDataEventMsg_total_time[5m]) ) / sum( rate( lev_transponder_writer_timescale_deviceDataEventMsg_count[5m] ) )",
1150
+ "hide": false,
1151
+ "legendFormat": "timescale success",
1152
+ "range": true,
1153
+ "refId": "J"
1154
+ },
1155
+ {
1156
+ "datasource": {
1157
+ "type": "prometheus",
1158
+ "uid": "${datasource}"
1159
+ },
1160
+ "editorMode": "code",
1161
+ "expr": "sum( rate( lev_transponder_writer_timescale_deviceDataEventMsg_error_total_time[5m]) ) / sum( rate( lev_transponder_writer_timescale_deviceDataEventMsg_error_count[5m] ) )",
1162
+ "hide": false,
1163
+ "legendFormat": "timescale error",
1164
+ "range": true,
1165
+ "refId": "K"
1166
+ },
1167
+ {
1168
+ "datasource": {
1169
+ "type": "prometheus",
1170
+ "uid": "${datasource}"
1171
+ },
1172
+ "editorMode": "code",
1173
+ "expr": "sum( rate( lev_transponder_writer_bigqueryjsonevent_deviceDataEventMsg_total_time[5m]) ) / sum( rate( lev_transponder_writer_bigqueryjsonevent_deviceDataEventMsg_count[5m] ) )",
1174
+ "hide": false,
1175
+ "legendFormat": "big query event success",
1176
+ "range": true,
1177
+ "refId": "L"
1178
+ },
1179
+ {
1180
+ "datasource": {
1181
+ "type": "prometheus",
1182
+ "uid": "${datasource}"
1183
+ },
1184
+ "editorMode": "code",
1185
+ "expr": "sum( rate( lev_transponder_writer_bigqueryjsonhistory_deviceDataEventMsg_total_time[5m]) ) / sum( rate( lev_transponder_writer_bigqueryjsonhistory_deviceDataEventMsg_count[5m] ) )",
1186
+ "hide": false,
1187
+ "legendFormat": "big query history success",
1188
+ "range": true,
1189
+ "refId": "M"
1190
+ }
1191
+ ],
1192
+ "title": "Transponder Write Time by Writer",
1193
+ "transparent": true,
1194
+ "type": "timeseries"
1195
+ },
1196
+ {
1197
+ "datasource": {
1198
+ "type": "prometheus",
1199
+ "uid": "${datasource}"
1200
+ },
1201
+ "fieldConfig": {
1202
+ "defaults": {
1203
+ "color": {
1204
+ "mode": "palette-classic"
1205
+ },
1206
+ "custom": {
1207
+ "axisBorderShow": false,
1208
+ "axisCenteredZero": false,
1209
+ "axisColorMode": "text",
1210
+ "axisLabel": "",
1211
+ "axisPlacement": "auto",
1212
+ "barAlignment": 0,
1213
+ "barWidthFactor": 0.6,
1214
+ "drawStyle": "line",
1215
+ "fillOpacity": 0,
1216
+ "gradientMode": "none",
1217
+ "hideFrom": {
1218
+ "legend": false,
1219
+ "tooltip": false,
1220
+ "viz": false
1221
+ },
1222
+ "insertNulls": false,
1223
+ "lineInterpolation": "linear",
1224
+ "lineWidth": 1,
1225
+ "pointSize": 5,
1226
+ "scaleDistribution": {
1227
+ "type": "linear"
1228
+ },
1229
+ "showPoints": "never",
1230
+ "spanNulls": false,
1231
+ "stacking": {
1232
+ "group": "A",
1233
+ "mode": "none"
1234
+ },
1235
+ "thresholdsStyle": {
1236
+ "mode": "off"
1237
+ }
1238
+ },
1239
+ "mappings": [],
1240
+ "thresholds": {
1241
+ "mode": "absolute",
1242
+ "steps": [
1243
+ {
1244
+ "color": "green"
1245
+ },
1246
+ {
1247
+ "color": "red",
1248
+ "value": 80
1249
+ }
1250
+ ]
1251
+ }
1252
+ },
1253
+ "overrides": []
1254
+ },
1255
+ "gridPos": {
1256
+ "h": 8,
1257
+ "w": 12,
1258
+ "x": 12,
1259
+ "y": 20
1260
+ },
1261
+ "id": 31,
1262
+ "options": {
1263
+ "legend": {
1264
+ "calcs": [],
1265
+ "displayMode": "list",
1266
+ "placement": "bottom",
1267
+ "showLegend": true
1268
+ },
1269
+ "tooltip": {
1270
+ "hideZeros": false,
1271
+ "mode": "multi",
1272
+ "sort": "desc"
1273
+ }
1274
+ },
1275
+ "pluginVersion": "11.6.1",
1276
+ "targets": [
1277
+ {
1278
+ "datasource": {
1279
+ "type": "prometheus",
1280
+ "uid": "${datasource}"
1281
+ },
1282
+ "editorMode": "code",
1283
+ "expr": "sum( rate( lev_transponder_writer_dataForwarding_deviceDataEventMsg_count[5m] ) )",
1284
+ "legendFormat": "data forwarding success",
1285
+ "range": true,
1286
+ "refId": "A"
1287
+ },
1288
+ {
1289
+ "datasource": {
1290
+ "type": "prometheus",
1291
+ "uid": "${datasource}"
1292
+ },
1293
+ "editorMode": "code",
1294
+ "expr": "sum( rate( lev_transponder_writer_firebase_deviceDataEventMsg_count[5m] ) )",
1295
+ "hide": false,
1296
+ "legendFormat": "firebase success",
1297
+ "range": true,
1298
+ "refId": "B"
1299
+ },
1300
+ {
1301
+ "datasource": {
1302
+ "type": "prometheus",
1303
+ "uid": "${datasource}"
1304
+ },
1305
+ "editorMode": "code",
1306
+ "expr": "sum( rate( lev_transponder_writer_elasticSearch_deviceDataEventMsg_count[5m] ) )",
1307
+ "hide": false,
1308
+ "legendFormat": "elasticsearch success",
1309
+ "range": true,
1310
+ "refId": "C"
1311
+ },
1312
+ {
1313
+ "datasource": {
1314
+ "type": "prometheus",
1315
+ "uid": "${datasource}"
1316
+ },
1317
+ "editorMode": "code",
1318
+ "expr": "sum( rate( lev_transponder_writer_elasticSearch_deviceDataEventMsg_error_count[5m] ) )",
1319
+ "hide": false,
1320
+ "legendFormat": "elasticsearch error",
1321
+ "range": true,
1322
+ "refId": "D"
1323
+ },
1324
+ {
1325
+ "datasource": {
1326
+ "type": "prometheus",
1327
+ "uid": "${datasource}"
1328
+ },
1329
+ "editorMode": "code",
1330
+ "expr": "sum( rate( lev_transponder_writer_firebase_deviceDataEventMsg_error_count[5m] ) )",
1331
+ "hide": false,
1332
+ "legendFormat": "firebase error",
1333
+ "range": true,
1334
+ "refId": "E"
1335
+ },
1336
+ {
1337
+ "datasource": {
1338
+ "type": "prometheus",
1339
+ "uid": "${datasource}"
1340
+ },
1341
+ "editorMode": "code",
1342
+ "expr": "sum( rate( lev_transponder_writer_dataForwarding_deviceDataEventMsg_error_count[5m] ) )",
1343
+ "hide": false,
1344
+ "legendFormat": "data forwarding error",
1345
+ "range": true,
1346
+ "refId": "F"
1347
+ },
1348
+ {
1349
+ "datasource": {
1350
+ "type": "prometheus",
1351
+ "uid": "${datasource}"
1352
+ },
1353
+ "editorMode": "code",
1354
+ "expr": "sum( rate( lev_transponder_writer_timescale_deviceDataEventMsg_count[5m] ) )",
1355
+ "hide": false,
1356
+ "legendFormat": "timescale success",
1357
+ "range": true,
1358
+ "refId": "J"
1359
+ },
1360
+ {
1361
+ "datasource": {
1362
+ "type": "prometheus",
1363
+ "uid": "${datasource}"
1364
+ },
1365
+ "editorMode": "code",
1366
+ "expr": "sum( rate( lev_transponder_writer_timescale_deviceDataEventMsg_error_count[5m] ) )",
1367
+ "hide": false,
1368
+ "legendFormat": "timescale error",
1369
+ "range": true,
1370
+ "refId": "K"
1371
+ },
1372
+ {
1373
+ "datasource": {
1374
+ "type": "prometheus",
1375
+ "uid": "${datasource}"
1376
+ },
1377
+ "editorMode": "code",
1378
+ "expr": "sum( rate( lev_transponder_writer_bigqueryjsonevent_deviceDataEventMsg_count[5m] ) )",
1379
+ "hide": false,
1380
+ "interval": "",
1381
+ "legendFormat": "big query event success",
1382
+ "range": true,
1383
+ "refId": "G"
1384
+ },
1385
+ {
1386
+ "datasource": {
1387
+ "type": "prometheus",
1388
+ "uid": "${datasource}"
1389
+ },
1390
+ "editorMode": "code",
1391
+ "expr": "sum( rate( lev_transponder_writer_bigqueryjsonevent_deviceDataEventMsg_error_count[5m] ) )",
1392
+ "hide": false,
1393
+ "legendFormat": "big query event errors",
1394
+ "range": true,
1395
+ "refId": "H"
1396
+ },
1397
+ {
1398
+ "datasource": {
1399
+ "type": "prometheus",
1400
+ "uid": "${datasource}"
1401
+ },
1402
+ "editorMode": "code",
1403
+ "expr": "sum( rate( lev_transponder_writer_bigqueryjsonhistory_deviceDataEventMsg_error_count[5m] ) )",
1404
+ "hide": false,
1405
+ "legendFormat": "big query history errors",
1406
+ "range": true,
1407
+ "refId": "I"
1408
+ },
1409
+ {
1410
+ "datasource": {
1411
+ "type": "prometheus",
1412
+ "uid": "${datasource}"
1413
+ },
1414
+ "editorMode": "code",
1415
+ "expr": "sum( rate( lev_transponder_writer_bigqueryjsonhistory_deviceDataEventMsg_count[5m] ) )",
1416
+ "hide": false,
1417
+ "legendFormat": "big query history sucess",
1418
+ "range": true,
1419
+ "refId": "L"
1420
+ }
1421
+ ],
1422
+ "title": "Transponder Throughput by Writer (msg/sec)",
1423
+ "transparent": true,
1424
+ "type": "timeseries"
1425
+ },
1426
+ {
1427
+ "datasource": {
1428
+ "type": "prometheus",
1429
+ "uid": "${datasource}"
1430
+ },
1431
+ "description": "",
1432
+ "fieldConfig": {
1433
+ "defaults": {
1434
+ "color": {
1435
+ "mode": "palette-classic"
1436
+ },
1437
+ "custom": {
1438
+ "axisBorderShow": false,
1439
+ "axisCenteredZero": false,
1440
+ "axisColorMode": "text",
1441
+ "axisLabel": "",
1442
+ "axisPlacement": "auto",
1443
+ "barAlignment": 0,
1444
+ "barWidthFactor": 0.6,
1445
+ "drawStyle": "line",
1446
+ "fillOpacity": 10,
1447
+ "gradientMode": "none",
1448
+ "hideFrom": {
1449
+ "legend": false,
1450
+ "tooltip": false,
1451
+ "viz": false
1452
+ },
1453
+ "insertNulls": false,
1454
+ "lineInterpolation": "linear",
1455
+ "lineWidth": 1,
1456
+ "pointSize": 5,
1457
+ "scaleDistribution": {
1458
+ "type": "linear"
1459
+ },
1460
+ "showPoints": "never",
1461
+ "spanNulls": false,
1462
+ "stacking": {
1463
+ "group": "A",
1464
+ "mode": "none"
1465
+ },
1466
+ "thresholdsStyle": {
1467
+ "mode": "off"
1468
+ }
1469
+ },
1470
+ "mappings": [],
1471
+ "thresholds": {
1472
+ "mode": "absolute",
1473
+ "steps": [
1474
+ {
1475
+ "color": "green"
1476
+ },
1477
+ {
1478
+ "color": "red",
1479
+ "value": 80
1480
+ }
1481
+ ]
1482
+ },
1483
+ "unit": "short"
1484
+ },
1485
+ "overrides": []
1486
+ },
1487
+ "gridPos": {
1488
+ "h": 8,
1489
+ "w": 12,
1490
+ "x": 0,
1491
+ "y": 28
1492
+ },
1493
+ "id": 33,
1494
+ "options": {
1495
+ "legend": {
1496
+ "calcs": [],
1497
+ "displayMode": "list",
1498
+ "placement": "bottom",
1499
+ "showLegend": true
1500
+ },
1501
+ "tooltip": {
1502
+ "hideZeros": false,
1503
+ "mode": "multi",
1504
+ "sort": "desc"
1505
+ }
1506
+ },
1507
+ "pluginVersion": "11.6.1",
1508
+ "targets": [
1509
+ {
1510
+ "datasource": {
1511
+ "type": "prometheus",
1512
+ "uid": "${datasource}"
1513
+ },
1514
+ "expr": "rate( container_cpu_cfs_throttled_periods_total[5m] ) > 5",
1515
+ "interval": "",
1516
+ "legendFormat": "{{pod}}",
1517
+ "refId": "A"
1518
+ }
1519
+ ],
1520
+ "title": "CPU Throttling Rate > 5",
1521
+ "transparent": true,
1522
+ "type": "timeseries"
1523
+ },
1524
+ {
1525
+ "datasource": {
1526
+ "type": "prometheus",
1527
+ "uid": "${datasource}"
1528
+ },
1529
+ "fieldConfig": {
1530
+ "defaults": {
1531
+ "color": {
1532
+ "mode": "palette-classic"
1533
+ },
1534
+ "custom": {
1535
+ "drawStyle": "line",
1536
+ "fillOpacity": 0,
1537
+ "lineWidth": 1,
1538
+ "pointSize": 5,
1539
+ "showPoints": "never",
1540
+ "spanNulls": false
1541
+ },
1542
+ "mappings": [],
1543
+ "thresholds": {
1544
+ "mode": "absolute",
1545
+ "steps": [
1546
+ {
1547
+ "color": "green",
1548
+ "value": null
1549
+ }
1550
+ ]
1551
+ }
1552
+ },
1553
+ "overrides": []
1554
+ },
1555
+ "gridPos": {
1556
+ "h": 8,
1557
+ "w": 12,
1558
+ "x": 12,
1559
+ "y": 28
1560
+ },
1561
+ "id": 45,
1562
+ "options": {
1563
+ "legend": {
1564
+ "displayMode": "list",
1565
+ "placement": "bottom",
1566
+ "showLegend": false
1567
+ },
1568
+ "tooltip": {
1569
+ "mode": "multi",
1570
+ "sort": "none"
1571
+ }
1572
+ },
1573
+ "targets": [],
1574
+ "title": "TBD — Reserved for Future Growth",
1575
+ "transparent": true,
1576
+ "type": "timeseries"
1577
+ },
1578
+ {
1579
+ "datasource": {
1580
+ "type": "prometheus",
1581
+ "uid": "${datasource}"
1582
+ },
1583
+ "description": "",
1584
+ "fieldConfig": {
1585
+ "defaults": {
1586
+ "color": {
1587
+ "mode": "thresholds"
1588
+ },
1589
+ "mappings": [],
1590
+ "max": 100,
1591
+ "min": 0,
1592
+ "thresholds": {
1593
+ "mode": "absolute",
1594
+ "steps": [
1595
+ {
1596
+ "color": "green",
1597
+ "value": null
1598
+ },
1599
+ {
1600
+ "color": "yellow",
1601
+ "value": 70
1602
+ },
1603
+ {
1604
+ "color": "red",
1605
+ "value": 90
1606
+ }
1607
+ ]
1608
+ },
1609
+ "unit": "percent"
1610
+ },
1611
+ "overrides": []
1612
+ },
1613
+ "gridPos": {
1614
+ "h": 5,
1615
+ "w": 8,
1616
+ "x": 8,
1617
+ "y": 0
1618
+ },
1619
+ "id": 34,
1620
+ "options": {
1621
+ "displayMode": "gradient",
1622
+ "legend": {
1623
+ "calcs": [],
1624
+ "displayMode": "list",
1625
+ "placement": "bottom",
1626
+ "showLegend": false
1627
+ },
1628
+ "maxVizHeight": 300,
1629
+ "minVizHeight": 16,
1630
+ "minVizWidth": 0,
1631
+ "namePlacement": "auto",
1632
+ "orientation": "horizontal",
1633
+ "reduceOptions": {
1634
+ "calcs": [
1635
+ "lastNotNull"
1636
+ ],
1637
+ "fields": "",
1638
+ "values": false
1639
+ },
1640
+ "showUnfilled": true,
1641
+ "sizing": "auto",
1642
+ "valueMode": "color"
1643
+ },
1644
+ "pluginVersion": "11.6.1",
1645
+ "targets": [
1646
+ {
1647
+ "datasource": {
1648
+ "type": "prometheus",
1649
+ "uid": "${datasource}"
1650
+ },
1651
+ "editorMode": "code",
1652
+ "expr": "sort_desc((kubelet_volume_stats_capacity_bytes{persistentvolumeclaim=~\".*timescale.*|.*cnpg.*|.*postgres.*\"} - kubelet_volume_stats_available_bytes{persistentvolumeclaim=~\".*timescale.*|.*cnpg.*|.*postgres.*\"}) / kubelet_volume_stats_capacity_bytes{persistentvolumeclaim=~\".*timescale.*|.*cnpg.*|.*postgres.*\"} * 100)",
1653
+ "instant": true,
1654
+ "legendFormat": "{{persistentvolumeclaim}}",
1655
+ "range": false,
1656
+ "refId": "A"
1657
+ }
1658
+ ],
1659
+ "title": "Database PVC % Full",
1660
+ "transparent": true,
1661
+ "type": "bargauge"
1662
+ },
1663
+ {
1664
+ "datasource": {
1665
+ "type": "prometheus",
1666
+ "uid": "${datasource}"
1667
+ },
1668
+ "description": "",
1669
+ "fieldConfig": {
1670
+ "defaults": {
1671
+ "color": {
1672
+ "fixedColor": "rgb(31, 120, 193)",
1673
+ "mode": "fixed"
1674
+ },
1675
+ "mappings": [
1676
+ {
1677
+ "options": {
1678
+ "match": "null",
1679
+ "result": {
1680
+ "text": "N/A"
1681
+ }
1682
+ },
1683
+ "type": "special"
1684
+ }
1685
+ ],
1686
+ "thresholds": {
1687
+ "mode": "absolute",
1688
+ "steps": [
1689
+ {
1690
+ "color": "green"
1691
+ },
1692
+ {
1693
+ "color": "red",
1694
+ "value": 80
1695
+ }
1696
+ ]
1697
+ },
1698
+ "unit": "ms"
1699
+ },
1700
+ "overrides": []
1701
+ },
1702
+ "gridPos": {
1703
+ "h": 3,
1704
+ "w": 3,
1705
+ "x": 0,
1706
+ "y": 36
1707
+ },
1708
+ "id": 18,
1709
+ "maxDataPoints": 100,
1710
+ "options": {
1711
+ "colorMode": "none",
1712
+ "graphMode": "area",
1713
+ "justifyMode": "auto",
1714
+ "orientation": "horizontal",
1715
+ "percentChangeColorMode": "standard",
1716
+ "reduceOptions": {
1717
+ "calcs": [
1718
+ "mean"
1719
+ ],
1720
+ "fields": "",
1721
+ "values": false
1722
+ },
1723
+ "showPercentChange": false,
1724
+ "textMode": "auto",
1725
+ "wideLayout": true
1726
+ },
1727
+ "pluginVersion": "11.6.1",
1728
+ "targets": [
1729
+ {
1730
+ "datasource": {
1731
+ "type": "prometheus",
1732
+ "uid": "${datasource}"
1733
+ },
1734
+ "expr": "sum(traefik_entrypoint_request_duration_seconds_sum) / sum(traefik_entrypoint_requests_total) * 1000",
1735
+ "format": "time_series",
1736
+ "intervalFactor": 2,
1737
+ "refId": "A"
1738
+ }
1739
+ ],
1740
+ "title": "Traefik Avg Rsp Time",
1741
+ "transparent": true,
1742
+ "type": "stat"
1743
+ },
1744
+ {
1745
+ "datasource": {
1746
+ "type": "prometheus",
1747
+ "uid": "${datasource}"
1748
+ },
1749
+ "description": "",
1750
+ "fieldConfig": {
1751
+ "defaults": {
1752
+ "color": {
1753
+ "mode": "palette-classic"
1754
+ },
1755
+ "custom": {
1756
+ "axisBorderShow": false,
1757
+ "axisCenteredZero": false,
1758
+ "axisColorMode": "text",
1759
+ "axisLabel": "",
1760
+ "axisPlacement": "auto",
1761
+ "barAlignment": 0,
1762
+ "barWidthFactor": 0.6,
1763
+ "drawStyle": "line",
1764
+ "fillOpacity": 70,
1765
+ "gradientMode": "none",
1766
+ "hideFrom": {
1767
+ "legend": false,
1768
+ "tooltip": false,
1769
+ "viz": false
1770
+ },
1771
+ "insertNulls": false,
1772
+ "lineInterpolation": "linear",
1773
+ "lineWidth": 1,
1774
+ "pointSize": 5,
1775
+ "scaleDistribution": {
1776
+ "type": "linear"
1777
+ },
1778
+ "showPoints": "never",
1779
+ "spanNulls": false,
1780
+ "stacking": {
1781
+ "group": "A",
1782
+ "mode": "normal"
1783
+ },
1784
+ "thresholdsStyle": {
1785
+ "mode": "off"
1786
+ }
1787
+ },
1788
+ "decimals": 0,
1789
+ "links": [],
1790
+ "mappings": [],
1791
+ "thresholds": {
1792
+ "mode": "absolute",
1793
+ "steps": [
1794
+ {
1795
+ "color": "green"
1796
+ },
1797
+ {
1798
+ "color": "red",
1799
+ "value": 80
1800
+ }
1801
+ ]
1802
+ },
1803
+ "unit": "short"
1804
+ },
1805
+ "overrides": []
1806
+ },
1807
+ "gridPos": {
1808
+ "h": 6,
1809
+ "w": 9,
1810
+ "x": 3,
1811
+ "y": 36
1812
+ },
1813
+ "id": 20,
1814
+ "links": [
1815
+ {
1816
+ "title": "Traefik",
1817
+ "url": "${monitoring_url}/d/traefik/traefik-2?orgId=1&refresh=30s"
1818
+ }
1819
+ ],
1820
+ "options": {
1821
+ "legend": {
1822
+ "calcs": [
1823
+ "mean",
1824
+ "lastNotNull",
1825
+ "max"
1826
+ ],
1827
+ "displayMode": "table",
1828
+ "placement": "right",
1829
+ "showLegend": true
1830
+ },
1831
+ "tooltip": {
1832
+ "hideZeros": false,
1833
+ "mode": "multi",
1834
+ "sort": "none"
1835
+ }
1836
+ },
1837
+ "pluginVersion": "11.6.1",
1838
+ "targets": [
1839
+ {
1840
+ "datasource": {
1841
+ "type": "prometheus",
1842
+ "uid": "${datasource}"
1843
+ },
1844
+ "editorMode": "code",
1845
+ "expr": "sum(rate(traefik_entrypoint_requests_total[5m])) by (method)",
1846
+ "format": "time_series",
1847
+ "intervalFactor": 1,
1848
+ "legendFormat": "{{ method }}",
1849
+ "range": true,
1850
+ "refId": "A"
1851
+ }
1852
+ ],
1853
+ "title": "Traefik Requests by Method",
1854
+ "transparent": true,
1855
+ "type": "timeseries"
1856
+ },
1857
+ {
1858
+ "datasource": {
1859
+ "type": "prometheus",
1860
+ "uid": "${datasource}"
1861
+ },
1862
+ "description": "",
1863
+ "fieldConfig": {
1864
+ "defaults": {
1865
+ "color": {
1866
+ "mode": "palette-classic"
1867
+ },
1868
+ "custom": {
1869
+ "axisBorderShow": false,
1870
+ "axisCenteredZero": false,
1871
+ "axisColorMode": "text",
1872
+ "axisLabel": "",
1873
+ "axisPlacement": "auto",
1874
+ "barAlignment": 0,
1875
+ "barWidthFactor": 0.6,
1876
+ "drawStyle": "line",
1877
+ "fillOpacity": 10,
1878
+ "gradientMode": "none",
1879
+ "hideFrom": {
1880
+ "legend": false,
1881
+ "tooltip": false,
1882
+ "viz": false
1883
+ },
1884
+ "insertNulls": false,
1885
+ "lineInterpolation": "linear",
1886
+ "lineWidth": 2,
1887
+ "pointSize": 5,
1888
+ "scaleDistribution": {
1889
+ "type": "linear"
1890
+ },
1891
+ "showPoints": "never",
1892
+ "spanNulls": true,
1893
+ "stacking": {
1894
+ "group": "A",
1895
+ "mode": "none"
1896
+ },
1897
+ "thresholdsStyle": {
1898
+ "mode": "off"
1899
+ }
1900
+ },
1901
+ "links": [],
1902
+ "mappings": [],
1903
+ "min": 0,
1904
+ "thresholds": {
1905
+ "mode": "absolute",
1906
+ "steps": [
1907
+ {
1908
+ "color": "green"
1909
+ },
1910
+ {
1911
+ "color": "red",
1912
+ "value": 80
1913
+ }
1914
+ ]
1915
+ },
1916
+ "unit": "short"
1917
+ },
1918
+ "overrides": []
1919
+ },
1920
+ "gridPos": {
1921
+ "h": 6,
1922
+ "w": 12,
1923
+ "x": 12,
1924
+ "y": 36
1925
+ },
1926
+ "id": 22,
1927
+ "links": [
1928
+ {
1929
+ "title": "Valkey",
1930
+ "url": "${monitoring_url}/d/valkey/valkey?orgId=1&refresh=1m"
1931
+ }
1932
+ ],
1933
+ "options": {
1934
+ "legend": {
1935
+ "calcs": [
1936
+ "last"
1937
+ ],
1938
+ "displayMode": "table",
1939
+ "placement": "right",
1940
+ "showLegend": true
1941
+ },
1942
+ "tooltip": {
1943
+ "hideZeros": false,
1944
+ "mode": "multi",
1945
+ "sort": "none"
1946
+ }
1947
+ },
1948
+ "pluginVersion": "11.6.1",
1949
+ "targets": [
1950
+ {
1951
+ "datasource": {
1952
+ "type": "prometheus",
1953
+ "uid": "${datasource}"
1954
+ },
1955
+ "editorMode": "code",
1956
+ "expr": "irate(redis_keyspace_hits_total[5m])",
1957
+ "format": "time_series",
1958
+ "hide": false,
1959
+ "interval": "",
1960
+ "intervalFactor": 2,
1961
+ "legendFormat": "{{ app_kubernetes_io_component }} hits",
1962
+ "metric": "",
1963
+ "range": true,
1964
+ "refId": "A",
1965
+ "step": 240,
1966
+ "target": ""
1967
+ },
1968
+ {
1969
+ "datasource": {
1970
+ "type": "prometheus",
1971
+ "uid": "${datasource}"
1972
+ },
1973
+ "editorMode": "code",
1974
+ "expr": "irate(redis_keyspace_misses_total[5m])",
1975
+ "format": "time_series",
1976
+ "hide": false,
1977
+ "interval": "",
1978
+ "intervalFactor": 2,
1979
+ "legendFormat": "{{ app_kubernetes_io_component }} misses",
1980
+ "metric": "",
1981
+ "range": true,
1982
+ "refId": "B",
1983
+ "step": 240,
1984
+ "target": ""
1985
+ }
1986
+ ],
1987
+ "title": "Valkey / Redis Hits / Misses per Sec",
1988
+ "transparent": true,
1989
+ "type": "timeseries"
1990
+ },
1991
+ {
1992
+ "datasource": {
1993
+ "type": "prometheus",
1994
+ "uid": "${datasource}"
1995
+ },
1996
+ "description": "",
1997
+ "fieldConfig": {
1998
+ "defaults": {
1999
+ "color": {
2000
+ "fixedColor": "rgb(31, 120, 193)",
2001
+ "mode": "fixed"
2002
+ },
2003
+ "mappings": [
2004
+ {
2005
+ "options": {
2006
+ "match": "null",
2007
+ "result": {
2008
+ "text": "N/A"
2009
+ }
2010
+ },
2011
+ "type": "special"
2012
+ }
2013
+ ],
2014
+ "thresholds": {
2015
+ "mode": "absolute",
2016
+ "steps": [
2017
+ {
2018
+ "color": "green"
2019
+ },
2020
+ {
2021
+ "color": "red",
2022
+ "value": 80
2023
+ }
2024
+ ]
2025
+ },
2026
+ "unit": "reqps"
2027
+ },
2028
+ "overrides": []
2029
+ },
2030
+ "gridPos": {
2031
+ "h": 3,
2032
+ "w": 3,
2033
+ "x": 0,
2034
+ "y": 39
2035
+ },
2036
+ "id": 26,
2037
+ "maxDataPoints": 100,
2038
+ "options": {
2039
+ "colorMode": "none",
2040
+ "graphMode": "area",
2041
+ "justifyMode": "auto",
2042
+ "orientation": "horizontal",
2043
+ "percentChangeColorMode": "standard",
2044
+ "reduceOptions": {
2045
+ "calcs": [
2046
+ "mean"
2047
+ ],
2048
+ "fields": "",
2049
+ "values": false
2050
+ },
2051
+ "showPercentChange": false,
2052
+ "textMode": "auto",
2053
+ "wideLayout": true
2054
+ },
2055
+ "pluginVersion": "11.6.1",
2056
+ "targets": [
2057
+ {
2058
+ "datasource": {
2059
+ "type": "prometheus",
2060
+ "uid": "${datasource}"
2061
+ },
2062
+ "editorMode": "code",
2063
+ "expr": "sum(rate(traefik_entrypoint_requests_total[5m]))",
2064
+ "format": "time_series",
2065
+ "intervalFactor": 2,
2066
+ "range": true,
2067
+ "refId": "A"
2068
+ }
2069
+ ],
2070
+ "title": "Traefik Request Rate",
2071
+ "transparent": true,
2072
+ "type": "stat"
2073
+ },
2074
+ {
2075
+ "datasource": {
2076
+ "type": "prometheus",
2077
+ "uid": "${datasource}"
2078
+ },
2079
+ "description": "The CPU usage in a cluster grouped by Kubernetes deployment",
2080
+ "fieldConfig": {
2081
+ "defaults": {
2082
+ "color": {
2083
+ "mode": "continuous-GrYlRd"
2084
+ },
2085
+ "mappings": [],
2086
+ "thresholds": {
2087
+ "mode": "absolute",
2088
+ "steps": [
2089
+ {
2090
+ "color": "green"
2091
+ }
2092
+ ]
2093
+ },
2094
+ "unit": "short"
2095
+ },
2096
+ "overrides": []
2097
+ },
2098
+ "gridPos": {
2099
+ "h": 7,
2100
+ "w": 12,
2101
+ "x": 0,
2102
+ "y": 42
2103
+ },
2104
+ "id": 10,
2105
+ "options": {
2106
+ "displayMode": "gradient",
2107
+ "legend": {
2108
+ "calcs": [],
2109
+ "displayMode": "list",
2110
+ "placement": "bottom",
2111
+ "showLegend": false
2112
+ },
2113
+ "maxVizHeight": 300,
2114
+ "minVizHeight": 20,
2115
+ "minVizWidth": 0,
2116
+ "namePlacement": "auto",
2117
+ "orientation": "horizontal",
2118
+ "reduceOptions": {
2119
+ "calcs": [
2120
+ "lastNotNull"
2121
+ ],
2122
+ "fields": "",
2123
+ "values": false
2124
+ },
2125
+ "showUnfilled": true,
2126
+ "sizing": "auto",
2127
+ "valueMode": "color"
2128
+ },
2129
+ "pluginVersion": "11.6.1",
2130
+ "targets": [
2131
+ {
2132
+ "datasource": {
2133
+ "type": "prometheus",
2134
+ "uid": "${datasource}"
2135
+ },
2136
+ "editorMode": "code",
2137
+ "exemplar": false,
2138
+ "expr": "sort_desc(sum by (container, namespace) (rate(container_cpu_usage_seconds_total{namespace=\"default\", container!=\"\", container!=\"POD\"}[2m]))) > 0.01",
2139
+ "format": "time_series",
2140
+ "instant": true,
2141
+ "legendFormat": "{{container}}",
2142
+ "range": false,
2143
+ "refId": "A"
2144
+ }
2145
+ ],
2146
+ "title": "CPU Usage by Leverege Container",
2147
+ "transparent": true,
2148
+ "type": "bargauge"
2149
+ },
2150
+ {
2151
+ "datasource": {
2152
+ "type": "prometheus",
2153
+ "uid": "${datasource}"
2154
+ },
2155
+ "description": "The CPU usage in a cluster grouped by Kubernetes pod",
2156
+ "fieldConfig": {
2157
+ "defaults": {
2158
+ "color": {
2159
+ "mode": "continuous-GrYlRd"
2160
+ },
2161
+ "mappings": [],
2162
+ "thresholds": {
2163
+ "mode": "absolute",
2164
+ "steps": [
2165
+ {
2166
+ "color": "green"
2167
+ }
2168
+ ]
2169
+ },
2170
+ "unit": "short"
2171
+ },
2172
+ "overrides": []
2173
+ },
2174
+ "gridPos": {
2175
+ "h": 7,
2176
+ "w": 12,
2177
+ "x": 12,
2178
+ "y": 42
2179
+ },
2180
+ "id": 12,
2181
+ "options": {
2182
+ "displayMode": "gradient",
2183
+ "legend": {
2184
+ "calcs": [],
2185
+ "displayMode": "list",
2186
+ "placement": "bottom",
2187
+ "showLegend": false
2188
+ },
2189
+ "maxVizHeight": 300,
2190
+ "minVizHeight": 20,
2191
+ "minVizWidth": 0,
2192
+ "namePlacement": "auto",
2193
+ "orientation": "horizontal",
2194
+ "reduceOptions": {
2195
+ "calcs": [
2196
+ "lastNotNull"
2197
+ ],
2198
+ "fields": "",
2199
+ "values": false
2200
+ },
2201
+ "showUnfilled": true,
2202
+ "sizing": "auto",
2203
+ "valueMode": "color"
2204
+ },
2205
+ "pluginVersion": "11.6.1",
2206
+ "targets": [
2207
+ {
2208
+ "datasource": {
2209
+ "type": "prometheus",
2210
+ "uid": "${datasource}"
2211
+ },
2212
+ "editorMode": "code",
2213
+ "exemplar": false,
2214
+ "expr": "sort_desc(sum by (pod, namespace) (rate(container_cpu_usage_seconds_total{namespace=\"default\", container!=\"\", container!=\"POD\"}[2m]))) > 0.01",
2215
+ "format": "time_series",
2216
+ "instant": true,
2217
+ "legendFormat": "{{ pod}}",
2218
+ "range": false,
2219
+ "refId": "A"
2220
+ }
2221
+ ],
2222
+ "title": "CPU Usage by Leverege Pod",
2223
+ "transparent": true,
2224
+ "type": "bargauge"
2225
+ },
2226
+ {
2227
+ "datasource": {
2228
+ "type": "prometheus",
2229
+ "uid": "${datasource}"
2230
+ },
2231
+ "description": "",
2232
+ "fieldConfig": {
2233
+ "defaults": {
2234
+ "color": {
2235
+ "mode": "palette-classic"
2236
+ },
2237
+ "custom": {
2238
+ "axisBorderShow": false,
2239
+ "axisCenteredZero": false,
2240
+ "axisColorMode": "text",
2241
+ "axisLabel": "",
2242
+ "axisPlacement": "auto",
2243
+ "barAlignment": 0,
2244
+ "barWidthFactor": 0.6,
2245
+ "drawStyle": "line",
2246
+ "fillOpacity": 0,
2247
+ "gradientMode": "none",
2248
+ "hideFrom": {
2249
+ "legend": false,
2250
+ "tooltip": false,
2251
+ "viz": false
2252
+ },
2253
+ "insertNulls": false,
2254
+ "lineInterpolation": "linear",
2255
+ "lineWidth": 1,
2256
+ "pointSize": 5,
2257
+ "scaleDistribution": {
2258
+ "type": "linear"
2259
+ },
2260
+ "showPoints": "never",
2261
+ "spanNulls": false,
2262
+ "stacking": {
2263
+ "group": "A",
2264
+ "mode": "none"
2265
+ },
2266
+ "thresholdsStyle": {
2267
+ "mode": "off"
2268
+ }
2269
+ },
2270
+ "mappings": [],
2271
+ "thresholds": {
2272
+ "mode": "absolute",
2273
+ "steps": [
2274
+ {
2275
+ "color": "green"
2276
+ },
2277
+ {
2278
+ "color": "red",
2279
+ "value": 80
2280
+ }
2281
+ ]
2282
+ }
2283
+ },
2284
+ "overrides": []
2285
+ },
2286
+ "gridPos": {
2287
+ "h": 8,
2288
+ "w": 12,
2289
+ "x": 12,
2290
+ "y": 49
2291
+ },
2292
+ "id": 38,
2293
+ "options": {
2294
+ "legend": {
2295
+ "calcs": [],
2296
+ "displayMode": "list",
2297
+ "placement": "right",
2298
+ "showLegend": true
2299
+ },
2300
+ "tooltip": {
2301
+ "hideZeros": false,
2302
+ "mode": "multi",
2303
+ "sort": "desc"
2304
+ }
2305
+ },
2306
+ "pluginVersion": "11.6.1",
2307
+ "targets": [
2308
+ {
2309
+ "datasource": {
2310
+ "type": "prometheus",
2311
+ "uid": "${datasource}"
2312
+ },
2313
+ "editorMode": "code",
2314
+ "expr": "count by(container) (container_memory_usage_bytes{namespace=\"default\",container!=\"\",container!=\"reloader-reloader\",container!=\"timescale-db-postgresql\",container!=\"metrics\",container!=\"postgres-postgresql\",container!=\"redis\"}) > 3",
2315
+ "legendFormat": "__auto",
2316
+ "range": true,
2317
+ "refId": "A"
2318
+ }
2319
+ ],
2320
+ "title": "Pod Counts",
2321
+ "transparent": true,
2322
+ "type": "timeseries"
2323
+ }
2324
+ ],
2325
+ "preload": false,
2326
+ "refresh": "5m",
2327
+ "schemaVersion": 41,
2328
+ "tags": [],
2329
+ "templating": {
2330
+ "list": [
2331
+ {
2332
+ "current": {},
2333
+ "hide": 0,
2334
+ "includeAll": false,
2335
+ "label": "Datasource",
2336
+ "multi": false,
2337
+ "name": "datasource",
2338
+ "options": [],
2339
+ "query": "prometheus",
2340
+ "refresh": 1,
2341
+ "type": "datasource"
2342
+ },
2343
+ {
2344
+ "current": {},
2345
+ "hide": 0,
2346
+ "label": "Monitoring URL",
2347
+ "name": "monitoring_url",
2348
+ "options": [],
2349
+ "query": "",
2350
+ "skipUrlSync": false,
2351
+ "type": "textbox"
2352
+ }
2353
+ ]
2354
+ },
2355
+ "time": {
2356
+ "from": "now-3h",
2357
+ "to": "now"
2358
+ },
2359
+ "timepicker": {},
2360
+ "timezone": "browser",
2361
+ "title": "Leverege NOC",
2362
+ "uid": "Gm0e5T44l",
2363
+ "version": 26
2364
+ }