Skip to content

Commit

Permalink
Merge pull request #2504 from newrelic/release
Browse files Browse the repository at this point in the history
Release 7/25/24
  • Loading branch information
brammerl authored Jul 25, 2024
2 parents ce1cac9 + 12caa86 commit 2ca605b
Show file tree
Hide file tree
Showing 17 changed files with 260 additions and 131 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: Response time
name: Request duration

description: |+
This alert is triggered if response time exceeds 5 seconds in 5 minutes.
This alert is triggered if request duration exceeds 5 seconds over 5 minutes.
type: STATIC
nrql:
query: "FROM LlmChatCompletionSummary, LlmCompletion, LlmEmbedding SELECT latest(response_time)/1000"
query: "FROM LlmChatCompletionSummary SELECT latest(duration) / 1000"

# Function used to aggregate the NRQL query value(s) for comparison to the terms.threshold (Default: SINGLE_VALUE)
valueFunction: SINGLE_VALUE
Expand Down
27 changes: 0 additions & 27 deletions alert-policies/langchain/error.yml

This file was deleted.

35 changes: 0 additions & 35 deletions alert-policies/langchain/requestsPerModel.yml

This file was deleted.

2 changes: 1 addition & 1 deletion alert-policies/llm-application/APIResponseTime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ type: STATIC

# NRQL query
nrql:
query: "FROM LlmChatCompletionSummary, LlmCompletion, LlmEmbedding SELECT percentile(response_time, 95) FACET entity.guid"
query: "FROM LlmChatCompletionSummary SELECT percentile(duration, 95) / 1000 FACET entity.guid"

# Function used to aggregate the NRQL query value(s) for comparison to the terms.threshold (Default: SINGLE_VALUE)
valueFunction: SINGLE_VALUE
Expand Down
41 changes: 0 additions & 41 deletions alert-policies/llm-application/cost.yml

This file was deleted.

