diff --git a/alert-policies/lambda-go/CPUUtilization.yml b/alert-policies/lambda-go/CPUUtilization.yml deleted file mode 100644 index 308fb1f6fa..0000000000 --- a/alert-policies/lambda-go/CPUUtilization.yml +++ /dev/null @@ -1,26 +0,0 @@ -name: High CPU Utilization - -description: |+ - This alert is triggered when the CPU Utilization is above 90%. -type: STATIC -nrql: - query: "SELECT rate(sum(apm.service.cpu.usertime.utilization), 1 second) * 100 as cpuUsage FROM Metric WHERE appName like '%'" - -# 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 diff --git a/alert-policies/lambda-go/HighMemoryUsage.yml b/alert-policies/lambda-go/HighMemoryUsage.yml deleted file mode 100644 index 9f1207f614..0000000000 --- a/alert-policies/lambda-go/HighMemoryUsage.yml +++ /dev/null @@ -1,27 +0,0 @@ -name: Memory Usage - -description: |+ - This alert is triggered when Memory usage is above 90% -type: STATIC -nrql: - query: "SELECT average(memoryUsedBytes/memoryTotalBytes) * 100 FROM SystemSample" - -# 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 - diff --git a/alert-policies/lambda-go/LowApdexScore.yml b/alert-policies/lambda-go/LowApdexScore.yml deleted file mode 100644 index 642f6bf43c..0000000000 --- a/alert-policies/lambda-go/LowApdexScore.yml +++ /dev/null @@ -1,27 +0,0 @@ -name: Apdex Score - -description: |+ - This alert is triggered when the Apdex score is below 0.5 for 5 minutes -type: STATIC -nrql: - query: "SELECT apdex(duration, t: 0.5) FROM Transaction WHERE appName like '%'" - -# 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: BELOW - # Value that triggers a violation - threshold: 0.5 - # 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 - diff --git a/alert-policies/lambda-go/TransactionError.yml b/alert-policies/lambda-go/TransactionError.yml deleted file mode 100644 index 8abf806b50..0000000000 --- a/alert-policies/lambda-go/TransactionError.yml +++ /dev/null @@ -1,27 +0,0 @@ -name: Transaction Errors - -description: |+ - This alert is triggered when the the transactions fail more than 10% of the time in 5 minutes. -type: STATIC -nrql: - query: "SELECT count(apm.service.error.count) / count(apm.service.transaction.duration) * 100 as 'Web errors' FROM Metric WHERE appName like '%' AND (transactionType = 'Web')" - -# 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: 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 - diff --git a/dashboards/lambdago/Lambdago.png b/dashboards/lambdago/Lambdago.png deleted file mode 100644 index ff39b8cd26..0000000000 Binary files a/dashboards/lambdago/Lambdago.png and /dev/null differ diff --git a/dashboards/lambdago/Lambdago2.png b/dashboards/lambdago/Lambdago2.png deleted file mode 100644 index c87850e036..0000000000 Binary files a/dashboards/lambdago/Lambdago2.png and /dev/null differ diff --git a/dashboards/lambdago/Lambdago3.png b/dashboards/lambdago/Lambdago3.png deleted file mode 100644 index 20b4e606cc..0000000000 Binary files a/dashboards/lambdago/Lambdago3.png and /dev/null differ diff --git a/dashboards/lambdago/lambdago.json b/dashboards/lambdago/lambdago.json deleted file mode 100644 index 441b7beb4f..0000000000 --- a/dashboards/lambdago/lambdago.json +++ /dev/null @@ -1,561 +0,0 @@ -{ - "name": "Lambda go", - "description": null, - "pages": [ - { - "name": "Lambda go Overview", - "description": null, - "widgets": [ - { - "visualization": { - "id": "viz.markdown" - }, - "layout": { - "column": 1, - "row": 1, - "height": 3, - "width": 5 - }, - "title": "", - "rawConfiguration": { - "text": "\n![Transactions](https://raw.githubusercontent.com/newrelic/newrelic-quickstarts/main/quickstarts/ruby/curb/images/Transactions.png)\n" - }, - "linkedEntityGuids": null - }, - { - "visualization": { - "id": "viz.billboard" - }, - "layout": { - "column": 6, - "row": 1, - "height": 3, - "width": 7 - }, - "title": "Transactions Overview", - "rawConfiguration": { - "dataFormatters": [], - "nrqlQueries": [ - { - "accountId": 0, - "query": "FROM Transaction SELECT count(*) as 'Total transactions', average(duration) as 'Average duration (s)', percentile(duration, 90) as 'Slowest 10%/duration' SINCE 1 week ago WHERE appName LIKE '%'" - } - ], - "thresholds": [] - }, - "linkedEntityGuids": null - }, - { - "visualization": { - "id": "viz.markdown" - }, - "layout": { - "column": 1, - "row": 4, - "height": 3, - "width": 5 - }, - "title": "", - "rawConfiguration": { - "text": "\n![Errors](https://raw.githubusercontent.com/newrelic/newrelic-quickstarts/main/quickstarts/ruby/curb/images/Errors.png)\n" - }, - "linkedEntityGuids": null - }, - { - "visualization": { - "id": "viz.billboard" - }, - "layout": { - "column": 6, - "row": 4, - "height": 3, - "width": 7 - }, - "title": "Errors Overview", - "rawConfiguration": { - "dataFormatters": [], - "nrqlQueries": [ - { - "accountId": 0, - "query": "FROM Transaction SELECT count(*) as 'Total transactions',percentage(count(*), WHERE error IS true) as 'Failed transactions In %', count(*) * percentage(count(*), WHERE error IS true) / 100 as 'Failed transactions' SINCE 1 week ago WHERE appName LIKE '%'" - } - ], - "thresholds": [] - }, - "linkedEntityGuids": null - }, - { - "visualization": { - "id": "viz.markdown" - }, - "layout": { - "column": 1, - "row": 7, - "height": 3, - "width": 5 - }, - "title": "", - "rawConfiguration": { - "text": "\n![VM Metrics](https://raw.githubusercontent.com/newrelic/newrelic-quickstarts/main/quickstarts/ruby/curb/images/VM-metrics.png)\n" - }, - "linkedEntityGuids": null - }, - { - "visualization": { - "id": "viz.billboard" - }, - "layout": { - "column": 6, - "row": 7, - "height": 3, - "width": 7 - }, - "title": "VM Overview", - "rawConfiguration": { - "dataFormatters": [], - "nrqlQueries": [ - { - "accountId": 0, - "query": "FROM Metric SELECT average(apm.service.cpu.usertime.utilization) * 100 as 'Average CPU utilization ', average(apm.service.memory.physical) as 'Average physical memory' WHERE appName like '%' SINCE 1 WEEK AGO" - } - ], - "thresholds": [] - }, - "linkedEntityGuids": null - }, - { - "visualization": { - "id": "viz.markdown" - }, - "layout": { - "column": 5, - "row": 10, - "height": 3, - "width": 5 - }, - "title": "", - "rawConfiguration": { - "text": "## More details available on Application Monitoring (APM) page.\nDive deeper on transaction details, distributed tracing, related entities, anomalies, errors\nand more. [Open the Explorer.](https://onenr.io/0rVRVGaNWja)" - }, - "linkedEntityGuids": null - } - ] - }, - { - "name": "Errors", - "description": null, - "widgets": [ - { - "visualization": { - "id": "viz.billboard" - }, - "layout": { - "column": 1, - "row": 1, - "height": 3, - "width": 8 - }, - "title": "Error Overview", - "rawConfiguration": { - "dataFormatters": [], - "nrqlQueries": [ - { - "accountId": 0, - "query": "FROM Transaction SELECT count(*) as 'Total transactions', percentage(count(*), WHERE error IS true) as 'Failed transactions in %', count(*) * percentage(count(*), WHERE error IS true) / 100 as 'Failed transactions' SINCE 1 week ago" - } - ], - "thresholds": [] - }, - "linkedEntityGuids": null - }, - { - "visualization": { - "id": "viz.table" - }, - "layout": { - "column": 9, - "row": 1, - "height": 3, - "width": 4 - }, - "title": "Top 10 Failed Transactions", - "rawConfiguration": { - "dataFormatters": [], - "facet": { - "showOtherSeries": false - }, - "nrqlQueries": [ - { - "accountId": 0, - "query": "Select percentage(count(*), WHERE error IS true) from Transaction WHERE transactionType = 'Web' facet name SINCE last week" - } - ] - }, - "linkedEntityGuids": null - }, - { - "visualization": { - "id": "viz.line" - }, - "layout": { - "column": 1, - "row": 4, - "height": 3, - "width": 4 - }, - "title": "Transactions Errors Today Compared With 1 Week Ago", - "rawConfiguration": { - "legend": { - "enabled": true - }, - "nrqlQueries": [ - { - "accountId": 0, - "query": "SELECT count(*) from Transaction where response.status = '404' and transactionType = 'Web' TIMESERIES 10 minutes since today COMPARE WITH 1 week ago" - } - ], - "yAxisLeft": { - "zero": true - } - }, - "linkedEntityGuids": null - }, - { - "visualization": { - "id": "viz.billboard" - }, - "layout": { - "column": 5, - "row": 4, - "height": 3, - "width": 4 - }, - "title": "Latest Error", - "rawConfiguration": { - "dataFormatters": [], - "nrqlQueries": [ - { - "accountId": 0, - "query": "FROM TransactionError SELECT latest(timestamp) as 'Latest error' SINCE last week " - } - ], - "thresholds": [] - }, - "linkedEntityGuids": null - }, - { - "visualization": { - "id": "dc5b694f-9125-4c64-8e4e-c52e604c8088.range-chart" - }, - "layout": { - "column": 9, - "row": 4, - "height": 3, - "width": 4 - }, - "title": "Transaction Errors Day By Day", - "rawConfiguration": { - "nrqlQueries": [ - { - "accountId": 0, - "query": "FROM TransactionError SELECT count(*), percentage(count(*), WHERE error IS true) FACET dateOf(timestamp) SINCE 1 week ago" - } - ], - "other": { - "visible": false - } - }, - "linkedEntityGuids": null - } - ] - }, - { - "name": "VM Metrics", - "description": null, - "widgets": [ - { - "visualization": { - "id": "viz.billboard" - }, - "layout": { - "column": 1, - "row": 1, - "height": 3, - "width": 7 - }, - "title": "VM Overview", - "rawConfiguration": { - "dataFormatters": [], - "nrqlQueries": [ - { - "accountId": 0, - "query": "FROM Metric SELECT average(apm.service.cpu.usertime.utilization) * 100 as 'Average CPU utilization ', average(apm.service.memory.physical) as 'Average physical memory' WHERE appName like '%' SINCE 1 WEEK AGO" - } - ], - "thresholds": [] - }, - "linkedEntityGuids": null - }, - { - "visualization": { - "id": "viz.area" - }, - "layout": { - "column": 8, - "row": 1, - "height": 3, - "width": 5 - }, - "title": "CPU Utilization", - "rawConfiguration": { - "legend": { - "enabled": true - }, - "nrqlQueries": [ - { - "accountId": 0, - "query": "SELECT rate(sum(apm.service.cpu.usertime.utilization), 1 second) * 100 as cpuUsage FROM Metric WHERE appName like '%' SINCE 30 minutes ago TIMESERIES" - } - ] - }, - "linkedEntityGuids": null - }, - { - "visualization": { - "id": "viz.area" - }, - "layout": { - "column": 1, - "row": 4, - "height": 3, - "width": 12 - }, - "title": "Average Physical Memory", - "rawConfiguration": { - "legend": { - "enabled": true - }, - "nrqlQueries": [ - { - "accountId": 0, - "query": "SELECT average(apm.service.memory.physical) FROM Metric WHERE appName like '%' SINCE 30 minutes ago TIMESERIES" - } - ] - }, - "linkedEntityGuids": null - } - ] - }, - { - "name": "Transactions", - "description": null, - "widgets": [ - { - "visualization": { - "id": "viz.billboard" - }, - "layout": { - "column": 1, - "row": 1, - "height": 3, - "width": 7 - }, - "title": "Transactions Overview", - "rawConfiguration": { - "dataFormatters": [], - "nrqlQueries": [ - { - "accountId": 0, - "query": "FROM Transaction SELECT count(*), average(duration) as 'Average duration (s)', percentile(duration, 90) as 'Slowest 10%/duration' WHERE appName LIKE '%' SINCE 1 WEEK AGO" - } - ], - "thresholds": [] - }, - "linkedEntityGuids": null - }, - { - "visualization": { - "id": "viz.pie" - }, - "layout": { - "column": 8, - "row": 1, - "height": 3, - "width": 5 - }, - "title": "Most Popular Transactions", - "rawConfiguration": { - "facet": { - "showOtherSeries": false - }, - "nrqlQueries": [ - { - "accountId": 0, - "query": "SELECT count(*) FROM Transaction WHERE (transactionType = 'Web') SINCE last week EXTRAPOLATE FACET name" - } - ] - }, - "linkedEntityGuids": null - }, - { - "visualization": { - "id": "viz.line" - }, - "layout": { - "column": 1, - "row": 4, - "height": 3, - "width": 4 - }, - "title": "Adpex Score Today Compared With 1 Week Ago", - "rawConfiguration": { - "legend": { - "enabled": true - }, - "nrqlQueries": [ - { - "accountId": 0, - "query": "SELECT apdex(duration,t: 0.4) FROM Transaction TIMESERIES SINCE today COMPARE WITH 1 week ago" - } - ], - "yAxisLeft": { - "zero": true - } - }, - "linkedEntityGuids": null - }, - { - "visualization": { - "id": "viz.line" - }, - "layout": { - "column": 5, - "row": 4, - "height": 3, - "width": 4 - }, - "title": "Throughput Today Compared With 1 Week Ago", - "rawConfiguration": { - "legend": { - "enabled": true - }, - "nrqlQueries": [ - { - "accountId": 0, - "query": "SELECT count(*) from Transaction TIMESERIES 1 hour since today COMPARE WITH 1 week ago" - } - ], - "yAxisLeft": { - "zero": true - } - }, - "linkedEntityGuids": null - }, - { - "visualization": { - "id": "viz.line" - }, - "layout": { - "column": 9, - "row": 4, - "height": 3, - "width": 4 - }, - "title": "Average Transaction Duration Today Compared With 1 Week Ago", - "rawConfiguration": { - "dataFormatters": [], - "legend": { - "enabled": true - }, - "nrqlQueries": [ - { - "accountId": 0, - "query": "SELECT average(duration) FROM Transaction TIMESERIES SINCE today COMPARE WITH 1 week ago" - } - ], - "yAxisLeft": { - "zero": true - } - }, - "linkedEntityGuids": null - }, - { - "visualization": { - "id": "dc5b694f-9125-4c64-8e4e-c52e604c8088.stacked-bar-chart" - }, - "layout": { - "column": 1, - "row": 7, - "height": 4, - "width": 4 - }, - "title": "Top 5 Slowest Transactions", - "rawConfiguration": { - "nrqlQueries": [ - { - "accountId": 0, - "query": "SELECT max(duration) FROM Transaction WHERE (transactionType = 'Web') SINCE 1 week ago LIMIT 5 EXTRAPOLATE FACET name" - } - ], - "other": { - "visible": false - }, - "yAxis": { - "label": "Seconds" - } - }, - "linkedEntityGuids": null - }, - { - "visualization": { - "id": "dc5b694f-9125-4c64-8e4e-c52e604c8088.range-chart" - }, - "layout": { - "column": 5, - "row": 7, - "height": 4, - "width": 8 - }, - "title": "Transactions Day By Day ", - "rawConfiguration": { - "nrqlQueries": [ - { - "accountId": 0, - "query": "FROM Transaction SELECT count(*), percentage(count(*), WHERE error IS false) FACET dateOf(timestamp) SINCE 1 week ago" - } - ], - "other": { - "visible": null - } - }, - "linkedEntityGuids": null - }, - { - "visualization": { - "id": "viz.table" - }, - "layout": { - "column": 1, - "row": 11, - "height": 3, - "width": 4 - }, - "title": "Transaction Duration Overview", - "rawConfiguration": { - "dataFormatters": [], - "facet": { - "showOtherSeries": false - }, - "nrqlQueries": [ - { - "accountId": 0, - "query": "SELECT average(duration), max(duration), min(duration) FROM Transaction WHERE appName LIKE '%' FACET name" - } - ] - }, - "linkedEntityGuids": null - } - ] - } - ] -} diff --git a/quickstarts/golang/lambda-go/config.yml b/quickstarts/golang/lambda-go/config.yml deleted file mode 100644 index 118de57acd..0000000000 --- a/quickstarts/golang/lambda-go/config.yml +++ /dev/null @@ -1,41 +0,0 @@ -id: 0ec4a7a7-9f9a-4c1d-af3d-07803619711b -slug: lambda-go -description: | - ## What is Lambda-go (aws-lambda-go)? - - Libraries, samples, and tools to help Go developers develop AWS Lambda - functions. - - - ## Get started! - - Leverage community expertise and instantly get value out of your telemetry data. This quickstart automatically instruments Lambda-go (aws-lambda-go) with the New Relic Go agent, and allows you to further leverage New Relic's APM capabilities by setting up [custom dashboards](https://docs.newrelic.com/docs/query-your-data/explore-query-data/dashboards/introduction-dashboards/), [errors inbox](https://docs.newrelic.com/docs/apm/apm-ui-pages/errors-inbox/errors-inbox/), [transaction tracing](https://docs.newrelic.com/docs/apm/transactions/transaction-traces/introduction-transaction-traces/), and [service maps](https://docs.newrelic.com/docs/understand-dependencies/understand-system-dependencies/service-maps/introduction-service-maps/). - - ## More info - - Check out the [documentation](https://docs.newrelic.com/docs/agents/go-agent/) to learn more about New Relic monitoring for Lambda-go (aws-lambda-go). -summary: | - Monitor Lambda-go (aws-lambda-go) with New Relic's Golang agent -icon: logo.png -level: New Relic -authors: - - New Relic -title: Lambda-go (aws-lambda-go) -documentation: - - name: Lambda-go (aws-lambda-go) installation docs - description: | - Libraries, samples, and tools to help Go developers develop AWS Lambda - functions. - url: https://docs.newrelic.com/docs/agents/go-agent/get-started/go-agent-compatibility-requirements -keywords: - - apm - - golang - - serverless - - NR1_addData - - NR1_sys -dataSourceIds: - - golang -dashboards: - - lambdago -alertPolicies: - - lambda-go diff --git a/quickstarts/golang/lambda-go/logo.png b/quickstarts/golang/lambda-go/logo.png deleted file mode 100644 index ab58737227..0000000000 Binary files a/quickstarts/golang/lambda-go/logo.png and /dev/null differ