@leverege/build-tools 2.101.1 → 2.102.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/package.json +8 -8
  2. package/src/Utils.mjs +5 -0
  3. package/src/bash-funcs +27 -0
  4. package/src/dashboard/DashboardManager.mjs +192 -17
  5. package/src/dashboard/dashboard.mjs +29 -4
  6. package/src/dashboard/json/{standard/noc-rows-12.json → devops/devops-noc.json} +801 -61
  7. package/src/dashboard/json/{standard/pvc-all-usage.json → devops/pvc-usage.json} +2 -2
  8. package/src/dashboard/json/leverege/leverege-noc.json +2364 -0
  9. package/src/dashboard/json/{standard/redis.json → leverege/leverege-rule-engine.json} +695 -646
  10. package/src/dashboard/json/leverege/leverege-services.json +4757 -0
  11. package/src/dashboard/json/recovr/recovr-locators.json +1227 -0
  12. package/src/dashboard/json/recovr/recovr-noc.json +1949 -0
  13. package/src/dashboard/json/recovr/recovr-position-srvr.json +339 -0
  14. package/src/dashboard/json/recovr/recovr-server.json +1127 -0
  15. package/src/dashboard/json/siren/siren-services.json +2066 -0
  16. package/src/dashboard/json/{standard/cloudnative-pg-20417-rev4.json → system/cloudnative-pg.json} +241 -243
  17. package/src/dashboard/json/{standard → system}/elasticsearch8.json +123 -72
  18. package/src/dashboard/json/system/stackdriver.json +1189 -0
  19. package/src/dashboard/json/{standard/traefik-op.json → system/traefik.json} +44 -56
  20. package/src/dashboard/json/{standard → system}/valkey.json +91 -86
  21. package/src/dashboard/json/{standard → tpi}/gpu-autoscaling-dashboard-ui-import.json +1 -1
  22. package/src/dashboard/json/tpi/leverege-noc.json +3624 -0
  23. package/src/helm-charts/cnpg-operator/helmup.bootstrap +19 -21
  24. package/src/helm-charts/eso/helmup.bootstrap +4 -2
  25. package/src/helm-charts/prom-operator/README-CRD-UPGRADES.md +105 -0
  26. package/src/helm-charts/prom-operator/helmup.bootstrap +22 -14
  27. package/src/helm-charts/prom-operator/helmup.plugin +1 -1
  28. package/src/helm-charts/prom-operator/prometheus-stack.yaml.ovh +23 -45
  29. package/src/helm-charts/prom-operator/rules/gke-maintenance-rules.yaml +19 -0
  30. package/src/helm-charts/prom-operator/stackdriver-exporter.yaml.ovh +3 -2
  31. package/src/helm-charts/valkey/valkey-local.yaml +1 -0
  32. package/src/helm-charts/velero/helmup.bootstrap +2 -0
  33. package/src/helmup.sh +31 -4
  34. package/src/init-my-chart/Chartwright.mjs +2 -2
  35. package/src/init-my-chart/leaf-chart-templates/templates/extraobjects.yaml +1 -0
  36. package/src/init-my-chart/leaf-chart-templates/templates/ingressroute.yaml +1 -0
  37. package/src/overwhelm.mjs +5 -5
  38. package/src/service-man/config/secrets/npmrc.json +14 -0
  39. package/src/service-man/config/secrets/tsdb-dense-password.json +13 -0
  40. package/src/dashboard/json/standard/stackdriver.json +0 -624
  41. package/src/docker-to-registry-py.mjs +0 -287
  42. /package/src/dashboard/json/{standard → devops}/k8s-api-latency.json +0 -0
