@newskit-render/core 2.44.0-alpha.4 → 2.44.0-alpha.6
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.
|
@@ -205,7 +205,6 @@ resource "newrelic_nrql_alert_condition" "pod_failed_unknown" {
|
|
|
205
205
|
name = "${var.prefix} - Pod Status Failed/Unknown"
|
|
206
206
|
enabled = "true"
|
|
207
207
|
violation_time_limit_seconds = 86400
|
|
208
|
-
value_function = "single_value"
|
|
209
208
|
description = "Any pods with status Failed/Unknown"
|
|
210
209
|
|
|
211
210
|
nrql {
|
|
@@ -234,7 +233,6 @@ resource "newrelic_nrql_alert_condition" "pod_pending" {
|
|
|
234
233
|
name = "${var.prefix} - Pod Status Pending"
|
|
235
234
|
enabled = "true"
|
|
236
235
|
violation_time_limit_seconds = 86400
|
|
237
|
-
value_function = "single_value"
|
|
238
236
|
description = "Warn if any containers are pending after 3 minutes, critical if any containers are pending after 5 minutes"
|
|
239
237
|
expiration_duration = 120
|
|
240
238
|
close_violations_on_expiration = true
|
|
@@ -268,7 +266,6 @@ resource "newrelic_nrql_alert_condition" "restart_count" {
|
|
|
268
266
|
name = "${var.prefix} - Container Restarts"
|
|
269
267
|
enabled = "true"
|
|
270
268
|
violation_time_limit_seconds = 86400
|
|
271
|
-
value_function = "single_value"
|
|
272
269
|
description = "Any services with restarts > 5 over all pods for 1 minute -> warning"
|
|
273
270
|
|
|
274
271
|
nrql {
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
resource "
|
|
2
|
-
name
|
|
3
|
-
type
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
text = "${var.environment}" == "prod" ? file("${path.module}/lighthouse-script-prod.js") : file("${path.module}/lighthouse-script.js")
|
|
1
|
+
resource "newrelic_synthetics_script_monitor" "lighthouse-monitor" {
|
|
2
|
+
name = "${data.newrelic_entity.render_app.name} Lighthouse Monitor"
|
|
3
|
+
type = "SCRIPT_API"
|
|
4
|
+
locations_public = ["EU_WEST_2"]
|
|
5
|
+
period = "EVERY_30_MINUTES"
|
|
6
|
+
status = "ENABLED"
|
|
7
|
+
script = var.environment == "prod" ? file("${path.module}/lighthouse-script-prod.js") : file("${path.module}/lighthouse-script.js")
|
|
8
|
+
script_language = "JAVASCRIPT"
|
|
9
|
+
runtime_type = "NODE_API"
|
|
10
|
+
runtime_type_version = "16.13"
|
|
12
11
|
}
|