Skip to content

Commit

Permalink
Merge pull request #2076 from rahul188/cloudsearch
Browse files Browse the repository at this point in the history
[Product Partnerships] Added Amazon CloudSearch Entity
  • Loading branch information
zstix authored Sep 26, 2023
2 parents d262e01 + 464b7b2 commit fd73a83
Show file tree
Hide file tree
Showing 5 changed files with 274 additions and 0 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.
34 changes: 34 additions & 0 deletions quickstarts/aws/amazon-cloudsearch/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
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 fd73a83

Please sign in to comment.