Skip to content

Commit

Permalink
Merge branch 'release' into joseph/jumpstart
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Anguiano authored Feb 22, 2024
2 parents 6051581 + 252b535 commit 30e18d5
Show file tree
Hide file tree
Showing 231 changed files with 11,994 additions and 341 deletions.
33 changes: 33 additions & 0 deletions alert-policies/amazon-workspaces-web/SessionFailure.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: High Session Failure

description: |+
This alert is triggered if the number of failed session exceeds 10 for 10 minutes.
type: STATIC
nrql:
query: "SELECT count(`aws.workspacesweb.SessionFailure`) as 'Query' FROM Metric"

# 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: 10
# Time in seconds; 120 - 3600
thresholdDuration: 600
# How many data points must be in violation for the duration
thresholdOccurrences: ALL

# Adding a Warning threshold is optional
- priority: WARNING
operator: ABOVE
threshold: 5
thresholdDuration: 600
thresholdOccurrences: ALL
# Duration after which a violation automatically closes
# Time in seconds; 300 - 2592000 (Default: 86400 [1 day])
violationTimeLimitSeconds: 86400
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Name of the alert
name: Datastream2 - 5xx error greater than 1%
name: DataStream 2 - 5xx error greater than 1%

# Description and details
description: |+
Expand Down
28 changes: 28 additions & 0 deletions alert-policies/fivetran/ConnectionFailure.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Connection failure

description: |+
This alert is triggered in the event of a connection failure, indicating the failure of any Fivetran jobs.
type: STATIC

nrql:
query: "SELECT count(*) from Log where event = 'connection_failure'"

# 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: EQUALS
# Value that triggers a violation; float value
threshold: 1
# Time in seconds; 120 - 3600
thresholdDuration: 300
# How many data points must be in violation for the duration
thresholdOccurrences: AT_LEAST_ONCE

# Duration after which a violation automatically closes
# Time in seconds; 300 - 2592000 (Default: 86400 [1 day])
violationTimeLimitSeconds: 2592000
28 changes: 28 additions & 0 deletions alert-policies/fivetran/FailureWithTask.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Task failure

description: |+
This alert is triggered in the event of a connection failure, indicating the failure of any Fivetran task.
type: STATIC

nrql:
query: "SELECT count(*) from Log where event = 'sync_end' and data.status ='FAILURE_WITH_TASK'"

# 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: EQUALS
# Value that triggers a violation; float value
threshold: 1
# Time in seconds; 120 - 3600
thresholdDuration: 300
# How many data points must be in violation for the duration
thresholdOccurrences: AT_LEAST_ONCE

