@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
@@ -14,8 +14,8 @@
14
14
  }
15
15
  ]
16
16
  },
17
- "description": "Cross-service NOC roll-up — Ingress & API layer + Data stores. Rows 1 and 2 of 4.",
18
- "editable": true,
17
+ "description": "Cross-service NOC roll-up — Ingress & API layer, Data stores, Data pipeline, Capacity & Storage.",
18
+ "editable": false,
19
19
  "fiscalYearStartMonth": 0,
20
20
  "graphTooltip": 1,
21
21
  "links": [],
@@ -168,9 +168,9 @@
168
168
  "thresholds": {
169
169
  "mode": "absolute",
170
170
  "steps": [
171
- { "color": "semi-dark-red", "value": null },
172
- { "color": "semi-dark-orange", "value": 80 },
173
- { "color": "green", "value": 100 }
171
+ { "color": "semi-dark-red", "value": null },
172
+ { "color": "semi-dark-orange", "value": 80 },
173
+ { "color": "green", "value": 99 }
174
174
  ]
175
175
  },
176
176
  "unit": "percent"
@@ -181,7 +181,7 @@
181
181
  "id": 13,
182
182
  "options": {
183
183
  "colorMode": "background",
184
- "graphMode": "none",
184
+ "graphMode": "area",
185
185
  "justifyMode": "auto",
186
186
  "orientation": "auto",
187
187
  "reduceOptions": { "calcs": ["lastNotNull"], "fields": "", "values": false },
@@ -251,7 +251,14 @@
251
251
  "defaults": {
252
252
  "color": { "mode": "thresholds" },
253
253
  "decimals": 0,
254
- "mappings": [],
254
+ "mappings": [
255
+ {
256
+ "options": {
257
+ "0": { "color": "semi-dark-red", "index": 0, "text": "NONE READY" }
258
+ },
259
+ "type": "value"
260
+ }
261
+ ],
255
262
  "noValue": "--",
256
263
  "thresholds": {
257
264
  "mode": "absolute",
@@ -677,7 +684,7 @@
677
684
  "gridPos": { "h": 4, "w": 3, "x": 12, "y": 10 },
678
685
  "id": 30,
679
686
  "options": {
680
- "colorMode": "value",
687
+ "colorMode": "background",
681
688
  "graphMode": "area",
682
689
  "justifyMode": "auto",
683
690
  "orientation": "auto",
@@ -709,12 +716,12 @@
709
716
  "thresholds": {
710
717
  "mode": "absolute",
711
718
  "steps": [
712
- { "color": "green", "value": null },
713
- { "color": "semi-dark-orange", "value": 70 },
714
- { "color": "semi-dark-red", "value": 85 }
719
+ { "color": "green", "value": null },
720
+ { "color": "semi-dark-orange", "value": 524288000 },
721
+ { "color": "semi-dark-red", "value": 838860800 }
715
722
  ]
716
723
  },
717
- "unit": "percent"
724
+ "unit": "bytes"
718
725
  },
719
726
  "overrides": []
720
727
  },
@@ -733,9 +740,9 @@
733
740
  "targets": [
734
741
  {
735
742
  "datasource": { "type": "prometheus", "uid": "${datasource}" },
736
- "expr": "100 * max(redis_memory_used_bytes / redis_memory_max_bytes)",
743
+ "expr": "max(redis_memory_used_bytes)",
737
744
  "instant": false,
738
- "legendFormat": "mem %",
745
+ "legendFormat": "used",
739
746
  "refId": "A"
740
747
  }
741
748
  ],
@@ -797,9 +804,9 @@
797
804
  "thresholds": {
798
805
  "mode": "absolute",
799
806
  "steps": [
800
- { "color": "semi-dark-red", "value": null },
801
- { "color": "semi-dark-orange", "value": 80 },
802
- { "color": "green", "value": 95 }
807
+ { "color": "semi-dark-red", "value": null },
808
+ { "color": "semi-dark-orange", "value": 80 },
809
+ { "color": "green", "value": 95 }
803
810
  ]
804
811
  },
805
812
  "unit": "percent"
@@ -939,7 +946,7 @@
939
946
  "gridPos": { "h": 4, "w": 3, "x": 6, "y": 14 },
940
947
  "id": 42,
941
948
  "options": {
942
- "colorMode": "value",
949
+ "colorMode": "background",
943
950
  "graphMode": "area",
944
951
  "justifyMode": "auto",
945
952
  "orientation": "auto",
@@ -1075,7 +1082,7 @@
1075
1082
  "gridPos": { "h": 4, "w": 3, "x": 15, "y": 14 },
1076
1083
  "id": 51,
1077
1084
  "options": {
1078
- "colorMode": "value",
1085
+ "colorMode": "background",
1079
1086
  "graphMode": "none",
1080
1087
  "justifyMode": "auto",
1081
1088
  "orientation": "auto",
@@ -1182,49 +1189,782 @@
1182
1189
  ],
1183
1190
  "title": "CNPG — Last Backup Age",
1184
1191
  "type": "stat"
1185
- }
1186
- ],
1187
- "preload": false,
1188
- "refresh": "30s",
1189
- "schemaVersion": 42,
1190
- "tags": ["noc", "kubernetes", "gke", "prometheus"],
1191
- "templating": {
1192
- "list": [
1193
- {
1194
- "current": {},
1195
- "includeAll": false,
1196
- "label": "Datasource",
1197
- "name": "datasource",
1198
- "options": [],
1199
- "query": "prometheus",
1200
- "refresh": 1,
1201
- "type": "datasource"
1192
+ },
1193
+ {
1194
+ "collapsed": false,
1195
+ "gridPos": { "h": 1, "w": 24, "x": 0, "y": 18 },
1196
+ "id": 3,
1197
+ "title": "Data Pipeline",
1198
+ "type": "row"
1199
+ },
1200
+ {
1201
+ "datasource": { "type": "prometheus", "uid": "${datasource}" },
1202
+ "fieldConfig": {
1203
+ "defaults": {
1204
+ "color": { "mode": "thresholds" },
1205
+ "decimals": 0,
1206
+ "mappings": [],
1207
+ "noValue": "--",
1208
+ "thresholds": {
1209
+ "mode": "absolute",
1210
+ "steps": [
1211
+ { "color": "green", "value": null },
1212
+ { "color": "semi-dark-orange", "value": 1000 },
1213
+ { "color": "semi-dark-red", "value": 10000 }
1214
+ ]
1215
+ },
1216
+ "unit": "short"
1217
+ },
1218
+ "overrides": []
1202
1219
  },
1203
- {
1204
- "allValue": ".*",
1205
- "current": { "text": ["All"], "value": ["$__all"] },
1206
- "datasource": { "type": "prometheus", "uid": "${datasource}" },
1207
- "definition": "label_values(kube_pod_info, namespace)",
1208
- "includeAll": true,
1209
- "label": "Namespace",
1210
- "multi": true,
1211
- "name": "namespace",
1212
- "options": [],
1213
- "query": "label_values(kube_pod_info, namespace)",
1214
- "refresh": 2,
1215
- "sort": 1,
1216
- "type": "query"
1220
+ "gridPos": { "h": 4, "w": 3, "x": 0, "y": 19 },
1221
+ "id": 60,
1222
+ "options": {
1223
+ "colorMode": "background",
1224
+ "graphMode": "area",
1225
+ "justifyMode": "auto",
1226
+ "orientation": "auto",
1227
+ "reduceOptions": { "calcs": ["lastNotNull"], "fields": "", "values": false },
1228
+ "textMode": "auto",
1229
+ "wideLayout": true
1217
1230
  },
1218
- {
1219
- "current": { "text": ["All"], "value": ["$__all"] },
1220
- "datasource": { "type": "prometheus", "uid": "${datasource}" },
1221
- "definition": "label_values(kube_node_info, node)",
1222
- "includeAll": true,
1223
- "label": "Node",
1224
- "multi": true,
1225
- "name": "node",
1226
- "options": [],
1227
- "query": "label_values(kube_node_info, node)",
1231
+ "pluginVersion": "12.4.1",
1232
+ "targets": [
1233
+ {
1234
+ "datasource": { "type": "prometheus", "uid": "${datasource}" },
1235
+ "expr": "sum(stackdriver_pubsub_subscription_pubsub_googleapis_com_subscription_num_undelivered_messages{subscription_id!~\"gcr-.*\"})",
1236
+ "instant": false,
1237
+ "legendFormat": "messages",
1238
+ "refId": "A"
1239
+ }
1240
+ ],
1241
+ "title": "Pub/Sub — Undelivered",
1242
+ "type": "stat"
1243
+ },
1244
+ {
1245
+ "datasource": { "type": "prometheus", "uid": "${datasource}" },
1246
+ "fieldConfig": {
1247
+ "defaults": {
1248
+ "color": { "mode": "thresholds" },
1249
+ "decimals": 0,
1250
+ "mappings": [],
1251
+ "noValue": "--",
1252
+ "thresholds": {
1253
+ "mode": "absolute",
1254
+ "steps": [
1255
+ { "color": "green", "value": null },
1256
+ { "color": "semi-dark-orange", "value": 300 },
1257
+ { "color": "semi-dark-red", "value": 1800 }
1258
+ ]
1259
+ },
1260
+ "unit": "s"
1261
+ },
1262
+ "overrides": []
1263
+ },
1264
+ "gridPos": { "h": 4, "w": 3, "x": 3, "y": 19 },
1265
+ "id": 61,
1266
+ "options": {
1267
+ "colorMode": "background",
1268
+ "graphMode": "area",
1269
+ "justifyMode": "auto",
1270
+ "orientation": "auto",
1271
+ "reduceOptions": { "calcs": ["lastNotNull"], "fields": "", "values": false },
1272
+ "textMode": "auto",
1273
+ "wideLayout": true
1274
+ },
1275
+ "pluginVersion": "12.4.1",
1276
+ "targets": [
1277
+ {
1278
+ "datasource": { "type": "prometheus", "uid": "${datasource}" },
1279
+ "expr": "max(stackdriver_pubsub_subscription_pubsub_googleapis_com_subscription_oldest_unacked_message_age{subscription_id!~\"gcr-.*\"})",
1280
+ "instant": false,
1281
+ "legendFormat": "oldest age",
1282
+ "refId": "A"
1283
+ }
1284
+ ],
1285
+ "title": "Pub/Sub — Oldest Unacked",
1286
+ "type": "stat"
1287
+ },
1288
+ {
1289
+ "datasource": { "type": "prometheus", "uid": "${datasource}" },
1290
+ "fieldConfig": {
1291
+ "defaults": {
1292
+ "color": { "mode": "thresholds" },
1293
+ "decimals": 0,
1294
+ "mappings": [],
1295
+ "noValue": "--",
1296
+ "thresholds": {
1297
+ "mode": "absolute",
1298
+ "steps": [
1299
+ { "color": "green", "value": null },
1300
+ { "color": "semi-dark-red", "value": 1 }
1301
+ ]
1302
+ },
1303
+ "unit": "short"
1304
+ },
1305
+ "overrides": []
1306
+ },
1307
+ "gridPos": { "h": 4, "w": 3, "x": 6, "y": 19 },
1308
+ "id": 62,
1309
+ "options": {
1310
+ "colorMode": "background",
1311
+ "graphMode": "area",
1312
+ "justifyMode": "auto",
1313
+ "orientation": "auto",
1314
+ "reduceOptions": { "calcs": ["lastNotNull"], "fields": "", "values": false },
1315
+ "textMode": "auto",
1316
+ "wideLayout": true
1317
+ },
1318
+ "pluginVersion": "12.4.1",
1319
+ "targets": [
1320
+ {
1321
+ "datasource": { "type": "prometheus", "uid": "${datasource}" },
1322
+ "expr": "sum(increase(stackdriver_pubsub_subscription_pubsub_googleapis_com_subscription_dead_letter_message_count[1h]))",
1323
+ "instant": false,
1324
+ "legendFormat": "dead letters",
1325
+ "refId": "A"
1326
+ }
1327
+ ],
1328
+ "title": "Pub/Sub — Dead Letters (1h)",
1329
+ "type": "stat"
1330
+ },
1331
+ {
1332
+ "datasource": { "type": "prometheus", "uid": "${datasource}" },
1333
+ "fieldConfig": {
1334
+ "defaults": {
1335
+ "color": { "mode": "thresholds" },
1336
+ "decimals": 1,
1337
+ "mappings": [],
1338
+ "noValue": "--",
1339
+ "thresholds": {
1340
+ "mode": "absolute",
1341
+ "steps": [
1342
+ { "color": "green", "value": null },
1343
+ { "color": "semi-dark-orange", "value": 10000000 },
1344
+ { "color": "semi-dark-red", "value": 100000000 }
1345
+ ]
1346
+ },
1347
+ "unit": "bytes"
1348
+ },
1349
+ "overrides": []
1350
+ },
1351
+ "gridPos": { "h": 4, "w": 3, "x": 9, "y": 19 },
1352
+ "id": 63,
1353
+ "options": {
1354
+ "colorMode": "background",
1355
+ "graphMode": "area",
1356
+ "justifyMode": "auto",
1357
+ "orientation": "auto",
1358
+ "reduceOptions": { "calcs": ["lastNotNull"], "fields": "", "values": false },
1359
+ "textMode": "auto",
1360
+ "wideLayout": true
1361
+ },
1362
+ "pluginVersion": "12.4.1",
1363
+ "targets": [
1364
+ {
1365
+ "datasource": { "type": "prometheus", "uid": "${datasource}" },
1366
+ "expr": "sum(stackdriver_pubsub_subscription_pubsub_googleapis_com_subscription_backlog_bytes{subscription_id!~\"gcr-.*\"})",
1367
+ "instant": false,
1368
+ "legendFormat": "backlog",
1369
+ "refId": "A"
1370
+ }
1371
+ ],
1372
+ "title": "Pub/Sub — Backlog Bytes",
1373
+ "type": "stat"
1374
+ },
1375
+ {
1376
+ "datasource": { "type": "prometheus", "uid": "${datasource}" },
1377
+ "fieldConfig": {
1378
+ "defaults": {
1379
+ "color": { "mode": "thresholds" },
1380
+ "decimals": 1,
1381
+ "mappings": [],
1382
+ "noValue": "--",
1383
+ "thresholds": {
1384
+ "mode": "absolute",
1385
+ "steps": [
1386
+ { "color": "green", "value": null },
1387
+ { "color": "semi-dark-orange", "value": 1 },
1388
+ { "color": "semi-dark-red", "value": 10 }
1389
+ ]
1390
+ },
1391
+ "unit": "short"
1392
+ },
1393
+ "overrides": []
1394
+ },
1395
+ "gridPos": { "h": 4, "w": 3, "x": 12, "y": 19 },
1396
+ "id": 64,
1397
+ "options": {
1398
+ "colorMode": "background",
1399
+ "graphMode": "area",
1400
+ "justifyMode": "auto",
1401
+ "orientation": "auto",
1402
+ "reduceOptions": { "calcs": ["lastNotNull"], "fields": "", "values": false },
1403
+ "textMode": "auto",
1404
+ "wideLayout": true
1405
+ },
1406
+ "pluginVersion": "12.4.1",
1407
+ "targets": [
1408
+ {
1409
+ "datasource": { "type": "prometheus", "uid": "${datasource}" },
1410
+ "expr": "(\n sum(rate(lev_transponder_writer_elasticSearch_deviceDataEventMsg_error_count[5m]))\n + sum(rate(lev_transponder_writer_firebase_deviceDataEventMsg_error_count[5m]))\n + sum(rate(lev_transponder_writer_bigqueryjsonhistory_deviceDataEventMsg_error_count[5m]))\n) * 60",
1411
+ "instant": false,
1412
+ "legendFormat": "errors/min",
1413
+ "refId": "A"
1414
+ }
1415
+ ],
1416
+ "title": "Transponder — Write Errors/min",
1417
+ "type": "stat"
1418
+ },
1419
+ {
1420
+ "datasource": { "type": "prometheus", "uid": "${datasource}" },
1421
+ "fieldConfig": {
1422
+ "defaults": {
1423
+ "color": { "mode": "thresholds" },
1424
+ "decimals": 1,
1425
+ "mappings": [],
1426
+ "noValue": "--",
1427
+ "thresholds": {
1428
+ "mode": "absolute",
1429
+ "steps": [
1430
+ { "color": "green", "value": null }
1431
+ ]
1432
+ },
1433
+ "unit": "ops"
1434
+ },
1435
+ "overrides": []
1436
+ },
1437
+ "gridPos": { "h": 4, "w": 3, "x": 15, "y": 19 },
1438
+ "id": 65,
1439
+ "options": {
1440
+ "colorMode": "value",
1441
+ "graphMode": "area",
1442
+ "justifyMode": "auto",
1443
+ "orientation": "auto",
1444
+ "reduceOptions": { "calcs": ["lastNotNull"], "fields": "", "values": false },
1445
+ "textMode": "auto",
1446
+ "wideLayout": true
1447
+ },
1448
+ "pluginVersion": "12.4.1",
1449
+ "targets": [
1450
+ {
1451
+ "datasource": { "type": "prometheus", "uid": "${datasource}" },
1452
+ "expr": "sum(rate(lev_transponder_writer_elasticSearch_deviceDataEventMsg_count[5m]))\n+ sum(rate(lev_transponder_writer_firebase_deviceDataEventMsg_count[5m]))\n+ sum(rate(lev_transponder_writer_bigqueryjsonhistory_deviceDataEventMsg_count[5m]))",
1453
+ "instant": false,
1454
+ "legendFormat": "writes/s",
1455
+ "refId": "A"
1456
+ }
1457
+ ],
1458
+ "title": "Transponder — Write Rate",
1459
+ "type": "stat"
1460
+ },
1461
+ {
1462
+ "datasource": { "type": "prometheus", "uid": "${datasource}" },
1463
+ "fieldConfig": {
1464
+ "defaults": {
1465
+ "color": { "mode": "thresholds" },
1466
+ "decimals": 0,
1467
+ "mappings": [],
1468
+ "noValue": "--",
1469
+ "thresholds": {
1470
+ "mode": "absolute",
1471
+ "steps": [
1472
+ { "color": "green", "value": null },
1473
+ { "color": "semi-dark-orange", "value": 1 },
1474
+ { "color": "semi-dark-red", "value": 5 }
1475
+ ]
1476
+ },
1477
+ "unit": "short"
1478
+ },
1479
+ "overrides": []
1480
+ },
1481
+ "gridPos": { "h": 4, "w": 3, "x": 18, "y": 19 },
1482
+ "id": 66,
1483
+ "options": {
1484
+ "colorMode": "background",
1485
+ "graphMode": "area",
1486
+ "justifyMode": "auto",
1487
+ "orientation": "auto",
1488
+ "reduceOptions": { "calcs": ["lastNotNull"], "fields": "", "values": false },
1489
+ "textMode": "auto",
1490
+ "wideLayout": true
1491
+ },
1492
+ "pluginVersion": "12.4.1",
1493
+ "targets": [
1494
+ {
1495
+ "datasource": { "type": "prometheus", "uid": "${datasource}" },
1496
+ "expr": "sum(increase(nodejs_app_exit_count[1h]))",
1497
+ "instant": false,
1498
+ "legendFormat": "exits",
1499
+ "refId": "A"
1500
+ }
1501
+ ],
1502
+ "title": "App Exits (1h)",
1503
+ "type": "stat"
1504
+ },
1505
+ {
1506
+ "datasource": { "type": "prometheus", "uid": "${datasource}" },
1507
+ "fieldConfig": {
1508
+ "defaults": {
1509
+ "color": { "mode": "thresholds" },
1510
+ "decimals": 2,
1511
+ "mappings": [],
1512
+ "noValue": "--",
1513
+ "thresholds": {
1514
+ "mode": "absolute",
1515
+ "steps": [
1516
+ { "color": "green", "value": null },
1517
+ { "color": "semi-dark-orange", "value": 0.7 },
1518
+ { "color": "semi-dark-red", "value": 0.9 }
1519
+ ]
1520
+ },
1521
+ "unit": "percentunit"
1522
+ },
1523
+ "overrides": []
1524
+ },
1525
+ "gridPos": { "h": 4, "w": 3, "x": 21, "y": 19 },
1526
+ "id": 68,
1527
+ "options": {
1528
+ "colorMode": "background",
1529
+ "graphMode": "area",
1530
+ "justifyMode": "auto",
1531
+ "orientation": "auto",
1532
+ "reduceOptions": { "calcs": ["lastNotNull"], "fields": "", "values": false },
1533
+ "textMode": "auto",
1534
+ "wideLayout": true
1535
+ },
1536
+ "pluginVersion": "12.4.1",
1537
+ "targets": [
1538
+ {
1539
+ "datasource": { "type": "prometheus", "uid": "${datasource}" },
1540
+ "expr": "max(stackdriver_firebase_namespace_firebasedatabase_googleapis_com_io_database_load)",
1541
+ "instant": false,
1542
+ "legendFormat": "DB load",
1543
+ "refId": "A"
1544
+ }
1545
+ ],
1546
+ "title": "Firebase — DB Load",
1547
+ "type": "stat"
1548
+ },
1549
+ {
1550
+ "collapsed": false,
1551
+ "gridPos": { "h": 1, "w": 24, "x": 0, "y": 23 },
1552
+ "id": 4,
1553
+ "title": "Capacity & Storage",
1554
+ "type": "row"
1555
+ },
1556
+ {
1557
+ "datasource": { "type": "prometheus", "uid": "${datasource}" },
1558
+ "fieldConfig": {
1559
+ "defaults": {
1560
+ "color": { "mode": "thresholds" },
1561
+ "decimals": 1,
1562
+ "mappings": [],
1563
+ "noValue": "--",
1564
+ "thresholds": {
1565
+ "mode": "absolute",
1566
+ "steps": [
1567
+ { "color": "green", "value": null },
1568
+ { "color": "semi-dark-orange", "value": 70 },
1569
+ { "color": "semi-dark-red", "value": 85 }
1570
+ ]
1571
+ },
1572
+ "unit": "percent"
1573
+ },
1574
+ "overrides": []
1575
+ },
1576
+ "gridPos": { "h": 4, "w": 3, "x": 0, "y": 24 },
1577
+ "id": 70,
1578
+ "options": {
1579
+ "colorMode": "background",
1580
+ "graphMode": "none",
1581
+ "justifyMode": "auto",
1582
+ "orientation": "auto",
1583
+ "reduceOptions": { "calcs": ["lastNotNull"], "fields": "", "values": false },
1584
+ "textMode": "auto",
1585
+ "wideLayout": true
1586
+ },
1587
+ "pluginVersion": "12.4.1",
1588
+ "targets": [
1589
+ {
1590
+ "datasource": { "type": "prometheus", "uid": "${datasource}" },
1591
+ "expr": "max(kubelet_volume_stats_used_bytes / kubelet_volume_stats_capacity_bytes * 100)",
1592
+ "instant": true,
1593
+ "legendFormat": "max PVC %",
1594
+ "refId": "A"
1595
+ }
1596
+ ],
1597
+ "title": "PVC — Highest Usage",
1598
+ "type": "stat"
1599
+ },
1600
+ {
1601
+ "datasource": { "type": "prometheus", "uid": "${datasource}" },
1602
+ "fieldConfig": {
1603
+ "defaults": {
1604
+ "color": { "mode": "thresholds" },
1605
+ "decimals": 0,
1606
+ "mappings": [
1607
+ {
1608
+ "options": {
1609
+ "0": { "color": "green", "index": 0, "text": "None" }
1610
+ },
1611
+ "type": "value"
1612
+ }
1613
+ ],
1614
+ "noValue": "--",
1615
+ "thresholds": {
1616
+ "mode": "absolute",
1617
+ "steps": [
1618
+ { "color": "green", "value": null },
1619
+ { "color": "semi-dark-orange", "value": 1 },
1620
+ { "color": "semi-dark-red", "value": 3 }
1621
+ ]
1622
+ },
1623
+ "unit": "short"
1624
+ },
1625
+ "overrides": []
1626
+ },
1627
+ "gridPos": { "h": 4, "w": 3, "x": 3, "y": 24 },
1628
+ "id": 71,
1629
+ "options": {
1630
+ "colorMode": "background",
1631
+ "graphMode": "none",
1632
+ "justifyMode": "auto",
1633
+ "orientation": "auto",
1634
+ "reduceOptions": { "calcs": ["lastNotNull"], "fields": "", "values": false },
1635
+ "textMode": "auto",
1636
+ "wideLayout": true
1637
+ },
1638
+ "pluginVersion": "12.4.1",
1639
+ "targets": [
1640
+ {
1641
+ "datasource": { "type": "prometheus", "uid": "${datasource}" },
1642
+ "expr": "count(kubelet_volume_stats_used_bytes / kubelet_volume_stats_capacity_bytes > 0.8) or vector(0)",
1643
+ "instant": true,
1644
+ "legendFormat": "volumes",
1645
+ "refId": "A"
1646
+ }
1647
+ ],
1648
+ "title": "PVC — Volumes > 80% Full",
1649
+ "type": "stat"
1650
+ },
1651
+ {
1652
+ "datasource": { "type": "prometheus", "uid": "${datasource}" },
1653
+ "fieldConfig": {
1654
+ "defaults": {
1655
+ "color": { "mode": "thresholds" },
1656
+ "decimals": 0,
1657
+ "mappings": [
1658
+ {
1659
+ "options": {
1660
+ "0": { "color": "green", "index": 0, "text": "None" }
1661
+ },
1662
+ "type": "value"
1663
+ }
1664
+ ],
1665
+ "noValue": "--",
1666
+ "thresholds": {
1667
+ "mode": "absolute",
1668
+ "steps": [
1669
+ { "color": "green", "value": null },
1670
+ { "color": "semi-dark-orange", "value": 1 },
1671
+ { "color": "semi-dark-red", "value": 5 }
1672
+ ]
1673
+ },
1674
+ "unit": "short"
1675
+ },
1676
+ "overrides": []
1677
+ },
1678
+ "gridPos": { "h": 4, "w": 3, "x": 6, "y": 24 },
1679
+ "id": 72,
1680
+ "options": {
1681
+ "colorMode": "background",
1682
+ "graphMode": "none",
1683
+ "justifyMode": "auto",
1684
+ "orientation": "auto",
1685
+ "reduceOptions": { "calcs": ["lastNotNull"], "fields": "", "values": false },
1686
+ "textMode": "auto",
1687
+ "wideLayout": true
1688
+ },
1689
+ "pluginVersion": "12.4.1",
1690
+ "targets": [
1691
+ {
1692
+ "datasource": { "type": "prometheus", "uid": "${datasource}" },
1693
+ "expr": "sum(kube_pod_status_phase{phase=\"Pending\", namespace=~\"${namespace}\"}) or vector(0)",
1694
+ "instant": true,
1695
+ "legendFormat": "pending",
1696
+ "refId": "A"
1697
+ }
1698
+ ],
1699
+ "title": "GKE — Pods Pending",
1700
+ "type": "stat"
1701
+ },
1702
+ {
1703
+ "datasource": { "type": "prometheus", "uid": "${datasource}" },
1704
+ "fieldConfig": {
1705
+ "defaults": {
1706
+ "color": { "mode": "thresholds" },
1707
+ "decimals": 0,
1708
+ "mappings": [
1709
+ {
1710
+ "options": {
1711
+ "0": { "color": "green", "index": 0, "text": "OK" }
1712
+ },
1713
+ "type": "value"
1714
+ }
1715
+ ],
1716
+ "noValue": "--",
1717
+ "thresholds": {
1718
+ "mode": "absolute",
1719
+ "steps": [
1720
+ { "color": "green", "value": null },
1721
+ { "color": "semi-dark-red", "value": 1 }
1722
+ ]
1723
+ },
1724
+ "unit": "short"
1725
+ },
1726
+ "overrides": []
1727
+ },
1728
+ "gridPos": { "h": 4, "w": 3, "x": 9, "y": 24 },
1729
+ "id": 73,
1730
+ "options": {
1731
+ "colorMode": "background",
1732
+ "graphMode": "none",
1733
+ "justifyMode": "auto",
1734
+ "orientation": "auto",
1735
+ "reduceOptions": { "calcs": ["lastNotNull"], "fields": "", "values": false },
1736
+ "textMode": "auto",
1737
+ "wideLayout": true
1738
+ },
1739
+ "pluginVersion": "12.4.1",
1740
+ "targets": [
1741
+ {
1742
+ "datasource": { "type": "prometheus", "uid": "${datasource}" },
1743
+ "expr": "sum(kube_node_status_condition{condition=\"DiskPressure\", status=\"true\"}) or vector(0)",
1744
+ "instant": true,
1745
+ "legendFormat": "nodes",
1746
+ "refId": "A"
1747
+ }
1748
+ ],
1749
+ "title": "GKE — Node Disk Pressure",
1750
+ "type": "stat"
1751
+ },
1752
+ {
1753
+ "datasource": { "type": "prometheus", "uid": "${datasource}" },
1754
+ "fieldConfig": {
1755
+ "defaults": {
1756
+ "color": { "mode": "thresholds" },
1757
+ "decimals": 0,
1758
+ "mappings": [
1759
+ {
1760
+ "options": {
1761
+ "0": { "color": "green", "index": 0, "text": "OK" }
1762
+ },
1763
+ "type": "value"
1764
+ }
1765
+ ],
1766
+ "noValue": "--",
1767
+ "thresholds": {
1768
+ "mode": "absolute",
1769
+ "steps": [
1770
+ { "color": "green", "value": null },
1771
+ { "color": "semi-dark-red", "value": 1 }
1772
+ ]
1773
+ },
1774
+ "unit": "short"
1775
+ },
1776
+ "overrides": []
1777
+ },
1778
+ "gridPos": { "h": 4, "w": 3, "x": 12, "y": 24 },
1779
+ "id": 74,
1780
+ "options": {
1781
+ "colorMode": "background",
1782
+ "graphMode": "none",
1783
+ "justifyMode": "auto",
1784
+ "orientation": "auto",
1785
+ "reduceOptions": { "calcs": ["lastNotNull"], "fields": "", "values": false },
1786
+ "textMode": "auto",
1787
+ "wideLayout": true
1788
+ },
1789
+ "pluginVersion": "12.4.1",
1790
+ "targets": [
1791
+ {
1792
+ "datasource": { "type": "prometheus", "uid": "${datasource}" },
1793
+ "expr": "sum(kube_node_status_condition{condition=\"MemoryPressure\", status=\"true\"}) or vector(0)",
1794
+ "instant": true,
1795
+ "legendFormat": "nodes",
1796
+ "refId": "A"
1797
+ }
1798
+ ],
1799
+ "title": "GKE — Node Memory Pressure",
1800
+ "type": "stat"
1801
+ },
1802
+ {
1803
+ "datasource": { "type": "prometheus", "uid": "${datasource}" },
1804
+ "fieldConfig": {
1805
+ "defaults": {
1806
+ "color": { "mode": "thresholds" },
1807
+ "decimals": 0,
1808
+ "mappings": [
1809
+ {
1810
+ "options": {
1811
+ "0": { "color": "green", "index": 0, "text": "None" }
1812
+ },
1813
+ "type": "value"
1814
+ }
1815
+ ],
1816
+ "noValue": "--",
1817
+ "thresholds": {
1818
+ "mode": "absolute",
1819
+ "steps": [
1820
+ { "color": "green", "value": null },
1821
+ { "color": "semi-dark-orange", "value": 1 },
1822
+ { "color": "semi-dark-red", "value": 3 }
1823
+ ]
1824
+ },
1825
+ "unit": "short"
1826
+ },
1827
+ "overrides": []
1828
+ },
1829
+ "gridPos": { "h": 4, "w": 3, "x": 15, "y": 24 },
1830
+ "id": 75,
1831
+ "options": {
1832
+ "colorMode": "background",
1833
+ "graphMode": "none",
1834
+ "justifyMode": "auto",
1835
+ "orientation": "auto",
1836
+ "reduceOptions": { "calcs": ["lastNotNull"], "fields": "", "values": false },
1837
+ "textMode": "auto",
1838
+ "wideLayout": true
1839
+ },
1840
+ "pluginVersion": "12.4.1",
1841
+ "targets": [
1842
+ {
1843
+ "datasource": { "type": "prometheus", "uid": "${datasource}" },
1844
+ "expr": "count(\n kube_horizontalpodautoscaler_status_current_replicas{namespace=~\"${namespace}\"}\n >= kube_horizontalpodautoscaler_spec_max_replicas{namespace=~\"${namespace}\"}\n) or vector(0)",
1845
+ "instant": true,
1846
+ "legendFormat": "HPAs at max",
1847
+ "refId": "A"
1848
+ }
1849
+ ],
1850
+ "title": "GKE — HPAs at Max",
1851
+ "type": "stat"
1852
+ },
1853
+ {
1854
+ "datasource": { "type": "prometheus", "uid": "${datasource}" },
1855
+ "fieldConfig": {
1856
+ "defaults": {
1857
+ "color": { "mode": "thresholds" },
1858
+ "decimals": 0,
1859
+ "mappings": [],
1860
+ "noValue": "--",
1861
+ "thresholds": {
1862
+ "mode": "absolute",
1863
+ "steps": [
1864
+ { "color": "semi-dark-red", "value": null },
1865
+ { "color": "green", "value": 1 }
1866
+ ]
1867
+ },
1868
+ "unit": "short"
1869
+ },
1870
+ "overrides": []
1871
+ },
1872
+ "gridPos": { "h": 4, "w": 3, "x": 18, "y": 24 },
1873
+ "id": 76,
1874
+ "options": {
1875
+ "colorMode": "background",
1876
+ "graphMode": "none",
1877
+ "justifyMode": "auto",
1878
+ "orientation": "auto",
1879
+ "reduceOptions": { "calcs": ["lastNotNull"], "fields": "", "values": false },
1880
+ "textMode": "auto",
1881
+ "wideLayout": true
1882
+ },
1883
+ "pluginVersion": "12.4.1",
1884
+ "targets": [
1885
+ {
1886
+ "datasource": { "type": "prometheus", "uid": "${datasource}" },
1887
+ "expr": "count(kube_node_info)",
1888
+ "instant": true,
1889
+ "legendFormat": "nodes",
1890
+ "refId": "A"
1891
+ }
1892
+ ],
1893
+ "title": "GKE — Node Count",
1894
+ "type": "stat"
1895
+ },
1896
+ {
1897
+ "datasource": { "type": "prometheus", "uid": "${datasource}" },
1898
+ "fieldConfig": {
1899
+ "defaults": {
1900
+ "color": { "mode": "thresholds" },
1901
+ "decimals": 1,
1902
+ "mappings": [],
1903
+ "noValue": "--",
1904
+ "thresholds": {
1905
+ "mode": "absolute",
1906
+ "steps": [
1907
+ { "color": "green", "value": null },
1908
+ { "color": "semi-dark-orange", "value": 70 },
1909
+ { "color": "semi-dark-red", "value": 85 }
1910
+ ]
1911
+ },
1912
+ "unit": "percent"
1913
+ },
1914
+ "overrides": []
1915
+ },
1916
+ "gridPos": { "h": 4, "w": 3, "x": 21, "y": 24 },
1917
+ "id": 77,
1918
+ "options": {
1919
+ "colorMode": "background",
1920
+ "graphMode": "area",
1921
+ "justifyMode": "auto",
1922
+ "orientation": "auto",
1923
+ "reduceOptions": { "calcs": ["lastNotNull"], "fields": "", "values": false },
1924
+ "textMode": "auto",
1925
+ "wideLayout": true
1926
+ },
1927
+ "pluginVersion": "12.4.1",
1928
+ "targets": [
1929
+ {
1930
+ "datasource": { "type": "prometheus", "uid": "${datasource}" },
1931
+ "expr": "100 * sum(rate(container_cpu_usage_seconds_total{container!=\"\"}[5m]))\n/ sum(kube_node_status_allocatable{resource=\"cpu\"})",
1932
+ "instant": false,
1933
+ "legendFormat": "CPU used %",
1934
+ "refId": "A"
1935
+ }
1936
+ ],
1937
+ "title": "GKE — Node CPU Usage",
1938
+ "type": "stat"
1939
+ }
1940
+ ],
1941
+ "preload": false,
1942
+ "refresh": "30s",
1943
+ "schemaVersion": 42,
1944
+ "tags": ["noc", "kubernetes", "gke", "prometheus"],
1945
+ "templating": {
1946
+ "list": [
1947
+ {
1948
+ "current": {},
1949
+ "includeAll": false,
1950
+ "label": "Datasource",
1951
+ "name": "datasource",
1952
+ "options": [],
1953
+ "query": "prometheus",
1954
+ "refresh": 1,
1955
+ "type": "datasource"
1956
+ },
1957
+ {
1958
+ "allValue": ".*",
1959
+ "current": { "text": ["All"], "value": ["$__all"] },
1960
+ "datasource": { "type": "prometheus", "uid": "${datasource}" },
1961
+ "definition": "label_values(kube_pod_info, namespace)",
1962
+ "includeAll": true,
1963
+ "label": "Namespace",
1964
+ "multi": true,
1965
+ "name": "namespace",
1966
+ "options": [],
1967
+ "query": "label_values(kube_pod_info, namespace)",
1228
1968
  "refresh": 2,
1229
1969
  "sort": 1,
1230
1970
  "type": "query"
@@ -1234,7 +1974,7 @@
1234
1974
  "time": { "from": "now-3h", "to": "now" },
1235
1975
  "timepicker": {},
1236
1976
  "timezone": "browser",
1237
- "title": "NOC — Infrastructure Overview",
1977
+ "title": "DevOps NOC",
1238
1978
  "uid": "noc-infra-v1",
1239
1979
  "version": 1,
1240
1980
  "weekStart": ""