-
Notifications
You must be signed in to change notification settings - Fork 301
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: testing the creation of a new install/quickstart
- Loading branch information
1 parent
c76fe0c
commit 39bb047
Showing
9 changed files
with
298 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
id: test-build-newrelic | ||
name: Test | ||
title: Test Build Observability | ||
description: | | ||
Observe your Test Builds | ||
target: | ||
type: integration | ||
destination: cloud | ||
|
||
install: | ||
mode: link | ||
destination: | ||
url: https://newrelic.com/blog/how-to-relic/optimize-gatsby-jamstack |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
--- | ||
|
||
# Name of the alert | ||
name: Name of this alert condition | ||
|
||
# Description and details | ||
details: |+ | ||
Describe the purpose of this alert condition. | ||
You can use multiple lines. | ||
Try to be as descriptive as possible and provide "The Why". | ||
# Type of alert | ||
type: BASELINE | ||
|
||
# NRQL query | ||
nrql: | ||
# Baseline alerts can use an optional FACET | ||
query: "FROM Metric SELECT average(metric.name) FACET entity.name" | ||
|
||
# Direction in which baseline is set (Default: LOWER_ONLY) | ||
baselineDirection: LOWER_ONLY | UPPER_AND_LOWER | UPPER_ONLY | ||
|
||
# List of Critical and Warning thresholds for the condition | ||
terms: | ||
- priority: CRITICAL | ||
# Value that triggers a violation | ||
threshold: 3 | ||
# Time in seconds; 120 - 3600, must be a multiple of 60 for Baseline conditions | ||
thresholdDuration: 60 | ||
# How many data points must be in violation for the duration | ||
thresholdOccurrences: ALL | AT_LEAST_ONCE | ||
|
||
# Adding a Warning threshold is optional | ||
- priority: WARNING | ||
threshold: 1 | ||
thresholdDuration: 300 | ||
thresholdOccurrences: ALL | AT_LEAST_ONCE | ||
|
||
# Loss of Signal Settings | ||
expiration: | ||
# Close open violations if signal is lost (Default: false) | ||
closeViolationsOnExpiration: true | false | ||
# Open "Loss of Signal" violation if signal is lost (Default: false) | ||
openViolationOnExpiration: true | false | ||
# Time in seconds; Max value: 172800 (48hrs), null if closeViolationsOnExpiration and openViolationOnExpiration are both 'false' | ||
expirationDuration: | ||
|
||
# Advanced Signal Settings | ||
signal: | ||
# Max Value for Baseline conditions = 20 | ||
evaluationOffset: 3 | ||
# Type of value that should be used to fill gaps | ||
fillOption: LAST_VALUE | NONE | STATIC | ||
# Integer; Used in conjunction with STATIC fillOption, otherwise null | ||
fillValue: | ||
|
||
# OPTIONAL: URL of runbook to be sent with notification | ||
runbookUrl: | ||
|
||
# OPTIONAL: Custom violation description sent with JSON payload | ||
description: | ||
|
||
# Duration after which a violation automatically closes | ||
# Time in seconds; 300 - 2592000 (Default: 86400 [1 day]) | ||
violationTimeLimitSeconds: 86400 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
--- | ||
|
||
# Name of the alert | ||
name: Name of this alert condition | ||
|
||
# Description and details | ||
details: |+ | ||
Describe the purpose of this alert condition. | ||
You can use multiple lines. | ||
Try to be as descriptive as possible and provide "The Why". | ||
# Type of alert | ||
type: STATIC | ||
|
||
# NRQL query | ||
nrql: | ||
query: "FROM SystemSample SELECT average(cpuPercent) FACET entityName" | ||
|
||
# Function used to aggregate the NRQL query value(s) for comparison to the terms.threshold (Default: SINGLE_VALUE) | ||
valueFunction: SINGLE_VALUE | SUM | ||
|
||
# List of Critical and Warning thresholds for the condition | ||
terms: | ||
- priority: CRITICAL | ||
# Operator used to compare against the threshold. | ||
operator: ABOVE | BELOW | EQUALS | ||
# Value that triggers a violation | ||
threshold: 90 | ||
# Time in seconds; 120 - 3600 | ||
thresholdDuration: 600 | ||
# How many data points must be in violation for the duration | ||
thresholdOccurrences: ALL | AT_LEAST_ONCE | ||
|
||
# Adding a Warning threshold is optional | ||
- priority: WARNING | ||
threshold: 80 | ||
operator: ABOVE | BELOW | EQUALS | ||
thresholdDuration: 300 | ||
thresholdOccurrences: ALL | AT_LEAST_ONCE | ||
|
||
# Loss of Signal Settings | ||
expiration: | ||
# Close open violations if signal is lost (Default: false) | ||
closeViolationsOnExpiration: true | false | ||
# Open "Loss of Signal" violation if signal is lost (Default: false) | ||
openViolationOnExpiration: true | false | ||
# Time in seconds; Max value: 172800 (48hrs), null if closeViolationsOnExpiration and openViolationOnExpiration are both 'false' | ||
expirationDuration: | ||
|
||
# Advanced Signal Settings | ||
signal: | ||
# Duration of the time window used to evaluate the NRQL Condition | ||
# Time in seconds; 30 - 900 (Default: 60) | ||
aggregationWindow: 60 | ||
# The number of windows we look back at the aggregated data | ||
# Max 20 minutes, multiple of aggregationWindow | ||
evaluationOffset: 3 | ||
# Type of value that should be used to fill gaps | ||
fillOption: LAST_VALUE | NONE | STATIC | ||
# Integer; Used in conjunction with STATIC fillOption, otherwise null | ||
fillValue: | ||
|
||
# OPTIONAL: URL of runbook to be sent with notification | ||
runbookUrl: | ||
|
||
# OPTIONAL: Custom violation description sent with JSON payload | ||
description: | ||
|
||
# Duration after which a violation automatically closes | ||
# Time in seconds; 300 - 2592000 (Default: 86400 [1 day]) | ||
violationTimeLimitSeconds: 86400 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# Name of the quickstart (required) | ||
name: test-quickstart | ||
|
||
# Displayed in the UI (required) | ||
title: test Quickstart | ||
|
||
# Long-form description of the quickstart (required) | ||
description: | | ||
The test quickstart allows you to get visibility into the performance and available of your example service and dependencies. | ||
# Displayed in search results and recommendations. Summarizes a quickstarts functionality. | ||
summary: | | ||
A short form description for this quickstart | ||
# Support level: New Relic | Verified | Community (required) | ||
level: Community | ||
|
||
# Authors of the quickstart (required) | ||
authors: | ||
- Clark McAdoo | ||
|
||
# Keywords for filtering / searching criteria in the UI | ||
keywords: | ||
- list | ||
- of | ||
- searchable | ||
- keywords | ||
- test | ||
|
||
# Reference to install plans located under /install directory | ||
# Allows us to construct reusable "install plans" and just use their ID in the quickstart config | ||
installPlans: | ||
- test-build-newrelic | ||
|
||
documentation: | ||
- name: Installation Docs | ||
url: docs.newrelic.com | ||
description: Description about this doc reference | ||
|
||
# Content / Design | ||
logo: logo.png | ||
website: https://www.newrelic.com |
107 changes: 107 additions & 0 deletions
107
quickstarts/test-quickstart/dashboards/my-dashboard.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,107 @@ | ||
{ | ||
"name": "Cloud Adoption - Plan", | ||
"description": "", | ||
"pages": [ | ||
{ | ||
"name": "Cloud Adoption - Plan", | ||
"description": "", | ||
"widgets": [ | ||
{ | ||
"visualization": { | ||
"id": "viz.markdown" | ||
}, | ||
"layout": { | ||
"column": 1, | ||
"row": 1, | ||
"height": 6, | ||
"width": 4 | ||
}, | ||
"title": " ", | ||
"rawConfiguration": { | ||
"text": "![Image](https://s3.amazonaws.com/nr-cloud-adoption/CloudAdoption-Plan.png)\n" | ||
} | ||
}, | ||
{ | ||
"visualization": { | ||
"id": "viz.pie" | ||
}, | ||
"layout": { | ||
"column": 5, | ||
"row": 1, | ||
"height": 3, | ||
"width": 4 | ||
}, | ||
"title": "Highest activity apps", | ||
"rawConfiguration": { | ||
"nrqlQueries": [ | ||
{ | ||
"accountId": 0, | ||
"query": "SELECT count(*) FROM Transaction since 1 week ago FACET appName" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"visualization": { | ||
"id": "viz.line" | ||
}, | ||
"layout": { | ||
"column": 9, | ||
"row": 1, | ||
"height": 3, | ||
"width": 4 | ||
}, | ||
"title": "Average Response Time by app", | ||
"rawConfiguration": { | ||
"nrqlQueries": [ | ||
{ | ||
"accountId": 0, | ||
"query": "SELECT average(duration) FROM Transaction since 1 day ago FACET appName TIMESERIES AUTO" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"visualization": { | ||
"id": "viz.billboard" | ||
}, | ||
"layout": { | ||
"column": 5, | ||
"row": 4, | ||
"height": 3, | ||
"width": 4 | ||
}, | ||
"title": "Uptime SLA", | ||
"rawConfiguration": { | ||
"nrqlQueries": [ | ||
{ | ||
"accountId": 0, | ||
"query": "SELECT percentage(count(*),where result = 'SUCCESS') as 'Availability' from SyntheticCheck since 1 day ago COMPARE WITH 1 day ago" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"visualization": { | ||
"id": "viz.pie" | ||
}, | ||
"layout": { | ||
"column": 9, | ||
"row": 4, | ||
"height": 3, | ||
"width": 4 | ||
}, | ||
"title": "Application Response Codes", | ||
"rawConfiguration": { | ||
"nrqlQueries": [ | ||
{ | ||
"accountId": 0, | ||
"query": "SELECT count(*) FROM Transaction since 1 day ago FACET httpResponseCode" | ||
} | ||
] | ||
} | ||
} | ||
] | ||
} | ||
] | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.