@newskit-render/core 2.46.0-alpha.0 → 2.46.0-alpha.2

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.
@@ -37,7 +37,7 @@ executors:
37
37
 
38
38
  terraform:
39
39
  docker:
40
- - image: hashicorp/terraform:0.14.2
40
+ - image: hashicorp/terraform:1.3.9
41
41
  auth:
42
42
  username: ${DOCKER_USERNAME}
43
43
  password: ${DOCKER_PASSWORD}
@@ -8,5 +8,5 @@ terraform {
8
8
  bucket = "<% S3_BUCKET_NAME >"
9
9
  region = "eu-west-1"
10
10
  }
11
- required_version = ">= 0.14"
11
+ required_version = ">= 1.3.9"
12
12
  }
@@ -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
@@ -14,5 +14,5 @@ terraform {
14
14
  region = "eu-west-1"
15
15
  }
16
16
 
17
- required_version = ">= 0.14"
17
+ required_version = ">= 1.3.9"
18
18
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@newskit-render/core",
3
- "version": "2.46.0-alpha.0",
3
+ "version": "2.46.0-alpha.2",
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.1",
44
+ "@newskit-render/checkout": "^2.5.2-alpha.0",
45
45
  "@newskit-render/feature-flags": "^1.4.11",
46
46
  "@newskit-render/feed": "^1.4.16",
47
- "@newskit-render/my-account": "^4.4.3",
48
- "@newskit-render/shared-components": "^2.5.0",
49
- "@newskit-render/standalone-components": "^2.5.2",
47
+ "@newskit-render/my-account": "^4.4.4-alpha.0",
48
+ "@newskit-render/shared-components": "^2.6.0-alpha.0",
49
+ "@newskit-render/standalone-components": "^2.5.3-alpha.0",
50
50
  "@newskit-render/validation": "^1.5.12",
51
51
  "@next/font": "13.1.6",
52
52
  "cross-fetch": "3.1.5",