# Duration after which a violation automatically closes
# Time in seconds; 300 - 2592000 (Default: 86400 [1 day])
violationTimeLimitSeconds: 2592000
2 changes: 1 addition & 1 deletion dashboards/activemq/activemq.json
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
"id": "viz.markdown"
},
"rawConfiguration": {
"text": "**About**\n\nInstrument your application with New Relic - [Add Data](https://docs.newrelic.com/docs/infrastructure/host-integrations/host-integrations-list/jmx-monitoring-activemq/).\n\n\n[Please rate this dashboard](https://docs.google.com/forms/d/e/1FAIpQLSclR38J8WbbB2J1tHnllKUkzWZkJhf4SrJGyavpMd4t82NjnQ/viewform?usp=pp_url&entry.1615922415=ActiveMQ) here and let us know how we can improve it for you.\n"
"text": "**About**\n\nInstrument your application with New Relic - [Add Data](https://one.newrelic.com/catalog-pack-details?state=06d18049-3b6b-d533-beb6-1021a28f561b).\n\n\n[Please rate this dashboard](https://docs.google.com/forms/d/e/1FAIpQLSclR38J8WbbB2J1tHnllKUkzWZkJhf4SrJGyavpMd4t82NjnQ/viewform?usp=pp_url&entry.1615922415=ActiveMQ) here and let us know how we can improve it for you.\n"
}
},
{
Expand Down
135 changes: 135 additions & 0 deletions dashboards/amazon-workspaces-web/amazon-workspaces-web.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,135 @@
{
"name": "AWS Workspaces Web",
"description": null,
"pages": [
{
"name": "AWS Workspaces Web",
"description": null,
"widgets": [
{
"title": "",
"layout": {
"column": 1,
"row": 1,
"width": 3,
"height": 3
},
"visualization": {
"id": "viz.markdown"
},
"rawConfiguration": {
"text": "# Amazon Workspaces Web\nAmazon WorkSpaces Web is an on-demand, fully managed, Linux-based service designed to facilitate secure browser access to internal websites and software-as-a-service (SaaS) applications. Access the service from existing web browsers, without the administrative burden of infrastructure management, specialized client software, or virtual private network (VPN) solutions."
}
},
{
"title": "SessionAttempt",
"layout": {
"column": 4,
"row": 1,
"width": 9,
"height": 3
},
"visualization": {
"id": "viz.line"
},
"rawConfiguration": {
"facet": {
"showOtherSeries": false
},
"legend": {
"enabled": true
},
"nrqlQueries": [
{
"accountId": 0,
"query": "FROM Metric SELECT sum(aws.workspacesweb.SessionAttempt) AS 'SessionAttempt' WHERE aws.Namespace = 'AWS/WorkSpacesWeb' TIMESERIES AUTO "
}
],
"platformOptions": {
"ignoreTimeRange": false
},

"yAxisLeft": {
"zero": true
},
"yAxisRight": {
"zero": true
}
}
},
{
"title": "SessionSuccess",
"layout": {
"column": 1,
"row": 4,
"width": 4,
"height": 4
},
"visualization": {
"id": "viz.line"
},
"rawConfiguration": {
"facet": {
"showOtherSeries": false
},
"legend": {
"enabled": true
},
"nrqlQueries": [
{
"accountId": 0,
"query": "FROM Metric SELECT sum(aws.workspacesweb.SessionSuccess) AS 'SessionSuccess' WHERE aws.Namespace = 'AWS/WorkSpacesWeb' TIMESERIES AUTO "
}
],
"platformOptions": {
"ignoreTimeRange": false
},

"yAxisLeft": {
"zero": true
},
"yAxisRight": {
"zero": true
}
}
},
{
"title": "SessionFailure",
"layout": {
"column": 5,
"row": 4,
"width": 8,
"height": 4
},
"visualization": {
"id": "viz.line"
},
"rawConfiguration": {
"facet": {
"showOtherSeries": false
},
"legend": {
"enabled": true
},
"nrqlQueries": [
{
"accountId": 0,
"query": "FROM Metric SELECT sum(aws.workspacesweb.SessionFailure) AS 'SessionFailure' WHERE aws.Namespace = 'AWS/WorkSpacesWeb' TIMESERIES AUTO "
}
],
"platformOptions": {
"ignoreTimeRange": false
},

"yAxisLeft": {
"zero": true
},
"yAxisRight": {
"zero": true
}
}
}
]
}
]
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion dashboards/ansible-automation-controller/dashboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@
"id": "viz.markdown"
},
"rawConfiguration": {
"text": "**About**\n\nInstrument your Red Hat Ansible Automation Controller with New Relic - [Add data](https://one.newrelic.com/catalog-pack-details?state=4dc166c8-8662-e494-0156-c10773c90ea6)\n\nUnable to find data in your dashboard? - [Troubleshoot here](https://docs.newrelic.com/docs/infrastructure/prometheus-integrations/get-started/send-prometheus-metric-data-new-relic/)\n\n[Please rate this dashboard](https://docs.google.com/forms/d/e/1FAIpQLSclR38J8WbbB2J1tHnllKUkzWZkJhf4SrJGyavpMd4t82NjnQ/viewform?usp=pp_url&entry.1615922415=AnsibleAutomationController) here and let us know how we can improve it for you.\n\nFollow New Relic [Ansible Automation Controller documentation](https://docs.newrelic.com/docs/infrastructure/host-integrations/host-integrations-list/ansible-controller-integration/) to instrument Red Hat Ansible Automation Platform."
"text": "**About**\n\nInstrument your Red Hat Ansible Automation Controller with New Relic - [Add data](https://one.newrelic.com/catalog-pack-details?state=aed0dc8e-3151-9dbc-fc19-9193d2875d4f)\n\nUnable to find data in your dashboard? - [Troubleshoot here](https://docs.newrelic.com/docs/infrastructure/prometheus-integrations/get-started/send-prometheus-metric-data-new-relic/)\n\n[Please rate this dashboard](https://docs.google.com/forms/d/e/1FAIpQLSclR38J8WbbB2J1tHnllKUkzWZkJhf4SrJGyavpMd4t82NjnQ/viewform?usp=pp_url&entry.1615922415=AnsibleAutomationController) here and let us know how we can improve it for you.\n\nFollow New Relic [Ansible Automation Controller documentation](https://docs.newrelic.com/docs/infrastructure/host-integrations/host-integrations-list/ansible-controller-integration/) to instrument Red Hat Ansible Automation Platform."
}
},
{
Expand Down
2 changes: 1 addition & 1 deletion dashboards/apache/apache.json
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@
"id": "viz.markdown"
},
"rawConfiguration": {
"text": "**About**\n\nInstrument your application with New Relic - [Add Data](https://one.newrelic.com/catalog-pack-details?state=8b4969af-1367-31c6-9d85-8d4e1192d7a8).\n\nUnable to find data in your dashboard? - [Troubleshoot here](\nhttps://docs.newrelic.com/docs/infrastructure/host-integrations/host-integrations-list/apache-monitoring-integration/#troubleshooting)\n\n[Please rate this dashboard](https://docs.google.com/forms/d/e/1FAIpQLSclR38J8WbbB2J1tHnllKUkzWZkJhf4SrJGyavpMd4t82NjnQ/viewform?usp=pp_url&entry.1615922415=ApacheHTTPD) here and let us know how we can improve it for you.\n\n"
"text": "**About**\n\nInstrument your application with New Relic - [Add Data](https://one.newrelic.com/catalog-pack-details?state=bbcd0d9f-a603-812b-3f2f-c283b265e50f).\n\nUnable to find data in your dashboard? - [Troubleshoot here](\nhttps://docs.newrelic.com/docs/infrastructure/host-integrations/host-integrations-list/apache-monitoring-integration/#troubleshooting)\n\n[Please rate this dashboard](https://docs.google.com/forms/d/e/1FAIpQLSclR38J8WbbB2J1tHnllKUkzWZkJhf4SrJGyavpMd4t82NjnQ/viewform?usp=pp_url&entry.1615922415=ApacheHTTPD) here and let us know how we can improve it for you.\n\n"
}
},
{
Expand Down
108 changes: 108 additions & 0 deletions dashboards/aws-certificate-manager/aws-certificate-manager.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
{
"name": "AWS CertificateManager",
"description": null,
"pages": [
{
"name": "AWS CertificateManager",
"description": null,
"widgets": [
{
"title": "",
"layout": {
"column": 1,
"row": 1,
"width": 4,
"height": 3
},
"visualization": {
"id": "viz.markdown"
},
"rawConfiguration": {
"text": "# AWS Certificate Manager\nUse AWS Certificate Manager (ACM) to provision, manage, and deploy public and private SSL/TLS certificates for use with AWS services and your internal connected resources. ACM removes the time-consuming manual process of purchasing, uploading, and renewing SSL/TLS certificates.\n\n"
}
},
{
"title": "DaysToExpiry",
"layout": {
"column": 5,
"row": 1,
"width": 4,
"height": 3
},
"visualization": {
"id": "viz.table"
},
"rawConfiguration": {
"facet": {
"showOtherSeries": false
},
"nrqlQueries": [
{
"accountId": 0,
"query": "FROM Metric \nSELECT average(`aws.certificatemanager.DaysToExpiry`) AS 'DaysToExpiry'\nWHERE aws.Namespace = 'AWS/CertificateManager' \nFACET `aws.certificatemanager.CertificateArn`, `aws.accountId`, `aws.region`"
}
],
"platformOptions": {
"ignoreTimeRange": false
}
}
},
{
"title": "Total Certificate By Region",
"layout": {
"column": 9,
"row": 1,
"width": 4,
"height": 3
},
"visualization": {
"id": "viz.pie"
},
"rawConfiguration": {
"facet": {
"showOtherSeries": true
},
"legend": {
"enabled": true
},
"nrqlQueries": [
{
"accountId": 0,
"query": "FROM Metric SELECT uniqueCount(aws.certificatemanager.CertificateArn) WHERE aws.Namespace = 'AWS/CertificateManager' FACET aws.region "
}
],
"platformOptions": {
"ignoreTimeRange": false
}
}
},
{
"title": "Total Certificate By AccountID",
"layout": {
"column": 1,
"row": 4,
"width": 12,
"height": 4
},
"visualization": {
"id": "viz.bar"
},
"rawConfiguration": {
"facet": {
"showOtherSeries": false
},
"nrqlQueries": [
{
"accountId": 0,
"query": "FROM Metric SELECT uniqueCount(aws.certificatemanager.CertificateArn) AS 'Total Certificates' WHERE aws.Namespace = 'AWS/CertificateManager' FACET aws.accountId "
}
],
"platformOptions": {
"ignoreTimeRange": false
}
}
}
]
}
]
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 30e18d5

Please sign in to comment.