Skip to content

Commit

Permalink
Merge pull request #2519 from newrelic/release
Browse files Browse the repository at this point in the history
Release 2024-08-05
  • Loading branch information
nr-mlosier authored Aug 5, 2024
2 parents 2ca605b + 007a527 commit 539ef5f
Show file tree
Hide file tree
Showing 14 changed files with 2,840 additions and 37 deletions.
28 changes: 28 additions & 0 deletions alert-policies/temporal-cloud/RpsLimit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Name of the alert
name: RPS Limit
# Description and details
description: |+
This alert is triggered if the Temporal Cloud RPS limit is reached.
type: STATIC

# NRQL query
nrql:
query: "FROM temporalCloudResourceExhaustedErrors SELECT latest(`data.result-value1`) FACET `data.result-metric-__name__`"

# Function used to aggregate the NRQL query value(s) for comparison to the terms.threshold (Default: SINGLE_VALUE)
valueFunction: SINGLE_VALUE

# List of Critical and Warning thresholds for the condition
terms:
- priority: CRITICAL
# Operator used to compare against the threshold.
operator: ABOVE
# Value that triggers a violation
threshold: 1
# Time in seconds; 120 - 3600
thresholdDuration: 300
# How many data points must be in violation for the duration
thresholdOccurrences: ALL
# Duration after which a violation automatically closes
# Time in seconds; 300 - 2592000 (Default: 86400 [1 day])
violationTimeLimitSeconds: 86400
6 changes: 3 additions & 3 deletions dashboards/lambdatest/lambdatest-logs.json
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,7 @@
"nrqlQueries": [
{
"accountIds": [],
"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"
"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"
}
],
"platformOptions": {
Expand Down Expand Up @@ -640,7 +640,7 @@
"nrqlQueries": [
{
"accountIds": [],
"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"
"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"
}
],
"platformOptions": {
Expand Down Expand Up @@ -670,7 +670,7 @@
"nrqlQueries": [
{
"accountIds": [],
"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"
"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"
}
],
"platformOptions": {
Expand Down
Loading

0 comments on commit 539ef5f

Please sign in to comment.