Skip to content

Commit

Permalink
Merge branch 'main' into nr-125012-adobe-commerce
Browse files Browse the repository at this point in the history
  • Loading branch information
mdumpati authored Sep 27, 2023
2 parents 9d3d059 + 801ca01 commit 2ebce87
Show file tree
Hide file tree
Showing 8 changed files with 290 additions and 6 deletions.
27 changes: 27 additions & 0 deletions alert-policies/amazon-cloudsearch/HighIndexUtilization.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: High Index Utilization

description: |+
This alert is triggered when the Index Utilization is above 90%.
type: STATIC
nrql:
query: "SELECT average(`aws.cloudsearch.IndexUtilization`) 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: 90
# 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
213 changes: 213 additions & 0 deletions dashboards/amazon-cloudsearch/amazon-cloudsearch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,213 @@
{
"name": "Amazon CloudSearch",
"description": null,
"pages": [
{
"name": "Amazon CloudSearch",
"description": null,
"widgets": [
{
"title": "",
"layout": {
"column": 1,
"row": 1,
"width": 2,
"height": 2
},
"visualization": {
"id": "viz.markdown"
},
"rawConfiguration": {
"text": "# Amazon CloudSearch \nIt is a managed service in the AWS Cloud that makes it simple and cost-effective to set up, manage, and scale a search solution for your website or application."
}
},
{
"title": "Successful Requests",
"layout": {
"column": 3,
"row": 1,
"width": 2,
"height": 1
},
"visualization": {
"id": "viz.billboard"
},
"rawConfiguration": {
"facet": {
"showOtherSeries": false
},
"nrqlQueries": [
{
"accountId": 0,
"query": "SELECT sum(`aws.cloudsearch.SuccessfulRequests`) as 'Successful Requests' from Metric where aws.Namespace = 'AWS/CloudSearch'"
}
],
"platformOptions": {
"ignoreTimeRange": false
},
"thresholds": [
{
"alertSeverity": "WARNING",
"value": 10000000000
}
]
}
},
{
"title": "Searchable Documents",
"layout": {
"column": 5,
"row": 1,
"width": 5,
"height": 3
},
"visualization": {
"id": "viz.line"
},
"rawConfiguration": {
"facet": {
"showOtherSeries": false
},
"legend": {
"enabled": true
},
"nrqlQueries": [
{
"accountId": 0,
"query": "SELECT average(`aws.cloudsearch.SearchableDocuments`) as 'Searchable Documents' from Metric where aws.Namespace = 'AWS/CloudSearch' facet `aws.cloudsearch.DomainName` timeseries auto "
}
],
"platformOptions": {
"ignoreTimeRange": false
},
"yAxisLeft": {
"zero": true
}
}
},
{
"title": "Partitions",
"layout": {
"column": 10,
"row": 1,
"width": 3,
"height": 3
},
"visualization": {
"id": "viz.area"
},
"rawConfiguration": {
"facet": {
"showOtherSeries": false
},
"legend": {
"enabled": true
},
"nrqlQueries": [
{
"accountId": 0,
"query": "SELECT average(`aws.cloudsearch.Partitions`) as 'Partitions' from Metric where aws.Namespace = 'AWS/CloudSearch' facet `aws.cloudsearch.DomainName` TIMESERIES AUTO "
}
],
"platformOptions": {
"ignoreTimeRange": false
}
}
},
{
"title": "Partitions",
"layout": {
"column": 3,
"row": 2,
"width": 2,
"height": 1
},
"visualization": {
"id": "viz.billboard"
},
"rawConfiguration": {
"facet": {
"showOtherSeries": false
},
"nrqlQueries": [
{
"accountId": 0,
"query": "SELECT sum(`aws.cloudsearch.Partitions`) as 'Partitions' from Metric where aws.Namespace = 'AWS/CloudSearch'"
}
],
"platformOptions": {
"ignoreTimeRange": false
},
"thresholds": [
{
"alertSeverity": "WARNING",
"value": 10000000000
}
]
}
},
{
"title": "Successful Requests",
"layout": {
"column": 1,
"row": 3,
"width": 4,
"height": 4
},
"visualization": {
"id": "viz.area"
},
"rawConfiguration": {
"facet": {
"showOtherSeries": false
},
"legend": {
"enabled": true
},
"nrqlQueries": [
{
"accountId": 0,
"query": "SELECT average(`aws.cloudsearch.SuccessfulRequests`) as 'Successful Requests' from Metric where aws.Namespace = 'AWS/CloudSearch' timeseries auto facet `aws.cloudsearch.DomainName`"
}
],
"platformOptions": {
"ignoreTimeRange": false
}
}
},
{
"title": "Index Utilization",
"layout": {
"column": 5,
"row": 4,
"width": 8,
"height": 3
},
"visualization": {
"id": "viz.area"
},
"rawConfiguration": {
"facet": {
"showOtherSeries": false
},
"legend": {
"enabled": true
},
"nrqlQueries": [
{
"accountId": 0,
"query": "SELECT average(`aws.cloudsearch.IndexUtilization`) as 'Index Utilization' from Metric where aws.Namespace = 'AWS/CloudSearch' TIMESERIES auto facet `aws.cloudsearch.DomainName`"
}
],
"platformOptions": {
"ignoreTimeRange": false
},
"units": {
"unit": "PERCENTAGE"
}
}
}
]
}
]
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 5 additions & 2 deletions data-sources/deeper-network/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,11 @@ description: |
icon: logo.png
install:
primary:
link:
url: https://github.com/Kav91/deeper-connect-monitoring
nerdlet:
nerdletId: marketplace.install-data-source
nerdletState:
dataSourceId: deeper-network
requiresAccount: false
keywords:
- infrastructure
- network
Expand Down
7 changes: 5 additions & 2 deletions data-sources/logs-api/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ displayName: Logs API
description: If our logging solutions don't meet your needs, you can use our Log API to send log data directly to New Relic's Log management via an HTTP endpoint.
install:
primary:
link:
url: https://docs.newrelic.com/docs/logs/log-management/log-api/introduction-log-api/
nerdlet:
nerdletId: marketplace.install-data-source
nerdletState:
dataSourceId: logs-api
requiresAccount: false
icon: logo.png
7 changes: 5 additions & 2 deletions data-sources/postman/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,11 @@ description: |
icon: logo.svg
install:
primary:
link:
url: https://learning.postman.com/docs/integrations/available-integrations/new-relic/
nerdlet:
nerdletId: marketplace.install-data-source
nerdletState:
dataSourceId: postman
requiresAccount: false
keywords:
- api
- postman
Expand Down
35 changes: 35 additions & 0 deletions quickstarts/aws/amazon-cloudsearch/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
id: f7f88b90-ed4a-453e-a1ac-433292393905
slug: amazon-cloudsearch
description: |-
## What is Amazon CloudSearch?
Amazon CloudSearch is a managed service in the AWS Cloud that makes it simple and cost-effective to set up, manage, and scale a search solution for your website or application.
### Get started!
Start monitoring Amazon CloudSearch by connecting Amazon Web Services (AWS) to New Relic! Take a look at our documentation for information on how to set up this integration.
### More info
Check out the [documentation](https://docs.newrelic.com/docs/infrastructure/amazon-integrations/aws-integrations-list/amazon-cloudsearch-monitoring-integration/) to learn more about New Relic monitoring for Amazon CloudSearch.
summary: |-
Monitor Amazon CloudSearch by connecting AWS to New Relic
icon: logo.png
level: New Relic
authors:
- New Relic
title: Amazon CloudSearch
documentation:
- name: Amazon CloudSearch installation docs
description: |
Monitor Amazon CloudSearch by connecting AWS to New Relic.
url: >-
https://docs.newrelic.com/docs/infrastructure/amazon-integrations/aws-integrations-list/amazon-cloudsearch-monitoring-integration/
keywords:
- aws
- amazon web services
- CloudSearch
- amazon cloudsearch
- cloud search
- amazon cloud search
alertPolicies:
- amazon-cloudsearch
dashboards:
- amazon-cloudsearch
dataSourceIds:
- amazon-cloudwatch-metric-streams
Binary file added quickstarts/aws/amazon-cloudsearch/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 2ebce87

Please sign in to comment.