@@ -0,0 +1,339 @@
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": 0,
21
+ "id": null,
22
+ "links": [],
23
+ "panels": [
24
+ {
25
+ "datasource": {
26
+ "type": "prometheus",
27
+ "uid": "${datasource}"
28
+ },
29
+ "fieldConfig": {
30
+ "defaults": {
31
+ "color": {
32
+ "mode": "palette-classic"
33
+ },
34
+ "custom": {
35
+ "axisBorderShow": false,
36
+ "axisCenteredZero": false,
37
+ "axisColorMode": "text",
38
+ "axisLabel": "",
39
+ "axisPlacement": "auto",
40
+ "barAlignment": 0,
41
+ "barWidthFactor": 0.6,
42
+ "drawStyle": "line",
43
+ "fillOpacity": 0,
44
+ "gradientMode": "none",
45
+ "hideFrom": {
46
+ "legend": false,
47
+ "tooltip": false,
48
+ "viz": false
49
+ },
50
+ "insertNulls": false,
51
+ "lineInterpolation": "linear",
52
+ "lineWidth": 1,
53
+ "pointSize": 5,
54
+ "scaleDistribution": {
55
+ "type": "linear"
56
+ },
57
+ "showPoints": "auto",
58
+ "spanNulls": false,
59
+ "stacking": {
60
+ "group": "A",
61
+ "mode": "none"
62
+ },
63
+ "thresholdsStyle": {
64
+ "mode": "off"
65
+ }
66
+ },
67
+ "mappings": [],
68
+ "thresholds": {
69
+ "mode": "absolute",
70
+ "steps": [
71
+ {
72
+ "color": "green",
73
+ "value": 0
74
+ },
75
+ {
76
+ "color": "red",
77
+ "value": 80
78
+ }
79
+ ]
80
+ },
81
+ "unit": "ms"
82
+ },
83
+ "overrides": []
84
+ },
85
+ "gridPos": {
86
+ "h": 16,
87
+ "w": 16,
88
+ "x": 0,
89
+ "y": 0
90
+ },
91
+ "id": 2,
92
+ "options": {
93
+ "legend": {
94
+ "calcs": [
95
+ "mean",
96
+ "min",
97
+ "max"
98
+ ],
99
+ "displayMode": "table",
100
+ "placement": "bottom",
101
+ "showLegend": true
102
+ },
103
+ "tooltip": {
104
+ "hideZeros": false,
105
+ "mode": "single",
106
+ "sort": "none"
107
+ }
108
+ },
109
+ "pluginVersion": "12.1.1",
110
+ "targets": [
111
+ {
112
+ "datasource": {
113
+ "type": "prometheus",
114
+ "uid": "${datasource}"
115
+ },
116
+ "editorMode": "code",
117
+ "expr": "sum(rate(recovr_position_server_update_locator_current_zone_time[5m])) / sum(rate(recovr_position_server_pubsub_locator_position_message_total[5m]))",
118
+ "hide": false,
119
+ "instant": false,
120
+ "legendFormat": "Total time for zone calculation",
121
+ "range": true,
122
+ "refId": "Total time to calculate zone"
123
+ },
124
+ {
125
+ "datasource": {
126
+ "type": "prometheus",
127
+ "uid": "${datasource}"
128
+ },
129
+ "editorMode": "code",
130
+ "expr": "sum(rate(recovr_position_server_get_zones_for_current_location_time[5m])) / sum(rate(recovr_position_server_pubsub_locator_position_message_total[5m]))",
131
+ "hide": false,
132
+ "instant": false,
133
+ "legendFormat": "Step 1: Get zones for location",
134
+ "range": true,
135
+ "refId": "Time to fetch current location's zones"
136
+ },
137
+ {
138
+ "datasource": {
139
+ "type": "prometheus",
140
+ "uid": "${datasource}"
141
+ },
142
+ "editorMode": "code",
143
+ "expr": "sum(rate(recovr_position_server_get_zone_hits_for_current_location_time[5m])) / sum(rate(recovr_position_server_pubsub_locator_position_message_total[5m]))",
144
+ "hide": false,
145
+ "instant": false,
146
+ "legendFormat": "Step 2: Look for position inside a zone",
147
+ "range": true,
148
+ "refId": "Time to test for a zone hit in the current location"
149
+ },
150
+ {
151
+ "datasource": {
152
+ "type": "prometheus",
153
+ "uid": "${datasource}"
154
+ },
155
+ "editorMode": "code",
156
+ "expr": "sum(rate(recovr_position_server_get_nearest_zone_hit_for_current_location_time[5m])) / sum(rate(recovr_position_server_pubsub_locator_position_message_total[5m]))",
157
+ "hide": false,
158
+ "instant": false,
159
+ "legendFormat": "Step 3: If not in a zone, look for nearest zone",
160
+ "range": true,
161
+ "refId": "Time to test for nearest zone non-hit in the current location"
162
+ },
163
+ {
164
+ "datasource": {
165
+ "type": "prometheus",
166
+ "uid": "${datasource}"
167
+ },
168
+ "editorMode": "code",
169
+ "expr": "sum(rate(recovr_position_server_get_zones_for_company_locations_time[5m])) / sum(rate(recovr_position_server_pubsub_locator_position_message_total[5m]))",
170
+ "hide": false,
171
+ "instant": false,
172
+ "legendFormat": "Step 4: Get all zones for company",
173
+ "range": true,
174
+ "refId": "Time to fetch company's location's zones"
175
+ },
176
+ {
177
+ "datasource": {
178
+ "type": "prometheus",
179
+ "uid": "${datasource}"
180
+ },
181
+ "editorMode": "code",
182
+ "expr": "sum(rate(recovr_position_server_get_zone_hits_for_company_locations_time[5m])) / sum(rate(recovr_position_server_pubsub_locator_position_message_total[5m]))",
183
+ "hide": false,
184
+ "instant": false,
185
+ "legendFormat": "Step 5: Look for position inside company's zones",
186
+ "range": true,
187
+ "refId": "Time to test for a zone hit in the company"
188
+ },
189
+ {
190
+ "datasource": {
191
+ "type": "prometheus",
192
+ "uid": "${datasource}"
193
+ },
194
+ "editorMode": "code",
195
+ "expr": "sum(rate(recovr_position_server_get_nearest_zone_hit_for_company_location_time[5m])) / sum(rate(recovr_position_server_pubsub_locator_position_message_total[5m]))",
196
+ "hide": false,
197
+ "instant": false,
198
+ "legendFormat": "Step 6: If not in a zone, look for nearest zone in company",
199
+ "range": true,
200
+ "refId": "Time to test for nearest zone non-hit in the company"
201
+ }
202
+ ],
203
+ "title": "Zone calculation time",
204
+ "type": "timeseries"
205
+ },
206
+ {
207
+ "datasource": {
208
+ "type": "prometheus",
209
+ "uid": "${datasource}"
210
+ },
211
+ "fieldConfig": {
212
+ "defaults": {
213
+ "color": {
214
+ "mode": "palette-classic"
215
+ },
216
+ "custom": {
217
+ "axisBorderShow": false,
218
+ "axisCenteredZero": false,
219
+ "axisColorMode": "text",
220
+ "axisLabel": "",
221
+ "axisPlacement": "auto",
222
+ "barAlignment": 0,
223
+ "barWidthFactor": 0.6,
224
+ "drawStyle": "line",
225
+ "fillOpacity": 0,
226
+ "gradientMode": "none",
227
+ "hideFrom": {
228
+ "legend": false,
229
+ "tooltip": false,
230
+ "viz": false
231
+ },
232
+ "insertNulls": false,
233
+ "lineInterpolation": "linear",
234
+ "lineWidth": 1,
235
+ "pointSize": 5,
236
+ "scaleDistribution": {
237
+ "type": "linear"
238
+ },
239
+ "showPoints": "auto",
240
+ "spanNulls": false,
241
+ "stacking": {
242
+ "group": "A",
243
+ "mode": "none"
244
+ },
245
+ "thresholdsStyle": {
246
+ "mode": "off"
247
+ }
248
+ },
249
+ "mappings": [],
250
+ "thresholds": {
251
+ "mode": "absolute",
252
+ "steps": [
253
+ {
254
+ "color": "green",
255
+ "value": 0
256
+ },
257
+ {
258
+ "color": "red",
259
+ "value": 80
260
+ }
261
+ ]
262
+ },
263
+ "unit": "ms"
264
+ },
265
+ "overrides": []
266
+ },
267
+ "gridPos": {
268
+ "h": 8,
269
+ "w": 16,
270
+ "x": 0,
271
+ "y": 16
272
+ },
273
+ "id": 1,
274
+ "options": {
275
+ "legend": {
276
+ "calcs": [
277
+ "mean",
278
+ "min",
279
+ "max"
280
+ ],
281
+ "displayMode": "table",
282
+ "placement": "bottom",
283
+ "showLegend": true
284
+ },
285
+ "tooltip": {
286
+ "hideZeros": false,
287
+ "mode": "single",
288
+ "sort": "none"
289
+ }
290
+ },
291
+ "pluginVersion": "12.1.1",
292
+ "targets": [
293
+ {
294
+ "datasource": {
295
+ "type": "prometheus",
296
+ "uid": "${datasource}"
297
+ },
298
+ "editorMode": "code",
299
+ "expr": "sum(rate(recovr_position_server_locator_message_processor_time[5m])) / sum(rate(recovr_position_server_pubsub_locator_message_total[5m])) ",
300
+ "instant": false,
301
+ "legendFormat": "Total time to process a locator message",
302
+ "range": true,
303
+ "refId": "A"
304
+ }
305
+ ],
306
+ "title": "Time to process locator message",
307
+ "type": "timeseries"
308
+ }
309
+ ],
310
+ "preload": false,
311
+ "refresh": "",
312
+ "schemaVersion": 41,
313
+ "tags": [],
314
+ "templating": {
315
+ "list": [
316
+ {
317
+ "current": {},
318
+ "hide": 0,
319
+ "includeAll": false,
320
+ "label": "Datasource",
321
+ "multi": false,
322
+ "name": "datasource",
323
+ "options": [],
324
+ "query": "prometheus",
325
+ "refresh": 1,
326
+ "type": "datasource"
327
+ }
328
+ ]
329
+ },
330
+ "time": {
331
+ "from": "now-6h",
332
+ "to": "now"
333
+ },
334
+ "timepicker": {},
335
+ "timezone": "browser",
336
+ "title": "RecovR Position Server",
337
+ "uid": "aepkjmkcdr20wc",
338
+ "version": 16
339
+ }