@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,3624 @@
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
+ "id": null,
22
+ "links": [],
23
+ "panels": [
24
+ {
25
+ "collapsed": false,
26
+ "gridPos": {
27
+ "h": 1,
28
+ "w": 24,
29
+ "x": 0,
30
+ "y": 0
31
+ },
32
+ "id": 24,
33
+ "panels": [],
34
+ "title": "Kubernetes",
35
+ "type": "row",
36
+ "datasource": {
37
+ "type": "prometheus",
38
+ "uid": "${datasource}"
39
+ }
40
+ },
41
+ {
42
+ "datasource": {
43
+ "type": "prometheus",
44
+ "uid": "${datasource}"
45
+ },
46
+ "fieldConfig": {
47
+ "defaults": {
48
+ "color": {
49
+ "mode": "palette-classic"
50
+ },
51
+ "custom": {
52
+ "axisBorderShow": false,
53
+ "axisCenteredZero": false,
54
+ "axisColorMode": "text",
55
+ "axisLabel": "",
56
+ "axisPlacement": "auto",
57
+ "barAlignment": 0,
58
+ "barWidthFactor": 0.6,
59
+ "drawStyle": "line",
60
+ "fillOpacity": 10,
61
+ "gradientMode": "none",
62
+ "hideFrom": {
63
+ "legend": false,
64
+ "tooltip": false,
65
+ "viz": false
66
+ },
67
+ "insertNulls": false,
68
+ "lineInterpolation": "linear",
69
+ "lineWidth": 1,
70
+ "pointSize": 5,
71
+ "scaleDistribution": {
72
+ "type": "linear"
73
+ },
74
+ "showPoints": "never",
75
+ "spanNulls": false,
76
+ "stacking": {
77
+ "group": "A",
78
+ "mode": "none"
79
+ },
80
+ "thresholdsStyle": {
81
+ "mode": "off"
82
+ }
83
+ },
84
+ "mappings": [],
85
+ "thresholds": {
86
+ "mode": "absolute",
87
+ "steps": [
88
+ {
89
+ "color": "green",
90
+ "value": 0
91
+ },
92
+ {
93
+ "color": "red",
94
+ "value": 80
95
+ }
96
+ ]
97
+ },
98
+ "unit": "percent"
99
+ },
100
+ "overrides": []
101
+ },
102
+ "gridPos": {
103
+ "h": 7,
104
+ "w": 12,
105
+ "x": 0,
106
+ "y": 1
107
+ },
108
+ "id": 14,
109
+ "options": {
110
+ "legend": {
111
+ "calcs": [],
112
+ "displayMode": "list",
113
+ "placement": "bottom",
114
+ "showLegend": true
115
+ },
116
+ "tooltip": {
117
+ "hideZeros": false,
118
+ "mode": "multi",
119
+ "sort": "none"
120
+ }
121
+ },
122
+ "pluginVersion": "12.1.1",
123
+ "targets": [
124
+ {
125
+ "datasource": {
126
+ "type": "prometheus",
127
+ "uid": "${datasource}"
128
+ },
129
+ "editorMode": "code",
130
+ "exemplar": false,
131
+ "expr": "((kubelet_volume_stats_capacity_bytes{persistentvolumeclaim!~\".*(redis|prometheus).*\"} - kubelet_volume_stats_available_bytes) / kubelet_volume_stats_capacity_bytes * 100) > 50",
132
+ "format": "time_series",
133
+ "intervalFactor": 1,
134
+ "legendFormat": "{{persistentvolumeclaim}}",
135
+ "range": true,
136
+ "refId": "A"
137
+ }
138
+ ],
139
+ "title": "PVC volume usage > 50%",
140
+ "type": "timeseries"
141
+ },
142
+ {
143
+ "datasource": {
144
+ "type": "prometheus",
145
+ "uid": "${datasource}"
146
+ },
147
+ "fieldConfig": {
148
+ "defaults": {
149
+ "color": {
150
+ "mode": "palette-classic"
151
+ },
152
+ "custom": {
153
+ "axisBorderShow": false,
154
+ "axisCenteredZero": false,
155
+ "axisColorMode": "text",
156
+ "axisLabel": "",
157
+ "axisPlacement": "auto",
158
+ "barAlignment": 0,
159
+ "barWidthFactor": 0.6,
160
+ "drawStyle": "line",
161
+ "fillOpacity": 0,
162
+ "gradientMode": "none",
163
+ "hideFrom": {
164
+ "legend": false,
165
+ "tooltip": false,
166
+ "viz": false
167
+ },
168
+ "insertNulls": false,
169
+ "lineInterpolation": "linear",
170
+ "lineWidth": 1,
171
+ "pointSize": 5,
172
+ "scaleDistribution": {
173
+ "type": "linear"
174
+ },
175
+ "showPoints": "auto",
176
+ "spanNulls": false,
177
+ "stacking": {
178
+ "group": "A",
179
+ "mode": "none"
180
+ },
181
+ "thresholdsStyle": {
182
+ "mode": "off"
183
+ }
184
+ },
185
+ "mappings": [],
186
+ "thresholds": {
187
+ "mode": "absolute",
188
+ "steps": [
189
+ {
190
+ "color": "green",
191
+ "value": 0
192
+ },
193
+ {
194
+ "color": "red",
195
+ "value": 80
196
+ }
197
+ ]
198
+ }
199
+ },
200
+ "overrides": []
201
+ },
202
+ "gridPos": {
203
+ "h": 7,
204
+ "w": 12,
205
+ "x": 12,
206
+ "y": 1
207
+ },
208
+ "id": 18,
209
+ "options": {
210
+ "legend": {
211
+ "calcs": [],
212
+ "displayMode": "list",
213
+ "placement": "bottom",
214
+ "showLegend": true
215
+ },
216
+ "tooltip": {
217
+ "hideZeros": false,
218
+ "mode": "single",
219
+ "sort": "none"
220
+ }
221
+ },
222
+ "pluginVersion": "12.1.1",
223
+ "targets": [
224
+ {
225
+ "editorMode": "code",
226
+ "expr": "count by(container) (container_memory_usage_bytes{namespace=\"default\",container!=\"\",container!=\"reloader-reloader\",container!=\"timescale-db-postgresql\",container!=\"metrics\",container!=\"redis\"}) > 3",
227
+ "legendFormat": "__auto",
228
+ "range": true,
229
+ "refId": "A",
230
+ "datasource": {
231
+ "type": "prometheus",
232
+ "uid": "${datasource}"
233
+ }
234
+ }
235
+ ],
236
+ "title": "Pod Counts > 3 pods",
237
+ "type": "timeseries"
238
+ },
239
+ {
240
+ "datasource": {
241
+ "type": "prometheus",
242
+ "uid": "${datasource}"
243
+ },
244
+ "fieldConfig": {
245
+ "defaults": {
246
+ "color": {
247
+ "mode": "palette-classic"
248
+ },
249
+ "custom": {
250
+ "axisBorderShow": false,
251
+ "axisCenteredZero": false,
252
+ "axisColorMode": "text",
253
+ "axisLabel": "",
254
+ "axisPlacement": "auto",
255
+ "barAlignment": 0,
256
+ "barWidthFactor": 0.6,
257
+ "drawStyle": "bars",
258
+ "fillOpacity": 0,
259
+ "gradientMode": "none",
260
+ "hideFrom": {
261
+ "legend": false,
262
+ "tooltip": false,
263
+ "viz": false
264
+ },
265
+ "insertNulls": false,
266
+ "lineInterpolation": "linear",
267
+ "lineWidth": 1,
268
+ "pointSize": 5,
269
+ "scaleDistribution": {
270
+ "type": "linear"
271
+ },
272
+ "showPoints": "auto",
273
+ "spanNulls": false,
274
+ "stacking": {
275
+ "group": "A",
276
+ "mode": "none"
277
+ },
278
+ "thresholdsStyle": {
279
+ "mode": "off"
280
+ }
281
+ },
282
+ "mappings": [],
283
+ "min": 0,
284
+ "thresholds": {
285
+ "mode": "absolute",
286
+ "steps": [
287
+ {
288
+ "color": "green",
289
+ "value": 0
290
+ },
291
+ {
292
+ "color": "red",
293
+ "value": 80
294
+ }
295
+ ]
296
+ }
297
+ },
298
+ "overrides": []
299
+ },
300
+ "gridPos": {
301
+ "h": 8,
302
+ "w": 12,
303
+ "x": 0,
304
+ "y": 8
305
+ },
306
+ "id": 27,
307
+ "options": {
308
+ "legend": {
309
+ "calcs": [],
310
+ "displayMode": "list",
311
+ "placement": "bottom",
312
+ "showLegend": true
313
+ },
314
+ "tooltip": {
315
+ "hideZeros": false,
316
+ "mode": "multi",
317
+ "sort": "desc"
318
+ }
319
+ },
320
+ "pluginVersion": "12.1.1",
321
+ "targets": [
322
+ {
323
+ "adhocFilters": [],
324
+ "datasource": {
325
+ "type": "prometheus",
326
+ "uid": "${datasource}"
327
+ },
328
+ "editorMode": "code",
329
+ "expr": "sum by (container) (rate(kube_pod_container_status_restarts_total{}[$__rate_interval])) > 0",
330
+ "fromExploreMetrics": true,
331
+ "instant": true,
332
+ "interval": "",
333
+ "legendFormat": "{{container}}",
334
+ "range": true,
335
+ "refId": "A"
336
+ }
337
+ ],
338
+ "title": "Pod restarts",
339
+ "type": "timeseries"
340
+ },
341
+ {
342
+ "datasource": {
343
+ "type": "prometheus",
344
+ "uid": "${datasource}"
345
+ },
346
+ "fieldConfig": {
347
+ "defaults": {
348
+ "color": {
349
+ "mode": "palette-classic"
350
+ },
351
+ "custom": {
352
+ "axisBorderShow": false,
353
+ "axisCenteredZero": false,
354
+ "axisColorMode": "text",
355
+ "axisLabel": "",
356
+ "axisPlacement": "auto",
357
+ "barAlignment": 0,
358
+ "barWidthFactor": 0.6,
359
+ "drawStyle": "line",
360
+ "fillOpacity": 0,
361
+ "gradientMode": "none",
362
+ "hideFrom": {
363
+ "legend": false,
364
+ "tooltip": false,
365
+ "viz": false
366
+ },
367
+ "insertNulls": false,
368
+ "lineInterpolation": "linear",
369
+ "lineWidth": 1,
370
+ "pointSize": 3,
371
+ "scaleDistribution": {
372
+ "type": "linear"
373
+ },
374
+ "showPoints": "auto",
375
+ "spanNulls": false,
376
+ "stacking": {
377
+ "group": "A",
378
+ "mode": "none"
379
+ },
380
+ "thresholdsStyle": {
381
+ "mode": "off"
382
+ }
383
+ },
384
+ "mappings": [],
385
+ "thresholds": {
386
+ "mode": "absolute",
387
+ "steps": [
388
+ {
389
+ "color": "green",
390
+ "value": 0
391
+ },
392
+ {
393
+ "color": "red",
394
+ "value": 80
395
+ }
396
+ ]
397
+ }
398
+ },
399
+ "overrides": []
400
+ },
401
+ "gridPos": {
402
+ "h": 8,
403
+ "w": 12,
404
+ "x": 12,
405
+ "y": 8
406
+ },
407
+ "id": 30,
408
+ "options": {
409
+ "legend": {
410
+ "calcs": [],
411
+ "displayMode": "list",
412
+ "placement": "bottom",
413
+ "showLegend": true
414
+ },
415
+ "tooltip": {
416
+ "hideZeros": false,
417
+ "mode": "single",
418
+ "sort": "none"
419
+ }
420
+ },
421
+ "pluginVersion": "12.1.1",
422
+ "targets": [
423
+ {
424
+ "datasource": {
425
+ "type": "prometheus",
426
+ "uid": "${datasource}"
427
+ },
428
+ "editorMode": "code",
429
+ "exemplar": false,
430
+ "expr": "100 * (\n sum(rate(container_cpu_usage_seconds_total{container!=\"\"}[5m])) by (node)\n / on(node)\n kube_node_status_capacity{resource=\"cpu\"}\n)\n",
431
+ "instant": false,
432
+ "legendFormat": "__auto",
433
+ "range": true,
434
+ "refId": "A"
435
+ }
436
+ ],
437
+ "title": "GKE nodes CPU usage",
438
+ "type": "timeseries"
439
+ },
440
+ {
441
+ "collapsed": false,
442
+ "gridPos": {
443
+ "h": 1,
444
+ "w": 24,
445
+ "x": 0,
446
+ "y": 16
447
+ },
448
+ "id": 23,
449
+ "panels": [],
450
+ "title": "Traefik",
451
+ "type": "row",
452
+ "datasource": {
453
+ "type": "prometheus",
454
+ "uid": "${datasource}"
455
+ }
456
+ },
457
+ {
458
+ "datasource": {
459
+ "type": "prometheus",
460
+ "uid": "${datasource}"
461
+ },
462
+ "description": "",
463
+ "fieldConfig": {
464
+ "defaults": {
465
+ "color": {
466
+ "fixedColor": "rgb(31, 120, 193)",
467
+ "mode": "fixed"
468
+ },
469
+ "mappings": [
470
+ {
471
+ "options": {
472
+ "match": "null",
473
+ "result": {
474
+ "text": "N/A"
475
+ }
476
+ },
477
+ "type": "special"
478
+ }
479
+ ],
480
+ "thresholds": {
481
+ "mode": "absolute",
482
+ "steps": [
483
+ {
484
+ "color": "green",
485
+ "value": 0
486
+ },
487
+ {
488
+ "color": "red",
489
+ "value": 80
490
+ }
491
+ ]
492
+ },
493
+ "unit": "ms"
494
+ },
495
+ "overrides": []
496
+ },
497
+ "gridPos": {
498
+ "h": 6,
499
+ "w": 6,
500
+ "x": 0,
501
+ "y": 17
502
+ },
503
+ "id": 20,
504
+ "maxDataPoints": 100,
505
+ "options": {
506
+ "colorMode": "none",
507
+ "graphMode": "area",
508
+ "justifyMode": "auto",
509
+ "orientation": "horizontal",
510
+ "percentChangeColorMode": "standard",
511
+ "reduceOptions": {
512
+ "calcs": [
513
+ "mean"
514
+ ],
515
+ "fields": "",
516
+ "values": false
517
+ },
518
+ "showPercentChange": false,
519
+ "textMode": "auto",
520
+ "wideLayout": true
521
+ },
522
+ "pluginVersion": "12.1.1",
523
+ "targets": [
524
+ {
525
+ "datasource": {
526
+ "type": "prometheus",
527
+ "uid": "${datasource}"
528
+ },
529
+ "expr": "sum(traefik_entrypoint_request_duration_seconds_sum) / sum(traefik_entrypoint_requests_total) * 1000",
530
+ "format": "time_series",
531
+ "intervalFactor": 2,
532
+ "refId": "A"
533
+ }
534
+ ],
535
+ "title": "Traefik Avg Rsp Time",
536
+ "transparent": true,
537
+ "type": "stat"
538
+ },
539
+ {
540
+ "datasource": {
541
+ "type": "prometheus",
542
+ "uid": "${datasource}"
543
+ },
544
+ "description": "",
545
+ "fieldConfig": {
546
+ "defaults": {
547
+ "color": {
548
+ "fixedColor": "rgb(31, 120, 193)",
549
+ "mode": "fixed"
550
+ },
551
+ "mappings": [
552
+ {
553
+ "options": {
554
+ "match": "null",
555
+ "result": {
556
+ "text": "N/A"
557
+ }
558
+ },
559
+ "type": "special"
560
+ }
561
+ ],
562
+ "thresholds": {
563
+ "mode": "absolute",
564
+ "steps": [
565
+ {
566
+ "color": "green",
567
+ "value": 0
568
+ },
569
+ {
570
+ "color": "red",
571
+ "value": 80
572
+ }
573
+ ]
574
+ },
575
+ "unit": "reqps"
576
+ },
577
+ "overrides": []
578
+ },
579
+ "gridPos": {
580
+ "h": 6,
581
+ "w": 6,
582
+ "x": 6,
583
+ "y": 17
584
+ },
585
+ "id": 19,
586
+ "maxDataPoints": 100,
587
+ "options": {
588
+ "colorMode": "none",
589
+ "graphMode": "area",
590
+ "justifyMode": "auto",
591
+ "orientation": "horizontal",
592
+ "percentChangeColorMode": "standard",
593
+ "reduceOptions": {
594
+ "calcs": [
595
+ "mean"
596
+ ],
597
+ "fields": "",
598
+ "values": false
599
+ },
600
+ "showPercentChange": false,
601
+ "textMode": "auto",
602
+ "wideLayout": true
603
+ },
604
+ "pluginVersion": "12.1.1",
605
+ "targets": [
606
+ {
607
+ "datasource": {
608
+ "type": "prometheus",
609
+ "uid": "${datasource}"
610
+ },
611
+ "editorMode": "code",
612
+ "expr": "sum(rate(traefik_entrypoint_requests_total[5m]))",
613
+ "format": "time_series",
614
+ "intervalFactor": 2,
615
+ "range": true,
616
+ "refId": "A"
617
+ }
618
+ ],
619
+ "title": "Traefik Request Rate",
620
+ "transparent": true,
621
+ "type": "stat"
622
+ },
623
+ {
624
+ "datasource": {
625
+ "type": "prometheus",
626
+ "uid": "${datasource}"
627
+ },
628
+ "description": "",
629
+ "fieldConfig": {
630
+ "defaults": {
631
+ "color": {
632
+ "mode": "palette-classic"
633
+ },
634
+ "custom": {
635
+ "axisBorderShow": false,
636
+ "axisCenteredZero": false,
637
+ "axisColorMode": "text",
638
+ "axisLabel": "",
639
+ "axisPlacement": "auto",
640
+ "barAlignment": 0,
641
+ "barWidthFactor": 0.6,
642
+ "drawStyle": "line",
643
+ "fillOpacity": 0,
644
+ "gradientMode": "none",
645
+ "hideFrom": {
646
+ "legend": false,
647
+ "tooltip": false,
648
+ "viz": false
649
+ },
650
+ "insertNulls": false,
651
+ "lineInterpolation": "linear",
652
+ "lineWidth": 1,
653
+ "pointSize": 5,
654
+ "scaleDistribution": {
655
+ "log": 2,
656
+ "type": "symlog"
657
+ },
658
+ "showPoints": "auto",
659
+ "spanNulls": false,
660
+ "stacking": {
661
+ "group": "A",
662
+ "mode": "none"
663
+ },
664
+ "thresholdsStyle": {
665
+ "mode": "off"
666
+ }
667
+ },
668
+ "mappings": [],
669
+ "thresholds": {
670
+ "mode": "absolute",
671
+ "steps": [
672
+ {
673
+ "color": "green",
674
+ "value": 0
675
+ },
676
+ {
677
+ "color": "red",
678
+ "value": 80
679
+ }
680
+ ]
681
+ },
682
+ "unit": "reqps"
683
+ },
684
+ "overrides": []
685
+ },
686
+ "gridPos": {
687
+ "h": 6,
688
+ "w": 12,
689
+ "x": 12,
690
+ "y": 17
691
+ },
692
+ "id": 16,
693
+ "options": {
694
+ "legend": {
695
+ "calcs": [
696
+ "mean",
697
+ "max"
698
+ ],
699
+ "displayMode": "table",
700
+ "placement": "right",
701
+ "showLegend": true,
702
+ "sortBy": "Mean",
703
+ "sortDesc": true
704
+ },
705
+ "tooltip": {
706
+ "hideZeros": false,
707
+ "mode": "multi",
708
+ "sort": "desc"
709
+ }
710
+ },
711
+ "pluginVersion": "12.1.1",
712
+ "targets": [
713
+ {
714
+ "datasource": {
715
+ "type": "prometheus",
716
+ "uid": "${datasource}"
717
+ },
718
+ "editorMode": "code",
719
+ "expr": "topk(15,\n label_replace(\n sum by (service,method,code) \n (rate(traefik_service_requests_total{code=~\"[245]..\",protocol=\"http\"}[$rate_interval])) > 0,\n \"service\", \"$1\", \"service\", \"([^@]+)@.*\")\n)",
720
+ "legendFormat": "{{method}}[{{code}}] on {{service}}",
721
+ "range": true,
722
+ "refId": "A"
723
+ }
724
+ ],
725
+ "title": "Traefik - status codes over $rate_interval (log scale)",
726
+ "type": "timeseries"
727
+ },
728
+ {
729
+ "datasource": {
730
+ "type": "prometheus",
731
+ "uid": "${datasource}"
732
+ },
733
+ "description": "Shows the percentage of requests that resulted in a 5xx status code. Both entrypoint and origin server 5xx status code percentages are shown.",
734
+ "fieldConfig": {
735
+ "defaults": {
736
+ "color": {
737
+ "mode": "palette-classic"
738
+ },
739
+ "custom": {
740
+ "axisBorderShow": false,
741
+ "axisCenteredZero": false,
742
+ "axisColorMode": "text",
743
+ "axisLabel": "",
744
+ "axisPlacement": "auto",
745
+ "barAlignment": 0,
746
+ "barWidthFactor": 0.6,
747
+ "drawStyle": "line",
748
+ "fillOpacity": 0,
749
+ "gradientMode": "none",
750
+ "hideFrom": {
751
+ "legend": false,
752
+ "tooltip": false,
753
+ "viz": false
754
+ },
755
+ "insertNulls": false,
756
+ "lineInterpolation": "linear",
757
+ "lineWidth": 1,
758
+ "pointSize": 5,
759
+ "scaleDistribution": {
760
+ "type": "linear"
761
+ },
762
+ "showPoints": "auto",
763
+ "spanNulls": false,
764
+ "stacking": {
765
+ "group": "A",
766
+ "mode": "none"
767
+ },
768
+ "thresholdsStyle": {
769
+ "mode": "dashed"
770
+ }
771
+ },
772
+ "fieldMinMax": false,
773
+ "mappings": [],
774
+ "thresholds": {
775
+ "mode": "absolute",
776
+ "steps": [
777
+ {
778
+ "color": "green",
779
+ "value": 0
780
+ },
781
+ {
782
+ "color": "red",
783
+ "value": 5
784
+ }
785
+ ]
786
+ },
787
+ "unit": "percent"
788
+ },
789
+ "overrides": []
790
+ },
791
+ "gridPos": {
792
+ "h": 8,
793
+ "w": 12,
794
+ "x": 0,
795
+ "y": 23
796
+ },
797
+ "id": 31,
798
+ "options": {
799
+ "legend": {
800
+ "calcs": [],
801
+ "displayMode": "list",
802
+ "placement": "bottom",
803
+ "showLegend": true
804
+ },
805
+ "tooltip": {
806
+ "hideZeros": false,
807
+ "mode": "single",
808
+ "sort": "none"
809
+ }
810
+ },
811
+ "pluginVersion": "12.1.1",
812
+ "targets": [
813
+ {
814
+ "datasource": {
815
+ "type": "prometheus",
816
+ "uid": "${datasource}"
817
+ },
818
+ "editorMode": "code",
819
+ "exemplar": false,
820
+ "expr": "(sum by (service) (rate(traefik_entrypoint_requests_total{code=~\"5..\"}[5m]))) / ( sum by (service) (rate(traefik_entrypoint_requests_total[5m]))) * 100 ",
821
+ "hide": false,
822
+ "instant": false,
823
+ "legendFormat": "entrypoint 5xx %",
824
+ "range": true,
825
+ "refId": "A"
826
+ },
827
+ {
828
+ "datasource": {
829
+ "type": "prometheus",
830
+ "uid": "${datasource}"
831
+ },
832
+ "editorMode": "code",
833
+ "exemplar": false,
834
+ "expr": "(sum by (service) (rate(traefik_service_requests_total{code=~\"5..\"}[5m]))) / (sum by (service) (rate(traefik_service_requests_total[5m]))) * 100",
835
+ "format": "time_series",
836
+ "hide": false,
837
+ "instant": false,
838
+ "key": "Q-84f48212-1b4a-4c55-85ca-101b69194f29-1",
839
+ "legendFormat": "service 5xx %",
840
+ "range": true,
841
+ "refId": "B"
842
+ }
843
+ ],
844
+ "title": "Percentage of 5xx requests",
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": 0,
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
+ "log": 2,
880
+ "type": "symlog"
881
+ },
882
+ "showPoints": "auto",
883
+ "spanNulls": false,
884
+ "stacking": {
885
+ "group": "A",
886
+ "mode": "none"
887
+ },
888
+ "thresholdsStyle": {
889
+ "mode": "off"
890
+ }
891
+ },
892
+ "mappings": [],
893
+ "thresholds": {
894
+ "mode": "absolute",
895
+ "steps": [
896
+ {
897
+ "color": "green",
898
+ "value": 0
899
+ },
900
+ {
901
+ "color": "red",
902
+ "value": 80
903
+ }
904
+ ]
905
+ },
906
+ "unit": "reqps"
907
+ },
908
+ "overrides": []
909
+ },
910
+ "gridPos": {
911
+ "h": 8,
912
+ "w": 12,
913
+ "x": 12,
914
+ "y": 23
915
+ },
916
+ "id": 33,
917
+ "options": {
918
+ "legend": {
919
+ "calcs": [
920
+ "mean",
921
+ "max"
922
+ ],
923
+ "displayMode": "table",
924
+ "placement": "right",
925
+ "showLegend": true,
926
+ "sortBy": "Mean",
927
+ "sortDesc": true
928
+ },
929
+ "tooltip": {
930
+ "hideZeros": false,
931
+ "mode": "multi",
932
+ "sort": "desc"
933
+ }
934
+ },
935
+ "pluginVersion": "12.1.1",
936
+ "targets": [
937
+ {
938
+ "datasource": {
939
+ "type": "prometheus",
940
+ "uid": "${datasource}"
941
+ },
942
+ "editorMode": "code",
943
+ "expr": "topk(15,\n label_replace(\n sum by (service,method,code) \n (rate(traefik_service_requests_total{code=~\"[45]..\",protocol=\"http\"}[$rate_interval])) > 0,\n \"service\", \"$1\", \"service\", \"([^@]+)@.*\")\n)",
944
+ "legendFormat": "{{method}}[{{code}}] on {{service}}",
945
+ "range": true,
946
+ "refId": "A"
947
+ }
948
+ ],
949
+ "title": "Traefik - 4xx and 5xx status codes over $rate_interval (log scale)",
950
+ "type": "timeseries"
951
+ },
952
+ {
953
+ "collapsed": false,
954
+ "gridPos": {
955
+ "h": 1,
956
+ "w": 24,
957
+ "x": 0,
958
+ "y": 31
959
+ },
960
+ "id": 13,
961
+ "panels": [],
962
+ "title": "CNPG",
963
+ "type": "row",
964
+ "datasource": {
965
+ "type": "prometheus",
966
+ "uid": "${datasource}"
967
+ }
968
+ },
969
+ {
970
+ "datasource": {
971
+ "type": "prometheus",
972
+ "uid": "${datasource}"
973
+ },
974
+ "fieldConfig": {
975
+ "defaults": {
976
+ "color": {
977
+ "mode": "palette-classic"
978
+ },
979
+ "custom": {
980
+ "axisBorderShow": false,
981
+ "axisCenteredZero": false,
982
+ "axisColorMode": "text",
983
+ "axisLabel": "",
984
+ "axisPlacement": "auto",
985
+ "barAlignment": 0,
986
+ "barWidthFactor": 0.6,
987
+ "drawStyle": "line",
988
+ "fillOpacity": 0,
989
+ "gradientMode": "none",
990
+ "hideFrom": {
991
+ "legend": false,
992
+ "tooltip": false,
993
+ "viz": false
994
+ },
995
+ "insertNulls": false,
996
+ "lineInterpolation": "linear",
997
+ "lineWidth": 1,
998
+ "pointSize": 5,
999
+ "scaleDistribution": {
1000
+ "type": "linear"
1001
+ },
1002
+ "showPoints": "auto",
1003
+ "spanNulls": false,
1004
+ "stacking": {
1005
+ "group": "A",
1006
+ "mode": "none"
1007
+ },
1008
+ "thresholdsStyle": {
1009
+ "mode": "off"
1010
+ }
1011
+ },
1012
+ "mappings": [],
1013
+ "thresholds": {
1014
+ "mode": "absolute",
1015
+ "steps": [
1016
+ {
1017
+ "color": "green",
1018
+ "value": 0
1019
+ },
1020
+ {
1021
+ "color": "red",
1022
+ "value": 80
1023
+ }
1024
+ ]
1025
+ }
1026
+ },
1027
+ "overrides": []
1028
+ },
1029
+ "gridPos": {
1030
+ "h": 8,
1031
+ "w": 12,
1032
+ "x": 0,
1033
+ "y": 32
1034
+ },
1035
+ "id": 21,
1036
+ "options": {
1037
+ "legend": {
1038
+ "calcs": [],
1039
+ "displayMode": "list",
1040
+ "placement": "bottom",
1041
+ "showLegend": true
1042
+ },
1043
+ "tooltip": {
1044
+ "hideZeros": false,
1045
+ "mode": "single",
1046
+ "sort": "none"
1047
+ }
1048
+ },
1049
+ "pluginVersion": "12.1.1",
1050
+ "targets": [
1051
+ {
1052
+ "datasource": {
1053
+ "type": "prometheus",
1054
+ "uid": "${datasource}"
1055
+ },
1056
+ "editorMode": "code",
1057
+ "expr": "cnpg_collector_pg_wal{pod=~\".*psql.*\", namespace=~\"cnpg-operands\", value=\"count\"}",
1058
+ "instant": false,
1059
+ "legendFormat": "{{pod}}",
1060
+ "range": true,
1061
+ "refId": "A"
1062
+ }
1063
+ ],
1064
+ "title": "WAL Count - psql-stack",
1065
+ "type": "timeseries"
1066
+ },
1067
+ {
1068
+ "datasource": {
1069
+ "type": "prometheus",
1070
+ "uid": "${datasource}"
1071
+ },
1072
+ "fieldConfig": {
1073
+ "defaults": {
1074
+ "color": {
1075
+ "mode": "palette-classic"
1076
+ },
1077
+ "custom": {
1078
+ "axisBorderShow": false,
1079
+ "axisCenteredZero": false,
1080
+ "axisColorMode": "text",
1081
+ "axisLabel": "",
1082
+ "axisPlacement": "auto",
1083
+ "barAlignment": 0,
1084
+ "barWidthFactor": 0.6,
1085
+ "drawStyle": "line",
1086
+ "fillOpacity": 0,
1087
+ "gradientMode": "none",
1088
+ "hideFrom": {
1089
+ "legend": false,
1090
+ "tooltip": false,
1091
+ "viz": false
1092
+ },
1093
+ "insertNulls": false,
1094
+ "lineInterpolation": "linear",
1095
+ "lineWidth": 1,
1096
+ "pointSize": 5,
1097
+ "scaleDistribution": {
1098
+ "type": "linear"
1099
+ },
1100
+ "showPoints": "auto",
1101
+ "spanNulls": false,
1102
+ "stacking": {
1103
+ "group": "A",
1104
+ "mode": "none"
1105
+ },
1106
+ "thresholdsStyle": {
1107
+ "mode": "off"
1108
+ }
1109
+ },
1110
+ "mappings": [],
1111
+ "thresholds": {
1112
+ "mode": "absolute",
1113
+ "steps": [
1114
+ {
1115
+ "color": "green",
1116
+ "value": 0
1117
+ },
1118
+ {
1119
+ "color": "red",
1120
+ "value": 80
1121
+ }
1122
+ ]
1123
+ }
1124
+ },
1125
+ "overrides": []
1126
+ },
1127
+ "gridPos": {
1128
+ "h": 8,
1129
+ "w": 12,
1130
+ "x": 12,
1131
+ "y": 32
1132
+ },
1133
+ "id": 22,
1134
+ "options": {
1135
+ "legend": {
1136
+ "calcs": [],
1137
+ "displayMode": "list",
1138
+ "placement": "bottom",
1139
+ "showLegend": true
1140
+ },
1141
+ "tooltip": {
1142
+ "hideZeros": false,
1143
+ "mode": "single",
1144
+ "sort": "none"
1145
+ }
1146
+ },
1147
+ "pluginVersion": "12.1.1",
1148
+ "targets": [
1149
+ {
1150
+ "datasource": {
1151
+ "type": "prometheus",
1152
+ "uid": "${datasource}"
1153
+ },
1154
+ "editorMode": "code",
1155
+ "expr": "cnpg_collector_pg_wal{pod=~\".*tsdb.*\", namespace=~\"cnpg-operands\", value=\"count\"}",
1156
+ "instant": false,
1157
+ "legendFormat": "{{pod}}",
1158
+ "range": true,
1159
+ "refId": "A"
1160
+ }
1161
+ ],
1162
+ "title": "WAL Count - tsdb",
1163
+ "type": "timeseries"
1164
+ },
1165
+ {
1166
+ "datasource": {
1167
+ "type": "prometheus",
1168
+ "uid": "${datasource}"
1169
+ },
1170
+ "fieldConfig": {
1171
+ "defaults": {
1172
+ "color": {
1173
+ "mode": "palette-classic"
1174
+ },
1175
+ "custom": {
1176
+ "axisBorderShow": false,
1177
+ "axisCenteredZero": false,
1178
+ "axisColorMode": "text",
1179
+ "axisLabel": "",
1180
+ "axisPlacement": "auto",
1181
+ "barAlignment": 0,
1182
+ "barWidthFactor": 0.6,
1183
+ "drawStyle": "line",
1184
+ "fillOpacity": 10,
1185
+ "gradientMode": "none",
1186
+ "hideFrom": {
1187
+ "legend": false,
1188
+ "tooltip": false,
1189
+ "viz": false
1190
+ },
1191
+ "insertNulls": false,
1192
+ "lineInterpolation": "linear",
1193
+ "lineWidth": 1,
1194
+ "pointSize": 5,
1195
+ "scaleDistribution": {
1196
+ "type": "linear"
1197
+ },
1198
+ "showPoints": "never",
1199
+ "spanNulls": true,
1200
+ "stacking": {
1201
+ "group": "A",
1202
+ "mode": "none"
1203
+ },
1204
+ "thresholdsStyle": {
1205
+ "mode": "dashed"
1206
+ }
1207
+ },
1208
+ "mappings": [],
1209
+ "thresholds": {
1210
+ "mode": "absolute",
1211
+ "steps": [
1212
+ {
1213
+ "color": "green",
1214
+ "value": 0
1215
+ },
1216
+ {
1217
+ "color": "red",
1218
+ "value": 250
1219
+ }
1220
+ ]
1221
+ },
1222
+ "unit": "short"
1223
+ },
1224
+ "overrides": []
1225
+ },
1226
+ "gridPos": {
1227
+ "h": 8,
1228
+ "w": 12,
1229
+ "x": 0,
1230
+ "y": 40
1231
+ },
1232
+ "id": 26,
1233
+ "options": {
1234
+ "legend": {
1235
+ "calcs": [],
1236
+ "displayMode": "list",
1237
+ "placement": "bottom",
1238
+ "showLegend": true
1239
+ },
1240
+ "tooltip": {
1241
+ "hideZeros": false,
1242
+ "mode": "multi",
1243
+ "sort": "none"
1244
+ }
1245
+ },
1246
+ "pluginVersion": "12.1.1",
1247
+ "targets": [
1248
+ {
1249
+ "datasource": {
1250
+ "type": "prometheus",
1251
+ "uid": "${datasource}"
1252
+ },
1253
+ "editorMode": "code",
1254
+ "exemplar": false,
1255
+ "expr": "sum by (pod) (cnpg_backends_total)",
1256
+ "instant": false,
1257
+ "interval": "",
1258
+ "legendFormat": "{{pod}}",
1259
+ "range": true,
1260
+ "refId": "A"
1261
+ }
1262
+ ],
1263
+ "title": "CNPG Connections (max = 250)",
1264
+ "type": "timeseries"
1265
+ },
1266
+ {
1267
+ "datasource": {
1268
+ "type": "prometheus",
1269
+ "uid": "${datasource}"
1270
+ },
1271
+ "fieldConfig": {
1272
+ "defaults": {
1273
+ "color": {
1274
+ "mode": "palette-classic"
1275
+ },
1276
+ "custom": {
1277
+ "axisBorderShow": false,
1278
+ "axisCenteredZero": false,
1279
+ "axisColorMode": "text",
1280
+ "axisLabel": "",
1281
+ "axisPlacement": "auto",
1282
+ "barAlignment": 0,
1283
+ "barWidthFactor": 0.6,
1284
+ "drawStyle": "line",
1285
+ "fillOpacity": 0,
1286
+ "gradientMode": "none",
1287
+ "hideFrom": {
1288
+ "legend": false,
1289
+ "tooltip": false,
1290
+ "viz": false
1291
+ },
1292
+ "insertNulls": false,
1293
+ "lineInterpolation": "linear",
1294
+ "lineWidth": 1,
1295
+ "pointSize": 5,
1296
+ "scaleDistribution": {
1297
+ "type": "linear"
1298
+ },
1299
+ "showPoints": "auto",
1300
+ "spanNulls": false,
1301
+ "stacking": {
1302
+ "group": "A",
1303
+ "mode": "none"
1304
+ },
1305
+ "thresholdsStyle": {
1306
+ "mode": "off"
1307
+ }
1308
+ },
1309
+ "mappings": [],
1310
+ "thresholds": {
1311
+ "mode": "absolute",
1312
+ "steps": [
1313
+ {
1314
+ "color": "green",
1315
+ "value": 0
1316
+ },
1317
+ {
1318
+ "color": "red",
1319
+ "value": 80
1320
+ }
1321
+ ]
1322
+ }
1323
+ },
1324
+ "overrides": []
1325
+ },
1326
+ "gridPos": {
1327
+ "h": 8,
1328
+ "w": 12,
1329
+ "x": 12,
1330
+ "y": 40
1331
+ },
1332
+ "id": 28,
1333
+ "options": {
1334
+ "legend": {
1335
+ "calcs": [],
1336
+ "displayMode": "list",
1337
+ "placement": "bottom",
1338
+ "showLegend": true
1339
+ },
1340
+ "tooltip": {
1341
+ "hideZeros": false,
1342
+ "mode": "single",
1343
+ "sort": "none"
1344
+ }
1345
+ },
1346
+ "pluginVersion": "12.1.1",
1347
+ "targets": [
1348
+ {
1349
+ "adhocFilters": [],
1350
+ "datasource": {
1351
+ "type": "prometheus",
1352
+ "uid": "${datasource}"
1353
+ },
1354
+ "editorMode": "code",
1355
+ "expr": "cnpg_pgbouncer_pools_maxwait",
1356
+ "fromExploreMetrics": true,
1357
+ "instant": true,
1358
+ "interval": "",
1359
+ "legendFormat": "database: {{database}}",
1360
+ "range": true,
1361
+ "refId": "A"
1362
+ }
1363
+ ],
1364
+ "title": "pgbouncer max wait (seconds)",
1365
+ "type": "timeseries"
1366
+ },
1367
+ {
1368
+ "collapsed": true,
1369
+ "gridPos": {
1370
+ "h": 1,
1371
+ "w": 24,
1372
+ "x": 0,
1373
+ "y": 48
1374
+ },
1375
+ "id": 12,
1376
+ "panels": [
1377
+ {
1378
+ "datasource": {
1379
+ "type": "prometheus",
1380
+ "uid": "${datasource}"
1381
+ },
1382
+ "fieldConfig": {
1383
+ "defaults": {
1384
+ "color": {
1385
+ "mode": "palette-classic"
1386
+ },
1387
+ "custom": {
1388
+ "axisBorderShow": false,
1389
+ "axisCenteredZero": false,
1390
+ "axisColorMode": "text",
1391
+ "axisLabel": "",
1392
+ "axisPlacement": "auto",
1393
+ "barAlignment": 0,
1394
+ "barWidthFactor": 0.6,
1395
+ "drawStyle": "line",
1396
+ "fillOpacity": 10,
1397
+ "gradientMode": "none",
1398
+ "hideFrom": {
1399
+ "legend": false,
1400
+ "tooltip": false,
1401
+ "viz": false
1402
+ },
1403
+ "insertNulls": false,
1404
+ "lineInterpolation": "linear",
1405
+ "lineWidth": 1,
1406
+ "pointSize": 5,
1407
+ "scaleDistribution": {
1408
+ "type": "linear"
1409
+ },
1410
+ "showPoints": "never",
1411
+ "spanNulls": false,
1412
+ "stacking": {
1413
+ "group": "A",
1414
+ "mode": "none"
1415
+ },
1416
+ "thresholdsStyle": {
1417
+ "mode": "line+area"
1418
+ }
1419
+ },
1420
+ "mappings": [],
1421
+ "max": 100,
1422
+ "min": 0,
1423
+ "thresholds": {
1424
+ "mode": "absolute",
1425
+ "steps": [
1426
+ {
1427
+ "color": "transparent"
1428
+ },
1429
+ {
1430
+ "color": "red",
1431
+ "value": 90
1432
+ }
1433
+ ]
1434
+ },
1435
+ "unit": "percent"
1436
+ },
1437
+ "overrides": []
1438
+ },
1439
+ "gridPos": {
1440
+ "h": 8,
1441
+ "w": 12,
1442
+ "x": 0,
1443
+ "y": 33
1444
+ },
1445
+ "id": 8,
1446
+ "options": {
1447
+ "dataLinks": [],
1448
+ "legend": {
1449
+ "calcs": [
1450
+ "mean",
1451
+ "lastNotNull"
1452
+ ],
1453
+ "displayMode": "table",
1454
+ "placement": "right",
1455
+ "showLegend": true
1456
+ },
1457
+ "tooltip": {
1458
+ "hideZeros": false,
1459
+ "mode": "multi",
1460
+ "sort": "none"
1461
+ }
1462
+ },
1463
+ "pluginVersion": "12.0.0",
1464
+ "targets": [
1465
+ {
1466
+ "datasource": {
1467
+ "type": "prometheus",
1468
+ "uid": "${datasource}"
1469
+ },
1470
+ "expr": "sum (stackdriver_firebase_namespace_firebasedatabase_googleapis_com_io_database_load) by (table_name) * 100",
1471
+ "format": "time_series",
1472
+ "intervalFactor": 1,
1473
+ "legendFormat": "{{table_name}}",
1474
+ "refId": "A"
1475
+ }
1476
+ ],
1477
+ "title": "Firebase Load",
1478
+ "type": "timeseries"
1479
+ }
1480
+ ],
1481
+ "title": "Firebase",
1482
+ "type": "row",
1483
+ "datasource": {
1484
+ "type": "prometheus",
1485
+ "uid": "${datasource}"
1486
+ }
1487
+ },
1488
+ {
1489
+ "collapsed": false,
1490
+ "gridPos": {
1491
+ "h": 1,
1492
+ "w": 24,
1493
+ "x": 0,
1494
+ "y": 49
1495
+ },
1496
+ "id": 10,
1497
+ "panels": [],
1498
+ "title": "Pub/Sub",
1499
+ "type": "row",
1500
+ "datasource": {
1501
+ "type": "prometheus",
1502
+ "uid": "${datasource}"
1503
+ }
1504
+ },
1505
+ {
1506
+ "datasource": {
1507
+ "type": "prometheus",
1508
+ "uid": "${datasource}"
1509
+ },
1510
+ "fieldConfig": {
1511
+ "defaults": {
1512
+ "color": {
1513
+ "mode": "palette-classic"
1514
+ },
1515
+ "custom": {
1516
+ "axisBorderShow": false,
1517
+ "axisCenteredZero": false,
1518
+ "axisColorMode": "text",
1519
+ "axisLabel": "",
1520
+ "axisPlacement": "auto",
1521
+ "barAlignment": 0,
1522
+ "barWidthFactor": 0.6,
1523
+ "drawStyle": "line",
1524
+ "fillOpacity": 10,
1525
+ "gradientMode": "none",
1526
+ "hideFrom": {
1527
+ "legend": false,
1528
+ "tooltip": false,
1529
+ "viz": false
1530
+ },
1531
+ "insertNulls": false,
1532
+ "lineInterpolation": "linear",
1533
+ "lineWidth": 1,
1534
+ "pointSize": 5,
1535
+ "scaleDistribution": {
1536
+ "type": "linear"
1537
+ },
1538
+ "showPoints": "never",
1539
+ "spanNulls": false,
1540
+ "stacking": {
1541
+ "group": "A",
1542
+ "mode": "none"
1543
+ },
1544
+ "thresholdsStyle": {
1545
+ "mode": "off"
1546
+ }
1547
+ },
1548
+ "mappings": [],
1549
+ "thresholds": {
1550
+ "mode": "absolute",
1551
+ "steps": [
1552
+ {
1553
+ "color": "green",
1554
+ "value": 0
1555
+ },
1556
+ {
1557
+ "color": "red",
1558
+ "value": 80
1559
+ }
1560
+ ]
1561
+ },
1562
+ "unit": "short"
1563
+ },
1564
+ "overrides": []
1565
+ },
1566
+ "gridPos": {
1567
+ "h": 8,
1568
+ "w": 12,
1569
+ "x": 0,
1570
+ "y": 50
1571
+ },
1572
+ "id": 11,
1573
+ "options": {
1574
+ "legend": {
1575
+ "calcs": [],
1576
+ "displayMode": "list",
1577
+ "placement": "bottom",
1578
+ "showLegend": true
1579
+ },
1580
+ "tooltip": {
1581
+ "hideZeros": false,
1582
+ "mode": "multi",
1583
+ "sort": "desc"
1584
+ }
1585
+ },
1586
+ "pluginVersion": "12.1.1",
1587
+ "targets": [
1588
+ {
1589
+ "datasource": {
1590
+ "type": "prometheus",
1591
+ "uid": "${datasource}"
1592
+ },
1593
+ "editorMode": "code",
1594
+ "expr": "sum by (topic_id) (stackdriver_pubsub_topic_pubsub_googleapis_com_topic_send_request_count)",
1595
+ "format": "time_series",
1596
+ "intervalFactor": 2,
1597
+ "legendFormat": "{{topic_id}}",
1598
+ "range": true,
1599
+ "refId": "A"
1600
+ }
1601
+ ],
1602
+ "title": "Pubsub Send Request Count",
1603
+ "type": "timeseries"
1604
+ },
1605
+ {
1606
+ "datasource": {
1607
+ "type": "prometheus",
1608
+ "uid": "${datasource}"
1609
+ },
1610
+ "fieldConfig": {
1611
+ "defaults": {
1612
+ "color": {
1613
+ "mode": "palette-classic"
1614
+ },
1615
+ "custom": {
1616
+ "axisBorderShow": false,
1617
+ "axisCenteredZero": false,
1618
+ "axisColorMode": "text",
1619
+ "axisLabel": "",
1620
+ "axisPlacement": "auto",
1621
+ "barAlignment": 0,
1622
+ "barWidthFactor": 0.6,
1623
+ "drawStyle": "line",
1624
+ "fillOpacity": 20,
1625
+ "gradientMode": "none",
1626
+ "hideFrom": {
1627
+ "legend": false,
1628
+ "tooltip": false,
1629
+ "viz": false
1630
+ },
1631
+ "insertNulls": false,
1632
+ "lineInterpolation": "linear",
1633
+ "lineWidth": 1,
1634
+ "pointSize": 5,
1635
+ "scaleDistribution": {
1636
+ "type": "linear"
1637
+ },
1638
+ "showPoints": "never",
1639
+ "spanNulls": false,
1640
+ "stacking": {
1641
+ "group": "A",
1642
+ "mode": "none"
1643
+ },
1644
+ "thresholdsStyle": {
1645
+ "mode": "off"
1646
+ }
1647
+ },
1648
+ "mappings": [],
1649
+ "thresholds": {
1650
+ "mode": "absolute",
1651
+ "steps": [
1652
+ {
1653
+ "color": "green",
1654
+ "value": 0
1655
+ },
1656
+ {
1657
+ "color": "red",
1658
+ "value": 80
1659
+ }
1660
+ ]
1661
+ },
1662
+ "unit": "short"
1663
+ },
1664
+ "overrides": [
1665
+ {
1666
+ "matcher": {
1667
+ "id": "byValue",
1668
+ "options": {
1669
+ "op": "gte",
1670
+ "reducer": "allIsZero",
1671
+ "value": 0
1672
+ }
1673
+ },
1674
+ "properties": [
1675
+ {
1676
+ "id": "custom.hideFrom",
1677
+ "value": {
1678
+ "legend": true,
1679
+ "tooltip": true,
1680
+ "viz": false
1681
+ }
1682
+ }
1683
+ ]
1684
+ },
1685
+ {
1686
+ "__systemRef": "hideSeriesFrom",
1687
+ "matcher": {
1688
+ "id": "byNames",
1689
+ "options": {
1690
+ "mode": "exclude",
1691
+ "names": [
1692
+ "writer-writer-rt"
1693
+ ],
1694
+ "prefix": "All except:",
1695
+ "readOnly": true
1696
+ }
1697
+ },
1698
+ "properties": [
1699
+ {
1700
+ "id": "custom.hideFrom",
1701
+ "value": {
1702
+ "legend": false,
1703
+ "tooltip": false,
1704
+ "viz": true
1705
+ }
1706
+ }
1707
+ ]
1708
+ }
1709
+ ]
1710
+ },
1711
+ "gridPos": {
1712
+ "h": 8,
1713
+ "w": 12,
1714
+ "x": 12,
1715
+ "y": 50
1716
+ },
1717
+ "id": 9,
1718
+ "options": {
1719
+ "legend": {
1720
+ "calcs": [
1721
+ "max",
1722
+ "sum"
1723
+ ],
1724
+ "displayMode": "table",
1725
+ "placement": "bottom",
1726
+ "showLegend": true
1727
+ },
1728
+ "tooltip": {
1729
+ "hideZeros": false,
1730
+ "mode": "multi",
1731
+ "sort": "desc"
1732
+ }
1733
+ },
1734
+ "pluginVersion": "12.1.1",
1735
+ "targets": [
1736
+ {
1737
+ "datasource": {
1738
+ "type": "prometheus",
1739
+ "uid": "${datasource}"
1740
+ },
1741
+ "editorMode": "code",
1742
+ "expr": "sum by (subscription_id) (stackdriver_pubsub_subscription_pubsub_googleapis_com_subscription_num_undelivered_messages{subscription_id!~\"gcr-.*\"}) > 0",
1743
+ "format": "time_series",
1744
+ "intervalFactor": 2,
1745
+ "legendFormat": "{{subscription_id}}",
1746
+ "range": true,
1747
+ "refId": "A"
1748
+ }
1749
+ ],
1750
+ "title": "Number of Undelivered Messages",
1751
+ "type": "timeseries"
1752
+ },
1753
+ {
1754
+ "datasource": {
1755
+ "type": "prometheus",
1756
+ "uid": "${datasource}"
1757
+ },
1758
+ "fieldConfig": {
1759
+ "defaults": {
1760
+ "color": {
1761
+ "mode": "palette-classic"
1762
+ },
1763
+ "custom": {
1764
+ "axisBorderShow": false,
1765
+ "axisCenteredZero": false,
1766
+ "axisColorMode": "text",
1767
+ "axisLabel": "",
1768
+ "axisPlacement": "auto",
1769
+ "barAlignment": 0,
1770
+ "barWidthFactor": 0.6,
1771
+ "drawStyle": "line",
1772
+ "fillOpacity": 20,
1773
+ "gradientMode": "none",
1774
+ "hideFrom": {
1775
+ "legend": false,
1776
+ "tooltip": false,
1777
+ "viz": false
1778
+ },
1779
+ "insertNulls": false,
1780
+ "lineInterpolation": "linear",
1781
+ "lineWidth": 1,
1782
+ "pointSize": 5,
1783
+ "scaleDistribution": {
1784
+ "type": "linear"
1785
+ },
1786
+ "showPoints": "never",
1787
+ "spanNulls": false,
1788
+ "stacking": {
1789
+ "group": "A",
1790
+ "mode": "none"
1791
+ },
1792
+ "thresholdsStyle": {
1793
+ "mode": "off"
1794
+ }
1795
+ },
1796
+ "mappings": [],
1797
+ "thresholds": {
1798
+ "mode": "absolute",
1799
+ "steps": [
1800
+ {
1801
+ "color": "green",
1802
+ "value": 0
1803
+ },
1804
+ {
1805
+ "color": "red",
1806
+ "value": 80
1807
+ }
1808
+ ]
1809
+ },
1810
+ "unit": "m"
1811
+ },
1812
+ "overrides": [
1813
+ {
1814
+ "matcher": {
1815
+ "id": "byValue",
1816
+ "options": {
1817
+ "op": "gte",
1818
+ "reducer": "allIsZero",
1819
+ "value": 0
1820
+ }
1821
+ },
1822
+ "properties": [
1823
+ {
1824
+ "id": "custom.hideFrom",
1825
+ "value": {
1826
+ "legend": true,
1827
+ "tooltip": true,
1828
+ "viz": false
1829
+ }
1830
+ }
1831
+ ]
1832
+ }
1833
+ ]
1834
+ },
1835
+ "gridPos": {
1836
+ "h": 8,
1837
+ "w": 12,
1838
+ "x": 0,
1839
+ "y": 58
1840
+ },
1841
+ "id": 29,
1842
+ "options": {
1843
+ "legend": {
1844
+ "calcs": [
1845
+ "max",
1846
+ "sum"
1847
+ ],
1848
+ "displayMode": "table",
1849
+ "placement": "bottom",
1850
+ "showLegend": true,
1851
+ "sortBy": "Max",
1852
+ "sortDesc": true
1853
+ },
1854
+ "tooltip": {
1855
+ "hideZeros": false,
1856
+ "mode": "multi",
1857
+ "sort": "desc"
1858
+ }
1859
+ },
1860
+ "pluginVersion": "12.1.1",
1861
+ "targets": [
1862
+ {
1863
+ "datasource": {
1864
+ "type": "prometheus",
1865
+ "uid": "${datasource}"
1866
+ },
1867
+ "editorMode": "code",
1868
+ "expr": "max by (subscription_id) (stackdriver_pubsub_subscription_pubsub_googleapis_com_subscription_oldest_unacked_message_age{subscription_id!~\"gcr-.*\"} / 60)",
1869
+ "format": "time_series",
1870
+ "intervalFactor": 2,
1871
+ "legendFormat": "{{subscription_id}}",
1872
+ "range": true,
1873
+ "refId": "A"
1874
+ }
1875
+ ],
1876
+ "title": "Oldest unacked message (minutes)",
1877
+ "type": "timeseries"
1878
+ },
1879
+ {
1880
+ "collapsed": false,
1881
+ "gridPos": {
1882
+ "h": 1,
1883
+ "w": 24,
1884
+ "x": 0,
1885
+ "y": 66
1886
+ },
1887
+ "id": 7,
1888
+ "panels": [],
1889
+ "title": "Elasticsearch",
1890
+ "type": "row",
1891
+ "datasource": {
1892
+ "type": "prometheus",
1893
+ "uid": "${datasource}"
1894
+ }
1895
+ },
1896
+ {
1897
+ "datasource": {
1898
+ "type": "prometheus",
1899
+ "uid": "${datasource}"
1900
+ },
1901
+ "fieldConfig": {
1902
+ "defaults": {
1903
+ "mappings": [
1904
+ {
1905
+ "options": {
1906
+ "match": "null",
1907
+ "result": {
1908
+ "text": "N/A"
1909
+ }
1910
+ },
1911
+ "type": "special"
1912
+ },
1913
+ {
1914
+ "options": {
1915
+ "5": {
1916
+ "text": "Green"
1917
+ }
1918
+ },
1919
+ "type": "value"
1920
+ },
1921
+ {
1922
+ "options": {
1923
+ "3": {
1924
+ "text": "Yellow"
1925
+ }
1926
+ },
1927
+ "type": "value"
1928
+ },
1929
+ {
1930
+ "options": {
1931
+ "1": {
1932
+ "text": "Red"
1933
+ }
1934
+ },
1935
+ "type": "value"
1936
+ }
1937
+ ],
1938
+ "thresholds": {
1939
+ "mode": "absolute",
1940
+ "steps": [
1941
+ {
1942
+ "color": "#d44a3a",
1943
+ "value": 0
1944
+ },
1945
+ {
1946
+ "color": "rgba(237, 129, 40, 0.89)",
1947
+ "value": 2
1948
+ },
1949
+ {
1950
+ "color": "#299c46",
1951
+ "value": 4
1952
+ }
1953
+ ]
1954
+ },
1955
+ "unit": "none"
1956
+ },
1957
+ "overrides": []
1958
+ },
1959
+ "gridPos": {
1960
+ "h": 8,
1961
+ "w": 3,
1962
+ "x": 0,
1963
+ "y": 67
1964
+ },
1965
+ "id": 2,
1966
+ "maxDataPoints": 100,
1967
+ "options": {
1968
+ "colorMode": "value",
1969
+ "graphMode": "area",
1970
+ "justifyMode": "auto",
1971
+ "orientation": "horizontal",
1972
+ "percentChangeColorMode": "standard",
1973
+ "reduceOptions": {
1974
+ "calcs": [
1975
+ "mean"
1976
+ ],
1977
+ "fields": "",
1978
+ "values": false
1979
+ },
1980
+ "showPercentChange": false,
1981
+ "textMode": "auto",
1982
+ "wideLayout": true
1983
+ },
1984
+ "pluginVersion": "12.1.1",
1985
+ "targets": [
1986
+ {
1987
+ "datasource": {
1988
+ "type": "prometheus",
1989
+ "uid": "${datasource}"
1990
+ },
1991
+ "editorMode": "code",
1992
+ "expr": "elasticsearch_cluster_health_status{color=\"red\"}==1 or (elasticsearch_cluster_health_status{color=\"green\"}==1)+4 or (elasticsearch_cluster_health_status{color=\"yellow\"}==1)+22",
1993
+ "format": "time_series",
1994
+ "instant": true,
1995
+ "interval": "",
1996
+ "intervalFactor": 2,
1997
+ "legendFormat": "",
1998
+ "refId": "A"
1999
+ }
2000
+ ],
2001
+ "title": "ES cluster health",
2002
+ "type": "stat"
2003
+ },
2004
+ {
2005
+ "datasource": {
2006
+ "type": "prometheus",
2007
+ "uid": "${datasource}"
2008
+ },
2009
+ "fieldConfig": {
2010
+ "defaults": {
2011
+ "color": {
2012
+ "mode": "palette-classic"
2013
+ },
2014
+ "custom": {
2015
+ "axisBorderShow": false,
2016
+ "axisCenteredZero": false,
2017
+ "axisColorMode": "text",
2018
+ "axisLabel": "CPU usage",
2019
+ "axisPlacement": "auto",
2020
+ "barAlignment": 0,
2021
+ "barWidthFactor": 0.6,
2022
+ "drawStyle": "line",
2023
+ "fillOpacity": 10,
2024
+ "gradientMode": "none",
2025
+ "hideFrom": {
2026
+ "legend": false,
2027
+ "tooltip": false,
2028
+ "viz": false
2029
+ },
2030
+ "insertNulls": false,
2031
+ "lineInterpolation": "linear",
2032
+ "lineWidth": 1,
2033
+ "pointSize": 5,
2034
+ "scaleDistribution": {
2035
+ "type": "linear"
2036
+ },
2037
+ "showPoints": "never",
2038
+ "spanNulls": true,
2039
+ "stacking": {
2040
+ "group": "A",
2041
+ "mode": "none"
2042
+ },
2043
+ "thresholdsStyle": {
2044
+ "mode": "off"
2045
+ }
2046
+ },
2047
+ "mappings": [],
2048
+ "max": 100,
2049
+ "min": 0,
2050
+ "thresholds": {
2051
+ "mode": "absolute",
2052
+ "steps": [
2053
+ {
2054
+ "color": "green",
2055
+ "value": 0
2056
+ },
2057
+ {
2058
+ "color": "red",
2059
+ "value": 80
2060
+ }
2061
+ ]
2062
+ },
2063
+ "unit": "percent"
2064
+ },
2065
+ "overrides": []
2066
+ },
2067
+ "gridPos": {
2068
+ "h": 8,
2069
+ "w": 9,
2070
+ "x": 3,
2071
+ "y": 67
2072
+ },
2073
+ "id": 3,
2074
+ "options": {
2075
+ "legend": {
2076
+ "calcs": [
2077
+ "mean",
2078
+ "lastNotNull",
2079
+ "max",
2080
+ "min"
2081
+ ],
2082
+ "displayMode": "table",
2083
+ "placement": "bottom",
2084
+ "showLegend": true
2085
+ },
2086
+ "tooltip": {
2087
+ "hideZeros": false,
2088
+ "mode": "multi",
2089
+ "sort": "desc"
2090
+ }
2091
+ },
2092
+ "pluginVersion": "12.1.1",
2093
+ "targets": [
2094
+ {
2095
+ "datasource": {
2096
+ "type": "prometheus",
2097
+ "uid": "${datasource}"
2098
+ },
2099
+ "editorMode": "code",
2100
+ "expr": "elasticsearch_process_cpu_percent",
2101
+ "format": "time_series",
2102
+ "instant": false,
2103
+ "interval": "",
2104
+ "intervalFactor": 2,
2105
+ "legendFormat": "{{name}}",
2106
+ "metric": "",
2107
+ "refId": "A",
2108
+ "step": 20
2109
+ }
2110
+ ],
2111
+ "title": "CPU usage",
2112
+ "type": "timeseries"
2113
+ },
2114
+ {
2115
+ "datasource": {
2116
+ "type": "prometheus",
2117
+ "uid": "${datasource}"
2118
+ },
2119
+ "fieldConfig": {
2120
+ "defaults": {
2121
+ "color": {
2122
+ "mode": "palette-classic"
2123
+ },
2124
+ "custom": {
2125
+ "axisBorderShow": false,
2126
+ "axisCenteredZero": false,
2127
+ "axisColorMode": "text",
2128
+ "axisLabel": "Time",
2129
+ "axisPlacement": "auto",
2130
+ "barAlignment": 0,
2131
+ "barWidthFactor": 0.6,
2132
+ "drawStyle": "line",
2133
+ "fillOpacity": 10,
2134
+ "gradientMode": "none",
2135
+ "hideFrom": {
2136
+ "legend": false,
2137
+ "tooltip": false,
2138
+ "viz": false
2139
+ },
2140
+ "insertNulls": false,
2141
+ "lineInterpolation": "linear",
2142
+ "lineWidth": 1,
2143
+ "pointSize": 5,
2144
+ "scaleDistribution": {
2145
+ "type": "linear"
2146
+ },
2147
+ "showPoints": "never",
2148
+ "spanNulls": true,
2149
+ "stacking": {
2150
+ "group": "A",
2151
+ "mode": "none"
2152
+ },
2153
+ "thresholdsStyle": {
2154
+ "mode": "off"
2155
+ }
2156
+ },
2157
+ "mappings": [],
2158
+ "thresholds": {
2159
+ "mode": "absolute",
2160
+ "steps": [
2161
+ {
2162
+ "color": "green",
2163
+ "value": 0
2164
+ },
2165
+ {
2166
+ "color": "red",
2167
+ "value": 80
2168
+ }
2169
+ ]
2170
+ },
2171
+ "unit": "s"
2172
+ },
2173
+ "overrides": [
2174
+ {
2175
+ "matcher": {
2176
+ "id": "byValue",
2177
+ "options": {
2178
+ "op": "gte",
2179
+ "reducer": "allIsZero",
2180
+ "value": 0
2181
+ }
2182
+ },
2183
+ "properties": [
2184
+ {
2185
+ "id": "custom.hideFrom",
2186
+ "value": {
2187
+ "legend": true,
2188
+ "tooltip": true,
2189
+ "viz": false
2190
+ }
2191
+ }
2192
+ ]
2193
+ }
2194
+ ]
2195
+ },
2196
+ "gridPos": {
2197
+ "h": 8,
2198
+ "w": 12,
2199
+ "x": 12,
2200
+ "y": 67
2201
+ },
2202
+ "id": 4,
2203
+ "options": {
2204
+ "legend": {
2205
+ "calcs": [
2206
+ "mean",
2207
+ "lastNotNull",
2208
+ "max",
2209
+ "min"
2210
+ ],
2211
+ "displayMode": "table",
2212
+ "placement": "right",
2213
+ "showLegend": true
2214
+ },
2215
+ "tooltip": {
2216
+ "hideZeros": false,
2217
+ "mode": "multi",
2218
+ "sort": "desc"
2219
+ }
2220
+ },
2221
+ "pluginVersion": "12.1.1",
2222
+ "targets": [
2223
+ {
2224
+ "datasource": {
2225
+ "type": "prometheus",
2226
+ "uid": "${datasource}"
2227
+ },
2228
+ "editorMode": "code",
2229
+ "expr": "irate(elasticsearch_indices_indexing_index_time_seconds_total[$rate_interval])",
2230
+ "format": "time_series",
2231
+ "interval": "",
2232
+ "intervalFactor": 2,
2233
+ "legendFormat": "{{name}}: indexing",
2234
+ "metric": "",
2235
+ "range": true,
2236
+ "refId": "A",
2237
+ "step": 10
2238
+ },
2239
+ {
2240
+ "datasource": {
2241
+ "type": "prometheus",
2242
+ "uid": "${datasource}"
2243
+ },
2244
+ "editorMode": "code",
2245
+ "expr": "irate(elasticsearch_indices_search_query_time_seconds[$rate_interval])",
2246
+ "format": "time_series",
2247
+ "intervalFactor": 2,
2248
+ "legendFormat": "{{name}}: query",
2249
+ "range": true,
2250
+ "refId": "B",
2251
+ "step": 10
2252
+ },
2253
+ {
2254
+ "datasource": {
2255
+ "type": "prometheus",
2256
+ "uid": "${datasource}"
2257
+ },
2258
+ "editorMode": "code",
2259
+ "expr": "irate(elasticsearch_indices_search_fetch_time_seconds[$rate_interval])",
2260
+ "format": "time_series",
2261
+ "intervalFactor": 2,
2262
+ "legendFormat": "{{name}}: fetch",
2263
+ "range": true,
2264
+ "refId": "C",
2265
+ "step": 10
2266
+ },
2267
+ {
2268
+ "datasource": {
2269
+ "type": "prometheus",
2270
+ "uid": "${datasource}"
2271
+ },
2272
+ "editorMode": "code",
2273
+ "expr": "irate(elasticsearch_indices_merges_total_time_seconds_total[$rate_interval])",
2274
+ "format": "time_series",
2275
+ "intervalFactor": 2,
2276
+ "legendFormat": "{{name}}: merges",
2277
+ "range": true,
2278
+ "refId": "D",
2279
+ "step": 10
2280
+ },
2281
+ {
2282
+ "datasource": {
2283
+ "type": "prometheus",
2284
+ "uid": "${datasource}"
2285
+ },
2286
+ "editorMode": "code",
2287
+ "expr": "irate(elasticsearch_indices_refresh_time_seconds_total[$rate_interval])",
2288
+ "format": "time_series",
2289
+ "intervalFactor": 2,
2290
+ "legendFormat": "{{name}}: refresh",
2291
+ "range": true,
2292
+ "refId": "E",
2293
+ "step": 10
2294
+ },
2295
+ {
2296
+ "datasource": {
2297
+ "type": "prometheus",
2298
+ "uid": "${datasource}"
2299
+ },
2300
+ "editorMode": "code",
2301
+ "expr": "irate(elasticsearch_indices_flush_time_seconds[$rate_interval])",
2302
+ "format": "time_series",
2303
+ "intervalFactor": 2,
2304
+ "legendFormat": "{{name}}: flush",
2305
+ "range": true,
2306
+ "refId": "F",
2307
+ "step": 10
2308
+ },
2309
+ {
2310
+ "datasource": {
2311
+ "type": "prometheus",
2312
+ "uid": "${datasource}"
2313
+ },
2314
+ "editorMode": "code",
2315
+ "expr": "irate(elasticsearch_indices_get_exists_time_seconds[$rate_interval])",
2316
+ "format": "time_series",
2317
+ "intervalFactor": 2,
2318
+ "legendFormat": "{{name}}: get_exists",
2319
+ "range": true,
2320
+ "refId": "G",
2321
+ "step": 10
2322
+ },
2323
+ {
2324
+ "datasource": {
2325
+ "type": "prometheus",
2326
+ "uid": "${datasource}"
2327
+ },
2328
+ "editorMode": "code",
2329
+ "expr": "irate(elasticsearch_indices_get_time_seconds[$rate_interval])",
2330
+ "format": "time_series",
2331
+ "intervalFactor": 2,
2332
+ "legendFormat": "{{name}}: get_time",
2333
+ "range": true,
2334
+ "refId": "H",
2335
+ "step": 10
2336
+ },
2337
+ {
2338
+ "datasource": {
2339
+ "type": "prometheus",
2340
+ "uid": "${datasource}"
2341
+ },
2342
+ "editorMode": "code",
2343
+ "expr": "irate(elasticsearch_indices_get_missing_time_seconds[$rate_interval])",
2344
+ "format": "time_series",
2345
+ "intervalFactor": 2,
2346
+ "legendFormat": "{{name}}: get_missing",
2347
+ "range": true,
2348
+ "refId": "I",
2349
+ "step": 10
2350
+ },
2351
+ {
2352
+ "datasource": {
2353
+ "type": "prometheus",
2354
+ "uid": "${datasource}"
2355
+ },
2356
+ "editorMode": "code",
2357
+ "expr": "irate(elasticsearch_indices_indexing_delete_time_seconds_total[$rate_interval])",
2358
+ "format": "time_series",
2359
+ "intervalFactor": 2,
2360
+ "legendFormat": "{{name}}: indexing_delete",
2361
+ "range": true,
2362
+ "refId": "J",
2363
+ "step": 10
2364
+ },
2365
+ {
2366
+ "datasource": {
2367
+ "type": "prometheus",
2368
+ "uid": "${datasource}"
2369
+ },
2370
+ "editorMode": "code",
2371
+ "expr": "irate(elasticsearch_indices_get_time_seconds[$rate_interval])",
2372
+ "format": "time_series",
2373
+ "intervalFactor": 2,
2374
+ "legendFormat": "{{name}}: get",
2375
+ "range": true,
2376
+ "refId": "K",
2377
+ "step": 10
2378
+ }
2379
+ ],
2380
+ "title": "Total Operations time",
2381
+ "type": "timeseries"
2382
+ },
2383
+ {
2384
+ "datasource": {
2385
+ "type": "prometheus",
2386
+ "uid": "${datasource}"
2387
+ },
2388
+ "fieldConfig": {
2389
+ "defaults": {
2390
+ "color": {
2391
+ "mode": "palette-classic"
2392
+ },
2393
+ "custom": {
2394
+ "axisBorderShow": false,
2395
+ "axisCenteredZero": false,
2396
+ "axisColorMode": "text",
2397
+ "axisLabel": "CPU usage",
2398
+ "axisPlacement": "auto",
2399
+ "barAlignment": 0,
2400
+ "barWidthFactor": 0.6,
2401
+ "drawStyle": "line",
2402
+ "fillOpacity": 10,
2403
+ "gradientMode": "none",
2404
+ "hideFrom": {
2405
+ "legend": false,
2406
+ "tooltip": false,
2407
+ "viz": false
2408
+ },
2409
+ "insertNulls": false,
2410
+ "lineInterpolation": "linear",
2411
+ "lineWidth": 1,
2412
+ "pointSize": 5,
2413
+ "scaleDistribution": {
2414
+ "type": "linear"
2415
+ },
2416
+ "showPoints": "never",
2417
+ "spanNulls": true,
2418
+ "stacking": {
2419
+ "group": "A",
2420
+ "mode": "none"
2421
+ },
2422
+ "thresholdsStyle": {
2423
+ "mode": "off"
2424
+ }
2425
+ },
2426
+ "mappings": [],
2427
+ "min": 0,
2428
+ "thresholds": {
2429
+ "mode": "absolute",
2430
+ "steps": [
2431
+ {
2432
+ "color": "green",
2433
+ "value": 0
2434
+ },
2435
+ {
2436
+ "color": "red",
2437
+ "value": 80
2438
+ }
2439
+ ]
2440
+ }
2441
+ },
2442
+ "overrides": []
2443
+ },
2444
+ "gridPos": {
2445
+ "h": 6,
2446
+ "w": 12,
2447
+ "x": 12,
2448
+ "y": 75
2449
+ },
2450
+ "id": 36,
2451
+ "options": {
2452
+ "legend": {
2453
+ "calcs": [
2454
+ "mean",
2455
+ "lastNotNull",
2456
+ "max",
2457
+ "min"
2458
+ ],
2459
+ "displayMode": "table",
2460
+ "placement": "bottom",
2461
+ "showLegend": true
2462
+ },
2463
+ "tooltip": {
2464
+ "hideZeros": false,
2465
+ "mode": "multi",
2466
+ "sort": "desc"
2467
+ }
2468
+ },
2469
+ "pluginVersion": "12.1.1",
2470
+ "targets": [
2471
+ {
2472
+ "datasource": {
2473
+ "type": "prometheus",
2474
+ "uid": "${datasource}"
2475
+ },
2476
+ "editorMode": "code",
2477
+ "expr": "rate(elasticsearch_indices_search_query_total[5m]) > 100",
2478
+ "format": "time_series",
2479
+ "instant": false,
2480
+ "interval": "",
2481
+ "intervalFactor": 2,
2482
+ "legendFormat": "{{name}}",
2483
+ "metric": "",
2484
+ "refId": "A",
2485
+ "step": 20
2486
+ }
2487
+ ],
2488
+ "title": "ES query rate > 100",
2489
+ "type": "timeseries"
2490
+ },
2491
+ {
2492
+ "collapsed": false,
2493
+ "gridPos": {
2494
+ "h": 1,
2495
+ "w": 24,
2496
+ "x": 0,
2497
+ "y": 81
2498
+ },
2499
+ "id": 6,
2500
+ "panels": [],
2501
+ "title": "Leverege Stack",
2502
+ "type": "row",
2503
+ "datasource": {
2504
+ "type": "prometheus",
2505
+ "uid": "${datasource}"
2506
+ }
2507
+ },
2508
+ {
2509
+ "datasource": {
2510
+ "type": "prometheus",
2511
+ "uid": "${datasource}"
2512
+ },
2513
+ "fieldConfig": {
2514
+ "defaults": {
2515
+ "color": {
2516
+ "mode": "continuous-BlYlRd"
2517
+ },
2518
+ "custom": {
2519
+ "axisBorderShow": true,
2520
+ "axisCenteredZero": false,
2521
+ "axisColorMode": "text",
2522
+ "axisLabel": "",
2523
+ "axisPlacement": "auto",
2524
+ "barAlignment": 0,
2525
+ "barWidthFactor": 0.6,
2526
+ "drawStyle": "line",
2527
+ "fillOpacity": 0,
2528
+ "gradientMode": "none",
2529
+ "hideFrom": {
2530
+ "legend": false,
2531
+ "tooltip": false,
2532
+ "viz": false
2533
+ },
2534
+ "insertNulls": false,
2535
+ "lineInterpolation": "linear",
2536
+ "lineWidth": 1,
2537
+ "pointSize": 5,
2538
+ "scaleDistribution": {
2539
+ "log": 2,
2540
+ "type": "symlog"
2541
+ },
2542
+ "showPoints": "auto",
2543
+ "spanNulls": false,
2544
+ "stacking": {
2545
+ "group": "A",
2546
+ "mode": "none"
2547
+ },
2548
+ "thresholdsStyle": {
2549
+ "mode": "off"
2550
+ }
2551
+ },
2552
+ "mappings": [],
2553
+ "thresholds": {
2554
+ "mode": "absolute",
2555
+ "steps": [
2556
+ {
2557
+ "color": "green",
2558
+ "value": 0
2559
+ },
2560
+ {
2561
+ "color": "red",
2562
+ "value": 80
2563
+ }
2564
+ ]
2565
+ }
2566
+ },
2567
+ "overrides": [
2568
+ {
2569
+ "matcher": {
2570
+ "id": "byFrameRefID",
2571
+ "options": "A"
2572
+ },
2573
+ "properties": [
2574
+ {
2575
+ "id": "custom.lineWidth",
2576
+ "value": 2
2577
+ },
2578
+ {
2579
+ "id": "custom.drawStyle",
2580
+ "value": "line"
2581
+ },
2582
+ {
2583
+ "id": "color",
2584
+ "value": {
2585
+ "fixedColor": "yellow",
2586
+ "mode": "fixed",
2587
+ "seriesBy": "last"
2588
+ }
2589
+ },
2590
+ {
2591
+ "id": "custom.lineStyle",
2592
+ "value": {
2593
+ "fill": "solid"
2594
+ }
2595
+ }
2596
+ ]
2597
+ }
2598
+ ]
2599
+ },
2600
+ "gridPos": {
2601
+ "h": 8,
2602
+ "w": 12,
2603
+ "x": 0,
2604
+ "y": 82
2605
+ },
2606
+ "id": 32,
2607
+ "options": {
2608
+ "legend": {
2609
+ "calcs": [],
2610
+ "displayMode": "list",
2611
+ "placement": "bottom",
2612
+ "showLegend": true
2613
+ },
2614
+ "tooltip": {
2615
+ "hideZeros": false,
2616
+ "mode": "single",
2617
+ "sort": "none"
2618
+ }
2619
+ },
2620
+ "pluginVersion": "12.1.1",
2621
+ "targets": [
2622
+ {
2623
+ "editorMode": "code",
2624
+ "expr": "sum(rate(label_replace({__name__=~\".*imagine_api.*\"}, \"old_name\", \"$1\", \"__name__\", \"(.+)\")[5m:1m]))",
2625
+ "interval": "",
2626
+ "legendFormat": "_TOTAL",
2627
+ "range": true,
2628
+ "refId": "A",
2629
+ "datasource": {
2630
+ "type": "prometheus",
2631
+ "uid": "${datasource}"
2632
+ }
2633
+ },
2634
+ {
2635
+ "datasource": {
2636
+ "type": "prometheus",
2637
+ "uid": "${datasource}"
2638
+ },
2639
+ "editorMode": "code",
2640
+ "expr": "sum by (old_name) (rate(label_replace({__name__=~\".*imagine_api.*\"}, \"old_name\", \"$1\", \"__name__\", \"(.+)\")[5m:1m]))",
2641
+ "hide": false,
2642
+ "legendFormat": "__auto",
2643
+ "range": true,
2644
+ "refId": "B"
2645
+ }
2646
+ ],
2647
+ "title": "Imagine API requests per second (log scale)",
2648
+ "type": "timeseries"
2649
+ },
2650
+ {
2651
+ "datasource": {
2652
+ "type": "prometheus",
2653
+ "uid": "${datasource}"
2654
+ },
2655
+ "fieldConfig": {
2656
+ "defaults": {
2657
+ "color": {
2658
+ "mode": "palette-classic"
2659
+ },
2660
+ "custom": {
2661
+ "axisBorderShow": false,
2662
+ "axisCenteredZero": false,
2663
+ "axisColorMode": "text",
2664
+ "axisLabel": "",
2665
+ "axisPlacement": "auto",
2666
+ "barAlignment": 0,
2667
+ "barWidthFactor": 0.6,
2668
+ "drawStyle": "line",
2669
+ "fillOpacity": 0,
2670
+ "gradientMode": "none",
2671
+ "hideFrom": {
2672
+ "legend": false,
2673
+ "tooltip": false,
2674
+ "viz": false
2675
+ },
2676
+ "insertNulls": false,
2677
+ "lineInterpolation": "linear",
2678
+ "lineWidth": 1,
2679
+ "pointSize": 5,
2680
+ "scaleDistribution": {
2681
+ "type": "linear"
2682
+ },
2683
+ "showPoints": "auto",
2684
+ "spanNulls": false,
2685
+ "stacking": {
2686
+ "group": "A",
2687
+ "mode": "none"
2688
+ },
2689
+ "thresholdsStyle": {
2690
+ "mode": "off"
2691
+ }
2692
+ },
2693
+ "mappings": [],
2694
+ "min": 0,
2695
+ "thresholds": {
2696
+ "mode": "absolute",
2697
+ "steps": [
2698
+ {
2699
+ "color": "green",
2700
+ "value": 0
2701
+ },
2702
+ {
2703
+ "color": "red",
2704
+ "value": 80
2705
+ }
2706
+ ]
2707
+ },
2708
+ "unit": "percentunit"
2709
+ },
2710
+ "overrides": []
2711
+ },
2712
+ "gridPos": {
2713
+ "h": 8,
2714
+ "w": 12,
2715
+ "x": 12,
2716
+ "y": 82
2717
+ },
2718
+ "id": 15,
2719
+ "options": {
2720
+ "legend": {
2721
+ "calcs": [],
2722
+ "displayMode": "list",
2723
+ "placement": "bottom",
2724
+ "showLegend": true
2725
+ },
2726
+ "tooltip": {
2727
+ "hideZeros": false,
2728
+ "mode": "single",
2729
+ "sort": "none"
2730
+ }
2731
+ },
2732
+ "pluginVersion": "12.1.1",
2733
+ "targets": [
2734
+ {
2735
+ "disableTextWrap": false,
2736
+ "editorMode": "code",
2737
+ "exemplar": false,
2738
+ "expr": "round(sum(rate(lev_rule_engine_evaluate_rule_success_count[$__rate_interval])) / sum(rate(lev_rule_engine_evaluate_rule_count[$__rate_interval])), 0.1)",
2739
+ "fullMetaSearch": false,
2740
+ "includeNullMetadata": true,
2741
+ "instant": false,
2742
+ "interval": "2m",
2743
+ "legendFormat": "% of Successful Evaluations",
2744
+ "range": true,
2745
+ "refId": "A",
2746
+ "useBackend": false,
2747
+ "datasource": {
2748
+ "type": "prometheus",
2749
+ "uid": "${datasource}"
2750
+ }
2751
+ }
2752
+ ],
2753
+ "title": "rule-engine - % of Successful Evaluations",
2754
+ "type": "timeseries"
2755
+ },
2756
+ {
2757
+ "datasource": {
2758
+ "type": "prometheus",
2759
+ "uid": "${datasource}"
2760
+ },
2761
+ "fieldConfig": {
2762
+ "defaults": {
2763
+ "color": {
2764
+ "mode": "palette-classic"
2765
+ },
2766
+ "custom": {
2767
+ "axisBorderShow": false,
2768
+ "axisCenteredZero": false,
2769
+ "axisColorMode": "text",
2770
+ "axisLabel": "",
2771
+ "axisPlacement": "auto",
2772
+ "barAlignment": 0,
2773
+ "barWidthFactor": 0.6,
2774
+ "drawStyle": "line",
2775
+ "fillOpacity": 0,
2776
+ "gradientMode": "none",
2777
+ "hideFrom": {
2778
+ "legend": false,
2779
+ "tooltip": false,
2780
+ "viz": false
2781
+ },
2782
+ "insertNulls": false,
2783
+ "lineInterpolation": "linear",
2784
+ "lineWidth": 1,
2785
+ "pointSize": 5,
2786
+ "scaleDistribution": {
2787
+ "type": "linear"
2788
+ },
2789
+ "showPoints": "auto",
2790
+ "spanNulls": false,
2791
+ "stacking": {
2792
+ "group": "A",
2793
+ "mode": "none"
2794
+ },
2795
+ "thresholdsStyle": {
2796
+ "mode": "off"
2797
+ }
2798
+ },
2799
+ "mappings": [],
2800
+ "thresholds": {
2801
+ "mode": "absolute",
2802
+ "steps": [
2803
+ {
2804
+ "color": "green",
2805
+ "value": 0
2806
+ },
2807
+ {
2808
+ "color": "red",
2809
+ "value": 80
2810
+ }
2811
+ ]
2812
+ }
2813
+ },
2814
+ "overrides": []
2815
+ },
2816
+ "gridPos": {
2817
+ "h": 8,
2818
+ "w": 12,
2819
+ "x": 0,
2820
+ "y": 90
2821
+ },
2822
+ "id": 1,
2823
+ "options": {
2824
+ "legend": {
2825
+ "calcs": [],
2826
+ "displayMode": "list",
2827
+ "placement": "bottom",
2828
+ "showLegend": true
2829
+ },
2830
+ "tooltip": {
2831
+ "hideZeros": false,
2832
+ "mode": "single",
2833
+ "sort": "none"
2834
+ }
2835
+ },
2836
+ "pluginVersion": "12.1.1",
2837
+ "targets": [
2838
+ {
2839
+ "datasource": {
2840
+ "type": "prometheus",
2841
+ "uid": "${datasource}"
2842
+ },
2843
+ "editorMode": "code",
2844
+ "expr": "sum( rate( resource_server_resource_controller_list_total_time[5m] ) ) / sum( rate( resource_server_resource_controller_list_count[5m] ) )",
2845
+ "legendFormat": "list",
2846
+ "range": true,
2847
+ "refId": "A"
2848
+ },
2849
+ {
2850
+ "datasource": {
2851
+ "type": "prometheus",
2852
+ "uid": "${datasource}"
2853
+ },
2854
+ "editorMode": "code",
2855
+ "expr": "sum( rate( resource_server_resource_controller_post_list_total_time[5m] ) ) / sum( rate( resource_server_resource_controller_post_list_count[5m] ) )",
2856
+ "hide": false,
2857
+ "instant": false,
2858
+ "legendFormat": "post list",
2859
+ "range": true,
2860
+ "refId": "B"
2861
+ },
2862
+ {
2863
+ "datasource": {
2864
+ "type": "prometheus",
2865
+ "uid": "${datasource}"
2866
+ },
2867
+ "editorMode": "code",
2868
+ "expr": "sum( rate( resource_server_resource_controller_create_total_time[5m] ) ) / sum( rate( resource_server_resource_controller_create_count[5m] ) )",
2869
+ "hide": false,
2870
+ "instant": false,
2871
+ "legendFormat": "create",
2872
+ "range": true,
2873
+ "refId": "C"
2874
+ },
2875
+ {
2876
+ "datasource": {
2877
+ "type": "prometheus",
2878
+ "uid": "${datasource}"
2879
+ },
2880
+ "editorMode": "code",
2881
+ "expr": "sum( rate( resource_server_resource_controller_post_create_total_time[5m] ) ) / sum( rate( resource_server_resource_controller_post_create_count[5m] ) )",
2882
+ "hide": false,
2883
+ "instant": false,
2884
+ "legendFormat": "post create",
2885
+ "range": true,
2886
+ "refId": "D"
2887
+ },
2888
+ {
2889
+ "datasource": {
2890
+ "type": "prometheus",
2891
+ "uid": "${datasource}"
2892
+ },
2893
+ "editorMode": "code",
2894
+ "expr": "sum( rate( resource_server_resource_controller_get_total_time[5m] ) ) / sum( rate( resource_server_resource_controller_get_count[5m] ) )",
2895
+ "hide": false,
2896
+ "instant": false,
2897
+ "legendFormat": "get",
2898
+ "range": true,
2899
+ "refId": "E"
2900
+ },
2901
+ {
2902
+ "datasource": {
2903
+ "type": "prometheus",
2904
+ "uid": "${datasource}"
2905
+ },
2906
+ "editorMode": "code",
2907
+ "expr": "sum( rate( resource_server_resource_controller_post_get_total_time[5m] ) ) / sum( rate( resource_server_resource_controller_post_get_count[5m] ) )",
2908
+ "hide": false,
2909
+ "instant": false,
2910
+ "legendFormat": "post get",
2911
+ "range": true,
2912
+ "refId": "F"
2913
+ },
2914
+ {
2915
+ "datasource": {
2916
+ "type": "prometheus",
2917
+ "uid": "${datasource}"
2918
+ },
2919
+ "editorMode": "code",
2920
+ "expr": "sum( rate( resource_server_resource_controller_update_total_time[5m] ) ) / sum( rate( resource_server_resource_controller_update_count[5m] ) )",
2921
+ "hide": false,
2922
+ "instant": false,
2923
+ "legendFormat": "update",
2924
+ "range": true,
2925
+ "refId": "G"
2926
+ },
2927
+ {
2928
+ "datasource": {
2929
+ "type": "prometheus",
2930
+ "uid": "${datasource}"
2931
+ },
2932
+ "editorMode": "code",
2933
+ "expr": "sum( rate( resource_server_resource_controller_post_update_total_time[5m] ) ) / sum( rate( resource_server_resource_controller_post_update_count[5m] ) )",
2934
+ "hide": false,
2935
+ "instant": false,
2936
+ "legendFormat": "post update",
2937
+ "range": true,
2938
+ "refId": "H"
2939
+ },
2940
+ {
2941
+ "datasource": {
2942
+ "type": "prometheus",
2943
+ "uid": "${datasource}"
2944
+ },
2945
+ "editorMode": "code",
2946
+ "expr": "sum( rate( resource_server_resource_controller_pre_delete_total_time[5m] ) ) / sum( rate( resource_server_resource_controller_pre_delete_count[5m] ) )",
2947
+ "hide": false,
2948
+ "instant": false,
2949
+ "legendFormat": "pre delete",
2950
+ "range": true,
2951
+ "refId": "I"
2952
+ },
2953
+ {
2954
+ "datasource": {
2955
+ "type": "prometheus",
2956
+ "uid": "${datasource}"
2957
+ },
2958
+ "editorMode": "code",
2959
+ "expr": "sum( rate( resource_server_resource_controller_delete_total_time[5m] ) ) / sum( rate( resource_server_resource_controller_delete_count[5m] ) )",
2960
+ "hide": false,
2961
+ "instant": false,
2962
+ "legendFormat": "delete",
2963
+ "range": true,
2964
+ "refId": "J"
2965
+ },
2966
+ {
2967
+ "datasource": {
2968
+ "type": "prometheus",
2969
+ "uid": "${datasource}"
2970
+ },
2971
+ "editorMode": "code",
2972
+ "expr": "sum( rate( resource_server_resource_controller_post_delete_total_time[5m] ) ) / sum( rate( resource_server_resource_controller_post_delete_count[5m] ) )",
2973
+ "hide": false,
2974
+ "instant": false,
2975
+ "legendFormat": "post delete",
2976
+ "range": true,
2977
+ "refId": "K"
2978
+ },
2979
+ {
2980
+ "datasource": {
2981
+ "type": "prometheus",
2982
+ "uid": "${datasource}"
2983
+ },
2984
+ "editorMode": "code",
2985
+ "expr": "sum( rate( resource_server_resource_controller_pre_bulk_delete_total_time[5m] ) ) / sum( rate( resource_server_resource_controller_pre_bulk_delete_count[5m] ) )",
2986
+ "hide": false,
2987
+ "instant": false,
2988
+ "legendFormat": "pre bulk delete",
2989
+ "range": true,
2990
+ "refId": "L"
2991
+ },
2992
+ {
2993
+ "datasource": {
2994
+ "type": "prometheus",
2995
+ "uid": "${datasource}"
2996
+ },
2997
+ "editorMode": "code",
2998
+ "expr": "sum( rate( resource_server_resource_controller_bulk_delete_total_time[5m] ) ) / sum( rate( resource_server_resource_controller_bulk_delete_count[5m] ) )",
2999
+ "hide": false,
3000
+ "instant": false,
3001
+ "legendFormat": "bulk delete",
3002
+ "range": true,
3003
+ "refId": "M"
3004
+ },
3005
+ {
3006
+ "datasource": {
3007
+ "type": "prometheus",
3008
+ "uid": "${datasource}"
3009
+ },
3010
+ "editorMode": "code",
3011
+ "expr": "sum( rate( resource_server_resource_controller_post_bulk_delete_total_time[5m] ) ) / sum( rate( resource_server_resource_controller_post_bulk_delete_count[5m] ) )",
3012
+ "hide": false,
3013
+ "instant": false,
3014
+ "legendFormat": "post bulk delete",
3015
+ "range": true,
3016
+ "refId": "N"
3017
+ }
3018
+ ],
3019
+ "title": "resource-server - Operation Average Time (ms)",
3020
+ "type": "timeseries"
3021
+ },
3022
+ {
3023
+ "datasource": {
3024
+ "type": "prometheus",
3025
+ "uid": "${datasource}"
3026
+ },
3027
+ "fieldConfig": {
3028
+ "defaults": {
3029
+ "color": {
3030
+ "mode": "palette-classic"
3031
+ },
3032
+ "custom": {
3033
+ "axisBorderShow": false,
3034
+ "axisCenteredZero": false,
3035
+ "axisColorMode": "text",
3036
+ "axisLabel": "",
3037
+ "axisPlacement": "auto",
3038
+ "barAlignment": 0,
3039
+ "barWidthFactor": 0.6,
3040
+ "drawStyle": "line",
3041
+ "fillOpacity": 10,
3042
+ "gradientMode": "none",
3043
+ "hideFrom": {
3044
+ "legend": false,
3045
+ "tooltip": false,
3046
+ "viz": false
3047
+ },
3048
+ "insertNulls": false,
3049
+ "lineInterpolation": "linear",
3050
+ "lineWidth": 1,
3051
+ "pointSize": 5,
3052
+ "scaleDistribution": {
3053
+ "type": "linear"
3054
+ },
3055
+ "showPoints": "never",
3056
+ "spanNulls": false,
3057
+ "stacking": {
3058
+ "group": "A",
3059
+ "mode": "none"
3060
+ },
3061
+ "thresholdsStyle": {
3062
+ "mode": "off"
3063
+ }
3064
+ },
3065
+ "mappings": [],
3066
+ "thresholds": {
3067
+ "mode": "absolute",
3068
+ "steps": [
3069
+ {
3070
+ "color": "green",
3071
+ "value": 0
3072
+ },
3073
+ {
3074
+ "color": "red",
3075
+ "value": 80
3076
+ }
3077
+ ]
3078
+ },
3079
+ "unit": "short"
3080
+ },
3081
+ "overrides": []
3082
+ },
3083
+ "gridPos": {
3084
+ "h": 8,
3085
+ "w": 12,
3086
+ "x": 12,
3087
+ "y": 90
3088
+ },
3089
+ "id": 17,
3090
+ "options": {
3091
+ "legend": {
3092
+ "calcs": [],
3093
+ "displayMode": "list",
3094
+ "placement": "bottom",
3095
+ "showLegend": true
3096
+ },
3097
+ "tooltip": {
3098
+ "hideZeros": false,
3099
+ "mode": "multi",
3100
+ "sort": "none"
3101
+ }
3102
+ },
3103
+ "pluginVersion": "12.1.1",
3104
+ "targets": [
3105
+ {
3106
+ "datasource": {
3107
+ "type": "prometheus",
3108
+ "uid": "${datasource}"
3109
+ },
3110
+ "editorMode": "code",
3111
+ "exemplar": true,
3112
+ "expr": "sum( rate(container_cpu_usage_seconds_total{container=~\".*api-server.*\"} [5m]) ) ",
3113
+ "interval": "",
3114
+ "legendFormat": "total",
3115
+ "range": true,
3116
+ "refId": "A"
3117
+ }
3118
+ ],
3119
+ "title": "API Server CPU",
3120
+ "type": "timeseries"
3121
+ },
3122
+ {
3123
+ "datasource": {
3124
+ "type": "prometheus",
3125
+ "uid": "${datasource}"
3126
+ },
3127
+ "fieldConfig": {
3128
+ "defaults": {
3129
+ "color": {
3130
+ "mode": "palette-classic"
3131
+ },
3132
+ "custom": {
3133
+ "axisBorderShow": false,
3134
+ "axisCenteredZero": false,
3135
+ "axisColorMode": "text",
3136
+ "axisLabel": "",
3137
+ "axisPlacement": "auto",
3138
+ "barAlignment": 0,
3139
+ "barWidthFactor": 0.6,
3140
+ "drawStyle": "line",
3141
+ "fillOpacity": 0,
3142
+ "gradientMode": "none",
3143
+ "hideFrom": {
3144
+ "legend": false,
3145
+ "tooltip": false,
3146
+ "viz": false
3147
+ },
3148
+ "insertNulls": false,
3149
+ "lineInterpolation": "linear",
3150
+ "lineWidth": 1,
3151
+ "pointSize": 5,
3152
+ "scaleDistribution": {
3153
+ "type": "linear"
3154
+ },
3155
+ "showPoints": "auto",
3156
+ "spanNulls": false,
3157
+ "stacking": {
3158
+ "group": "A",
3159
+ "mode": "none"
3160
+ },
3161
+ "thresholdsStyle": {
3162
+ "mode": "off"
3163
+ }
3164
+ },
3165
+ "mappings": [],
3166
+ "thresholds": {
3167
+ "mode": "absolute",
3168
+ "steps": [
3169
+ {
3170
+ "color": "green",
3171
+ "value": 0
3172
+ },
3173
+ {
3174
+ "color": "red",
3175
+ "value": 80
3176
+ }
3177
+ ]
3178
+ }
3179
+ },
3180
+ "overrides": []
3181
+ },
3182
+ "gridPos": {
3183
+ "h": 8,
3184
+ "w": 12,
3185
+ "x": 0,
3186
+ "y": 98
3187
+ },
3188
+ "id": 37,
3189
+ "options": {
3190
+ "legend": {
3191
+ "calcs": [],
3192
+ "displayMode": "list",
3193
+ "placement": "bottom",
3194
+ "showLegend": true
3195
+ },
3196
+ "tooltip": {
3197
+ "hideZeros": false,
3198
+ "mode": "single",
3199
+ "sort": "none"
3200
+ }
3201
+ },
3202
+ "pluginVersion": "12.1.1",
3203
+ "targets": [
3204
+ {
3205
+ "adhocFilters": [],
3206
+ "datasource": {
3207
+ "type": "prometheus",
3208
+ "uid": "${datasource}"
3209
+ },
3210
+ "editorMode": "code",
3211
+ "exemplar": false,
3212
+ "expr": "avg by (container_name) (gpu_duty_cycle_percent)",
3213
+ "fromExploreMetrics": true,
3214
+ "instant": true,
3215
+ "interval": "",
3216
+ "legendFormat": "{{container_name}}",
3217
+ "range": true,
3218
+ "refId": "gpu_duty_cycle_percent-avg"
3219
+ }
3220
+ ],
3221
+ "title": "GPU usage %",
3222
+ "type": "timeseries"
3223
+ },
3224
+ {
3225
+ "datasource": {
3226
+ "type": "prometheus",
3227
+ "uid": "${datasource}"
3228
+ },
3229
+ "fieldConfig": {
3230
+ "defaults": {
3231
+ "color": {
3232
+ "mode": "palette-classic"
3233
+ },
3234
+ "custom": {
3235
+ "axisBorderShow": false,
3236
+ "axisCenteredZero": false,
3237
+ "axisColorMode": "text",
3238
+ "axisLabel": "",
3239
+ "axisPlacement": "auto",
3240
+ "barAlignment": 0,
3241
+ "barWidthFactor": 0.6,
3242
+ "drawStyle": "line",
3243
+ "fillOpacity": 10,
3244
+ "gradientMode": "none",
3245
+ "hideFrom": {
3246
+ "legend": false,
3247
+ "tooltip": false,
3248
+ "viz": false
3249
+ },
3250
+ "insertNulls": false,
3251
+ "lineInterpolation": "linear",
3252
+ "lineWidth": 1,
3253
+ "pointSize": 5,
3254
+ "scaleDistribution": {
3255
+ "type": "linear"
3256
+ },
3257
+ "showPoints": "never",
3258
+ "spanNulls": false,
3259
+ "stacking": {
3260
+ "group": "A",
3261
+ "mode": "none"
3262
+ },
3263
+ "thresholdsStyle": {
3264
+ "mode": "off"
3265
+ }
3266
+ },
3267
+ "mappings": [],
3268
+ "thresholds": {
3269
+ "mode": "absolute",
3270
+ "steps": [
3271
+ {
3272
+ "color": "green",
3273
+ "value": 0
3274
+ },
3275
+ {
3276
+ "color": "red",
3277
+ "value": 80
3278
+ }
3279
+ ]
3280
+ },
3281
+ "unit": "short"
3282
+ },
3283
+ "overrides": []
3284
+ },
3285
+ "gridPos": {
3286
+ "h": 8,
3287
+ "w": 12,
3288
+ "x": 12,
3289
+ "y": 98
3290
+ },
3291
+ "id": 34,
3292
+ "options": {
3293
+ "legend": {
3294
+ "calcs": [],
3295
+ "displayMode": "list",
3296
+ "placement": "bottom",
3297
+ "showLegend": true
3298
+ },
3299
+ "tooltip": {
3300
+ "hideZeros": false,
3301
+ "mode": "multi",
3302
+ "sort": "none"
3303
+ }
3304
+ },
3305
+ "pluginVersion": "12.1.1",
3306
+ "targets": [
3307
+ {
3308
+ "datasource": {
3309
+ "type": "prometheus",
3310
+ "uid": "${datasource}"
3311
+ },
3312
+ "editorMode": "code",
3313
+ "exemplar": true,
3314
+ "expr": "sum by (container) ( rate(container_cpu_usage_seconds_total{container=~\"tpi.*\"} [5m]) ) ",
3315
+ "interval": "",
3316
+ "legendFormat": "{{container}}",
3317
+ "range": true,
3318
+ "refId": "A"
3319
+ }
3320
+ ],
3321
+ "title": "Custom services CPU usage",
3322
+ "type": "timeseries"
3323
+ },
3324
+ {
3325
+ "datasource": {
3326
+ "type": "prometheus",
3327
+ "uid": "${datasource}"
3328
+ },
3329
+ "fieldConfig": {
3330
+ "defaults": {
3331
+ "color": {
3332
+ "mode": "palette-classic"
3333
+ },
3334
+ "custom": {
3335
+ "axisBorderShow": false,
3336
+ "axisCenteredZero": false,
3337
+ "axisColorMode": "text",
3338
+ "axisLabel": "seconds",
3339
+ "axisPlacement": "auto",
3340
+ "barAlignment": 0,
3341
+ "barWidthFactor": 0.6,
3342
+ "drawStyle": "line",
3343
+ "fillOpacity": 0,
3344
+ "gradientMode": "none",
3345
+ "hideFrom": {
3346
+ "legend": false,
3347
+ "tooltip": false,
3348
+ "viz": false
3349
+ },
3350
+ "insertNulls": false,
3351
+ "lineInterpolation": "linear",
3352
+ "lineWidth": 1,
3353
+ "pointSize": 5,
3354
+ "scaleDistribution": {
3355
+ "type": "linear"
3356
+ },
3357
+ "showPoints": "auto",
3358
+ "spanNulls": false,
3359
+ "stacking": {
3360
+ "group": "A",
3361
+ "mode": "none"
3362
+ },
3363
+ "thresholdsStyle": {
3364
+ "mode": "off"
3365
+ }
3366
+ },
3367
+ "mappings": [],
3368
+ "thresholds": {
3369
+ "mode": "absolute",
3370
+ "steps": [
3371
+ {
3372
+ "color": "green",
3373
+ "value": 0
3374
+ },
3375
+ {
3376
+ "color": "red",
3377
+ "value": 80
3378
+ }
3379
+ ]
3380
+ }
3381
+ },
3382
+ "overrides": [
3383
+ {
3384
+ "__systemRef": "hideSeriesFrom",
3385
+ "matcher": {
3386
+ "id": "byNames",
3387
+ "options": {
3388
+ "mode": "exclude",
3389
+ "names": [
3390
+ "inference"
3391
+ ],
3392
+ "prefix": "All except:",
3393
+ "readOnly": true
3394
+ }
3395
+ },
3396
+ "properties": [
3397
+ {
3398
+ "id": "custom.hideFrom",
3399
+ "value": {
3400
+ "legend": false,
3401
+ "tooltip": false,
3402
+ "viz": true
3403
+ }
3404
+ }
3405
+ ]
3406
+ }
3407
+ ]
3408
+ },
3409
+ "gridPos": {
3410
+ "h": 8,
3411
+ "w": 12,
3412
+ "x": 0,
3413
+ "y": 106
3414
+ },
3415
+ "id": 38,
3416
+ "options": {
3417
+ "legend": {
3418
+ "calcs": [],
3419
+ "displayMode": "list",
3420
+ "placement": "bottom",
3421
+ "showLegend": true
3422
+ },
3423
+ "tooltip": {
3424
+ "hideZeros": false,
3425
+ "mode": "single",
3426
+ "sort": "none"
3427
+ }
3428
+ },
3429
+ "pluginVersion": "12.1.1",
3430
+ "targets": [
3431
+ {
3432
+ "editorMode": "code",
3433
+ "expr": "sum(rate(tpi_ply_placement_server_plyPlacementControllerComputeTimeSumMs[5m]))\n/ sum(rate(tpi_ply_placement_server_plyPlacementControllerCalculationComplete[5m])) / 1000",
3434
+ "legendFormat": "inference",
3435
+ "range": true,
3436
+ "refId": "A",
3437
+ "datasource": {
3438
+ "type": "prometheus",
3439
+ "uid": "${datasource}"
3440
+ }
3441
+ },
3442
+ {
3443
+ "datasource": {
3444
+ "type": "prometheus",
3445
+ "uid": "${datasource}"
3446
+ },
3447
+ "editorMode": "code",
3448
+ "expr": "sum(rate(tpi_ply_placement_server_plyPlacementControllerTotalTimeSumMs[5m]))\n/ sum(rate(tpi_ply_placement_server_plyPlacementControllerCalculationComplete[5m])) / 1000",
3449
+ "hide": false,
3450
+ "instant": false,
3451
+ "legendFormat": "total",
3452
+ "range": true,
3453
+ "refId": "B"
3454
+ }
3455
+ ],
3456
+ "title": "Average time to run ply inference",
3457
+ "type": "timeseries"
3458
+ },
3459
+ {
3460
+ "datasource": {
3461
+ "type": "prometheus",
3462
+ "uid": "${datasource}"
3463
+ },
3464
+ "fieldConfig": {
3465
+ "defaults": {
3466
+ "color": {
3467
+ "mode": "palette-classic"
3468
+ },
3469
+ "custom": {
3470
+ "axisBorderShow": false,
3471
+ "axisCenteredZero": false,
3472
+ "axisColorMode": "text",
3473
+ "axisLabel": "",
3474
+ "axisPlacement": "auto",
3475
+ "barAlignment": 0,
3476
+ "barWidthFactor": 0.6,
3477
+ "drawStyle": "line",
3478
+ "fillOpacity": 10,
3479
+ "gradientMode": "none",
3480
+ "hideFrom": {
3481
+ "legend": false,
3482
+ "tooltip": false,
3483
+ "viz": false
3484
+ },
3485
+ "insertNulls": false,
3486
+ "lineInterpolation": "linear",
3487
+ "lineWidth": 1,
3488
+ "pointSize": 5,
3489
+ "scaleDistribution": {
3490
+ "log": 2,
3491
+ "type": "symlog"
3492
+ },
3493
+ "showPoints": "never",
3494
+ "spanNulls": false,
3495
+ "stacking": {
3496
+ "group": "A",
3497
+ "mode": "none"
3498
+ },
3499
+ "thresholdsStyle": {
3500
+ "mode": "off"
3501
+ }
3502
+ },
3503
+ "mappings": [],
3504
+ "thresholds": {
3505
+ "mode": "absolute",
3506
+ "steps": [
3507
+ {
3508
+ "color": "green",
3509
+ "value": 0
3510
+ },
3511
+ {
3512
+ "color": "red",
3513
+ "value": 80
3514
+ }
3515
+ ]
3516
+ },
3517
+ "unit": "short"
3518
+ },
3519
+ "overrides": []
3520
+ },
3521
+ "gridPos": {
3522
+ "h": 8,
3523
+ "w": 12,
3524
+ "x": 12,
3525
+ "y": 106
3526
+ },
3527
+ "id": 35,
3528
+ "options": {
3529
+ "legend": {
3530
+ "calcs": [],
3531
+ "displayMode": "list",
3532
+ "placement": "bottom",
3533
+ "showLegend": true
3534
+ },
3535
+ "tooltip": {
3536
+ "hideZeros": false,
3537
+ "mode": "multi",
3538
+ "sort": "none"
3539
+ }
3540
+ },
3541
+ "pluginVersion": "12.1.1",
3542
+ "targets": [
3543
+ {
3544
+ "datasource": {
3545
+ "type": "prometheus",
3546
+ "uid": "${datasource}"
3547
+ },
3548
+ "editorMode": "code",
3549
+ "exemplar": true,
3550
+ "expr": "sum by (container) ( rate(container_cpu_usage_seconds_total{container!~\"(kube|tpi|nvidia|prometheus|grafana|calico|netd|fluentbit|gce|gke|node-cache|konnectivity|core-metrics|install-cni|autoscaler|default-http|dnsmasq).*\"} [5m]) ) ",
3551
+ "interval": "",
3552
+ "legendFormat": "{{container}}",
3553
+ "range": true,
3554
+ "refId": "A"
3555
+ }
3556
+ ],
3557
+ "title": "Stack services CPU usage",
3558
+ "type": "timeseries"
3559
+ }
3560
+ ],
3561
+ "preload": false,
3562
+ "schemaVersion": 41,
3563
+ "tags": [],
3564
+ "templating": {
3565
+ "list": [
3566
+ {
3567
+ "current": {},
3568
+ "hide": 0,
3569
+ "includeAll": false,
3570
+ "label": "Datasource",
3571
+ "multi": false,
3572
+ "name": "datasource",
3573
+ "options": [],
3574
+ "query": "prometheus",
3575
+ "refresh": 1,
3576
+ "type": "datasource"
3577
+ },
3578
+ {
3579
+ "auto": false,
3580
+ "auto_count": 30,
3581
+ "auto_min": "10s",
3582
+ "current": {
3583
+ "text": "5m",
3584
+ "value": "5m"
3585
+ },
3586
+ "name": "rate_interval",
3587
+ "options": [
3588
+ {
3589
+ "selected": false,
3590
+ "text": "2m",
3591
+ "value": "2m"
3592
+ },
3593
+ {
3594
+ "selected": true,
3595
+ "text": "5m",
3596
+ "value": "5m"
3597
+ },
3598
+ {
3599
+ "selected": false,
3600
+ "text": "10m",
3601
+ "value": "10m"
3602
+ },
3603
+ {
3604
+ "selected": false,
3605
+ "text": "30m",
3606
+ "value": "30m"
3607
+ }
3608
+ ],
3609
+ "query": "2m,5m,10m,30m",
3610
+ "refresh": 2,
3611
+ "type": "interval"
3612
+ }
3613
+ ]
3614
+ },
3615
+ "time": {
3616
+ "from": "now-3h",
3617
+ "to": "now"
3618
+ },
3619
+ "timepicker": {},
3620
+ "timezone": "browser",
3621
+ "title": "Leverege NOC - TPI",
3622
+ "uid": "beldzphtytaf4c",
3623
+ "version": 36
3624
+ }