210 changes: 210 additions & 0 deletions dashboards/lambdatest/lambdatest-logs.json
Original file line number Diff line number Diff line change
Expand Up @@ -502,6 +502,216 @@
}
}
]
},
{
"name": "LambdaTest - HyperExecute Overview",
"description": null,
"widgets": [
{
"title": "Jobs",
"layout": {
"column": 1,
"row": 1,
"width": 4,
"height": 3
},
"linkedEntityGuids": null,
"visualization": {
"id": "viz.billboard"
},
"rawConfiguration": {
"facet": {
"showOtherSeries": false
},
"nrqlQueries": [
{
"accountIds": [],
"query": "SELECT uniqueCount(job_id) AS 'Jobs' FROM Log WHERE `service`='lambdatest' AND `newrelic.source` = 'api.logs' AND `logtype` = 'hypertest' SINCE 1 week ago"
}
],
"platformOptions": {
"ignoreTimeRange": false
}
}
},
{
"title": "Tasks",
"layout": {
"column": 5,
"row": 1,
"width": 4,
"height": 3
},
"linkedEntityGuids": null,
"visualization": {
"id": "viz.billboard"
},
"rawConfiguration": {
"facet": {
"showOtherSeries": false
},
"nrqlQueries": [
{
"accountIds": [],
"query": "SELECT uniqueCount(task_id) AS 'Tasks' FROM Log WHERE service='lambdatest' AND `newrelic.source` = 'api.logs' AND `logtype` = 'hypertest' SINCE 1 week ago"
}
],
"platformOptions": {
"ignoreTimeRange": false
}
}
},
{
"title": "Stages",
"layout": {
"column": 9,
"row": 1,
"width": 4,
"height": 3
},
"linkedEntityGuids": null,
"visualization": {
"id": "viz.billboard"
},
"rawConfiguration": {
"facet": {
"showOtherSeries": false
},
"nrqlQueries": [
{
"accountIds": [],
"query": "SELECT uniqueCount(stage_id) AS 'Stages' FROM Log WHERE service='lambdatest' AND `newrelic.source` = 'api.logs' AND `logtype` = 'hypertest' SINCE 1 week ago"
}
],
"platformOptions": {
"ignoreTimeRange": false
}
}
},
{
"title": "Job trends",
"layout": {
"column": 1,
"row": 4,
"width": 6,
"height": 4
},
"linkedEntityGuids": null,
"visualization": {
"id": "viz.area"
},
"rawConfiguration": {
"facet": {
"showOtherSeries": false
},
"legend": {
"enabled": true
},
"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"
}
],
"platformOptions": {
"ignoreTimeRange": false
}
}
},
{
"title": "Task trends",
"layout": {
"column": 7,
"row": 4,
"width": 6,
"height": 4
},
"linkedEntityGuids": null,
"visualization": {
"id": "viz.area"
},
"rawConfiguration": {
"facet": {
"showOtherSeries": false
},
"legend": {
"enabled": true
},
"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"
}
],
"platformOptions": {
"ignoreTimeRange": false
}
}
},
{
"title": "Stage trends",
"layout": {
"column": 1,
"row": 8,
"width": 6,
"height": 4
},
"linkedEntityGuids": null,
"visualization": {
"id": "viz.area"
},
"rawConfiguration": {
"facet": {
"showOtherSeries": false
},
"legend": {
"enabled": true
},
"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"
}
],
"platformOptions": {
"ignoreTimeRange": false
}
}
},
{
"title": "Task status ratio",
"layout": {
"column": 7,
"row": 8,
"width": 6,
"height": 4
},
"linkedEntityGuids": null,
"visualization": {
"id": "viz.stacked-bar"
},
"rawConfiguration": {
"facet": {
"showOtherSeries": false
},
"legend": {
"enabled": true
},
"nrqlQueries": [
{
"accountIds": [],
"query": "SELECT percentage(uniqueCount(job_id), WHERE task_status = 'completed') AS 'Completed',\n percentage(uniqueCount(job_id), WHERE task_status = 'failed') AS 'Failed',\n percentage(uniqueCount(job_id), WHERE task_status = 'skipped') AS 'Skipped',\n\t percentage(uniqueCount(job_id), WHERE task_status = 'cancelled') AS 'Cancelled',\n\t percentage(uniqueCount(job_id), WHERE task_status = 'aborted') AS 'Aborted',\n\t percentage(uniqueCount(job_id), WHERE task_status = 'lambda_error') AS 'Lambda error',\n\t percentage(uniqueCount(job_id), WHERE task_status = 'timeout') AS 'Timeout',\n\t percentage(uniqueCount(job_id), WHERE task_status = 'log-available') AS 'Log available'\nFROM Log \nWHERE `newrelic.source` = 'api.logs'\nAND service = 'lambdatest' AND `newrelic.source` = 'api.logs' AND `logtype` = 'hypertest'\nSINCE 1 week ago \nTIMESERIES"
}
],
"platformOptions": {
"ignoreTimeRange": false
},
"units": {
"unit": "PERCENTAGE"
}
}
}
]
}
],
"variables": []
Expand Down
8 changes: 6 additions & 2 deletions data-sources/apache-traffic-server/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,12 @@ description: |
icon: logo.png
install:
primary:
link:
url: https://docs.newrelic.com/docs/infrastructure/host-integrations/host-integrations-list/apache-traffic-server-monitoring-integration/
nerdlet:
nerdletId: marketplace.install-data-source
nerdletState:
dataSourceId: apache-traffic-server
frameworkConfigId: apache-traffic-server
requiresAccount: false
keywords:
- apache-traffic-server
- apache
Expand Down
8 changes: 6 additions & 2 deletions data-sources/envoy/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,12 @@ description: |
icon: logo.png
install:
primary:
link:
url: https://docs.newrelic.com/docs/infrastructure/host-integrations/host-integrations-list/envoy-integration
nerdlet:
nerdletId: marketplace.install-data-source
nerdletState:
dataSourceId: envoy
frameworkConfigId: envoy
requiresAccount: false
keywords:
- envoy
- envoy proxy
Expand Down
8 changes: 6 additions & 2 deletions data-sources/temporal-cloud/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,12 @@ description: |
icon: logo.svg
install:
primary:
link:
url: https://docs.newrelic.com/docs/infrastructure/host-integrations/host-integrations-list/temporal-cloud-integration/
nerdlet:
nerdletId: marketplace.install-data-source
nerdletState:
dataSourceId: temporal-cloud
frameworkConfigId: temporal-cloud
requiresAccount: false
keywords:
- temporal
- temporal cloud
Expand Down
Loading

0 comments on commit 2ca605b

Please sign in to comment.