@newskit-render/core 2.46.0-alpha.1 → 2.46.0-alpha.3
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.
|
@@ -206,10 +206,12 @@ resource "newrelic_nrql_alert_condition" "pod_failed_unknown" {
|
|
|
206
206
|
enabled = "true"
|
|
207
207
|
violation_time_limit_seconds = 86400
|
|
208
208
|
description = "Any pods with status Failed/Unknown"
|
|
209
|
+
aggregation_window = 60
|
|
210
|
+
aggregation_method = "event_flow"
|
|
211
|
+
aggregation_delay = 120
|
|
209
212
|
|
|
210
213
|
nrql {
|
|
211
214
|
query = "SELECT uniqueCount(podName) FROM K8sPodSample WHERE namespace = '${var.namespace}' AND (status = 'Failed' OR status = 'Unknown')"
|
|
212
|
-
evaluation_offset = 3
|
|
213
215
|
}
|
|
214
216
|
|
|
215
217
|
warning {
|
|
@@ -236,10 +238,12 @@ resource "newrelic_nrql_alert_condition" "pod_pending" {
|
|
|
236
238
|
description = "Warn if any containers are pending after 3 minutes, critical if any containers are pending after 5 minutes"
|
|
237
239
|
expiration_duration = 120
|
|
238
240
|
close_violations_on_expiration = true
|
|
241
|
+
aggregation_window = 60
|
|
242
|
+
aggregation_method = "event_flow"
|
|
243
|
+
aggregation_delay = 120
|
|
239
244
|
|
|
240
245
|
nrql {
|
|
241
246
|
query = "SELECT uniqueCount(podName) FROM K8sPodSample WHERE namespace = '${var.namespace}' AND status = 'Pending'"
|
|
242
|
-
evaluation_offset = 3
|
|
243
247
|
}
|
|
244
248
|
|
|
245
249
|
# warn if any containers are pending after 3 minutes
|
|
@@ -267,10 +271,12 @@ resource "newrelic_nrql_alert_condition" "restart_count" {
|
|
|
267
271
|
enabled = "true"
|
|
268
272
|
violation_time_limit_seconds = 86400
|
|
269
273
|
description = "Any services with restarts > 5 over all pods for 1 minute -> warning"
|
|
274
|
+
aggregation_window = 60
|
|
275
|
+
aggregation_method = "event_flow"
|
|
276
|
+
aggregation_delay = 120
|
|
270
277
|
|
|
271
278
|
nrql {
|
|
272
279
|
query = "SELECT uniqueCount(containerID) from K8sContainerSample WHERE namespace = '${var.namespace}' AND restartCount > 5"
|
|
273
|
-
evaluation_offset = 3
|
|
274
280
|
}
|
|
275
281
|
|
|
276
282
|
# critical if any containers exceed 5 restarts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@newskit-render/core",
|
|
3
|
-
"version": "2.46.0-alpha.
|
|
3
|
+
"version": "2.46.0-alpha.3",
|
|
4
4
|
"description": "Newskit Render - Core package",
|
|
5
5
|
"author": "",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -41,12 +41,12 @@
|
|
|
41
41
|
"@emotion/styled": "11.9.3",
|
|
42
42
|
"@newskit-render/api": "^1.6.6",
|
|
43
43
|
"@newskit-render/auth": "^1.3.10",
|
|
44
|
-
"@newskit-render/checkout": "^2.5.2-alpha.
|
|
44
|
+
"@newskit-render/checkout": "^2.5.2-alpha.1",
|
|
45
45
|
"@newskit-render/feature-flags": "^1.4.11",
|
|
46
46
|
"@newskit-render/feed": "^1.4.16",
|
|
47
|
-
"@newskit-render/my-account": "^4.4.4-alpha.
|
|
48
|
-
"@newskit-render/shared-components": "^2.6.0-alpha.
|
|
49
|
-
"@newskit-render/standalone-components": "^2.5.3-alpha.
|
|
47
|
+
"@newskit-render/my-account": "^4.4.4-alpha.1",
|
|
48
|
+
"@newskit-render/shared-components": "^2.6.0-alpha.1",
|
|
49
|
+
"@newskit-render/standalone-components": "^2.5.3-alpha.1",
|
|
50
50
|
"@newskit-render/validation": "^1.5.12",
|
|
51
51
|
"@next/font": "13.1.6",
|
|
52
52
|
"cross-fetch": "3.1.5",
|