Skip to content

Commit 539ef5f

Browse files
authored
Merge pull request #2519 from newrelic/release
Release 2024-08-05
2 parents 2ca605b + 007a527 commit 539ef5f

File tree

14 files changed

+2840
-37
lines changed

14 files changed

+2840
-37
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Name of the alert
2+
name: RPS Limit
3+
# Description and details
4+
description: |+
5+
This alert is triggered if the Temporal Cloud RPS limit is reached.
6+
type: STATIC
7+
8+
# NRQL query
9+
nrql:
10+
query: "FROM temporalCloudResourceExhaustedErrors SELECT latest(`data.result-value1`) FACET `data.result-metric-__name__`"
11+
12+
# Function used to aggregate the NRQL query value(s) for comparison to the terms.threshold (Default: SINGLE_VALUE)
13+
valueFunction: SINGLE_VALUE
14+
15+
# List of Critical and Warning thresholds for the condition
16+
terms:
17+
- priority: CRITICAL
18+
# Operator used to compare against the threshold.
19+
operator: ABOVE
20+
# Value that triggers a violation
21+
threshold: 1
22+
# Time in seconds; 120 - 3600
23+
thresholdDuration: 300
24+
# How many data points must be in violation for the duration
25+
thresholdOccurrences: ALL
26+
# Duration after which a violation automatically closes
27+
# Time in seconds; 300 - 2592000 (Default: 86400 [1 day])
28+
violationTimeLimitSeconds: 86400

dashboards/lambdatest/lambdatest-logs.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -610,7 +610,7 @@
610610
"nrqlQueries": [
611611
{
612612
"accountIds": [],
613-
"query": "SELECT uniqueCount(job_id) \nFROM Log \nWHERE `newrelic.source` = 'api.logs'\nAND service = 'lambdatest' AND `newrelic.source` = 'api.logs' AND `logtype` = 'hypertest'\nFACET job_status\nSINCE 1 week ago \nTIMESERIES"
613+
"query": "SELECT uniqueCount(job_id) \nFROM Log \nWHERE `newrelic.source` = 'api.logs'\nAND service = 'lambdatest' AND `newrelic.source` = 'api.logs' AND `logtype` = 'hypertest' AND job_status NOT IN ('initiated', 'running')\nFACET job_status\nSINCE 1 week ago \nTIMESERIES"
614614
}
615615
],
616616
"platformOptions": {
@@ -640,7 +640,7 @@
640640
"nrqlQueries": [
641641
{
642642
"accountIds": [],
643-
"query": "SELECT uniqueCount(task_id) \nFROM Log \nWHERE `newrelic.source` = 'api.logs'\nAND service = 'lambdatest' AND `newrelic.source` = 'api.logs' AND `logtype` = 'hypertest'\nFACET task_status\nSINCE 1 week ago \nTIMESERIES"
643+
"query": "SELECT uniqueCount(task_id) \nFROM Log \nWHERE `newrelic.source` = 'api.logs'\nAND service = 'lambdatest' AND `newrelic.source` = 'api.logs' AND `logtype` = 'hypertest' AND task_status NOT IN ('queued', 'initiated', 'running')\nFACET task_status\nSINCE 1 week ago \nTIMESERIES"
644644
}
645645
],
646646
"platformOptions": {
@@ -670,7 +670,7 @@
670670
"nrqlQueries": [
671671
{
672672
"accountIds": [],
673-
"query": "SELECT uniqueCount(stage_id) \nFROM Log \nWHERE `newrelic.source` = 'api.logs'\nAND service = 'lambdatest' AND `newrelic.source` = 'api.logs' AND `logtype` = 'hypertest'\nFACET stage_status\nSINCE 1 week ago \nTIMESERIES"
673+
"query": "SELECT uniqueCount(stage_id) \nFROM Log \nWHERE `newrelic.source` = 'api.logs'\nAND service = 'lambdatest' AND `newrelic.source` = 'api.logs' AND `logtype` = 'hypertest' AND status NOT IN ('created', 'in-progress')\nFACET status\nSINCE 1 week ago \nTIMESERIES"
674674
}
675675
],
676676
"platformOptions": {

0 commit comments

Comments
 (0)