diff --git a/alert-policies/amazon-backup/HighBackupJobFailure.yml b/alert-policies/amazon-backup/HighBackupJobFailure.yml new file mode 100644 index 0000000000..e66a20a98f --- /dev/null +++ b/alert-policies/amazon-backup/HighBackupJobFailure.yml @@ -0,0 +1,34 @@ +name: High Backup Job Failure + +description: |+ + This alert is triggered if the number of Backup Job Failure exceeds 10 for 10 minutes. + +type: STATIC +nrql: + query: "SELECT sum(`aws.backup.NumberOfBackupJobsFailed`) 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 diff --git a/alert-policies/amazon-backup/HighCopyJobsFailure.yml b/alert-policies/amazon-backup/HighCopyJobsFailure.yml new file mode 100644 index 0000000000..ff19bcffe8 --- /dev/null +++ b/alert-policies/amazon-backup/HighCopyJobsFailure.yml @@ -0,0 +1,34 @@ +name: High Copy Job Failure + +description: |+ + This alert is triggered if the number of Copy Job Failure exceeds 10 for 10 minutes. + +type: STATIC +nrql: + query: "SELECT sum(`aws.backup.NumberOfCopyJobsFailed`) 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 diff --git a/alert-policies/amazon-backup/HighRestoreJobsFailure.yml.yml b/alert-policies/amazon-backup/HighRestoreJobsFailure.yml.yml new file mode 100644 index 0000000000..7d66ab81bb --- /dev/null +++ b/alert-policies/amazon-backup/HighRestoreJobsFailure.yml.yml @@ -0,0 +1,34 @@ +name: High Restore Job Failure + +description: |+ + This alert is triggered if the number of Restore Job Failure exceeds 10 for 10 minutes. + +type: STATIC +nrql: + query: "SELECT sum(`aws.backup.NumberOfRestoreJobsFailed`) 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 diff --git a/alert-policies/aws-iot-twinmaker/HighComponentTypeCreationFailure.yml b/alert-policies/aws-iot-twinmaker/HighComponentTypeCreationFailure.yml new file mode 100644 index 0000000000..e4db9b2238 --- /dev/null +++ b/alert-policies/aws-iot-twinmaker/HighComponentTypeCreationFailure.yml @@ -0,0 +1,34 @@ +name: High Component Type Creation Failure + +description: |+ + This alert is triggered if the number of component type creation failure exceeds 10 for 5 minutes. + +type: STATIC +nrql: + query: "SELECT sum(`aws.iottwinmaker.ComponentTypeCreationFailure`) 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: 300 + # 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: 300 + 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/aws-iot-twinmaker/HighEntityCreationFailure.yml b/alert-policies/aws-iot-twinmaker/HighEntityCreationFailure.yml new file mode 100644 index 0000000000..8bcc26f950 --- /dev/null +++ b/alert-policies/aws-iot-twinmaker/HighEntityCreationFailure.yml @@ -0,0 +1,34 @@ +name: High Entity Creation Failure + +description: |+ + This alert is triggered if the number of entity creation failure exceeds 10 for 5 minutes. + +type: STATIC +nrql: + query: "SELECT sum(`aws.iottwinmaker.EntityCreationFailure`) 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: 300 + # 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: 300 + thresholdOccurrences: ALL + +# Duration after which a violation automatically closes +# Time in seconds; 300 - 2592000 (Default: 86400 [1 day]) +violationTimeLimitSeconds: 86400 diff --git a/dashboards/adobe-commerce-business-insights/adobe-commerce-business-insights.json b/dashboards/adobe-commerce-business-insights/adobe-commerce-business-insights.json index e297e653a1..c095eaade0 100644 --- a/dashboards/adobe-commerce-business-insights/adobe-commerce-business-insights.json +++ b/dashboards/adobe-commerce-business-insights/adobe-commerce-business-insights.json @@ -3544,7 +3544,7 @@ "nrqlQueries": [ { "accountIds": [], - "query": "SELECT latest(`apache.server.scoreboard.totalWorkers`) * uniqueCount(entity.name) as 'Total Workers', latest(`apache.server.idleWorkers`) * uniqueCount(entity.name) as 'Idle Workers', latest(`apache.server.busyWorkers`) * uniqueCount(entity.name) as 'Busy Workers' FROM Metric WHERE `metricName` IN ('apache.server.scoreboard.totalWorkers', 'apache.server.idleWorkers', 'apache.server.busyWorkers') TIMESERIES" + "query": "SELECT (latest(server.scoreboard.totalWorkers) * uniqueCount(entityName)) AS `Total Workers`, (latest(server.idleWorkers) * uniqueCount(entityName)) AS `Idle Workers`, (latest(server.busyWorkers) * uniqueCount(entityName)) AS `Busy Workers` FROM ApacheSample TIMESERIES" } ], "platformOptions": { @@ -3593,7 +3593,7 @@ "nrqlQueries": [ { "accountId": 0, - "query": "SELECT latest(host.cpuPercent) AS 'CPU used %' FROM Metric TIMESERIES" + "query": "SELECT latest(cpuPercent) AS `CPU used %` FROM SystemSample TIMESERIES" } ], "platformOptions": { @@ -3623,7 +3623,7 @@ "nrqlQueries": [ { "accountId": 0, - "query": "SELECT latest(host.memoryUsedPercent) AS 'Memory used %' FROM Metric TIMESERIES" + "query": "SELECT latest(memoryUsedPercent) AS `Memory used %` FROM SystemSample TIMESERIES" } ], "platformOptions": { @@ -3653,7 +3653,7 @@ "nrqlQueries": [ { "accountId": 0, - "query": "SELECT latest(host.disk.usedPercent) as 'Storage used %' FROM Metric TIMESERIES" + "query": "SELECT latest(diskUsedPercent) AS `Storage used %` FROM StorageSample TIMESERIES" } ], "platformOptions": { @@ -3680,7 +3680,7 @@ "nrqlQueries": [ { "accountId": 0, - "query": "SELECT latest(host.disk.usedPercent) as 'Used %' FROM Metric FACET device" + "query": "SELECT latest(diskUsedPercent) AS `Used %` FROM StorageSample FACET device" } ], "platformOptions": { diff --git a/dashboards/amazon-backup/amazon-backup.json b/dashboards/amazon-backup/amazon-backup.json new file mode 100644 index 0000000000..02415f1edb --- /dev/null +++ b/dashboards/amazon-backup/amazon-backup.json @@ -0,0 +1,517 @@ +{ + "name": "AWS Backup", + "description": null, + "pages": [ + { + "name": "AWS Backup Jobs", + "description": null, + "widgets": [ + { + "title": "", + "layout": { + "column": 1, + "row": 1, + "width": 2, + "height": 2 + }, + "visualization": { + "id": "viz.markdown" + }, + "rawConfiguration": { + "text": "# AWS Backup\nAWS Backup is a fully-managed service that makes it easy to centralize and automate data protection across AWS services, in the cloud, and on premises. Using this service, you can configure backup policies and monitor activity for your AWS resources in one place." + } + }, + { + "title": "NumberOfBackupJobsCreated", + "layout": { + "column": 3, + "row": 1, + "width": 10, + "height": 2 + }, + "visualization": { + "id": "viz.line" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountId": 0, + "query": "FROM Metric SELECT sum(aws.backup.NumberOfBackupJobsCreated) AS 'NumberOfBackupJobsCreated' TIMESERIES AUTO FACET aws.backup.ResourceType" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "yAxisLeft": { + "zero": true + }, + "yAxisRight": { + "zero": true + } + } + }, + { + "title": "NumberOfBackupJobsPending", + "layout": { + "column": 1, + "row": 3, + "width": 4, + "height": 3 + }, + "visualization": { + "id": "viz.line" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountId": 0, + "query": "FROM Metric SELECT sum(aws.backup.NumberOfBackupJobsPending) AS 'NumberOfBackupJobsPending' TIMESERIES AUTO FACET aws.backup.ResourceType" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "yAxisLeft": { + "zero": true + }, + "yAxisRight": { + "zero": true + } + } + }, + { + "title": "NumberOfBackupJobsRunning", + "layout": { + "column": 5, + "row": 3, + "width": 4, + "height": 3 + }, + "visualization": { + "id": "viz.line" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountId": 0, + "query": "FROM Metric SELECT sum(aws.backup.NumberOfBackupJobsRunning) AS 'NumberOfBackupJobsRunning' TIMESERIES AUTO FACET aws.backup.ResourceType" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "yAxisLeft": { + "zero": true + }, + "yAxisRight": { + "zero": true + } + } + }, + { + "title": "NumberOfBackupJobsAborted", + "layout": { + "column": 9, + "row": 3, + "width": 4, + "height": 3 + }, + "visualization": { + "id": "viz.line" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountId": 0, + "query": "FROM Metric SELECT sum(aws.backup.NumberOfBackupJobsAborted) AS 'NumberOfBackupJobsAborted' TIMESERIES AUTO FACET aws.backup.ResourceType" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "yAxisLeft": { + "zero": true + }, + "yAxisRight": { + "zero": true + } + } + }, + { + "title": "NumberOfBackupJobsCompleted", + "layout": { + "column": 1, + "row": 6, + "width": 4, + "height": 3 + }, + "visualization": { + "id": "viz.line" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountId": 0, + "query": "FROM Metric SELECT sum(aws.backup.NumberOfBackupJobsCompleted) AS 'NumberOfBackupJobsCompleted' TIMESERIES AUTO FACET aws.backup.ResourceType" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "yAxisLeft": { + "zero": true + }, + "yAxisRight": { + "zero": true + } + } + }, + { + "title": "NumberOfBackupJobsFailed", + "layout": { + "column": 5, + "row": 6, + "width": 4, + "height": 3 + }, + "visualization": { + "id": "viz.line" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountId": 0, + "query": "FROM Metric SELECT sum(aws.backup.NumberOfBackupJobsFailed) AS 'NumberOfBackupJobsFailed' TIMESERIES AUTO FACET aws.backup.ResourceType" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "yAxisLeft": { + "zero": true + }, + "yAxisRight": { + "zero": true + } + } + }, + { + "title": "NumberOfBackupJobsExpired", + "layout": { + "column": 9, + "row": 6, + "width": 4, + "height": 3 + }, + "visualization": { + "id": "viz.line" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountId": 0, + "query": "FROM Metric SELECT sum(aws.backup.NumberOfBackupJobsExpired) AS 'NumberOfBackupJobsExpired' TIMESERIES AUTO FACET aws.backup.ResourceType" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "yAxisLeft": { + "zero": true + }, + "yAxisRight": { + "zero": true + } + } + }, + { + "title": "NumberOfCopyJobsCreated", + "layout": { + "column": 1, + "row": 9, + "width": 4, + "height": 3 + }, + "visualization": { + "id": "viz.line" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountId": 0, + "query": "FROM Metric SELECT sum(aws.backup.NumberOfCopyJobsCreated) AS 'NumberOfCopyJobsCreated' TIMESERIES AUTO FACET aws.backup.ResourceType" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "yAxisLeft": { + "zero": true + }, + "yAxisRight": { + "zero": true + } + } + }, + { + "title": "NumberOfCopyJobsRunning", + "layout": { + "column": 5, + "row": 9, + "width": 4, + "height": 3 + }, + "visualization": { + "id": "viz.line" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountId": 0, + "query": "FROM Metric SELECT sum(aws.backup.NumberOfCopyJobsRunning) AS 'NumberOfCopyJobsRunning' TIMESERIES AUTO FACET aws.backup.ResourceType" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "yAxisLeft": { + "zero": true + }, + "yAxisRight": { + "zero": true + } + } + }, + { + "title": "NumberOfCopyJobsFailed", + "layout": { + "column": 9, + "row": 9, + "width": 4, + "height": 3 + }, + "visualization": { + "id": "viz.line" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountId": 0, + "query": "FROM Metric SELECT sum(aws.backup.NumberOfCopyJobsFailed) AS 'NumberOfCopyJobsFailed' TIMESERIES AUTO FACET aws.backup.ResourceType" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "yAxisLeft": { + "zero": true + }, + "yAxisRight": { + "zero": true + } + } + }, + { + "title": "NumberOfCopyJobsCompleted", + "layout": { + "column": 1, + "row": 12, + "width": 4, + "height": 3 + }, + "visualization": { + "id": "viz.line" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountId": 0, + "query": "FROM Metric SELECT sum(aws.backup.NumberOfCopyJobsCompleted) AS 'NumberOfCopyJobsCompleted' TIMESERIES AUTO FACET aws.backup.ResourceType" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "yAxisLeft": { + "zero": true + }, + "yAxisRight": { + "zero": true + } + } + }, + { + "title": "NumberOfRestoreJobsPending", + "layout": { + "column": 5, + "row": 12, + "width": 4, + "height": 3 + }, + "visualization": { + "id": "viz.line" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountId": 0, + "query": "FROM Metric SELECT sum(aws.backup.NumberOfRestoreJobsPending) AS 'NumberOfRestoreJobsPending' TIMESERIES AUTO FACET aws.backup.ResourceType" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "yAxisLeft": { + "zero": true + }, + "yAxisRight": { + "zero": true + } + } + }, + { + "title": "NumberOfRestoreJobsRunning", + "layout": { + "column": 9, + "row": 12, + "width": 4, + "height": 3 + }, + "visualization": { + "id": "viz.line" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountId": 0, + "query": "FROM Metric SELECT sum(aws.backup.NumberOfRestoreJobsRunning) AS 'NumberOfRestoreJobsRunning' TIMESERIES AUTO FACET aws.backup.ResourceType" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "yAxisLeft": { + "zero": true + }, + "yAxisRight": { + "zero": true + } + } + }, + { + "title": "NumberOfRecoveryPointsCompleted", + "layout": { + "column": 1, + "row": 15, + "width": 12, + "height": 3 + }, + "visualization": { + "id": "viz.line" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountId": 0, + "query": "FROM Metric SELECT sum(aws.backup.NumberOfRecoveryPointsCompleted) AS 'NumberOfRecoveryPointsCompleted' TIMESERIES AUTO FACET aws.backup.ResourceType" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "yAxisLeft": { + "zero": true + }, + "yAxisRight": { + "zero": true + } + } + } + ] + } + ] +} diff --git a/dashboards/amazon-backup/amazon-backup01.png b/dashboards/amazon-backup/amazon-backup01.png new file mode 100644 index 0000000000..79329da60b Binary files /dev/null and b/dashboards/amazon-backup/amazon-backup01.png differ diff --git a/dashboards/amazon-backup/amazon-backup02.png b/dashboards/amazon-backup/amazon-backup02.png new file mode 100644 index 0000000000..bc904e8a35 Binary files /dev/null and b/dashboards/amazon-backup/amazon-backup02.png differ diff --git a/dashboards/amazon-backup/amazon-backup03.png b/dashboards/amazon-backup/amazon-backup03.png new file mode 100644 index 0000000000..07d681f2b4 Binary files /dev/null and b/dashboards/amazon-backup/amazon-backup03.png differ diff --git a/dashboards/ansible-automation-controller/dashboard.json b/dashboards/ansible-automation-controller/dashboard.json index 3ce2db3962..7c2f498cb3 100644 --- a/dashboards/ansible-automation-controller/dashboard.json +++ b/dashboards/ansible-automation-controller/dashboard.json @@ -927,7 +927,7 @@ "nrqlQueries": [ { "accountId": 0, - "query": " FROM Metric SELECT average(host.loadAverageOneMinute), percentile(host.loadAverageOneMinute) SINCE 7 days ago COMPARE WITH 1 week ago" + "query": "SELECT average(loadAverageOneMinute), percentile(loadAverageOneMinute) FROM SystemSample SINCE 7 DAYS AGO COMPARE WITH 1 WEEK AGO" } ], "platformOptions": { diff --git a/dashboards/apache-hadoop/apache-hadoop.json b/dashboards/apache-hadoop/apache-hadoop.json index b244742d86..19c4fdee4e 100644 --- a/dashboards/apache-hadoop/apache-hadoop.json +++ b/dashboards/apache-hadoop/apache-hadoop.json @@ -1231,7 +1231,7 @@ "nrqlQueries": [ { "accountIds": [], - "query": "SELECT average(host.cpuPercent) AS 'CPU Used %' FROM Metric TIMESERIES auto" + "query": "SELECT average(cpuPercent) AS `CPU Used %` FROM SystemSample TIMESERIES AUTO" } ], "platformOptions": { @@ -1266,7 +1266,7 @@ "nrqlQueries": [ { "accountIds": [], - "query": "SELECT average(host.memoryUsedPercent) AS 'Memory used %' FROM Metric TIMESERIES auto" + "query": "SELECT average(memoryUsedPercent) AS `Memory used %` FROM SystemSample TIMESERIES AUTO" } ], "platformOptions": { @@ -1296,7 +1296,7 @@ "nrqlQueries": [ { "accountIds": [], - "query": "SELECT average(host.disk.usedPercent) as 'Storage used %' FROM Metric TIMESERIES auto" + "query": "SELECT average(diskUsedPercent) AS `Storage used %` FROM StorageSample TIMESERIES AUTO" } ], "platformOptions": { @@ -1326,7 +1326,7 @@ "nrqlQueries": [ { "accountIds": [], - "query": "SELECT average(host.net.transmitBytesPerSecond) AS 'Transmit bytes per second', average(host.net.receiveBytesPerSecond) AS 'Receive bytes per second' FROM Metric TIMESERIES auto" + "query": "SELECT average(transmitBytesPerSecond) AS `Transmit bytes per second`, average(receiveBytesPerSecond) AS `Receive bytes per second` FROM NetworkSample TIMESERIES AUTO" } ], "platformOptions": { @@ -1356,7 +1356,7 @@ "nrqlQueries": [ { "accountIds": [], - "query": "SELECT average(host.loadAverageOneMinute) as '1 minute', average(host.loadAverageFiveMinute) AS '5 minutes', average(host.loadAverageFifteenMinute) AS '15 minutes' FROM Metric TIMESERIES auto" + "query": "SELECT average(loadAverageOneMinute) AS `1 minute`, average(loadAverageFiveMinute) AS `5 minutes`, average(loadAverageFifteenMinute) AS `15 minutes` FROM SystemSample TIMESERIES AUTO" } ], "platformOptions": { @@ -1383,7 +1383,7 @@ "nrqlQueries": [ { "accountIds": [], - "query": "SELECT latest(host.process.cpuPercent) as 'CPU %', latest(host.process.threadCount) as 'Threads' FROM Metric FACET processId, processDisplayName ORDER BY cpuPercent asc LIMIT 100" + "query": "SELECT latest(cpuPercent) AS `CPU %`, latest(threadCount) AS `Threads` FROM ProcessSample FACET tuple(processId, processDisplayName) LIMIT 100" } ], "platformOptions": { diff --git a/dashboards/apache-traffic-server/apache-traffic-server.json b/dashboards/apache-traffic-server/apache-traffic-server.json index 206d3aeb9b..b182e19d5d 100644 --- a/dashboards/apache-traffic-server/apache-traffic-server.json +++ b/dashboards/apache-traffic-server/apache-traffic-server.json @@ -427,7 +427,7 @@ "nrqlQueries": [ { "accountIds": [], - "query": "SELECT average(host.net.receiveBytesPerSecond) AS 'receive bytes per second', average(host.net.transmitBytesPerSecond) AS 'transmit bytes per second' FROM Metric TIMESERIES AUTO " + "query": "SELECT average(receiveBytesPerSecond) AS `receive bytes per second`, average(transmitBytesPerSecond) AS `transmit bytes per second` FROM NetworkSample TIMESERIES AUTO " } ], "platformOptions": { @@ -457,7 +457,7 @@ "nrqlQueries": [ { "accountIds": [], - "query": "SELECT average(host.net.receivePacketsPerSecond) AS 'receive packets per second', average(host.net.transmitPacketsPerSecond) AS 'transmit packets per second' FROM Metric TIMESERIES AUTO " + "query": "SELECT average(receivePacketsPerSecond) AS `receive packets per second`, average(transmitPacketsPerSecond) AS `transmit packets per second` FROM NetworkSample TIMESERIES AUTO " } ], "platformOptions": { @@ -1335,7 +1335,7 @@ "nrqlQueries": [ { "accountIds": [], - "query": "SELECT average(host.cpuPercent) AS 'CPU used %' FROM Metric TIMESERIES auto" + "query": "SELECT average(cpuPercent) AS `CPU used %` FROM SystemSample TIMESERIES AUTO" } ], "platformOptions": { @@ -1365,7 +1365,7 @@ "nrqlQueries": [ { "accountIds": [], - "query": "SELECT average(host.memoryUsedPercent) AS 'Memory used %' FROM Metric TIMESERIES auto" + "query": "SELECT average(memoryUsedPercent) AS `Memory used %` FROM SystemSample TIMESERIES AUTO" } ], "platformOptions": { @@ -1400,7 +1400,7 @@ "nrqlQueries": [ { "accountIds": [], - "query": "SELECT average(host.disk.usedPercent) as 'Storage used %' FROM Metric TIMESERIES auto" + "query": "SELECT average(diskUsedPercent) AS `Storage used %` FROM StorageSample TIMESERIES AUTO" } ], "platformOptions": { @@ -1435,7 +1435,7 @@ "nrqlQueries": [ { "accountIds": [], - "query": "SELECT average(host.diskFreePercent) FROM Metric TIMESERIES auto" + "query": "SELECT average(diskFreePercent) FROM SystemSample TIMESERIES AUTO" } ], "platformOptions": { @@ -1465,7 +1465,7 @@ "nrqlQueries": [ { "accountIds": [], - "query": "SELECT average(host.loadAverageOneMinute) as '1 minute', average(host.loadAverageFiveMinute) AS '5 minutes', average(host.loadAverageFifteenMinute) AS '15 minutes' FROM Metric TIMESERIES auto" + "query": "SELECT average(loadAverageOneMinute) AS `1 minute`, average(loadAverageFiveMinute) AS `5 minutes`, average(loadAverageFifteenMinute) AS `15 minutes` FROM SystemSample TIMESERIES AUTO" } ], "platformOptions": { @@ -1495,7 +1495,7 @@ "nrqlQueries": [ { "accountIds": [], - "query": "SELECT latest(host.process.cpuPercent) as 'CPU %', latest(host.process.threadCount) as 'Threads' FROM Metric FACET processId, processDisplayName ORDER BY cpuPercent asc LIMIT 100" + "query": "SELECT latest(cpuPercent) AS `CPU %`, latest(threadCount) AS `Threads` FROM ProcessSample FACET tuple(processId, processDisplayName) LIMIT 100" } ], "platformOptions": { diff --git a/dashboards/apache-zooKeeper/dashboard.json b/dashboards/apache-zooKeeper/dashboard.json index 9ab99044a7..d5fcafb7ec 100644 --- a/dashboards/apache-zooKeeper/dashboard.json +++ b/dashboards/apache-zooKeeper/dashboard.json @@ -1044,7 +1044,7 @@ "nrqlQueries": [ { "accountIds": [], - "query": "SELECT average(host.cpuPercent) AS 'CPU used %' FROM Metric WHERE entityName IN ({{entity_name}}) TIMESERIES auto" + "query": "SELECT average(cpuPercent) AS `CPU used %` FROM SystemSample WHERE (entityName IN ({{entity_name}})) TIMESERIES AUTO" } ], "platformOptions": { @@ -1074,7 +1074,7 @@ "nrqlQueries": [ { "accountIds": [], - "query": "SELECT average(host.memoryUsedPercent) AS 'Memory used %' FROM Metric WHERE entityName IN ({{entity_name}}) TIMESERIES auto" + "query": "SELECT average(memoryUsedPercent) AS `Memory used %` FROM SystemSample WHERE (entityName IN ({{entity_name}})) TIMESERIES AUTO" } ], "platformOptions": { @@ -1109,7 +1109,7 @@ "nrqlQueries": [ { "accountIds": [], - "query": "SELECT latest(host.disk.usedPercent) as 'Used %' FROM Metric FACET device WHERE entityName IN ({{entity_name}}) LIMIT MAX TIMESERIES AUTO " + "query": "SELECT latest(diskUsedPercent) AS `Used %` FROM StorageSample WHERE (entityName IN ({{entity_name}})) FACET device LIMIT MAX TIMESERIES AUTO " } ], "platformOptions": { diff --git a/dashboards/apache/apache.json b/dashboards/apache/apache.json index 95eebde7ee..0690b720e0 100644 --- a/dashboards/apache/apache.json +++ b/dashboards/apache/apache.json @@ -589,7 +589,7 @@ "nrqlQueries": [ { "accountIds": [], - "query": "SELECT latest(host.cpuPercent) AS 'CPU Usage (%)' FROM Metric TIMESERIES " + "query": "SELECT latest(cpuPercent) AS `CPU Usage (%)` FROM SystemSample TIMESERIES" } ], "platformOptions": { @@ -619,7 +619,7 @@ "nrqlQueries": [ { "accountIds": [], - "query": "SELECT latest(host.disk.usedPercent) as 'Disk Usage (%)' FROM Metric TIMESERIES " + "query": "SELECT latest(diskUsedPercent) AS `Disk Usage (%)` FROM StorageSample TIMESERIES" } ], "platformOptions": { @@ -649,7 +649,7 @@ "nrqlQueries": [ { "accountIds": [], - "query": "SELECT latest(host.memoryUsedPercent) AS 'Memory Usage (%)' FROM Metric TIMESERIES " + "query": "SELECT latest(memoryUsedPercent) AS `Memory Usage (%)` FROM SystemSample TIMESERIES" } ], "platformOptions": { @@ -679,7 +679,7 @@ "nrqlQueries": [ { "accountIds": [], - "query": "SELECT latest(host.disk.usedPercent) as 'Storage Usage (%)' FROM Metric TIMESERIES" + "query": "SELECT latest(diskUsedPercent) AS `Storage Usage (%)` FROM StorageSample TIMESERIES" } ], "platformOptions": { @@ -914,7 +914,7 @@ "nrqlQueries": [ { "accountIds": [], - "query": "SELECT latest(host.cpuPercent) AS 'CPU Usage (%)' FROM Metric TIMESERIES" + "query": "SELECT latest(cpuPercent) AS `CPU Usage (%)` FROM SystemSample TIMESERIES" } ], "platformOptions": { @@ -944,7 +944,7 @@ "nrqlQueries": [ { "accountIds": [], - "query": "SELECT latest(host.memoryUsedPercent) AS 'Memory Usage (%)' FROM Metric TIMESERIES" + "query": "SELECT latest(memoryUsedPercent) AS `Memory Usage (%)` FROM SystemSample TIMESERIES" } ], "platformOptions": { diff --git a/dashboards/aws-iot-twinmaker/aws-iot-twinmaker.json b/dashboards/aws-iot-twinmaker/aws-iot-twinmaker.json new file mode 100644 index 0000000000..86b558f756 --- /dev/null +++ b/dashboards/aws-iot-twinmaker/aws-iot-twinmaker.json @@ -0,0 +1,167 @@ +{ + "name": "AWS IoT TwinMaker", + "description": null, + "pages": [ + { + "name": "AWS IoT TwinMaker", + "description": null, + "widgets": [ + { + "title": "", + "layout": { + "column": 1, + "row": 1, + "width": 3, + "height": 3 + }, + "visualization": { + "id": "viz.markdown" + }, + "rawConfiguration": { + "text": "# AWS IoT TwinMaker\n\nAWS IoT TwinMaker is an AWS IoT service that you can use to build operational digital twins of physical and digital systems. AWS IoT TwinMaker creates digital visualizations using measurements and analysis from a variety of real-world sensors, cameras, and enterprise applications to help you keep track of your physical factory, building, or industrial plant." + } + }, + { + "title": "Entity creation failure", + "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.iottwinmaker.EntityCreationFailure) AS 'EntityCreationFailure' TIMESERIES AUTO FACET aws.iottwinmaker.WorkspaceId " + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "yAxisLeft": { + "zero": true + }, + "yAxisRight": { + "zero": true + } + } + }, + { + "title": "Entity update failure", + "layout": { + "column": 1, + "row": 4, + "width": 4, + "height": 3 + }, + "visualization": { + "id": "viz.line" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountId": 0, + "query": "FROM Metric select sum(aws.iottwinmaker.EntityUpdateFailure) AS 'EntityUpdateFailure' TIMESERIES AUTO FACET aws.iottwinmaker.WorkspaceId " + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "yAxisLeft": { + "zero": true + }, + "yAxisRight": { + "zero": true + } + } + }, + { + "title": "Entity deletion failure", + "layout": { + "column": 5, + "row": 4, + "width": 4, + "height": 3 + }, + "visualization": { + "id": "viz.line" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountId": 0, + "query": "FROM Metric select sum(aws.iottwinmaker.EntityDeletionFailure) AS 'EntityDeletionFailure' TIMESERIES AUTO FACET aws.iottwinmaker.WorkspaceId " + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "yAxisLeft": { + "zero": true + }, + "yAxisRight": { + "zero": true + } + } + }, + { + "title": "Component Type Creation & Update Failure", + "layout": { + "column": 9, + "row": 4, + "width": 4, + "height": 3 + }, + "visualization": { + "id": "viz.line" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountId": 0, + "query": "FROM Metric select sum(aws.iottwinmaker.ComponentTypeCreationFailure) AS 'ComponentTypeCreationFailure',sum(aws.iottwinmaker.ComponentTypeUpdateFailure) AS 'ComponentTypeUpdateFailure' TIMESERIES AUTO FACET aws.iottwinmaker.WorkspaceId " + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "yAxisLeft": { + "zero": true + }, + "yAxisRight": { + "zero": true + } + } + } + ] + } + ] + } \ No newline at end of file diff --git a/dashboards/aws-iot-twinmaker/aws-iot-twinmaker.png b/dashboards/aws-iot-twinmaker/aws-iot-twinmaker.png new file mode 100644 index 0000000000..665a3ebfd2 Binary files /dev/null and b/dashboards/aws-iot-twinmaker/aws-iot-twinmaker.png differ diff --git a/dashboards/aws-vpn/aws-vpn.json b/dashboards/aws-vpn/aws-vpn.json new file mode 100644 index 0000000000..7dffb5b7db --- /dev/null +++ b/dashboards/aws-vpn/aws-vpn.json @@ -0,0 +1,132 @@ +{ + "name": "AWS VPN", + "description": null, + "pages": [ + { + "name": "AWS VPN", + "description": null, + "widgets": [ + { + "title": "", + "layout": { + "column": 1, + "row": 1, + "width": 4, + "height": 3 + }, + "visualization": { + "id": "viz.markdown" + }, + "rawConfiguration": { + "text": "# AWS VPN\nAmazon Virtual Private Cloud is a commercial cloud computing service that provides a virtual private cloud, by provisioning a logically isolated section of Amazon Web Services Cloud. Enterprise customers can access the Amazon Elastic Compute Cloud over an IPsec based virtual private network." + } + }, + { + "title": "Tunnel data in", + "layout": { + "column": 5, + "row": 1, + "width": 4, + "height": 3 + }, + "visualization": { + "id": "viz.line" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountId": 0, + "query": "FROM Metric SELECT sum(aws.vpn.TunnelDataIn) AS 'TunnelDataIn' TIMESERIES AUTO FACET aws.vpn.VpnId" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "yAxisLeft": { + "zero": true + }, + "yAxisRight": { + "zero": true + } + } + }, + { + "title": "Tunnel data out", + "layout": { + "column": 9, + "row": 1, + "width": 4, + "height": 3 + }, + "visualization": { + "id": "viz.line" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountId": 0, + "query": "FROM Metric SELECT sum(aws.vpn.TunnelDataOut) AS 'TunnelDataOut' TIMESERIES AUTO FACET aws.vpn.VpnId" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "yAxisLeft": { + "zero": true + }, + "yAxisRight": { + "zero": true + } + } + }, + { + "title": "Tunnel state", + "layout": { + "column": 1, + "row": 4, + "width": 12, + "height": 4 + }, + "visualization": { + "id": "viz.line" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountId": 0, + "query": "FROM Metric SELECT sum(aws.vpn.TunnelState) AS 'TunnelState' TIMESERIES AUTO FACET aws.vpn.VpnId " + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "yAxisLeft": { + "zero": true + }, + "yAxisRight": { + "zero": true + } + } + } + ] + } + ] + } \ No newline at end of file diff --git a/dashboards/aws-vpn/aws-vpn.png b/dashboards/aws-vpn/aws-vpn.png new file mode 100644 index 0000000000..090155a530 Binary files /dev/null and b/dashboards/aws-vpn/aws-vpn.png differ diff --git a/dashboards/blazor-server/blazor-server.json b/dashboards/blazor-server/blazor-server.json index 9f56724b65..2e7a1ef2d6 100644 --- a/dashboards/blazor-server/blazor-server.json +++ b/dashboards/blazor-server/blazor-server.json @@ -741,7 +741,7 @@ "nrqlQueries": [ { "accountId": 0, - "query": "SELECT latest(host.cpuPercent) AS 'CPU (%)' FROM Metric TIMESERIES auto" + "query": "SELECT latest(cpuPercent) AS `CPU (%)` FROM SystemSample TIMESERIES AUTO" } ], "platformOptions": { @@ -771,7 +771,7 @@ "nrqlQueries": [ { "accountId": 0, - "query": "SELECT latest(host.memoryUsedPercent) AS 'Memory (%)' FROM Metric TIMESERIES auto" + "query": "SELECT latest(memoryUsedPercent) AS `Memory (%)` FROM SystemSample TIMESERIES AUTO" } ], "platformOptions": { @@ -801,7 +801,7 @@ "nrqlQueries": [ { "accountId": 0, - "query": "SELECT latest(host.disk.usedPercent) as 'Storage (%)' FROM Metric TIMESERIES auto" + "query": "SELECT latest(diskUsedPercent) AS `Storage (%)` FROM StorageSample TIMESERIES AUTO" } ], "platformOptions": { @@ -831,7 +831,7 @@ "nrqlQueries": [ { "accountId": 0, - "query": "SELECT latest(host.disk.usedPercent) as 'Used %' FROM Metric FACET device LIMIT MAX" + "query": "SELECT latest(diskUsedPercent) AS `Used %` FROM StorageSample FACET device LIMIT MAX" } ], "platformOptions": { @@ -861,7 +861,7 @@ "nrqlQueries": [ { "accountId": 0, - "query": "SELECT latest(host.net.transmitBytesPerSecond) AS 'Transmit Bytes per Second', latest(host.net.receiveBytesPerSecond) AS 'Receive Bytes per Second' FROM Metric TIMESERIES auto" + "query": "SELECT latest(transmitBytesPerSecond) AS `Transmit Bytes per Second`, latest(receiveBytesPerSecond) AS `Receive Bytes per Second` FROM NetworkSample TIMESERIES AUTO" } ], "platformOptions": { @@ -888,7 +888,7 @@ "nrqlQueries": [ { "accountId": 0, - "query": "SELECT latest(host.process.cpuPercent) as 'CPU %', latest(host.process.threadCount) as 'Threads' FROM Metric FACET processId, processDisplayName ORDER BY cpuPercent asc LIMIT 20" + "query": "SELECT latest(cpuPercent) AS `CPU %`, latest(threadCount) AS `Threads` FROM ProcessSample FACET tuple(processId, processDisplayName) LIMIT 20" } ], "platformOptions": { @@ -918,7 +918,7 @@ "nrqlQueries": [ { "accountId": 0, - "query": "SELECT average(host.loadAverageOneMinute) as '1 minute', average(host.loadAverageFiveMinute) AS '5 minutes', average(host.loadAverageFifteenMinute) AS '15 minutes' FROM Metric TIMESERIES auto" + "query": "SELECT average(loadAverageOneMinute) AS `1 minute`, average(loadAverageFiveMinute) AS `5 minutes`, average(loadAverageFifteenMinute) AS `15 minutes` FROM SystemSample TIMESERIES AUTO" } ], "platformOptions": { diff --git a/dashboards/cassandra/cassandra.json b/dashboards/cassandra/cassandra.json index f7c787e0ed..09cf8f7958 100644 --- a/dashboards/cassandra/cassandra.json +++ b/dashboards/cassandra/cassandra.json @@ -18,7 +18,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT average(`cassandra.node.query.casWriteRequestsPerSecond`) * uniqueCount(entity.name) AS 'Cas Write', average(`cassandra.node.query.casReadRequestsPerSecond`) * uniqueCount(entity.name) AS 'Cas Read', average(`cassandra.node.query.viewWriteRequestsPerSecond`) * uniqueCount(entity.name) AS 'View Write', average(`cassandra.node.query.rangeSliceRequestsPerSecond`) * uniqueCount(entity.name) AS 'Range Slice', average(`cassandra.node.query.readRequestsPerSecond`) * uniqueCount(entity.name) AS 'Read', average(`cassandra.node.query.writeRequestsPerSecond`) * uniqueCount(entity.name) AS 'Write' FROM Metric WHERE `metricName` IN ('cassandra.node.query.casWriteRequestsPerSecond', 'cassandra.node.query.casReadRequestsPerSecond', 'cassandra.node.query.viewWriteRequestsPerSecond', 'cassandra.node.query.rangeSliceRequestsPerSecond', 'cassandra.node.query.readRequestsPerSecond', 'cassandra.node.query.writeRequestsPerSecond') TIMESERIES UNTIL 1 minute AGO" + "query" : "SELECT (average(query.CASWriteRequestsPerSecond) * uniqueCount(entityName)) AS `Cas Write`, (average(query.CASReadRequestsPerSecond) * uniqueCount(entityName)) AS `Cas Read`, (average(query.viewWriteRequestsPerSecond) * uniqueCount(entityName)) AS `View Write`, (average(query.rangeSliceRequestsPerSecond) * uniqueCount(entityName)) AS `Range Slice`, (average(query.readRequestsPerSecond) * uniqueCount(entityName)) AS `Read`, (average(query.writeRequestsPerSecond) * uniqueCount(entityName)) AS `Write` FROM CassandraSample UNTIL 1 MINUTES AGO TIMESERIES AUTO" } ] } }, { @@ -48,7 +48,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT average(`cassandra.node.threadPool.counterMutationStage.pendingTasks`) * uniqueCount(entity.name) AS 'Counter Mutation Stage', average(`cassandra.node.threadPool.viewMutationStage.pendingTasks`) * uniqueCount(entity.name) AS 'View Mutation Stage', average(`cassandra.node.threadPool.readRepairStage.pendingTasks`) * uniqueCount(entity.name) AS 'Read Repair Stage', average(`cassandra.node.threadPool.readStage.pendingTasks`) * uniqueCount(entity.name) AS 'Read Stage', average(`cassandra.node.threadPool.requestResponseStage.pendingTasks`) * uniqueCount(entity.name) AS 'Request Response Stage', average(`cassandra.node.threadPool.mutationStage.pendingTasks`) * uniqueCount(entity.name) AS 'Mutation Stage' FROM Metric WHERE `metricName` IN ('cassandra.node.threadPool.counterMutationStage.pendingTasks', 'cassandra.node.threadPool.viewMutationStage.pendingTasks', 'cassandra.node.threadPool.readRepairStage.pendingTasks', 'cassandra.node.threadPool.readStage.pendingTasks', 'cassandra.node.threadPool.requestResponseStage.pendingTasks', 'cassandra.node.threadPool.mutationStage.pendingTasks') TIMESERIES UNTIL 1 minute AGO" + "query" : "SELECT (average(db.threadpool.requestCounterMutationStagePendingTasks) * uniqueCount(entityName)) AS `Counter Mutation Stage`, (average(db.threadpool.requestViewMutationStagePendingTasks) * uniqueCount(entityName)) AS `View Mutation Stage`, (average(db.threadpool.requestReadRepairStagePendingTasks) * uniqueCount(entityName)) AS `Read Repair Stage`, (average(db.threadpool.requestReadStagePendingTasks) * uniqueCount(entityName)) AS `Read Stage`, (average(db.threadpool.requestRequestResponseStagePendingTasks) * uniqueCount(entityName)) AS `Request Response Stage`, (average(db.threadpool.requestMutationStagePendingTasks) * uniqueCount(entityName)) AS `Mutation Stage` FROM CassandraSample UNTIL 1 MINUTES AGO TIMESERIES AUTO" } ] } }, { @@ -65,7 +65,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT average(`cassandra.node.threadPool.counterMutationStage.activeTasks`) * uniqueCount(entity.name) AS 'Counter Mutation Stage', average(`cassandra.node.threadPool.viewMutationStage.activeTasks`) * uniqueCount(entity.name) AS 'View Mutation Stage', average(`cassandra.node.threadPool.readRepairStage.activeTasks`) * uniqueCount(entity.name) AS 'Read Repair Stage', average(`cassandra.node.threadPool.readStage.activeTasks`) * uniqueCount(entity.name) AS 'Read Stage', average(`cassandra.node.threadPool.requestResponseStage.activeTasks`) * uniqueCount(entity.name) AS 'Request Response Stage', average(`cassandra.node.threadPool.mutationStage.activeTasks`) * uniqueCount(entity.name) AS 'Mutation Stage' FROM Metric WHERE `metricName` IN ('cassandra.node.threadPool.counterMutationStage.activeTasks', 'cassandra.node.threadPool.viewMutationStage.activeTasks', 'cassandra.node.threadPool.readRepairStage.activeTasks', 'cassandra.node.threadPool.readStage.activeTasks', 'cassandra.node.threadPool.requestResponseStage.activeTasks', 'cassandra.node.threadPool.mutationStage.activeTasks') TIMESERIES UNTIL 1 minute AGO" + "query" : "SELECT (average(db.threadpool.requestCounterMutationStageActiveTasks) * uniqueCount(entityName)) AS `Counter Mutation Stage`, (average(db.threadpool.requestViewMutationStageActiveTasks) * uniqueCount(entityName)) AS `View Mutation Stage`, (average(db.threadpool.requestReadRepairStageActiveTasks) * uniqueCount(entityName)) AS `Read Repair Stage`, (average(db.threadpool.requestReadStageActiveTasks) * uniqueCount(entityName)) AS `Read Stage`, (average(db.threadpool.requestRequestResponseStageActiveTasks) * uniqueCount(entityName)) AS `Request Response Stage`, (average(db.threadpool.requestMutationStageActiveTasks) * uniqueCount(entityName)) AS `Mutation Stage` FROM CassandraSample UNTIL 1 MINUTES AGO TIMESERIES AUTO" } ] } }, { @@ -82,7 +82,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT max(`cassandra.node.threadPool.readStage.pendingTasks`) AS 'Read Stage' FROM Metric FACET entity.name TIMESERIES UNTIL 1 minute AGO" + "query" : "SELECT max(db.threadpool.requestReadStagePendingTasks) AS `Read Stage` FROM CassandraSample UNTIL 1 MINUTES AGO FACET entityName TIMESERIES AUTO" } ] } }, { @@ -99,7 +99,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT max(`cassandra.node.threadPool.readStage.activeTasks`) AS 'Read Stage' FROM Metric FACET entity.name TIMESERIES UNTIL 1 minute AGO" + "query" : "SELECT max(db.threadpool.requestReadStageActiveTasks) AS `Read Stage` FROM CassandraSample UNTIL 1 MINUTES AGO FACET entityName TIMESERIES AUTO" } ] } }, { @@ -116,7 +116,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT average(`cassandra.node.query.writeLatency50ThPercentileMilliseconds`) as '50th', average(`cassandra.node.query.writeLatency75ThPercentileMilliseconds`) as '75th', average(`cassandra.node.query.writeLatency95ThPercentileMilliseconds`) as '95th', average(`cassandra.node.query.writeLatency98ThPercentileMilliseconds`) as '98th', average(`cassandra.node.query.writeLatency99ThPercentileMilliseconds`) as '99th' FROM Metric TIMESERIES UNTIL 1 minute AGO" + "query" : "SELECT average(query.writeLatency50thPercentileMilliseconds) AS `50th`, average(query.writeLatency75thPercentileMilliseconds) AS `75th`, average(query.writeLatency95thPercentileMilliseconds) AS `95th`, average(query.writeLatency98thPercentileMilliseconds) AS `98th`, average(query.writeLatency99thPercentileMilliseconds) AS `99th` FROM CassandraSample UNTIL 1 MINUTES AGO TIMESERIES AUTO" } ] } }, { @@ -133,7 +133,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT average(`cassandra.node.threadPool.antiEntropyStage.activeTasks`) * uniqueCount(entity.name) AS 'AntiEntropyStage', average(`cassandra.node.threadPool.cacheCleanupExecutor.activeTasks`) * uniqueCount(entity.name) AS 'CacheCleanupExecutor', average(`cassandra.node.threadPool.compactionExecutor.activeTasks`) * uniqueCount(entity.name) AS 'CompactionExecutor', average(`cassandra.node.threadPool.gossipStage.activeTasks`) * uniqueCount(entity.name) AS 'GossipStage', average(`cassandra.node.threadPool.hintsDispatcher.activeTasks`) * uniqueCount(entity.name) AS 'HintsDispatcher', average(`cassandra.node.threadPool.internalResponseStage.activeTasks`) * uniqueCount(entity.name) AS 'InternalResponseStage', average(`cassandra.node.threadPool.memtableFlushWriter.activeTasks`) * uniqueCount(entity.name) AS 'MemtableFlushWriter', average(`cassandra.node.threadPool.memtablePostFlush.activeTasks`) * uniqueCount(entity.name) AS 'MemtablePostFlush', average(`cassandra.node.threadPool.memtableReclaimMemory.activeTasks`) * uniqueCount(entity.name) AS 'MemtableReclaimMemory', average(`cassandra.node.threadPool.migrationStage.activeTasks`) * uniqueCount(entity.name) AS 'MigrationStage', average(`cassandra.node.threadPool.miscStage.activeTasks`) * uniqueCount(entity.name) AS 'MiscStage', average(`cassandra.node.threadPool.pendingRangeCalculator.activeTasks`) * uniqueCount(entity.name) AS 'PendingRangeCalculator', average(`cassandra.node.threadPool.sampler.activeTasks`) * uniqueCount(entity.name) AS 'Sampler', average(`cassandra.node.threadPool.secondaryIndexManagement.activeTasks`) * uniqueCount(entity.name) AS 'SecondaryIndexManagement', average(`cassandra.node.threadPool.validationExecutor.activeTasks`) * uniqueCount(entity.name) AS 'ValidationExecutor' FROM Metric WHERE `metricName` IN ('cassandra.node.threadPool.antiEntropyStage.activeTasks', 'cassandra.node.threadPool.cacheCleanupExecutor.activeTasks', 'cassandra.node.threadPool.compactionExecutor.activeTasks', 'cassandra.node.threadPool.gossipStage.activeTasks', 'cassandra.node.threadPool.hintsDispatcher.activeTasks', 'cassandra.node.threadPool.internalResponseStage.activeTasks', 'cassandra.node.threadPool.memtableFlushWriter.activeTasks', 'cassandra.node.threadPool.memtablePostFlush.activeTasks', 'cassandra.node.threadPool.memtableReclaimMemory.activeTasks', 'cassandra.node.threadPool.migrationStage.activeTasks', 'cassandra.node.threadPool.miscStage.activeTasks', 'cassandra.node.threadPool.pendingRangeCalculator.activeTasks', 'cassandra.node.threadPool.sampler.activeTasks', 'cassandra.node.threadPool.secondaryIndexManagement.activeTasks', 'cassandra.node.threadPool.validationExecutor.activeTasks') TIMESERIES UNTIL 1 minute AGO" + "query" : "SELECT (average(db.threadpool.internalAntiEntropyStageActiveTasks) * uniqueCount(entityName)) AS `AntiEntropyStage`, (average(db.threadpool.internalCacheCleanupExecutorActiveTasks) * uniqueCount(entityName)) AS `CacheCleanupExecutor`, (average(db.threadpool.internalCompactionExecutorActiveTasks) * uniqueCount(entityName)) AS `CompactionExecutor`, (average(db.threadpool.internalGossipStageActiveTasks) * uniqueCount(entityName)) AS `GossipStage`, (average(db.threadpool.internalHintsDispatcherActiveTasks) * uniqueCount(entityName)) AS `HintsDispatcher`, (average(db.threadpool.internalInternalResponseStageActiveTasks) * uniqueCount(entityName)) AS `InternalResponseStage`, (average(db.threadpool.internalMemtableFlushWriterActiveTasks) * uniqueCount(entityName)) AS `MemtableFlushWriter`, (average(db.threadpool.internalMemtablePostFlushActiveTasks) * uniqueCount(entityName)) AS `MemtablePostFlush`, (average(db.threadpool.internalMemtableReclaimMemoryActiveTasks) * uniqueCount(entityName)) AS `MemtableReclaimMemory`, (average(db.threadpool.internalMigrationStageActiveTasks) * uniqueCount(entityName)) AS `MigrationStage`, (average(db.threadpool.internalMiscStageActiveTasks) * uniqueCount(entityName)) AS `MiscStage`, (average(db.threadpool.internalPendingRangeCalculatorActiveTasks) * uniqueCount(entityName)) AS `PendingRangeCalculator`, (average(db.threadpool.internalSamplerActiveTasks) * uniqueCount(entityName)) AS `Sampler`, (average(db.threadpool.internalSecondaryIndexManagementActiveTasks) * uniqueCount(entityName)) AS `SecondaryIndexManagement`, (average(db.threadpool.internalValidationExecutorActiveTasks) * uniqueCount(entityName)) AS `ValidationExecutor` FROM CassandraSample UNTIL 1 MINUTES AGO TIMESERIES AUTO" } ] } }, { @@ -150,7 +150,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT average(`cassandra.node.query.readLatency50ThPercentileMilliseconds`) as '50th', average(`cassandra.node.query.readLatency75ThPercentileMilliseconds`) as '75th', average(`cassandra.node.query.readLatency95ThPercentileMilliseconds`) as '95th',average(`cassandra.node.query.readLatency98ThPercentileMilliseconds`) as '98th', average(`cassandra.node.query.readLatency99ThPercentileMilliseconds`) as '99th' FROM Metric TIMESERIES UNTIL 1 minute AGO" + "query" : "SELECT average(query.readLatency50thPercentileMilliseconds) AS `50th`, average(query.readLatency75thPercentileMilliseconds) AS `75th`, average(query.readLatency95thPercentileMilliseconds) AS `95th`, average(query.readLatency98thPercentileMilliseconds) AS `98th`, average(query.readLatency99thPercentileMilliseconds) AS `99th` FROM CassandraSample UNTIL 1 MINUTES AGO TIMESERIES AUTO" } ] } }, { @@ -167,7 +167,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT average(`cassandra.node.threadPool.antiEntropyStage.pendingTasks`) * uniqueCount(entity.name) AS 'AntiEntropyStage', average(`cassandra.node.threadPool.cacheCleanupExecutor.activeTasks`) * uniqueCount(entity.name) AS 'CacheCleanupExecutor', average(`cassandra.node.threadPool.compactionExecutor.activeTasks`) * uniqueCount(entity.name) AS 'CompactionExecutor', average(`cassandra.node.threadPool.gossipStage.activeTasks`) * uniqueCount(entity.name) AS 'GossipStage', average(`cassandra.node.threadPool.hintsDispatcher.activeTasks`) * uniqueCount(entity.name) AS 'HintsDispatcher', average(`cassandra.node.threadPool.internalResponseStage.activeTasks`) * uniqueCount(entity.name) AS 'InternalResponseStage', average(`cassandra.node.threadPool.memtableFlushWriter.activeTasks`) * uniqueCount(entity.name) AS 'MemtableFlushWriter', average(`cassandra.node.threadPool.memtablePostFlush.activeTasks`) * uniqueCount(entity.name) AS 'MemtablePostFlush', average(`cassandra.node.threadPool.memtableReclaimMemory.activeTasks`) * uniqueCount(entity.name) AS 'MemtableReclaimMemory', average(`cassandra.node.threadPool.migrationStage.activeTasks`) * uniqueCount(entity.name) AS 'MigrationStage', average(`cassandra.node.threadPool.miscStage.activeTasks`) * uniqueCount(entity.name) AS 'MiscStage', average(`cassandra.node.threadPool.pendingRangeCalculator.activeTasks`) * uniqueCount(entity.name) AS 'PendingRangeCalculator', average(`cassandra.node.threadPool.sampler.activeTasks`) * uniqueCount(entity.name) AS 'Sampler', average(`cassandra.node.threadPool.secondaryIndexManagement.activeTasks`) * uniqueCount(entity.name) AS 'SecondaryIndexManagement', average(`cassandra.node.threadPool.validationExecutor.activeTasks`) * uniqueCount(entity.name) AS 'ValidationExecutor' FROM Metric WHERE `metricName` IN ('cassandra.node.threadPool.antiEntropyStage.pendingTasks', 'cassandra.node.threadPool.cacheCleanupExecutor.activeTasks', 'cassandra.node.threadPool.compactionExecutor.activeTasks', 'cassandra.node.threadPool.gossipStage.activeTasks', 'cassandra.node.threadPool.hintsDispatcher.activeTasks', 'cassandra.node.threadPool.internalResponseStage.activeTasks', 'cassandra.node.threadPool.memtableFlushWriter.activeTasks', 'cassandra.node.threadPool.memtablePostFlush.activeTasks', 'cassandra.node.threadPool.memtableReclaimMemory.activeTasks', 'cassandra.node.threadPool.migrationStage.activeTasks', 'cassandra.node.threadPool.miscStage.activeTasks', 'cassandra.node.threadPool.pendingRangeCalculator.activeTasks', 'cassandra.node.threadPool.sampler.activeTasks', 'cassandra.node.threadPool.secondaryIndexManagement.activeTasks', 'cassandra.node.threadPool.validationExecutor.activeTasks') TIMESERIES UNTIL 1 minute AGO" + "query" : "SELECT (average(db.threadpool.internalAntiEntropyStagePendingTasks) * uniqueCount(entityName)) AS `AntiEntropyStage`, (average(db.threadpool.internalCacheCleanupExecutorActiveTasks) * uniqueCount(entityName)) AS `CacheCleanupExecutor`, (average(db.threadpool.internalCompactionExecutorActiveTasks) * uniqueCount(entityName)) AS `CompactionExecutor`, (average(db.threadpool.internalGossipStageActiveTasks) * uniqueCount(entityName)) AS `GossipStage`, (average(db.threadpool.internalHintsDispatcherActiveTasks) * uniqueCount(entityName)) AS `HintsDispatcher`, (average(db.threadpool.internalInternalResponseStageActiveTasks) * uniqueCount(entityName)) AS `InternalResponseStage`, (average(db.threadpool.internalMemtableFlushWriterActiveTasks) * uniqueCount(entityName)) AS `MemtableFlushWriter`, (average(db.threadpool.internalMemtablePostFlushActiveTasks) * uniqueCount(entityName)) AS `MemtablePostFlush`, (average(db.threadpool.internalMemtableReclaimMemoryActiveTasks) * uniqueCount(entityName)) AS `MemtableReclaimMemory`, (average(db.threadpool.internalMigrationStageActiveTasks) * uniqueCount(entityName)) AS `MigrationStage`, (average(db.threadpool.internalMiscStageActiveTasks) * uniqueCount(entityName)) AS `MiscStage`, (average(db.threadpool.internalPendingRangeCalculatorActiveTasks) * uniqueCount(entityName)) AS `PendingRangeCalculator`, (average(db.threadpool.internalSamplerActiveTasks) * uniqueCount(entityName)) AS `Sampler`, (average(db.threadpool.internalSecondaryIndexManagementActiveTasks) * uniqueCount(entityName)) AS `SecondaryIndexManagement`, (average(db.threadpool.internalValidationExecutorActiveTasks) * uniqueCount(entityName)) AS `ValidationExecutor` FROM CassandraSample UNTIL 1 MINUTES AGO TIMESERIES AUTO" } ] } }, { @@ -184,7 +184,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT average(`cassandra.columnFamily.liveSsTableCount`) * uniqueCount(entity.name) FROM Metric WHERE `metricName` = 'cassandra.columnFamily.liveSsTableCount' FACET `cassandra.keyspace` TIMESERIES UNTIL 1 minute AGO" + "query" : "SELECT (average(db.liveSSTableCount) * uniqueCount(entityName)) FROM CassandraColumnFamilySample UNTIL 1 MINUTES AGO FACET db.keyspace TIMESERIES AUTO" } ] } }, { @@ -201,7 +201,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT average(`cassandra.columnFamily.ssTablesPerRead50ThPercentileMilliseconds`) as '50th', average(`cassandra.columnFamily.ssTablesPerRead75ThPercentileMilliseconds`) as '75th', average(`cassandra.columnFamily.ssTablesPerRead95ThPercentileMilliseconds`) as '95th',average(`cassandra.columnFamily.ssTablesPerRead98ThPercentileMilliseconds`) as '98th',average(`cassandra.columnFamily.ssTablesPerRead99ThPercentileMilliseconds`) as '99th' FROM Metric TIMESERIES UNTIL 1 minute AGO" + "query" : "SELECT average(db.SSTablesPerRead50thPercentileMilliseconds) AS `50th`, average(db.SSTablesPerRead75thPercentileMilliseconds) AS `75th`, average(db.SSTablesPerRead95thPercentileMilliseconds) AS `95th`, average(db.SSTablesPerRead98thPercentileMilliseconds) AS `98th`, average(db.SSTablesPerRead99thPercentileMilliseconds) AS `99th` FROM CassandraColumnFamilySample UNTIL 1 MINUTES AGO TIMESERIES AUTO" } ] } }, { @@ -218,7 +218,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT average(`cassandra.node.droppedBatchRemoveMessagesPerSecond`) * uniqueCount(entity.name) AS 'Batch Remove', average(`cassandra.node.droppedBatchStoreMessagesPerSecond`) * uniqueCount(entity.name) AS 'Batch Store', average(`cassandra.node.droppedCounterMutationMessagesPerSecond`) * uniqueCount(entity.name) AS 'Counter Mutation', average(`cassandra.node.droppedHintMessagesPerSecond`) * uniqueCount(entity.name) AS 'Hint', average(`cassandra.node.droppedMutationMessagesPerSecond`) * uniqueCount(entity.name) AS 'Mutation', average(`cassandra.node.droppedPagedRangeMessagesPerSecond`) * uniqueCount(entity.name) AS 'Paged Range', average(`cassandra.node.droppedRangeSliceMessagesPerSecond`) * uniqueCount(entity.name) AS 'Range Slice', average(`cassandra.node.droppedReadMessagesPerSecond`) * uniqueCount(entity.name) AS 'Read', average(`cassandra.node.droppedReadRepairMessagesPerSecond`) * uniqueCount(entity.name) AS 'Read Repair', average(`cassandra.node.droppedRequestResponseMessagesPerSecond`) * uniqueCount(entity.name) AS 'Request Response', average(`cassandra.node.droppedTraceMessagesPerSecond`) * uniqueCount(entity.name) AS 'Trace' FROM Metric WHERE `metricName` IN ('cassandra.node.droppedBatchRemoveMessagesPerSecond','cassandra.node.droppedBatchStoreMessagesPerSecond', 'cassandra.node.droppedCounterMutationMessagesPerSecond', 'cassandra.node.droppedHintMessagesPerSecond', 'cassandra.node.droppedMutationMessagesPerSecond', 'cassandra.node.droppedPagedRangeMessagesPerSecond', 'cassandra.node.droppedRangeSliceMessagesPerSecond', 'cassandra.node.droppedReadMessagesPerSecond', 'cassandra.node.droppedReadRepairMessagesPerSecond', 'cassandra.node.droppedRequestResponseMessagesPerSecond', 'cassandra.node.droppedTraceMessagesPerSecond') TIMESERIES UNTIL 1 minute AGO" + "query" : "SELECT (average(db.droppedBatchRemoveMessagesPerSecond) * uniqueCount(entityName)) AS `Batch Remove`, (average(db.droppedBatchStoreMessagesPerSecond) * uniqueCount(entityName)) AS `Batch Store`, (average(db.droppedCounterMutationMessagesPerSecond) * uniqueCount(entityName)) AS `Counter Mutation`, (average(db.droppedHintMessagesPerSecond) * uniqueCount(entityName)) AS `Hint`, (average(db.droppedMutationMessagesPerSecond) * uniqueCount(entityName)) AS `Mutation`, (average(db.droppedPagedRangeMessagesPerSecond) * uniqueCount(entityName)) AS `Paged Range`, (average(db.droppedRangeSliceMessagesPerSecond) * uniqueCount(entityName)) AS `Range Slice`, (average(db.droppedReadMessagesPerSecond) * uniqueCount(entityName)) AS `Read`, (average(db.droppedReadRepairMessagesPerSecond) * uniqueCount(entityName)) AS `Read Repair`, (average(db.droppedRequestResponseMessagesPerSecond) * uniqueCount(entityName)) AS `Request Response`, (average(db.droppedTraceMessagesPerSecond) * uniqueCount(entityName)) AS `Trace` FROM CassandraSample UNTIL 1 MINUTES AGO TIMESERIES AUTO" } ] } }, { @@ -235,7 +235,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT average(`cassandra.node.allMemtablesOnHeapSizeBytes`) * uniqueCount(entity.name) AS 'On Heap', average(`cassandra.node.allMemtablesOffHeapSizeBytes`) * uniqueCount(entity.name) AS 'Off Heap' FROM Metric WHERE `metricName` IN ('cassandra.node.allMemtablesOnHeapSizeBytes', 'cassandra.node.allMemtablesOffHeapSizeBytes') TIMESERIES UNTIL 1 minute AGO" + "query" : "SELECT (average(db.allMemtablesOnHeapSizeBytes) * uniqueCount(entityName)) AS `On Heap`, (average(db.allMemtablesOffHeapSizeBytes) * uniqueCount(entityName)) AS `Off Heap` FROM CassandraSample UNTIL 1 MINUTES AGO TIMESERIES AUTO" } ] } }, { @@ -252,7 +252,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT average(`cassandra.columnFamily.pendingCompactions`) * uniqueCount(entity.name) * uniqueCount(`cassandra.columnFamily`) FROM Metric WHERE `metricName`= 'cassandra.columnFamily.pendingCompactions' FACET `db.keyspace` TIMESERIES UNTIL 1 minute AGO" + "query" : "SELECT ((average(db.pendingCompactions) * uniqueCount(entityName)) * uniqueCount(db.columnFamily)) FROM CassandraColumnFamilySample UNTIL 1 MINUTES AGO FACET db.keyspace TIMESERIES AUTO" } ] } }, { @@ -269,7 +269,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT average(`cassandra.node.totalHintsInProgress`) * uniqueCount(entity.name) AS 'In Progress' FROM Metric WHERE `metricName` = 'cassandra.node.totalHintsInProgress' FACET entity.name TIMESERIES UNTIL 1 minute AGO" + "query" : "SELECT (average(db.totalHintsInProgress) * uniqueCount(entityName)) AS `In Progress` FROM CassandraSample UNTIL 1 MINUTES AGO FACET entityName TIMESERIES AUTO" } ] } } ] diff --git a/dashboards/consul/consul.json b/dashboards/consul/consul.json index 806fb06989..7e441781a7 100644 --- a/dashboards/consul/consul.json +++ b/dashboards/consul/consul.json @@ -18,7 +18,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT latest(`consul.datacenter.catalog.registeredNodes`) as 'Registered', latest(`consul.datacenter.catalog.upNodes`) as 'Up', latest(`consul.datacenter.catalog.passingNodes`) as 'Passing', latest(`consul.datacenter.catalog.warningNodes`) as 'Warning', latest(`consul.datacenter.catalog.criticalNodes`) as 'Critical' FROM Metric facet entity.name since 5 minutes ago" + "query" : "SELECT latest(catalog.registeredNodes) AS `Registered`, latest(catalog.upNodes) AS `Up`, latest(catalog.passingNodes) AS `Passing`, latest(catalog.warningNodes) AS `Warning`, latest(catalog.criticalNodes) AS `Critical` FROM ConsulDatacenterSample SINCE 5 MINUTES AGO FACET entityName" } ] } }, { @@ -48,7 +48,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT latest(`consul.leader`) as 'Current Leader' FROM Metric facet entity.name since 5 minutes ago" + "query" : "SELECT latest(leader) AS `Current Leader` FROM ConsulDatacenterSample SINCE 5 MINUTES AGO FACET entityName" } ] } }, { @@ -65,7 +65,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT latest(`consul.datacenter.raft.lastContactAvgInMilliseconds`) FROM Metric TIMESERIES 10 minutes FACET entity.name" + "query" : "SELECT latest(raft.lastContactAvgInMilliseconds) FROM ConsulDatacenterSample FACET entityName TIMESERIES 10 MINUTES" } ] } }, { @@ -82,7 +82,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT latest(`consul.datacenter.raft.commitTimeAvgInMilliseconds`) FROM Metric TIMESERIES 10 minutes FACET entity.name" + "query" : "SELECT latest(raft.commitTimeAvgInMilliseconds) FROM ConsulDatacenterSample FACET entityName TIMESERIES 10 MINUTES" } ] } }, { @@ -99,7 +99,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT latest(`consul.datacenter.raft.txns`) FROM Metric TIMESERIES 10 minutes FACET entity.name" + "query" : "SELECT latest(raft.txns) FROM ConsulDatacenterSample FACET entityName TIMESERIES 10 MINUTES" } ] } }, { @@ -116,7 +116,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT latest(`consul.agent.runtime.allocationsInBytes`) FROM Metric TIMESERIES 10 minutes FACET entity.name" + "query" : "SELECT latest(runtime.allocationsInBytes) FROM ConsulAgentSample FACET entityName TIMESERIES 10 MINUTES" } ] } }, { @@ -133,7 +133,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT latest(`consul.agent.runtime.allocationsInBytes`) FROM Metric TIMESERIES 10 minutes FACET entity.name" + "query" : "SELECT latest(runtime.allocationsInBytes) FROM ConsulAgentSample FACET entityName TIMESERIES 10 MINUTES" } ] } }, { @@ -150,7 +150,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT latest(`consul.agent.runtime.virtualAddressSpaceInBytes`) FROM Metric TIMESERIES 10 minutes FACET entity.name" + "query" : "SELECT latest(runtime.virtualAddressSpaceInBytes) FROM ConsulAgentSample FACET entityName TIMESERIES 10 MINUTES" } ] } }, { @@ -167,9 +167,9 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT latest(`consul.agent.kvStoresAvgInMilliseconds`) FROM Metric TIMESERIES 10 minutes FACET entity.name" + "query" : "SELECT latest(agent.kvStoresAvgInMilliseconds) FROM ConsulAgentSample FACET entityName TIMESERIES 10 MINUTES" } ] } } ] } ] -} \ No newline at end of file +} diff --git a/dashboards/couchbase/couchbase.json b/dashboards/couchbase/couchbase.json index fb7db7577f..1cc7c5f846 100644 --- a/dashboards/couchbase/couchbase.json +++ b/dashboards/couchbase/couchbase.json @@ -18,7 +18,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT average(`couchbase.node.cpuUtilization`) FROM Metric timeseries facet entity.name" + "query" : "SELECT average(node.cpuUtilization) FROM CouchbaseNodeSample FACET entityName TIMESERIES AUTO" } ] } }, { @@ -35,7 +35,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT average(`couchbase.bucket.readOperationsPerSecond`) FROM Metric timeseries facet entity.name" + "query" : "SELECT average(bucket.readOperationsPerSecond) FROM CouchbaseBucketSample FACET entityName TIMESERIES AUTO" } ] } }, { @@ -65,7 +65,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT average(`couchbase.bucket.dataUsedInBytes`) FROM Metric timeseries facet entity.name" + "query" : "SELECT average(bucket.dataUsedInBytes) FROM CouchbaseBucketSample FACET entityName TIMESERIES AUTO" } ] } }, { @@ -82,7 +82,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT average(`couchbase.bucket.readRatePerSecond`) FROM Metric timeseries facet entity.name" + "query" : "SELECT average(bucket.readRatePerSecond) FROM CouchbaseBucketSample FACET entityName TIMESERIES AUTO" } ] } }, { @@ -99,7 +99,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT average(`couchbase.bucket.memoryUsedInBytes`) FROM Metric timeseries facet entity.name" + "query" : "SELECT average(bucket.memoryUsedInBytes) FROM CouchbaseBucketSample FACET entityName TIMESERIES AUTO" } ] } }, { @@ -116,7 +116,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT average(`couchbase.bucket.quotaUtilization`) FROM Metric timeseries facet entity.name" + "query" : "SELECT average(bucket.quotaUtilization) FROM CouchbaseBucketSample FACET entityName TIMESERIES AUTO" } ] } }, { @@ -133,7 +133,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT average(`couchbase.bucket.diskUsedInBytes`) FROM Metric timeseries facet entity.name" + "query" : "SELECT average(bucket.diskUsedInBytes) FROM CouchbaseBucketSample FACET entityName TIMESERIES AUTO" } ] } }, { @@ -150,7 +150,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT average(`couchbase.bucket.totalOperationsPerSecond`) FROM Metric timeseries facet entity.name" + "query" : "SELECT average(bucket.totalOperationsPerSecond) FROM CouchbaseBucketSample FACET entityName TIMESERIES AUTO" } ] } }, { @@ -167,7 +167,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT average(`couchbase.bucket.currentConnections`) FROM Metric timeseries facet entity.name" + "query" : "SELECT average(bucket.currentConnections) FROM CouchbaseBucketSample FACET entityName TIMESERIES AUTO" } ] } }, { @@ -184,7 +184,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT average(`couchbase.bucket.diskWriteQueue`) FROM Metric timeseries facet entity.name" + "query" : "SELECT average(bucket.diskWriteQueue) FROM CouchbaseBucketSample FACET entityName TIMESERIES AUTO" } ] } }, { @@ -201,7 +201,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT average(`couchbase.bucket.writeOperationsPerSecond`) FROM Metric timeseries facet entity.name" + "query" : "SELECT average(bucket.writeOperationsPerSecond) FROM CouchbaseBucketSample FACET entityName TIMESERIES AUTO" } ] } }, { @@ -218,7 +218,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT average(`couchbase.bucket.outOfMemoryErrorsPerSecond`) FROM Metric timeseries facet entity.name" + "query" : "SELECT average(bucket.outOfMemoryErrorsPerSecond) FROM CouchbaseBucketSample FACET entityName TIMESERIES AUTO" } ] } }, { @@ -235,7 +235,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT average(`couchbase.queryengine.activeRequests`) FROM Metric timeseries facet entity.name" + "query" : "SELECT average(queryengine.activeRequests) FROM CouchbaseQueryEngineSample FACET entityName TIMESERIES AUTO" } ] } }, { @@ -252,7 +252,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT average(`couchbase.bucket.activeResidentItemsRatio`) FROM Metric timeseries facet entity.name" + "query" : "SELECT average(bucket.activeResidentItemsRatio) FROM CouchbaseBucketSample FACET entityName TIMESERIES AUTO" } ] } }, { @@ -269,7 +269,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT average(`couchbase.queryengine.systemCpuUtilization`) FROM Metric timeseries facet entity.name" + "query" : "SELECT average(queryengine.systemCPUUtilization) FROM CouchbaseQueryEngineSample FACET entityName TIMESERIES AUTO" } ] } }, { @@ -286,7 +286,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT average(`couchbase.queryengine.completedRequests`) FROM Metric timeseries facet entity.name" + "query" : "SELECT average(queryengine.completedRequests) FROM CouchbaseQueryEngineSample FACET entityName TIMESERIES AUTO" } ] } }, { @@ -303,7 +303,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT average(`couchbase.bucket.ejectionsPerSecond`) FROM Metric timeseries facet entity.name" + "query" : "SELECT average(bucket.ejectionsPerSecond) FROM CouchbaseBucketSample FACET entityName TIMESERIES AUTO" } ] } }, { @@ -320,7 +320,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT average(`couchbase.queryengine.usedMemoryInBytes`) FROM Metric timeseries facet entity.name" + "query" : "SELECT average(queryengine.usedMemoryInBytes) FROM CouchbaseQueryEngineSample FACET entityName TIMESERIES AUTO" } ] } }, { @@ -337,7 +337,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT average(`couchbase.queryengine.preparedStatementUtilization`) FROM Metric timeseries facet entity.name" + "query" : "SELECT average(queryengine.preparedStatementUtilization) FROM CouchbaseQueryEngineSample FACET entityName TIMESERIES AUTO" } ] } }, { @@ -354,7 +354,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT average(`couchbase.bucket.writeRatePerSecond`) FROM Metric timeseries facet entity.name" + "query" : "SELECT average(bucket.writeRatePerSecond) FROM CouchbaseBucketSample FACET entityName TIMESERIES AUTO" } ] } } ] diff --git a/dashboards/dotnet/dotnet.json b/dashboards/dotnet/dotnet.json index 29cb8ca394..43e7043e4c 100644 --- a/dashboards/dotnet/dotnet.json +++ b/dashboards/dotnet/dotnet.json @@ -321,7 +321,7 @@ "nrqlQueries": [ { "accountId": 0, - "query": "SELECT latest(host.net.transmitBytesPerSecond) AS 'Transmit Bytes per Second', latest(host.net.receiveBytesPerSecond) AS 'Receive Bytes per Second' FROM Metric TIMESERIES auto" + "query": "SELECT latest(transmitBytesPerSecond) AS `Transmit Bytes per Second`, latest(receiveBytesPerSecond) AS `Receive Bytes per Second` FROM NetworkSample TIMESERIES AUTO" } ], "platformOptions": { diff --git a/dashboards/elasticsearch-elasticsearch/elasticsearch.json b/dashboards/elasticsearch-elasticsearch/elasticsearch.json index 8b235b3748..c6d22d5441 100644 --- a/dashboards/elasticsearch-elasticsearch/elasticsearch.json +++ b/dashboards/elasticsearch-elasticsearch/elasticsearch.json @@ -36,7 +36,7 @@ }, "nrqlQueries" : [ { "accountId" : 0, - "query" : "FROM Metric SELECT latest(elasticsearch.clusterStatus) AS 'Cluster Status', latest(elasticsearch.cluster.nodes) AS 'Cluster Nodes', latest(elasticsearch.cluster.dataNodes) AS 'Data Nodes' FACET entity.name" + "query" : "SELECT latest(cluster.status) AS `Cluster Status`, latest(cluster.nodes) AS `Cluster Nodes`, latest(cluster.dataNodes) AS `Data Nodes` FROM ElasticsearchClusterSample FACET entityName" } ] } }, { @@ -57,7 +57,7 @@ }, "nrqlQueries" : [ { "accountId" : 0, - "query" : "FROM Metric SELECT latest(elasticsearch.cluster.shards.primaryActive) AS 'Primary Active', latest(elasticsearch.cluster.shards.active) - latest(elasticsearch.cluster.shards.primaryActive) AS 'Replicas', latest(elasticsearch.cluster.shards.relocating) AS 'Relocating', latest(elasticsearch.cluster.shards.initializing) AS 'Initializing', latest(elasticsearch.cluster.shards.unassigned) AS 'Unassigned' FACET entity.name AS 'Cluster Name'" + "query" : "SELECT latest(shards.primaryActive) AS `Primary Active`, (latest(shards.active) - latest(shards.primaryActive)) AS `Replicas`, latest(shards.relocating) AS `Relocating`, latest(shards.initializing) AS `Initializing`, latest(shards.unassigned) AS `Unassigned` FROM ElasticsearchClusterSample FACET entityName AS `Cluster Name`" } ] } }, { @@ -119,7 +119,7 @@ }, "nrqlQueries" : [ { "accountId" : 0, - "query" : "FROM Metric SELECT latest(elasticsearch.node.fs.unallocatedBytes)/1024/1024/1024 AS 'Free GB', latest(elasticsearch.node.fs.totalSizeInBytes)/1024/1024/1024 AS 'Total GB', latest(elasticsearch.node.fs.readOperations) AS 'Read IO Operations', latest(elasticsearch.node.fs.writeOperations) AS 'Write IO Operations' FACET host.hostname" + "query" : "SELECT (((latest(fs.unallocatedBytesInBYtes) / 1024) / 1024) / 1024) AS `Free GB`, (((latest(fs.totalSizeInBytes) / 1024) / 1024) / 1024) AS `Total GB`, latest(fs.reads) AS `Read IO Operations`, latest(fs.writeOperations) AS `Write IO Operations` FROM ElasticsearchNodeSample FACET hostname" } ] } }, { @@ -141,7 +141,7 @@ } ], "nrqlQueries" : [ { "accountId" : 0, - "query" : "FROM Metric SELECT latest(elasticsearch.node.http.openedConnections) AS 'Total' FACET host.hostname SINCE 10 MINUTES AGO" + "query" : "SELECT latest(http.openedConnections) AS `Total` FROM ElasticsearchNodeSample SINCE 10 MINUTES AGO FACET hostname" } ], "thresholds" : [ ] } @@ -165,7 +165,7 @@ }, "nrqlQueries" : [ { "accountId" : 0, - "query" : "FROM Metric SELECT latest(elasticsearch.node.http.currentOpenConnections) AS 'Total' FACET host.hostname TIMESERIES SINCE 1 WEEK AGO" + "query" : "SELECT latest(http.currentOpenConnections) AS `Total` FROM ElasticsearchNodeSample SINCE 1 WEEKS AGO FACET hostname TIMESERIES AUTO" } ], "yAxisLeft" : { "zero" : false @@ -189,7 +189,7 @@ }, "nrqlQueries" : [ { "accountId" : 0, - "query" : "FROM Metric SELECT latest(elasticsearch.node.jvm.mem.heapUsed) AS 'Percent' FACET host.hostname SINCE 10 MINUTES AGO COMPARE WITH 1 HOUR AGO" + "query" : "SELECT latest(jvm.mem.heapUsed) AS `Percent` FROM ElasticsearchNodeSample SINCE 10 MINUTES AGO FACET hostname COMPARE WITH 1 HOURS AGO" } ], "thresholds" : [ ] } @@ -222,7 +222,7 @@ }, "nrqlQueries" : [ { "accountId" : 0, - "query" : "FROM Metric SELECT latest(elasticsearch.node.jvm.mem.heapUsedInBytes)/1024/1024 AS 'Heap Used (GB)', latest(elasticsearch.node.jvm.mem.heapMaxInBytes)/1024/1024 AS 'Max Heap (GB)' FACET host.hostname SINCE 1 WEEK AGO TIMESERIES" + "query" : "SELECT ((latest(jvm.mem.heapUsedInBytes) / 1024) / 1024) AS `Heap Used (GB)`, ((latest(jvm.mem.heapMaxInBytes) / 1024) / 1024) AS `Max Heap (GB)` FROM ElasticsearchNodeSample SINCE 1 WEEKS AGO FACET hostname TIMESERIES AUTO" } ], "yAxisLeft" : { "zero" : false @@ -248,7 +248,7 @@ }, "nrqlQueries" : [ { "accountId" : 0, - "query" : "FROM Metric SELECT latest(elasticsearch.node.openFd) FACET host.hostname TIMESERIES SINCE 1 WEEK AGO" + "query" : "SELECT latest(openFD) FROM ElasticsearchNodeSample SINCE 1 WEEKS AGO FACET hostname TIMESERIES AUTO" } ], "yAxisLeft" : { "zero" : false @@ -276,7 +276,7 @@ }, "nrqlQueries" : [ { "accountId" : 0, - "query" : "FROM Metric SELECT latest(elasticsearch.indexHealth) AS 'CURRENT HEALTH' FACET host.hostname, entity.name LIMIT MAX" + "query" : "SELECT latest(index.health) AS `CURRENT HEALTH` FROM ElasticsearchIndexSample FACET tuple(hostname, entityName) LIMIT MAX" } ] } }, { @@ -305,7 +305,7 @@ }, "nrqlQueries" : [ { "accountId" : 0, - "query" : "FROM Metric SELECT latest(elasticsearch.index.docs) AS 'Total Docs', latest(elasticsearch.index.docsDeleted) AS 'Deleted Docs', latest(elasticsearch.index.primaryShards) AS 'Primary Shards', latest(elasticsearch.index.primaryStoreSizeInBytes)/1024/1024/1024 AS 'Primary Store (GB)', latest(elasticsearch.index.replicaShards) AS 'Replica Shards', (latest(elasticsearch.index.storeSizeInBytes) - latest(elasticsearch.index.primaryStoreSizeInBytes))/1024/1024/1024 AS 'Replica Store (GB)' FACET host.hostname, entity.name" + "query" : "SELECT latest(index.docs) AS `Total Docs`, latest(index.docsDeleted) AS `Deleted Docs`, latest(index.primaryShards) AS `Primary Shards`, (((latest(index.primaryStoreSizeInBytes) / 1024) / 1024) / 1024) AS `Primary Store (GB)`, latest(index.replicaShards) AS `Replica Shards`, ((((latest(index.storeSizeInBytes) - latest(index.primaryStoreSizeInBytes)) / 1024) / 1024) / 1024) AS `Replica Store (GB)` FROM ElasticsearchIndexSample FACET tuple(hostname, entityName)" } ] } } ] @@ -332,7 +332,7 @@ }, "nrqlQueries" : [ { "accountId" : 0, - "query" : "FROM Metric SELECT (latest(elasticsearch.node.activeSearchesInMilliseconds) - earliest(elasticsearch.node.activeSearchesInMilliseconds))/sum(elasticsearch.node.activeSearches) FACET capture(entity.name, r'es-node:(?P.*)') TIMESERIES SINCE 1 WEEK AGO" + "query" : "SELECT ((latest(activeSearchesInMilliseconds) - earliest(activeSearchesInMilliseconds)) / sum(activeSearches)) FROM ElasticsearchNodeSample SINCE 1 WEEKS AGO FACET capture(entityName, r'es-node:(?P.*)') TIMESERIES AUTO" } ], "nullValues": { "nullValue": "zero" @@ -364,7 +364,7 @@ }, "nrqlQueries" : [ { "accountId" : 0, - "query" : "FROM Metric SELECT (latest(elasticsearch.node.get.totalGetRequests) - earliest(elasticsearch.node.get.totalGetRequests)) / (latest(elasticsearch.node.get.timeGetRequestsInMilliseconds) - earliest(elasticsearch.node.get.timeGetRequestsInMilliseconds)) AS 'Total', (latest(elasticsearch.node.get.requestsDocumentExists) - earliest(elasticsearch.node.get.requestsDocumentExists)) / (latest(elasticsearch.node.get.requestsDocumentExistsInMilliseconds) - earliest(elasticsearch.node.get.requestsDocumentExistsInMilliseconds)) AS 'Document Exists', (latest(elasticsearch.node.get.requestsDocumentMissing) - earliest(elasticsearch.node.get.requestsDocumentMissing)) / (latest(elasticsearch.node.get.requestsDocumentMissingInMilliseconds) - earliest(elasticsearch.node.get.requestsDocumentMissingInMilliseconds)) AS 'Document Missing' FACET capture(entity.name, r'es-node:(?P.*)') TIMESERIES SINCE 1 WEEK AGO" + "query" : "SELECT ((latest(get.totalGetRequests) - earliest(get.totalGetRequests)) / (latest(get.timeGetRequestsInMilliseconds) - earliest(get.timeGetRequestsInMilliseconds))) AS `Total`, ((latest((get.requestsDcoumentExists OR get.requestsDocumentExists)) - earliest((get.requestsDcoumentExists OR get.requestsDocumentExists))) / (latest(get.requestsDocumentExistsInMilliseconds) - earliest(get.requestsDocumentExistsInMilliseconds))) AS `Document Exists`, ((latest(get.requestsDocumentMissing) - earliest(get.requestsDocumentMissing)) / (latest(get.requestsDocumentMissingInMilliseconds) - earliest(get.requestsDocumentMissingInMilliseconds))) AS `Document Missing` FROM ElasticsearchNodeSample SINCE 1 WEEKS AGO FACET capture(entityName, r'es-node:(?P.*)') TIMESERIES AUTO" } ], "nullValues": { "nullValue": "zero" @@ -394,7 +394,7 @@ }, "nrqlQueries" : [ { "accountId" : 0, - "query" : "FROM Metric SELECT latest(elasticsearch.node.index.indexingOperationsFailed) - earliest(elasticsearch.node.index.indexingOperationsFailed) AS 'Failed Operations' FACET capture(entity.name, r'es-node:(?P.*)')" + "query" : "SELECT (latest(indices.indexingOperationsFailed) - earliest(indices.indexingOperationsFailed)) AS `Failed Operations` FROM ElasticsearchNodeSample FACET capture(entityName, r'es-node:(?P.*)')" } ] } }, { @@ -417,7 +417,7 @@ }, "nrqlQueries" : [ { "accountId" : 0, - "query" : "FROM Metric SELECT (latest(elasticsearch.node.indexing.documentsIndexed) - earliest(elasticsearch.node.indexing.documentsIndexed))/(latest(elasticsearch.node.indexing.timeIndexingDocumentsInMilliseconds) - earliest(elasticsearch.node.indexing.timeIndexingDocumentsInMilliseconds)) FACET capture(entity.name, r'es-node:(?P.*)') TIMESERIES SINCE 1 WEEK AGO" + "query" : "SELECT ((latest(indexing.documentsIndexed) - earliest(indexing.documentsIndexed)) / (latest(indexing.timeIndexingDocumentsInMilliseconds) - earliest(indexing.timeIndexingDocumentsInMilliseconds))) FROM ElasticsearchNodeSample SINCE 1 WEEKS AGO FACET capture(entityName, r'es-node:(?P.*)') TIMESERIES AUTO" } ], "yAxisLeft" : { "zero" : false @@ -443,7 +443,7 @@ }, "nrqlQueries" : [ { "accountId" : 0, - "query" : "FROM Metric SELECT (latest(elasticsearch.node.merges.totalSegmentMergingInMilliseconds) - earliest(elasticsearch.node.merges.totalSegmentMergingInMilliseconds)) / (latest(elasticsearch.node.merges.segmentMerges) - earliest(elasticsearch.node.merges.segmentMerges)) FACET capture(entity.name, r'es-node:(?P.*)') TIMESERIES SINCE 1 WEEK AGO" + "query" : "SELECT ((latest(merges.totalSegmentMergingInMilliseconds) - earliest(merges.totalSegmentMergingInMilliseconds)) / (latest(merges.segmentMerges) - earliest(merges.segmentMerges))) FROM ElasticsearchNodeSample SINCE 1 WEEKS AGO FACET capture(entityName, r'es-node:(?P.*)') TIMESERIES AUTO" } ], "nullValues": { "nullValue": "zero" @@ -472,7 +472,7 @@ }, "nrqlQueries" : [ { "accountId" : 0, - "query" : "FROM Metric SELECT (latest(elasticsearch.node.refresh.totalInMilliseconds) - earliest(elasticsearch.node.refresh.totalInMilliseconds))/(latest(elasticsearch.node.refresh.total) - earliest(elasticsearch.node.refresh.total)) FACET capture(entityName, r'es-node:(?P.*)') TIMESERIES SINCE 1 WEEK AGO" + "query" : "SELECT ((latest(refresh.totalInMilliseconds) - earliest(refresh.totalInMilliseconds)) / (latest(refresh.total) - earliest(refresh.total))) FROM ElasticsearchNodeSample SINCE 1 WEEKS AGO FACET capture(entityName, r'es-node:(?P.*)') TIMESERIES AUTO" } ], "nullValues": { "nullValue": "zero" diff --git a/dashboards/haproxy/haproxy.json b/dashboards/haproxy/haproxy.json index 87a3f51a65..73b3384684 100644 --- a/dashboards/haproxy/haproxy.json +++ b/dashboards/haproxy/haproxy.json @@ -44,7 +44,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT average(`haproxy.frontend.bytesInPerSecond`) FROM Metric TIMESERIES FACET entity.name" + "query" : "SELECT average(frontend.bytesInPerSecond) FROM HAProxyFrontendSample FACET entityName TIMESERIES AUTO" } ] } }, { @@ -61,7 +61,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT average(`haproxy.frontend.bytesOutPerSecond`) FROM Metric TIMESERIES FACET entity.name" + "query" : "SELECT average(frontend.bytesOutPerSecond) FROM HAProxyFrontendSample FACET entityName TIMESERIES AUTO" } ] } }, { @@ -78,7 +78,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT average(`haproxy.frontend.requestErrorsPerSecond`) FROM Metric TIMESERIES FACET entity.name" + "query" : "SELECT average(frontend.requestErrorsPerSecond) FROM HAProxyFrontendSample FACET entityName TIMESERIES AUTO" } ] } }, { @@ -95,7 +95,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT average(`haproxy.frontend.http200ResponsesPerSecond`) FROM Metric TIMESERIES FACET entity.name" + "query" : "SELECT average(frontend.http200ResponsesPerSecond) FROM HAProxyFrontendSample FACET entityName TIMESERIES AUTO" } ] } }, { @@ -112,7 +112,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT average(`haproxy.frontend.http100ResponsesPerSecond`) + average(`haproxy.frontend.http300ResponsesPerSecond`) + average(`haproxy.frontend.http400ResponsesPerSecond`) + average(`haproxy.frontend.http500ResponsesPerSecond`) FROM Metric TIMESERIES FACET entity.name" + "query" : "SELECT (((average(frontend.http100ResponsesPerSecond) + average(frontend.http300ResponsesPerSecond)) + average(frontend.http400ResponsesPerSecond)) + average(frontend.http500ResponsesPerSecond)) FROM HAProxyFrontendSample FACET entityName TIMESERIES AUTO" } ] } }, { @@ -129,7 +129,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT latest(`haproxy.frontendStatus`) FROM Metric FACET entity.name" + "query" : "SELECT latest(frontend.status) FROM HAProxyFrontendSample FACET entityName" } ] } }, { @@ -146,7 +146,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT average(`haproxy.frontend.connectionsPerSecond`) FROM Metric TIMESERIES FACET entity.name" + "query" : "SELECT average(frontend.connectionsPerSecond) FROM HAProxyFrontendSample FACET entityName TIMESERIES AUTO" } ] } }, { @@ -163,7 +163,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT average(`haproxy.frontend.sessionsPerSecond`) FROM Metric TIMESERIES FACET entity.name" + "query" : "SELECT average(frontend.sessionsPerSecond) FROM HAProxyFrontendSample FACET entityName TIMESERIES AUTO" } ] } }, { @@ -193,7 +193,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT latest(`haproxy.backend.activeServers`) FROM Metric FACET `haproxy.backendProxyName`" + "query" : "SELECT latest(backend.activeServers) FROM HAProxyBackendSample FACET backend.proxyName" } ] } }, { @@ -210,7 +210,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT latest(`haproxy.backend.backupServers`) FROM Metric FACET entity.name" + "query" : "SELECT latest(backend.backupServers) FROM HAProxyBackendSample FACET entityName" } ] } }, { @@ -227,7 +227,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT average(`haproxy.backend.bytesInPerSecond`) FROM Metric TIMESERIES FACET entity.name" + "query" : "SELECT average(backend.bytesInPerSecond) FROM HAProxyBackendSample FACET entityName TIMESERIES AUTO" } ] } }, { @@ -244,7 +244,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT average(`haproxy.backend.bytesOutPerSecond`) FROM Metric TIMESERIES FACET entity.name" + "query" : "SELECT average(backend.bytesOutPerSecond) FROM HAProxyBackendSample FACET entityName TIMESERIES AUTO" } ] } }, { @@ -261,7 +261,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT average(`haproxy.backend.httpResponseBytesFedToCompressorPerSecond`) FROM Metric TIMESERIES FACET entity.name" + "query" : "SELECT average(backend.httpResponseBytesFedToCompressorPerSecond) FROM HAProxyBackendSample FACET entityName TIMESERIES AUTO" } ] } }, { @@ -278,7 +278,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT average(`haproxy.backend.http200ResponsesPerSecond`) FROM Metric TIMESERIES FACET entity.name" + "query" : "SELECT average(backend.http200ResponsesPerSecond) FROM HAProxyBackendSample FACET entityName TIMESERIES AUTO" } ] } }, { @@ -295,7 +295,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT average(`haproxy.backend.http100ResponsesPerSecond`) + average(`haproxy.backend.http300ResponsesPerSecond`) + average(`haproxy.backend.http400ResponsesPerSecond`) + average(`haproxy.backend.http500ResponsesPerSecond`) FROM Metric TIMESERIES FACET entity.name" + "query" : "SELECT (((average(backend.http100ResponsesPerSecond) + average(backend.http300ResponsesPerSecond)) + average(backend.http400ResponsesPerSecond)) + average(backend.http500ResponsesPerSecond)) FROM HAProxyBackendSample FACET entityName TIMESERIES AUTO" } ] } }, { @@ -312,7 +312,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT average(`haproxy.backend.sessionsPerSecond`) FROM Metric TIMESERIES FACET entity.name" + "query" : "SELECT average(backend.sessionsPerSecond) FROM HAProxyBackendSample FACET entityName TIMESERIES AUTO" } ] } }, { @@ -329,7 +329,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT latest(`haproxy.backendMode`) FROM Metric FACET entity.name" + "query" : "SELECT latest(backend.mode) FROM HAProxyBackendSample FACET entityName" } ] } } ] diff --git a/dashboards/hcp-vault/hcp-vault.json b/dashboards/hcp-vault/hcp-vault.json new file mode 100644 index 0000000000..bfc66b7a5b --- /dev/null +++ b/dashboards/hcp-vault/hcp-vault.json @@ -0,0 +1,812 @@ +{ + "name": "HCP Vault", + "description": null, + "pages": [ + { + "name": "Overview", + "description": null, + "widgets": [ + { + "title": "", + "layout": { + "column": 1, + "row": 1, + "width": 1, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.markdown" + }, + "rawConfiguration": { + "text": "\n\n![New Rellog](https://www.datocms-assets.com/2885/1696356781-vault_verticallogo_black_rgb.svg)\n\n" + } + }, + { + "title": "", + "layout": { + "column": 2, + "row": 1, + "width": 11, + "height": 1 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.markdown" + }, + "rawConfiguration": { + "text": "# HCP Vault Metrics Overview" + } + }, + { + "title": "Vault core Unsealed (1=true)", + "layout": { + "column": 2, + "row": 2, + "width": 2, + "height": 2 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.billboard" + }, + "rawConfiguration": { + "dataFormatters": [ + { + "name": "vault_core_unsealed", + "type": null + } + ], + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM Metric SELECT latest(vault_core_unsealed) WHERE project_id IN ({{vault_project}}) AND cluster_id IN ({{vault_cluster}})" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "thresholds": [ + { + "alertSeverity": "WARNING", + "value": 0 + }, + { + "alertSeverity": "CRITICAL", + "value": -1 + } + ] + } + }, + { + "title": "Number of Identity Entities", + "layout": { + "column": 4, + "row": 2, + "width": 4, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.stacked-bar" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM Metric SELECT average(vault_identity_num_entities) TIMESERIES 5 minutes SINCE 1 hour ago WHERE project_id IN ({{vault_project}}) AND cluster_id IN ({{vault_cluster}})" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + }, + { + "title": "Login request duration", + "layout": { + "column": 8, + "row": 2, + "width": 5, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.line" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM Metric SELECT average(vault_core_handle_login_request) AS 'ms' TIMESERIES 2 minutes SINCE 1 hour ago" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "yAxisLeft": { + "zero": true + }, + "yAxisRight": { + "zero": true + } + } + }, + { + "title": "Leases set to expire", + "layout": { + "column": 1, + "row": 4, + "width": 3, + "height": 2 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.billboard" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM Metric SELECT latest(vault_expire_num_leases) as 'leases' WHERE project_id IN ({{vault_project}}) AND cluster_id IN ({{vault_cluster}})" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + }, + { + "title": "Policy get", + "layout": { + "column": 4, + "row": 5, + "width": 4, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.line" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM Metric SELECT rate(sum(vault_policy_get_policy_count), 1 minute) as 'Gets per minute' WHERE project_id IN ({{vault_project}}) AND cluster_id IN ({{vault_cluster}}) TIMESERIES 5 minutes SINCE 1 hour ago " + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "yAxisLeft": { + "zero": true + }, + "yAxisRight": { + "zero": true + } + } + }, + { + "title": "Policy set", + "layout": { + "column": 8, + "row": 5, + "width": 5, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.line" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM Metric SELECT rate(sum(vault_policy_set_policy_count), 1 minute) as 'Sets per minute' WHERE project_id IN ({{vault_project}}) AND cluster_id IN ({{vault_cluster}}) TIMESERIES 2 minutes SINCE 1 hour ago" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "yAxisLeft": { + "zero": true + }, + "yAxisRight": { + "zero": true + } + } + }, + { + "title": "Secret Count", + "layout": { + "column": 1, + "row": 6, + "width": 3, + "height": 2 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.billboard" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM Metric SELECT max(vault_secret_kv_count) as 'Secrets' WHERE project_id IN ({{vault_project}}) AND cluster_id IN ({{vault_cluster}}) SINCE 1 hour ago" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + }, + { + "title": "", + "layout": { + "column": 1, + "row": 8, + "width": 12, + "height": 1 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.markdown" + }, + "rawConfiguration": { + "text": "# Runtime metrics" + } + }, + { + "title": "Total Go routines", + "layout": { + "column": 1, + "row": 9, + "width": 6, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.area" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM Metric SELECT average(vault_runtime_num_goroutines) as 'Go routines' WHERE project_id IN ({{vault_project}}) AND cluster_id IN ({{vault_cluster}}) TIMESERIES 1 minutes SINCE 1 hour ago" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + }, + { + "title": "Allocated MB", + "layout": { + "column": 7, + "row": 9, + "width": 6, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.area" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM Metric SELECT average(vault_runtime_alloc_bytes)/1e+6 as 'MB' WHERE project_id IN ({{vault_project}}) AND cluster_id IN ({{vault_cluster}}) TIMESERIES 2 minutes SINCE 1 hour ago" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + }, + { + "title": "Heap Objects used", + "layout": { + "column": 1, + "row": 12, + "width": 6, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.area" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "SELECT average((`__result_0` / `__result_1`)) as 'Heap objects used' FROM (SELECT latest(vault_runtime_heap_objects) AS `__result_0`, latest(vault_runtime_malloc_count) AS `__result_1` FROM Metric WHERE project_id IN ({{vault_project}}) AND cluster_id IN ({{vault_cluster}}) FACET dimensions() LIMIT max TIMESERIES 2 minutes) SINCE 60 MINUTES AGO UNTIL NOW TIMESERIES 2 minutes" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + }, + { + "title": "Count of object on the heap", + "layout": { + "column": 7, + "row": 12, + "width": 6, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.area" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM Metric SELECT sum(vault_runtime_heap_objects) WHERE project_id IN ({{vault_project}}) AND cluster_id IN ({{vault_cluster}}) TIMESERIES 2 minutes SINCE 1 hour ago UNTIL Now" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + }, + { + "title": "", + "layout": { + "column": 1, + "row": 15, + "width": 12, + "height": 1 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.markdown" + }, + "rawConfiguration": { + "text": "# Token related metrics" + } + }, + { + "title": "Available token count", + "layout": { + "column": 1, + "row": 16, + "width": 3, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.billboard" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM Metric SELECT latest(vault_token_count) as 'Tokens' WHERE project_id IN ({{vault_project}}) AND cluster_id IN ({{vault_cluster}})" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + }, + { + "title": "Tokens by auth method", + "layout": { + "column": 4, + "row": 16, + "width": 3, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.stacked-bar" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "SELECT average(vault_token_count_by_auth) FROM Metric WHERE project_id IN ({{vault_project}}) AND cluster_id IN ({{vault_cluster}}) FACET auth_method TIMESERIES 2 minutes SINCE 1 hour ago" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + }, + { + "title": "Tokens by ttl Method", + "layout": { + "column": 7, + "row": 16, + "width": 3, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.stacked-bar" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "SELECT average(vault_token_count_by_ttl) FROM Metric FACET creation_ttl WHERE project_id IN ({{vault_project}}) AND cluster_id IN ({{vault_cluster}}) TIMESERIES 2 minutes SINCE 1 hour ago" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + }, + { + "title": "Tokens by policy", + "layout": { + "column": 10, + "row": 16, + "width": 3, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.stacked-bar" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "SELECT average(vault_token_count_by_policy) FROM Metric WHERE project_id IN ({{vault_project}}) AND cluster_id IN ({{vault_cluster}}) FACET policy TIMESERIES 2 minutes SINCE 1 hour ago" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + }, + { + "title": "Token creation/storage", + "layout": { + "column": 1, + "row": 19, + "width": 4, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.line" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "SELECT average(vault_token_create) as 'create' FROM Metric WHERE project_id IN ({{vault_project}}) AND cluster_id IN ({{vault_cluster}}) TIMESERIES 2 minutes SINCE 1 hour ago UNTIL now" + }, + { + "accountIds": [], + "query": "SELECT average(vault_token_store) as 'store' FROM Metric WHERE project_id IN ({{vault_project}}) AND cluster_id IN ({{vault_cluster}}) TIMESERIES 2 minutes SINCE 1 hour ago UNTIL now" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "yAxisLeft": { + "zero": false + }, + "yAxisRight": { + "zero": true + } + } + }, + { + "title": "Token lookups", + "layout": { + "column": 5, + "row": 19, + "width": 4, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.line" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "SELECT rate(sum(vault_token_lookup_count), 1 minute) as 'Lookups per minute' FROM Metric WHERE project_id IN ({{vault_project}}) AND cluster_id IN ({{vault_cluster}}) TIMESERIES 2 minutes SINCE 1 hour ago" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "yAxisLeft": { + "zero": false + }, + "yAxisRight": { + "zero": true + } + } + }, + { + "title": "Renew/Revoke time (in ms)", + "layout": { + "column": 9, + "row": 19, + "width": 4, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.line" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "SELECT average(vault_expire_revoke) as 'Revoke ms' FROM Metric WHERE project_id IN ({{vault_project}}) AND cluster_id IN ({{vault_cluster}}) SINCE 1 hour ago TIMESERIES 2 minutes" + }, + { + "accountIds": [], + "query": "SELECT average(vault_expire_renew) as 'Renew ms' FROM Metric SINCE 1 hour ago TIMESERIES 5 minutes" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "yAxisLeft": { + "zero": true + }, + "yAxisRight": { + "zero": true + } + } + }, + { + "title": "", + "layout": { + "column": 1, + "row": 22, + "width": 12, + "height": 1 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.markdown" + }, + "rawConfiguration": { + "text": "# Audit Logs" + } + }, + { + "title": "Audit Log rate per minute", + "layout": { + "column": 1, + "row": 23, + "width": 6, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.line" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "SELECT rate(count(*), 1 minute) as 'Logs per minute' FROM Log WHERE hcp_product = 'vault' TIMESERIES 5 minutes UNTIL now" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "yAxisLeft": { + "zero": true + }, + "yAxisRight": { + "zero": true + } + } + }, + { + "title": "Error logs (response/request)", + "layout": { + "column": 7, + "row": 23, + "width": 6, + "height": 3 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.line" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "SELECT count(*) as 'Response Log Errors' FROM Log WHERE response.data.error IS NOT NULL AND hcp_product='vault' TIMESERIES 5 minutes SINCE 1 hour ago UNTIL NOW" + }, + { + "accountIds": [], + "query": "SELECT count(*) as 'Request Log Errors' FROM Log WHERE request.data.error IS NOT NULL AND hcp_product='vault' TIMESERIES 5 minutes SINCE 1 hour ago UNTIL NOW" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "yAxisLeft": { + "zero": true + }, + "yAxisRight": { + "zero": true + } + } + } + ] + } + ], + "variables": [ + { + "name": "vault_cluster", + "items": null, + "defaultValues": [ + { + "value": { + "string": "*" + } + }, + { + "value": { + "string": "vault-cluster" + } + } + ], + "nrqlQuery": { + "accountIds": [], + "query": "SELECT uniques(cluster_id) FROM Metric WHERE hcp_product='vault'" + }, + "options": { + "ignoreTimeRange": true + }, + "title": "Cluster Id", + "type": "NRQL", + "isMultiSelection": true, + "replacementStrategy": "STRING" + }, + { + "name": "vault_project", + "items": null, + "defaultValues": [ + { + "value": { + "string": "*" + } + }, + { + "value": { + "string": "d8ff14cb-a4ca-4666-8fdb-6f26b8d3a3d9" + } + } + ], + "nrqlQuery": { + "accountIds": [], + "query": "SELECT uniques(project_id) FROM Metric WHERE hcp_product='vault'" + }, + "options": { + "ignoreTimeRange": true + }, + "title": "Project Id", + "type": "NRQL", + "isMultiSelection": true, + "replacementStrategy": "STRING" + } + ] + } \ No newline at end of file diff --git a/dashboards/hcp-vault/hcp-vault01.png b/dashboards/hcp-vault/hcp-vault01.png new file mode 100644 index 0000000000..141c9c4406 Binary files /dev/null and b/dashboards/hcp-vault/hcp-vault01.png differ diff --git a/dashboards/hcp-vault/hcp-vault02.png b/dashboards/hcp-vault/hcp-vault02.png new file mode 100644 index 0000000000..611b50302e Binary files /dev/null and b/dashboards/hcp-vault/hcp-vault02.png differ diff --git a/dashboards/hcp-vault/hcp-vault03.png b/dashboards/hcp-vault/hcp-vault03.png new file mode 100644 index 0000000000..e96d723236 Binary files /dev/null and b/dashboards/hcp-vault/hcp-vault03.png differ diff --git a/dashboards/hcp-vault/hcp-vault04.png b/dashboards/hcp-vault/hcp-vault04.png new file mode 100644 index 0000000000..6b56721f23 Binary files /dev/null and b/dashboards/hcp-vault/hcp-vault04.png differ diff --git a/dashboards/kafka/kafka.json b/dashboards/kafka/kafka.json index 555fc4a9b6..2402fce0e8 100644 --- a/dashboards/kafka/kafka.json +++ b/dashboards/kafka/kafka.json @@ -35,7 +35,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT average(`kafka.broker.messagesInPerSecond`) FROM Metric timeseries 10 minutes since 12 hours ago where entity.name like 'broker:%' facet entity.name" + "query" : "SELECT average(broker.messagesInPerSecond) FROM KafkaBrokerSample WHERE (entityName LIKE 'broker:%') SINCE 12 HOURS AGO FACET entityName TIMESERIES 10 MINUTES" } ] } }, { @@ -65,7 +65,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT average(`kafka.broker.ioInPerSecond`) FROM Metric timeseries 10 minute since 12 hours ago where entity.name like 'broker:%' facet entity.name" + "query" : "SELECT average(broker.IOInPerSecond) FROM KafkaBrokerSample WHERE (entityName LIKE 'broker:%') SINCE 12 HOURS AGO FACET entityName TIMESERIES 10 MINUTES" } ] } }, { @@ -82,7 +82,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT average(`kafka.broker.ioOutPerSecond`) FROM Metric timeseries 10 minute since 12 hours ago where entity.name like 'broker:%' facet entity.name" + "query" : "SELECT average(broker.IOOutPerSecond) FROM KafkaBrokerSample WHERE (entityName LIKE 'broker:%') SINCE 12 HOURS AGO FACET entityName TIMESERIES 10 MINUTES" } ] } }, { @@ -99,7 +99,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT average(`kafka.broker.replication.leaderElectionPerSecond`) FROM Metric timeseries 10 minute since 12 hours ago where entity.name like 'broker:%' facet entity.name" + "query" : "SELECT average(replication.leaderElectionPerSecond) FROM KafkaBrokerSample WHERE (entityName LIKE 'broker:%') SINCE 12 HOURS AGO FACET entityName TIMESERIES 10 MINUTES" } ] } }, { @@ -116,7 +116,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT average(`kafka.broker.replication.uncleanLeaderElectionPerSecond`) FROM Metric timeseries 10 minute since 12 hours ago where entity.name like 'broker:%' facet entity.name" + "query" : "SELECT average(replication.uncleanLeaderElectionPerSecond) FROM KafkaBrokerSample WHERE (entityName LIKE 'broker:%') SINCE 12 HOURS AGO FACET entityName TIMESERIES 10 MINUTES" } ] } }, { @@ -133,7 +133,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT average(`kafka.broker.bytesWrittenToTopicPerSecond`) FROM Metric TIMESERIES 10 minute SINCE 12 hours AGO WHERE `entity.name` LIKE 'broker:%' FACET kafka.topic" + "query" : "SELECT average(broker.bytesWrittenToTopicPerSecond) FROM KafkaBrokerSample WHERE (entityName LIKE 'broker:%') SINCE 12 HOURS AGO FACET topic TIMESERIES 10 MINUTES" } ] } }, { @@ -150,7 +150,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT average(`kafka.consumer.fetchPerSecond`) FROM Metric TIMESERIES 10 minute since 12 hours ago where entity.name like 'consumer:%' FACET entity.name" + "query" : "SELECT average(consumer.fetchPerSecond) FROM KafkaConsumerSample WHERE (entityName LIKE 'consumer:%') SINCE 12 HOURS AGO FACET entityName TIMESERIES 10 MINUTES" } ] } }, { @@ -167,7 +167,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT average(`kafka.consumer.maxLag`) FROM Metric TIMESERIES 10 minute since 12 hours ago where entity.name like 'consumer:%' FACET entity.name" + "query" : "SELECT average(consumer.maxLag) FROM KafkaConsumerSample WHERE (entityName LIKE 'consumer:%') SINCE 12 HOURS AGO FACET entityName TIMESERIES 10 MINUTES" } ] } }, { @@ -184,7 +184,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT average(`kafka.broker.replication.unreplicatedPartitions`) FROM Metric timeseries 10 minute since 12 hours ago where entity.name like 'broker:%' facet entity.name" + "query" : "SELECT average(replication.unreplicatedPartitions) FROM KafkaBrokerSample WHERE (entityName LIKE 'broker:%') SINCE 12 HOURS AGO FACET entityName TIMESERIES 10 MINUTES" } ] } }, { @@ -201,7 +201,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT latest(`kafka.consumer.totalLag`) FROM Metric TIMESERIES 10 minute since 12 hours ago facet entity.name" + "query" : "SELECT latest(consumer.totalLag) FROM KafkaOffsetSample SINCE 12 HOURS AGO FACET entityName TIMESERIES 10 MINUTES" } ] } }, { @@ -218,7 +218,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT average(`kafka.consumer.messageConsumptionPerSecond`) FROM Metric TIMESERIES 10 minute since 12 hours ago where entity.name like 'consumer:%' FACET entity.name" + "query" : "SELECT average(consumer.messageConsumptionPerSecond) FROM KafkaConsumerSample WHERE (entityName LIKE 'consumer:%') SINCE 12 HOURS AGO FACET entityName TIMESERIES 10 MINUTES" } ] } }, { @@ -235,7 +235,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELEct latest(`kafka.topic.underReplicatedPartitions`) as 'Under Replicated Partitions' FROM Metric facet entity.name where entity.name like 'topic%'" + "query" : "SELECT latest(topic.underReplicatedPartitions) AS `Under Replicated Partitions` FROM KafkaTopicSample WHERE (entityName LIKE 'topic%') FACET entityName" } ] } }, { @@ -252,7 +252,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT average(`kafka.consumer.bytesInPerSecond`) FROM Metric TIMESERIES 10 minute since 12 hours ago where entity.name like 'consumer:%' FACET entity.name" + "query" : "SELECT average(consumer.bytesInPerSecond) FROM KafkaConsumerSample WHERE (entityName LIKE 'consumer:%') SINCE 12 HOURS AGO FACET entityName TIMESERIES 10 MINUTES" } ] } }, { @@ -269,7 +269,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT average(`kafka.producer.avgRequestLatency`) FROM Metric TIMESERIES 10 minute since 12 hours ago where entity.name like 'producer:%' FACET entity.name" + "query" : "SELECT average(producer.avgRequestLatencyPerSecond) FROM KafkaProducerSample WHERE (entityName LIKE 'producer:%') SINCE 12 HOURS AGO FACET entityName TIMESERIES 10 MINUTES" } ] } }, { @@ -286,9 +286,9 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT average(`kafka.producer.ioWaitTime`) FROM Metric TIMESERIES 10 minute since 12 hours ago where entity.name like 'producer:%' FACET entity.name" + "query" : "SELECT average(producer.ioWaitTime) FROM KafkaProducerSample WHERE (entityName LIKE 'producer:%') SINCE 12 HOURS AGO FACET entityName TIMESERIES 10 MINUTES" } ] } } ] } ] -} \ No newline at end of file +} diff --git a/dashboards/kubernetes/kubernetes.json b/dashboards/kubernetes/kubernetes.json index 4556339bc5..6e1787b1c0 100644 --- a/dashboards/kubernetes/kubernetes.json +++ b/dashboards/kubernetes/kubernetes.json @@ -22,7 +22,7 @@ "nrqlQueries": [ { "accountId": 0, - "query": "SELECT (average(k8s.node.cpuUsedCores) * uniqueCount(entity.name)) as 'Cores', (average(k8s.node.memoryWorkingSetBytes) * uniqueCount(entity.name)) / 1000000000 as 'Mem GB' FROM Metric WHERE metricName IN ('k8s.node.cpuUsedCores', 'k8s.node.memoryWorkingSetBytes') UNTIL 1 minute ago" + "query": "SELECT (average(cpuUsedCores) * uniqueCount(entityName)) AS `Cores`, ((average(memoryWorkingSetBytes) * uniqueCount(entityName)) / 1000000000) AS `Mem GB` FROM K8sNodeSample UNTIL 1 MINUTES AGO" } ] } @@ -82,7 +82,7 @@ "nrqlQueries": [ { "accountId": 0, - "query": "FROM Metric SELECT uniqueCount(k8s.namespaceName) WHERE metricName = 'k8s.pod.createdAt' FACET k8s.clusterName UNTIL 1 minute ago limit 100" + "query": "SELECT uniqueCount(namespaceName) FROM K8sPodSample UNTIL 1 MINUTES AGO FACET clusterName LIMIT 100" } ] } @@ -103,7 +103,7 @@ "nrqlQueries": [ { "accountId": 0, - "query": "FROM Metric SELECT uniqueCount(k8s.podName) as 'pod' WHERE metricName = 'k8s.pod.createdAt' FACET k8s.namespaceName UNTIL 1 minute ago limit 100" + "query": "SELECT uniqueCount(podName) AS `pod` FROM K8sPodSample UNTIL 1 MINUTES AGO FACET namespaceName LIMIT 100" } ] } @@ -124,7 +124,7 @@ "nrqlQueries": [ { "accountId": 0, - "query": "FROM Metric SELECT max(k8s.container.restartCount)-min(k8s.container.restartCount) as 'Restarts' WHERE metricName = 'k8s.container.restartCount' FACET k8s.clusterName, k8s.podName, k8s.containerName UNTIL 1 minute ago TIMESERIES limit 50" + "query": "SELECT (max(restartCount) - min(restartCount)) AS `Restarts` FROM K8sContainerSample UNTIL 1 MINUTES AGO FACET tuple(clusterName, podName, containerName) LIMIT 50 TIMESERIES AUTO" } ] } @@ -145,7 +145,7 @@ "nrqlQueries": [ { "accountId": 0, - "query": "FROM Metric SELECT latest(k8s.container.cpuUsedCores)/latest(k8s.container.cpuLimitCores) * 100 as '% CPU' WHERE metricName = 'k8s.container.restartCount' FACET k8s.clusterName, k8s.podName, k8s.containerName UNTIL 1 minute ago TIMESERIES limit 50" + "query": "SELECT ((latest(cpuUsedCores) / latest(cpuLimitCores)) * 100) AS `% CPU` FROM K8sContainerSample UNTIL 1 MINUTES AGO FACET tuple(clusterName, podName, containerName) LIMIT 50 TIMESERIES AUTO" } ] } @@ -166,7 +166,7 @@ "nrqlQueries": [ { "accountId": 0, - "query": "FROM Metric SELECT latest(k8s.container.memoryWorkingSetUtilization) as '% Memory' WHERE metricName = 'k8s.container.restartCount' FACET k8s.clusterName, k8s.podName, k8s.containerName UNTIL 1 minute ago TIMESERIES limit 50" + "query": "SELECT latest(memoryWorkingSetUtilization) AS `% Memory` FROM K8sContainerSample UNTIL 1 MINUTES AGO FACET tuple(clusterName, podName, containerName) LIMIT 50 TIMESERIES AUTO" } ] } @@ -187,7 +187,7 @@ "nrqlQueries": [ { "accountId": 0, - "query": "FROM Metric select latest(k8s.volume.fsUsedPercent) where metricName = 'k8s.volume.fsUsedPercent' facet k8s.podName, k8s.volumeName, k8s.pvcName timeseries" + "query": "SELECT latest(fsUsedPercent) FROM K8sVolumeSample FACET tuple(podName, volumeName, pvcName) TIMESERIES AUTO" } ] } @@ -208,7 +208,7 @@ "nrqlQueries": [ { "accountId": 0, - "query": "SELECT average(k8s.container.cpuUsedCores) as 'CPU Cores Used' FROM Metric WHERE metricName = 'k8s.container.restartCount' FACET k8s.clusterName, k8s.podName, k8s.containerName timeseries since 60 minutes ago UNTIL 1 minute ago limit 50" + "query": "SELECT average(cpuUsedCores) AS `CPU Cores Used` FROM K8sContainerSample SINCE 60 MINUTES AGO UNTIL 1 MINUTES AGO FACET tuple(clusterName, podName, containerName) LIMIT 50 TIMESERIES AUTO" } ] } @@ -229,7 +229,7 @@ "nrqlQueries": [ { "accountId": 0, - "query": "SELECT average(k8s.container.memoryWorkingSetBytes / 1000000) as 'MB of Mem' FROM Metric FACET k8s.clusterName, k8s.podName, k8s.containerName timeseries since 60 minutes ago UNTIL 1 minute ago limit 50" + "query": "SELECT average((memoryWorkingSetBytes / 1000000)) AS `MB of Mem` FROM K8sContainerSample SINCE 60 MINUTES AGO UNTIL 1 MINUTES AGO FACET tuple(clusterName, podName, containerName) LIMIT 50 TIMESERIES AUTO" } ] } @@ -250,7 +250,7 @@ "nrqlQueries": [ { "accountId": 0, - "query": "SELECT latest(k8s.replicaset.podsDesired) - latest(k8s.replicaset.podsReady) as 'Missing Pods' FROM Metric since 10 minutes ago UNTIL 1 minute ago facet k8s.clusterName, k8s.deploymentName timeseries limit 50" + "query": "SELECT (latest(podsDesired) - latest(podsReady)) AS `Missing Pods` FROM K8sReplicasetSample SINCE 10 MINUTES AGO UNTIL 1 MINUTES AGO FACET tuple(clusterName, deploymentName) LIMIT 50 TIMESERIES AUTO" } ] } @@ -275,7 +275,7 @@ "nrqlQueries": [ { "accountId": 0, - "query": "SELECT filter (latest(k8s.status),WHERE k8s.status !='Running' AND k8s.status !='Succeeded' AND k8s.status IS NOT NULL AND k8s.podName IS NOT NULL) as 'Status', max(timestamp) as 'Timestamp' FROM Metric FACET k8s.clusterName AS 'Cluster Name', k8s.namespaceName AS 'Namespace', k8s.podName AS 'Pod Name' limit 100 " + "query": "SELECT filter(latest(status), WHERE (((`eventType`() IN ('K8sContainerSample', 'K8sPodSample')) AND (((NOT ((status = 'Running')) AND NOT ((status = 'Succeeded'))) AND NOT (status IS NULL)) AND NOT (podName IS NULL))) OR ((`eventType`() = 'K8sNamespaceSample') AND (((NOT ((status = 'Running')) AND NOT ((status = 'Succeeded'))) AND NOT (status IS NULL)) AND NOT (`k8s`.`podName` IS NULL))))) AS `Status`, max(timestamp) AS `Timestamp` FROM K8sContainerSample, K8sNamespaceSample, K8sPodSample FACET tuple(clusterName AS `Cluster Name`, namespaceName AS `Namespace`, (`conditional`(WHERE (`eventType`() IN ('K8sContainerSample', 'K8sPodSample')), podName) OR `conditional`(WHERE (`eventType`() = 'K8sNamespaceSample'), k8s.podName)) AS `Pod Name`) LIMIT 100 " } ] } @@ -302,7 +302,7 @@ "nrqlQueries": [ { "accountId": 0, - "query": "SELECT uniqueCount(k8s.containerId) FROM Metric where metricName = 'k8s.container.restartCount' facet k8s.namespaceName TIMESERIES" + "query": "SELECT uniqueCount(containerID) FROM K8sContainerSample FACET namespaceName TIMESERIES AUTO" } ], "yAxisLeft": { @@ -326,7 +326,7 @@ "nrqlQueries": [ { "accountId": 0, - "query": "FROM Metric SELECT latest(k8s.node.cpuUsedCores) as 'Used Cores', latest(k8s.node.memoryWorkingSetBytes) / 1000000 as 'Used Memory MB', uniqueCount(k8s.podName) as 'Pods' WHERE metricName = 'k8s.node.cpuUsedCores' FACET k8s.nodeName since 10 minutes ago UNTIL 1 minute ago limit 100" + "query": "SELECT latest(cpuUsedCores) AS `Used Cores`, (latest(memoryWorkingSetBytes) / 1000000) AS `Used Memory MB`, uniqueCount(`k8s`.`podName`) AS `Pods` FROM K8sNodeSample SINCE 10 MINUTES AGO UNTIL 1 MINUTES AGO FACET nodeName LIMIT 100" } ] } @@ -347,7 +347,7 @@ "nrqlQueries": [ { "accountId": 0, - "query": "SELECT uniqueCount(k8s.podName) FROM Metric where k8s.status = 'Running' AND metricName = 'k8s.pod.createdAt' SINCE 10 minutes AGO UNTIL 1 minute ago facet k8s.clusterName, k8s.deploymentName WHERE k8s.deploymentName IS NOT NULL TIMESERIES limit 50" + "query": "SELECT uniqueCount(podName) FROM K8sPodSample WHERE (((status = 'Running') AND NOT (createdAt IS NULL)) AND NOT (deploymentName IS NULL)) SINCE 10 MINUTES AGO UNTIL 1 MINUTES AGO FACET tuple(clusterName, deploymentName) LIMIT 50 TIMESERIES AUTO" } ] } @@ -389,7 +389,7 @@ "nrqlQueries": [ { "accountId": 0, - "query": "SELECT uniquecount(k8s.podName) FROM Metric where status='Running' and metricName = 'k8s.pod.createdAt' facet k8s.nodeName since 10 minutes ago UNTIL 1 minute ago" + "query": "SELECT uniquecount(podName) FROM K8sPodSample WHERE ((status = 'Running') AND NOT (createdAt IS NULL)) SINCE 10 MINUTES AGO UNTIL 1 MINUTES AGO FACET nodeName" } ] } @@ -410,7 +410,7 @@ "nrqlQueries": [ { "accountId": 0, - "query": "SELECT latest(`k8s.pod.netRxBytesPerSecond`)/1000 as 'Received KBps', latest(`k8s.pod.netTxBytesPerSecond`)/1000 as 'Transmitted KBps', latest(`k8s.pod.netErrorsPerSecond`) as 'Errors / sec' FROM Metric FACET k8s.podName since 10 minutes ago UNTIL 1 minute ago limit 100" + "query": "SELECT (latest(net.rxBytesPerSecond) / 1000) AS `Received KBps`, (latest(net.txBytesPerSecond) / 1000) AS `Transmitted KBps`, latest(net.errorsPerSecond) AS `Errors / sec` FROM K8sPodSample SINCE 10 MINUTES AGO UNTIL 1 MINUTES AGO FACET podName LIMIT 100" } ] } @@ -453,7 +453,7 @@ "nrqlQueries": [ { "accountId": 0, - "query": "FROM Metric select uniqueCount(k8s.nodeName) as 'Nodes', filter(uniqueCount(k8s.podName), where k8s.status = 'Running' and metricName = 'k8s.pod.createdAt') as 'Running Pods', filter(uniqueCount(k8s.podName), where k8s.status in ('Pending') and metricName = 'k8s.pod.createdAt') as 'Pending Pods', uniqueCount(k8s.podName) as 'Total Pods' where metricName = 'k8s.pod.createdAt' facet k8s.clusterName since 30 minutes ago limit 1000" + "query": "SELECT uniqueCount(nodeName) AS `Nodes`, filter(uniqueCount(podName), WHERE ((status = 'Running') AND NOT (createdAt IS NULL))) AS `Running Pods`, filter(uniqueCount(podName), WHERE ((status IN ('Pending')) AND NOT (createdAt IS NULL))) AS `Pending Pods`, uniqueCount(podName) AS `Total Pods` FROM K8sPodSample SINCE 30 MINUTES AGO FACET clusterName LIMIT 1000" } ] } @@ -474,7 +474,7 @@ "nrqlQueries": [ { "accountId": 0, - "query": "FROM Metric SELECT average(k8s.node.cpuUsedCores) / average(k8s.node.allocatableCpuCores) * 100 AS 'CPU Util %', 100 as '100' since 30 minutes ago TIMESERIES" + "query": "SELECT ((average(cpuUsedCores) / average(allocatableCpuCores)) * 100) AS `CPU Util %`, 100 AS `100` FROM K8sNodeSample SINCE 30 MINUTES AGO TIMESERIES AUTO" } ] } @@ -495,7 +495,7 @@ "nrqlQueries": [ { "accountId": 0, - "query": "FROM Metric SELECT average(k8s.node.memoryWorkingSetBytes) / average(k8s.node.allocatableMemoryBytes) * 100 AS 'Memory Util %', 100 as '100' since 30 minutes ago TIMESERIES" + "query": "SELECT ((average(memoryWorkingSetBytes) / average(allocatableMemoryBytes)) * 100) AS `Memory Util %`, 100 AS `100` FROM K8sNodeSample SINCE 30 MINUTES AGO TIMESERIES AUTO" } ] } @@ -516,7 +516,7 @@ "nrqlQueries": [ { "accountId": 0, - "query": "SELECT average(k8s.node.fsUsedBytes) / average(k8s.node.fsCapacityBytes) * 100 AS 'Disk Util %', 100 as '100' FROM Metric since 30 minutes ago TIMESERIES" + "query": "SELECT ((average(fsUsedBytes) / average(fsCapacityBytes)) * 100) AS `Disk Util %`, 100 AS `100` FROM K8sNodeSample SINCE 30 MINUTES AGO TIMESERIES AUTO" } ] } @@ -583,7 +583,7 @@ "nrqlQueries": [ { "accountId": 0, - "query": "FROM Metric select filter(uniqueCount(k8s.podName), where k8s.status = 'Running') as 'Running Pods', filter(uniqueCount(k8s.podName), where k8s.status = 'Pending') as 'Pending Pods', (average(k8s.node.cpuUsedCores) / average(k8s.node.allocatableCpuCores) * 100) as 'CPU %', (average(k8s.node.memoryWorkingSetBytes) / average(k8s.node.allocatableMemoryBytes) * 100) as 'Mem %', (average(k8s.node.fsUsedBytes) / average(k8s.node.fsCapacityBytes) * 100) as 'Disk Util %' where metricName = 'k8s.pod.createdAt' and nodeName is not null facet nodeName limit 2000 since 30 minutes ago" + "query": "SELECT filter(uniqueCount(podName), WHERE (status = 'Running')) AS `Running Pods`, filter(uniqueCount(podName), WHERE (status = 'Pending')) AS `Pending Pods`, ((average(`k8s`.`node.cpuUsedCores`) / average(`k8s`.`node.allocatableCpuCores`)) * 100) AS `CPU %`, ((average(`k8s`.`node.memoryWorkingSetBytes`) / average(`k8s`.`node.allocatableMemoryBytes`)) * 100) AS `Mem %`, ((average(`k8s`.`node.fsUsedBytes`) / average(`k8s`.`node.fsCapacityBytes`)) * 100) AS `Disk Util %` FROM K8sPodSample WHERE (NOT (createdAt IS NULL) AND NOT (nodeName IS NULL)) SINCE 30 MINUTES AGO FACET nodeName LIMIT 2000" } ] } @@ -718,7 +718,7 @@ "nrqlQueries": [ { "accountId": 0, - "query": "FROM Metric select max(k8s.container.restartCount) AS 'Restart Count', latest(k8s.reason) AS 'Last Restart Reason' where k8s.container.restartCount[latest] > 0 AND k8s.reason IS NOT NULL and metricName = 'k8s.container.restartCount' order by k8s.container.restartCount facet k8s.containerName AS 'Container Name', k8s.podName AS 'Pod Name', k8s.clusterName AS 'Cluster Name' since 30 minutes ago limit 1000" + "query": "SELECT max(restartCount) AS `Restart Count`, latest(reason) AS `Last Restart Reason` FROM K8sContainerSample WHERE (((restartCount > 0) AND NOT (reason IS NULL)) AND NOT (restartCount IS NULL)) SINCE 30 MINUTES AGO FACET tuple(containerName AS `Container Name`, podName AS `Pod Name`, clusterName AS `Cluster Name`) LIMIT 1000" } ] } @@ -786,7 +786,7 @@ "nrqlQueries": [ { "accountId": 0, - "query": "FROM Metric select uniqueCount(k8s.podName) as 'Pod Count' where k8s.status is not null and metricName = 'k8s.pod.createdAt' facet k8s.clusterName AS 'Cluster Name', k8s.status AS 'Status' since 30 minutes ago limit 100" + "query": "SELECT uniqueCount(podName) AS `Pod Count` FROM K8sPodSample WHERE (NOT (status IS NULL) AND NOT (createdAt IS NULL)) SINCE 30 MINUTES AGO FACET tuple(clusterName AS `Cluster Name`, status AS `Status`) LIMIT 100" } ] } @@ -811,7 +811,7 @@ "nrqlQueries": [ { "accountId": 0, - "query": "FROM Metric select k8s.podName AS 'Pod Name', k8s.status AS 'Status' , k8s.clusterName AS 'Cluster Name' where k8s.status = 'Pending' and metricName = 'k8s.pod.createdAt' since 30 minutes ago limit 1000" + "query": "SELECT podName AS `Pod Name`, status AS `Status`, clusterName AS `Cluster Name` FROM K8sPodSample WHERE ((status = 'Pending') AND NOT (createdAt IS NULL)) SINCE 30 MINUTES AGO LIMIT 1000" } ] } @@ -832,7 +832,7 @@ "nrqlQueries": [ { "accountId": 0, - "query": "SELECT count(k8s.reason) as 'OOM Kills' FROM Metric WHERE k8s.reason = 'OOMKilled' facet k8s.clusterName, k8s.podName since 30 minutes ago limit 1000" + "query": "SELECT count(reason) AS `OOM Kills` FROM K8sContainerSample, K8sPodSample WHERE (reason = 'OOMKilled') SINCE 30 MINUTES AGO FACET tuple(clusterName, podName) LIMIT 1000" } ] } @@ -857,7 +857,7 @@ "nrqlQueries": [ { "accountId": 0, - "query": "FROM Metric select k8s.podName AS 'Pod Name', k8s.status AS 'Status', k8s.clusterName AS 'Cluster Name' where k8s.status = 'Failed' and metricName = 'k8s.pod.createdAt' since 30 minutes ago limit 1000" + "query": "SELECT podName AS `Pod Name`, status AS `Status`, clusterName AS `Cluster Name` FROM K8sPodSample WHERE ((status = 'Failed') AND NOT (createdAt IS NULL)) SINCE 30 MINUTES AGO LIMIT 1000" } ] } @@ -878,7 +878,7 @@ "nrqlQueries": [ { "accountId": 0, - "query": "SELECT max(k8s.container.restartCount) - min(k8s.container.restartCount) FROM Metric FACET k8s.podName, k8s.namespaceName" + "query": "SELECT (max(restartCount) - min(restartCount)) FROM K8sContainerSample FACET tuple(podName, namespaceName)" } ] } @@ -905,7 +905,7 @@ "nrqlQueries": [ { "accountId": 0, - "query": "SELECT average(k8s.node.cpuUsedCores) FROM Metric FACET k8s.nodeName SINCE 60 MINUTES AGO TIMESERIES" + "query": "SELECT average(cpuUsedCores) FROM K8sNodeSample SINCE 60 MINUTES AGO FACET nodeName TIMESERIES AUTO" } ] } @@ -926,7 +926,7 @@ "nrqlQueries": [ { "accountId": 0, - "query": "SELECT histogram(host.process.cpuPercent, 100, 25) FROM Metric FACET host.instanceType" + "query": "SELECT histogram(cpuPercent, 100, 25) FROM ProcessSample FACET instanceType" } ] } @@ -953,7 +953,7 @@ "nrqlQueries": [ { "accountId": 0, - "query": "SELECT (average(k8s.container.memoryUsedBytes) / average(k8s.container.memoryLimitBytes))*100 as 'Memory Used %' FROM Metric facet k8s.podName, k8s.containerName timeseries since 60 minutes ago LIMIT 1000" + "query": "SELECT ((average(memoryUsedBytes) / average(memoryLimitBytes)) * 100) AS `Memory Used %` FROM K8sContainerSample SINCE 60 MINUTES AGO FACET tuple(podName, containerName) LIMIT 1000 TIMESERIES AUTO" } ], "yAxisLeft": { @@ -977,7 +977,7 @@ "nrqlQueries": [ { "accountId": 0, - "query": "SELECT histogram(host.process.cpuPercent, 10, 100) FROM Metric FACET `containerLabel_io.kubernetes.pod.namespace`" + "query": "SELECT histogram(cpuPercent, 10, 100) FROM ProcessSample FACET containerLabel_io.kubernetes.pod.namespace" } ] } @@ -998,7 +998,7 @@ "nrqlQueries": [ { "accountId": 0, - "query": "SELECT max(k8s.container.cpuRequestedCores) FROM Metric FACET k8s.containerName SINCE 30 MINUTES AGO TIMESERIES" + "query": "SELECT max(cpuRequestedCores) FROM K8sContainerSample SINCE 30 MINUTES AGO FACET containerName TIMESERIES AUTO" } ] } diff --git a/dashboards/lampy/lampy.json b/dashboards/lampy/lampy.json index 92aec956c2..b7971b38a9 100644 --- a/dashboards/lampy/lampy.json +++ b/dashboards/lampy/lampy.json @@ -87,7 +87,7 @@ "nrqlQueries": [ { "accountIds": [], - "query": "SELECT average(host.cpuPercent) AS 'CPU used ' FROM Metric TIMESERIES auto" + "query": "SELECT average(cpuPercent) AS `CPU used ` FROM SystemSample TIMESERIES AUTO" } ], "platformOptions": { @@ -114,7 +114,7 @@ "nrqlQueries": [ { "accountIds": [], - "query": "FROM Metric SELECT average(host.memoryFreeBytes)/1e+6 as 'Free', average(host.memoryUsedBytes)/1e+6 as 'Used',average(host.memoryTotalBytes)/1e+6 as 'Total'" + "query": "SELECT (average(memoryFreeBytes) / 1000000.0) AS `Free`, (average(memoryUsedBytes) / 1000000.0) AS `Used`, (average(memoryTotalBytes) / 1000000.0) AS `Total` FROM SystemSample" } ], "platformOptions": { @@ -144,7 +144,7 @@ "nrqlQueries": [ { "accountIds": [], - "query": "SELECT latest(host.disk.usedPercent) as 'Used ',latest(host.disk.freePercent) as 'Free' FROM Metric FACET device " + "query": "SELECT latest(diskUsedPercent) AS `Used `, latest(diskFreePercent) AS `Free` FROM StorageSample FACET device " } ], "platformOptions": { @@ -233,7 +233,7 @@ "nrqlQueries": [ { "accountIds": [], - "query": "SELECT average(`apache.server.net.requestsPerSecond`) as 'Requests' FROM Metric TIMESERIES auto" + "query": "SELECT average(net.requestsPerSecond) AS `Requests` FROM ApacheSample TIMESERIES AUTO" } ], "platformOptions": { @@ -263,7 +263,7 @@ "nrqlQueries": [ { "accountIds": [], - "query": "SELECT (average(`apache.server.net.bytesPerSecond`)/average(`apache.server.net.requestsPerSecond`)) as 'Bytes sent per request' FROM Metric TIMESERIES auto" + "query": "SELECT (average(net.bytesPerSecond) / average(net.requestsPerSecond)) AS `Bytes sent per request` FROM ApacheSample TIMESERIES AUTO" } ], "platformOptions": { @@ -296,7 +296,7 @@ "nrqlQueries": [ { "accountIds": [], - "query": "SELECT average(`apache.server.scoreboard.readingWorkers`) as 'Reading request', average(`apache.server.scoreboard.writingWorkers`) as 'Writing', average(`apache.server.scoreboard.loggingWorkers`) as 'Logging', average(`apache.server.scoreboard.finishingWorkers`) as 'Finishing', average(`apache.server.scoreboard.closingWorkers`) as 'Closing connection', average(`apache.server.scoreboard.keepAliveWorkers`) as 'Keep alive', average(`apache.server.scoreboard.dnsLookupWorkers`) as 'DNS lookup', average(`apache.server.scoreboard.idleCleanupWorkers`) as 'Idle cleanup', average(`apache.server.scoreboard.startingWorkers`) as 'Starting' FROM Metric TIMESERIES auto" + "query": "SELECT average(server.scoreboard.readingWorkers) AS `Reading request`, average(server.scoreboard.writingWorkers) AS `Writing`, average(server.scoreboard.loggingWorkers) AS `Logging`, average(server.scoreboard.finishingWorkers) AS `Finishing`, average(server.scoreboard.closingWorkers) AS `Closing connection`, average(server.scoreboard.keepAliveWorkers) AS `Keep alive`, average(server.scoreboard.dnsLookupWorkers) AS `DNS lookup`, average(server.scoreboard.idleCleanupWorkers) AS `Idle cleanup`, average(server.scoreboard.startingWorkers) AS `Starting` FROM ApacheSample TIMESERIES AUTO" } ], "platformOptions": { @@ -385,7 +385,7 @@ "nrqlQueries": [ { "accountIds": [], - "query": "SELECT average(`mysql.node.query.insertPerSecond`) as 'Insert commands', average(`mysql.node.query.selectPerSecond`) as 'Select commands', average(`mysql.node.query.updatePerSecond`) as 'Update comands', average(`mysql.node.query.deletePerSecond`) as 'Delete commands' FROM Metric TIMESERIES auto" + "query": "SELECT average(query.comInsertPerSecond) AS `Insert commands`, average(query.comSelectPerSecond) AS `Select commands`, average(query.comUpdatePerSecond) AS `Update comands`, average(query.comDeletePerSecond) AS `Delete commands` FROM MysqlSample TIMESERIES AUTO" } ], "platformOptions": { @@ -415,7 +415,7 @@ "nrqlQueries": [ { "accountIds": [], - "query": "SELECT average(`mysql.node.net.bytesReceivedPerSecond`) as 'Bytes received', average(`mysql.node.net.bytesSentPerSecond`) as 'Bytes sent' FROM Metric TIMESERIES auto" + "query": "SELECT average(net.bytesReceivedPerSecond) AS `Bytes received`, average(net.bytesSentPerSecond) AS `Bytes sent` FROM MysqlSample TIMESERIES AUTO" } ], "platformOptions": { @@ -445,7 +445,7 @@ "nrqlQueries": [ { "accountIds": [], - "query": "SELECT average(`mysql.node.innodb.dataReadBytesPerSecond`) as 'Read InnoDB data', average(`mysql.node.innodb.dataWrittenBytesPerSecond`) as 'Write InnoDB data' FROM Metric TIMESERIES auto" + "query": "SELECT average(db.innodb.dataReadBytesPerSecond) AS `Read InnoDB data`, average(db.innodb.dataWrittenBytesPerSecond) AS `Write InnoDB data` FROM MysqlSample TIMESERIES AUTO" } ], "platformOptions": { @@ -814,7 +814,7 @@ "nrqlQueries": [ { "accountIds": [], - "query": "SELECT average(host.cpuPercent) AS 'CPU used %' FROM Metric " + "query": "SELECT average(cpuPercent) AS `CPU used %` FROM SystemSample " } ], "platformOptions": { @@ -851,7 +851,7 @@ "nrqlQueries": [ { "accountIds": [], - "query": "SELECT latest(`mysql.node.query.questionsPerSecond`) as '' FROM Metric" + "query": "SELECT latest(query.questionsPerSecond) AS `` FROM MysqlSample" } ], "platformOptions": { diff --git a/dashboards/lighttpd/lighttpd.json b/dashboards/lighttpd/lighttpd.json index d3d55a9e01..061bb1f629 100644 --- a/dashboards/lighttpd/lighttpd.json +++ b/dashboards/lighttpd/lighttpd.json @@ -41,7 +41,7 @@ "nrqlQueries": [ { "accountIds": [], - "query": "SELECT average(host.memoryUsedPercent) AS 'Memory Used (%)' FROM Metric WHERE host.hostname = {{hostname}}" + "query": "SELECT average(memoryUsedPercent) AS `Memory Used (%)` FROM SystemSample WHERE (hostname = {{hostname}})" } ], "platformOptions": { @@ -496,7 +496,7 @@ "nrqlQueries": [ { "accountIds": [], - "query": "SELECT average(host.cpuIdlePercent) as 'CPU Idle %', average(host.cpuIoWaitPercent) as 'CPU IO Wait %', average(host.cpuSystemPercent) as 'CPU System %', average(host.cpuUserPercent) as 'CPU User %' from Metric WHERE host.hostname = {{hostname}} TIMESERIES AUTO" + "query": "SELECT average(cpuIdlePercent) AS `CPU Idle %`, average(cpuIOWaitPercent) AS `CPU IO Wait %`, average(cpuSystemPercent) AS `CPU System %`, average(cpuUserPercent) AS `CPU User %` FROM SystemSample WHERE (hostname = {{hostname}}) TIMESERIES AUTO" } ], "platformOptions": { @@ -526,7 +526,7 @@ "nrqlQueries": [ { "accountIds": [], - "query": "SELECT average(host.memoryUsedPercent) AS 'Memory Used %' FROM Metric WHERE host.hostname = {{hostname}} TIMESERIES auto" + "query": "SELECT average(memoryUsedPercent) AS `Memory Used %` FROM SystemSample WHERE (hostname = {{hostname}}) TIMESERIES AUTO" } ], "platformOptions": { @@ -556,7 +556,7 @@ "nrqlQueries": [ { "accountIds": [], - "query": "SELECT average(host.disk.usedPercent) as 'Storage Used %' FROM Metric WHERE host.hostname = {{hostname}} TIMESERIES auto" + "query": "SELECT average(diskUsedPercent) AS `Storage Used %` FROM StorageSample WHERE (hostname = {{hostname}}) TIMESERIES AUTO" } ], "platformOptions": { @@ -586,7 +586,7 @@ "nrqlQueries": [ { "accountIds": [], - "query": "SELECT latest(host.net.transmitBytesPerSecond) AS 'Transmit Bytes per Second', latest(host.net.receiveBytesPerSecond) AS 'Receive Bytes per Second' FROM Metric WHERE host.hostname = {{hostname}} TIMESERIES auto" + "query": "SELECT latest(transmitBytesPerSecond) AS `Transmit Bytes per Second`, latest(receiveBytesPerSecond) AS `Receive Bytes per Second` FROM NetworkSample WHERE (hostname = {{hostname}}) TIMESERIES AUTO" } ], "platformOptions": { @@ -616,7 +616,7 @@ "nrqlQueries": [ { "accountIds": [], - "query": "SELECT average(host.loadAverageOneMinute) as '1 minute', average(host.loadAverageFiveMinute) AS '5 minutes', average(host.loadAverageFifteenMinute) AS '15 minutes' FROM Metric WHERE host.hostname = {{hostname}} TIMESERIES auto" + "query": "SELECT average(loadAverageOneMinute) AS `1 minute`, average(loadAverageFiveMinute) AS `5 minutes`, average(loadAverageFifteenMinute) AS `15 minutes` FROM SystemSample WHERE (hostname = {{hostname}}) TIMESERIES AUTO" } ], "platformOptions": { @@ -646,7 +646,7 @@ "nrqlQueries": [ { "accountIds": [], - "query": "SELECT latest(`host.process.memoryResidentSizeBytes`)/1e+6 as 'Physical Memory', latest(`host.process.memoryVirtualSizeBytes`)/1e+6 as 'Virtual Memory' FROM Metric WHERE host.hostname = {{hostname}} TIMESERIES AUTO " + "query": "SELECT (latest(memoryResidentSizeBytes) / 1000000.0) AS `Physical Memory`, (latest(memoryVirtualSizeBytes) / 1000000.0) AS `Virtual Memory` FROM ProcessSample WHERE (hostname = {{hostname}}) TIMESERIES AUTO " } ], "platformOptions": { @@ -753,7 +753,7 @@ "nrqlQueries": [ { "accountIds": [], - "query": "SELECT average(host.memoryUsedPercent) AS 'High Memory Usage (%)' FROM Metric WHERE host.hostname = {{hostname}}" + "query": "SELECT average(memoryUsedPercent) AS `High Memory Usage (%)` FROM SystemSample WHERE (hostname = {{hostname}})" } ], "platformOptions": { diff --git a/dashboards/magento-business-insights/magentoBI.json b/dashboards/magento-business-insights/magentoBI.json index 45f485c7ec..032553a248 100644 --- a/dashboards/magento-business-insights/magentoBI.json +++ b/dashboards/magento-business-insights/magentoBI.json @@ -3544,7 +3544,7 @@ "nrqlQueries": [ { "accountIds": [], - "query": "SELECT latest(`apache.server.scoreboard.totalWorkers`) * uniqueCount(entity.name) as 'Total Workers', latest(`apache.server.idleWorkers`) * uniqueCount(entity.name) as 'Idle Workers', latest(`apache.server.busyWorkers`) * uniqueCount(entity.name) as 'Busy Workers' FROM Metric WHERE `metricName` IN ('apache.server.scoreboard.totalWorkers', 'apache.server.idleWorkers', 'apache.server.busyWorkers') TIMESERIES" + "query": "SELECT (latest(server.scoreboard.totalWorkers) * uniqueCount(entityName)) AS `Total Workers`, (latest(server.idleWorkers) * uniqueCount(entityName)) AS `Idle Workers`, (latest(server.busyWorkers) * uniqueCount(entityName)) AS `Busy Workers` FROM ApacheSample TIMESERIES AUTO" } ], "platformOptions": { @@ -3593,7 +3593,7 @@ "nrqlQueries": [ { "accountIds": [], - "query": "SELECT latest(host.cpuPercent) AS 'CPU used %' FROM Metric WHERE entity.name IN ({{hostName}}) TIMESERIES" + "query": "SELECT latest(cpuPercent) AS `CPU used %` FROM SystemSample WHERE (entityName IN ({{hostName}})) TIMESERIES AUTO" } ], "platformOptions": { @@ -3623,7 +3623,7 @@ "nrqlQueries": [ { "accountIds": [], - "query": "SELECT latest(host.memoryUsedPercent) AS 'Memory used %' FROM Metric WHERE entity.name IN ({{hostName}}) TIMESERIES" + "query": "SELECT latest(memoryUsedPercent) AS `Memory used %` FROM SystemSample WHERE (entityName IN ({{hostName}})) TIMESERIES AUTO" } ], "platformOptions": { @@ -3653,7 +3653,7 @@ "nrqlQueries": [ { "accountIds": [], - "query": "SELECT latest(host.disk.usedPercent) as 'Storage used %' FROM Metric WHERE entity.name IN ({{hostName}}) TIMESERIES" + "query": "SELECT latest(diskUsedPercent) AS `Storage used %` FROM StorageSample WHERE (entityName IN ({{hostName}})) TIMESERIES AUTO" } ], "platformOptions": { @@ -3680,7 +3680,7 @@ "nrqlQueries": [ { "accountIds": [], - "query": "SELECT latest(host.disk.usedPercent) as 'Used %' FROM Metric WHERE entity.name IN ({{hostName}}) FACET device" + "query": "SELECT latest(diskUsedPercent) AS `Used %` FROM StorageSample WHERE (entityName IN ({{hostName}})) FACET device" } ], "platformOptions": { diff --git a/dashboards/memcached/memcached.json b/dashboards/memcached/memcached.json index 0cf9ae461e..b28a1a646b 100644 --- a/dashboards/memcached/memcached.json +++ b/dashboards/memcached/memcached.json @@ -18,7 +18,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT average(`memcached.server.bytesReadServerPerSecond`) FROM Metric TIMESERIES" + "query" : "SELECT average(bytesReadServerPerSecond) FROM MemcachedSample TIMESERIES AUTO" } ] } }, { @@ -35,7 +35,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT average(`memcached.server.bytesWrittenServerPerSecond`) FROM Metric TIMESERIES" + "query" : "SELECT average(bytesWrittenServerPerSecond) FROM MemcachedSample TIMESERIES AUTO" } ] } }, { @@ -65,7 +65,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT average(`memcached.server.cmdGetRatePerSecond`) AS `Get Rate`, average(`memcached.server.cmdSetRatePerSecond`) AS `Set Rate`, average(`memcached.server.cmdFlushRatePerSecond`) AS `Flush Rate` FROM Metric TIMESERIES" + "query" : "SELECT average(cmdGetRatePerSecond) AS `Get Rate`, average(cmdSetRatePerSecond) AS `Set Rate`, average(cmdFlushRatePerSecond) AS `Flush Rate` FROM MemcachedSample TIMESERIES AUTO" } ] } }, { @@ -82,7 +82,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT average(`memcached.server.connectionRateServerPerSecond`) FROM Metric TIMESERIES" + "query" : "SELECT average(connectionRateServerPerSecond) FROM MemcachedSample TIMESERIES AUTO" } ] } }, { @@ -99,7 +99,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT average(`memcached.slab.getHitRateSlabPerSecond`) FROM Metric TIMESERIES FACET memcached.slabId" + "query" : "SELECT average(getHitRateSlabPerSecond) FROM MemcachedSlabSample FACET slabID TIMESERIES AUTO" } ] } }, { @@ -116,7 +116,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT average(`memcached.slab.cmdSetRateSlabPerSecond`) FROM Metric TIMESERIES FACET memcached.slabId" + "query" : "SELECT average(cmdSetRateSlabPerSecond) FROM MemcachedSlabSample FACET slabID TIMESERIES AUTO" } ] } }, { @@ -133,7 +133,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT latest(memcached.server.uptimeInMilliseconds)/1000/3600 AS 'Hours' FROM Metric" + "query" : "SELECT ((latest(uptimeInMilliseconds) / 1000) / 3600) AS `Hours` FROM MemcachedSample" } ] } }, { @@ -150,7 +150,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT average(`memcached.slab.incrsModifySlabPerSecond`) FROM Metric TIMESERIES FACET memcached.slabId" + "query" : "SELECT average(incrsModifySlabPerSecond) FROM MemcachedSlabSample FACET slabID TIMESERIES AUTO" } ] } }, { @@ -167,7 +167,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT average(`memcached.slab.decrsModifySlabPerSecond`) FROM Metric TIMESERIES FACET memcached.slabId" + "query" : "SELECT average(decrsModifySlabPerSecond) FROM MemcachedSlabSample FACET slabID TIMESERIES AUTO" } ] } }, { @@ -184,7 +184,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT latest(`memcached.server.openConnectionsServer`) AS `Connections` FROM Metric" + "query" : "SELECT latest(openConnectionsServer) AS `Connections` FROM MemcachedSample" } ] } }, { @@ -201,7 +201,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT latest(memcached.server.storingItemsPercentMemory) AS `Percent` FROM Metric" + "query" : "SELECT latest(storingItemsPercentMemory) AS `Percent` FROM MemcachedSample" } ] } } ] diff --git a/dashboards/mexn/dashboard.json b/dashboards/mexn/dashboard.json index d51c8e672a..dd399f66a5 100644 --- a/dashboards/mexn/dashboard.json +++ b/dashboards/mexn/dashboard.json @@ -613,7 +613,7 @@ "nrqlQueries": [ { "accountIds": [], - "query": "SELECT average(host.loadAverageOneMinute) AS '1 minute', average(host.loadAverageFiveMinute) AS '5 minutes', average(host.loadAverageFifteenMinute) AS '15 minutes' FROM Metric WHERE host.fullHostname = {{fullHostname}} TIMESERIES AUTO " + "query": "SELECT average(loadAverageOneMinute) AS `1 minute`, average(loadAverageFiveMinute) AS `5 minutes`, average(loadAverageFifteenMinute) AS `15 minutes` FROM SystemSample WHERE (fullHostname = {{fullHostname}}) TIMESERIES AUTO " } ], "platformOptions": { @@ -646,7 +646,7 @@ "nrqlQueries": [ { "accountIds": [], - "query": "SELECT average(host.net.transmitBytesPerSecond) AS 'Transmit bytes per second', average(host.net.receiveBytesPerSecond) AS 'Receive bytes per second' FROM Metric WHERE host.fullHostname = {{fullHostname}} TIMESERIES AUTO " + "query": "SELECT average(transmitBytesPerSecond) AS `Transmit bytes per second`, average(receiveBytesPerSecond) AS `Receive bytes per second` FROM NetworkSample WHERE (fullHostname = {{fullHostname}}) TIMESERIES AUTO " } ], "platformOptions": { @@ -673,7 +673,7 @@ "nrqlQueries": [ { "accountIds": [], - "query": "SELECT latest(host.process.cpuPercent) AS 'CPU%', latest(host.process.threadCount) AS 'Threads' FROM Metric WHERE host.fullHostname = {{fullHostname}} FACET processId, processDisplayName ORDER BY cpuPercent asc LIMIT 100" + "query": "SELECT latest(cpuPercent) AS `CPU%`, latest(threadCount) AS `Threads` FROM ProcessSample WHERE (fullHostname = {{fullHostname}}) FACET tuple(processId, processDisplayName) LIMIT 100" } ], "platformOptions": { diff --git a/dashboards/mongodb/mongodb.json b/dashboards/mongodb/mongodb.json index 4661d4c882..d302a7585f 100644 --- a/dashboards/mongodb/mongodb.json +++ b/dashboards/mongodb/mongodb.json @@ -18,7 +18,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT latest(`mongo.totalDatabases`) AS `Databases` FROM Metric" + "query" : "SELECT latest(totalDatabases) AS `Databases` FROM MongoSample" } ] } }, { @@ -35,7 +35,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT uniqueCount(mongo.collection) FROM Metric" + "query" : "SELECT uniqueCount(collection) FROM MongoCollectionSample, MongodTopSample" } ] } }, { @@ -65,7 +65,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT latest(`mongo.mongos.commands.countPerSecond`) + latest(`mongo.mongos.commands.deletePerSecond`) + latest(`mongo.mongos.commands.createIndexesPerSecond`) + latest(`mongo.mongos.commands.evalPerSecond`) + latest(`mongo.mongos.commands.findAndModifyPerSecond`) + latest(`mongo.mongos.commands.insertPerSecond`) + latest(`mongo.mongos.commands.updatePerSecond`) FROM Metric FACET entity.name TIMESERIES 1 MINUTE" + "query" : "SELECT ((((((latest(commands.countPerSecond) + latest(commands.deletePerSecond)) + latest(commands.createIndexesPerSecond)) + latest(commands.evalPerSecond)) + latest(commands.findAndModifyPerSecond)) + latest(commands.insertPerSecond)) + latest(commands.updatePerSecond)) FROM MongosSample FACET entityName TIMESERIES 1 MINUTE" } ] } }, { @@ -82,7 +82,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT latest(`mongo.mongos.commands.countFailedPerSecond`) + latest(`mongo.mongos.commands.deleteFailedPerSecond`) + latest(`mongo.mongos.commands.createIndexesFailedPerSecond`) + latest(`mongo.mongos.commands.evalFailedPerSecond`) + latest(`mongo.mongos.commands.findAndModifyFailedPerSecond`) + latest(`mongo.mongos.commands.insertFailedPerSecond`) + latest(`mongo.mongos.commands.updateFailedPerSecond`) FROM Metric FACET entity.name TIMESERIES 1 MINUTE" + "query" : "SELECT ((((((latest(commands.countFailedPerSecond) + latest(commands.deleteFailedPerSecond)) + latest(commands.createIndexesFailedPerSecond)) + latest(commands.evalFailedPerSecond)) + latest(commands.findAndModifyFailedPerSecond)) + latest(commands.insertFailedPerSecond)) + latest(commands.updateFailedPerSecond)) FROM MongosSample FACET entityName TIMESERIES 1 MINUTE" } ] } }, { @@ -99,7 +99,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT average(`mongo.mongos.network.bytesInPerSecond`) AS 'Bytes In' FROM Metric TIMESERIES 1 MINUTE FACET entity.name" + "query" : "SELECT average(network.bytesInPerSecond) AS `Bytes In` FROM MongosSample FACET entityName TIMESERIES 1 MINUTE" } ] } }, { @@ -116,7 +116,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT average(`mongo.mongos.network.bytesOutPerSecond`) AS `Bytes Out` FROM Metric FACET entity.name TIMESERIES 1 MINUTE" + "query" : "SELECT average(network.bytesOutPerSecond) AS `Bytes Out` FROM MongosSample FACET entityName TIMESERIES 1 MINUTE" } ] } }, { @@ -133,7 +133,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT average(`mongo.mongos.network.requestsPerSecond`) FROM Metric FACET entity.name TIMESERIES 1 MINUTE" + "query" : "SELECT average(network.requestsPerSecond) FROM MongosSample FACET entityName TIMESERIES 1 MINUTE" } ] } }, { @@ -150,7 +150,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT latest(`mongo.database.dataInBytes`) AS `Size in Bytes`, latest(`mongo.database.objects`) AS `Objects` FROM Metric FACET entity.name LIMIT 1000" + "query" : "SELECT latest(stats.dataInBytes) AS `Size in Bytes`, latest(stats.objects) AS `Objects` FROM MongoDatabaseSample FACET entityName LIMIT 1000" } ] } }, { @@ -167,7 +167,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT latest(`mongo.mongod.connections.available`) FROM Metric FACET entity.name" + "query" : "SELECT latest(connections.available) FROM MongodSample FACET entityName" } ] } }, { @@ -184,7 +184,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT average(`mongo.mongod.usage.totalInMillisecondsPerSecond`) FROM Metric TIMESERIES 1 minutes FACET entity.name" + "query" : "SELECT average(usage.totalInMillisecondsPerSecond) FROM MongodTopSample FACET entityName TIMESERIES 1 MINUTE" } ] } }, { @@ -201,7 +201,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT latest(`mongo.database.indexes`) AS `Indexes`, latest(`mongo.database.indexInBytes`) AS `Total Index Size` FROM Metric FACET entity.name LIMIT 1000" + "query" : "SELECT latest(stats.indexes) AS `Indexes`, latest(stats.indexInBytes) AS `Total Index Size` FROM MongoDatabaseSample FACET entityName LIMIT 1000" } ] } }, { @@ -218,7 +218,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT latest(`mongo.collection.count`) AS `Objects`, latest(`mongo.collection.sizeInBytes`) AS `Storage Bytes` FROM Metric FACET mongo.database,entity.name where database IS NOT NULL LIMIT 1000" + "query" : "SELECT latest(collection.count) AS `Objects`, latest(collection.sizeInBytes) AS `Storage Bytes` FROM MongoCollectionSample WHERE NOT (database IS NULL) FACET tuple(database, entityName) LIMIT 1000" } ] } }, { @@ -235,7 +235,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT latest(`mongo.collection.sizeInBytes`) FROM Metric LIMIT 10 FACET mongo.database,entity.name" + "query" : "SELECT latest(collection.sizeInBytes) FROM MongoCollectionSample FACET tuple(database, entityName) LIMIT 10" } ] } } ] diff --git a/dashboards/nginx/nginx.json b/dashboards/nginx/nginx.json index fddc6f7950..93ac40e2f4 100644 --- a/dashboards/nginx/nginx.json +++ b/dashboards/nginx/nginx.json @@ -18,7 +18,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT average(`nginx.server.net.requestsPerSecond`) * uniqueCount(entity.name) AS 'Requests' FROM Metric WHERE `metricName` = 'nginx.server.net.requestsPerSecond' TIMESERIES" + "query" : "SELECT (average(net.requestsPerSecond) * uniqueCount(entityName)) AS `Requests` FROM NginxSample TIMESERIES AUTO" } ] } }, { @@ -48,7 +48,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT average(`nginx.server.net.requestsPerSecond`) as 'Requests' FROM Metric facet entity.name TIMESERIES" + "query" : "SELECT average(net.requestsPerSecond) AS `Requests` FROM NginxSample FACET entityName TIMESERIES AUTO" } ] } }, { @@ -65,7 +65,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT average(`nginx.server.net.connectionsActive`) * uniqueCount(entity.name) as 'Active Connections' FROM Metric WHERE `metricName` = 'nginx.server.net.connectionsActive' TIMESERIES" + "query" : "SELECT (average(net.connectionsActive) * uniqueCount(entityName)) AS `Active Connections` FROM NginxSample TIMESERIES AUTO" } ] } }, { @@ -82,7 +82,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT average(`nginx.server.net.connectionsAcceptedPerSecond`) * uniqueCount(entity.name) as 'Connections Accepted' FROM Metric WHERE `metricName` = 'nginx.server.net.connectionsAcceptedPerSecond' TIMESERIES" + "query" : "SELECT (average(net.connectionsAcceptedPerSecond) * uniqueCount(entityName)) AS `Connections Accepted` FROM NginxSample TIMESERIES AUTO" } ] } }, { @@ -99,7 +99,7 @@ "rawConfiguration" : { "nrqlQueries" : [ { "accountId" : 0, - "query" : "SELECT average(`nginx.server.net.connectionsDroppedPerSecond`) * uniqueCount(entity.name) as 'Connections Dropped' FROM Metric WHERE `metricName` = 'nginx.server.net.connectionsDroppedPerSecond' TIMESERIES" + "query" : "SELECT (average(net.connectionsDroppedPerSecond) * uniqueCount(entityName)) AS `Connections Dropped` FROM NginxSample TIMESERIES AUTO" } ] } } ] diff --git a/dashboards/nodejs/nodejs.json b/dashboards/nodejs/nodejs.json index fdf6c47881..1f4dea040d 100644 --- a/dashboards/nodejs/nodejs.json +++ b/dashboards/nodejs/nodejs.json @@ -794,7 +794,7 @@ "nrqlQueries": [ { "accountIds": [], - "query": "SELECT average(host.cpuPercent) AS 'CPU used' FROM Metric WHERE host.hostname = {{hostname}} TIMESERIES" + "query": "SELECT average(cpuPercent) AS `CPU used` FROM SystemSample WHERE (hostname = {{hostname}}) TIMESERIES AUTO" } ], "platformOptions": { @@ -829,7 +829,7 @@ "nrqlQueries": [ { "accountIds": [], - "query": "SELECT average(host.memoryUsedPercent) AS 'Memory used' FROM Metric WHERE host.hostname = {{hostname}} TIMESERIES auto" + "query": "SELECT average(memoryUsedPercent) AS `Memory used` FROM SystemSample WHERE (hostname = {{hostname}}) TIMESERIES AUTO" } ], "platformOptions": { @@ -859,7 +859,7 @@ "nrqlQueries": [ { "accountIds": [], - "query": "SELECT average(host.disk.usedPercent) as 'Storage used' FROM Metric WHERE host.hostname = {{hostname}} TIMESERIES auto" + "query": "SELECT average(diskUsedPercent) AS `Storage used` FROM StorageSample WHERE (hostname = {{hostname}}) TIMESERIES AUTO" } ], "platformOptions": { @@ -889,7 +889,7 @@ "nrqlQueries": [ { "accountIds": [], - "query": "SELECT average(host.net.transmitBytesPerSecond) AS 'Transmit bytes per second', average(host.net.receiveBytesPerSecond) AS 'Receive bytes per second' FROM Metric WHERE host.hostname = {{hostname}} TIMESERIES auto" + "query": "SELECT average(transmitBytesPerSecond) AS `Transmit bytes per second`, average(receiveBytesPerSecond) AS `Receive bytes per second` FROM NetworkSample WHERE (hostname = {{hostname}}) TIMESERIES AUTO" } ], "platformOptions": { @@ -919,7 +919,7 @@ "nrqlQueries": [ { "accountIds": [], - "query": "SELECT average(host.loadAverageOneMinute) AS '1 minute', average(host.loadAverageFiveMinute) AS '5 minutes', average(host.loadAverageFifteenMinute) AS '15 minutes' FROM Metric WHERE host.hostname = {{hostname}} TIMESERIES " + "query": "SELECT average(loadAverageOneMinute) AS `1 minute`, average(loadAverageFiveMinute) AS `5 minutes`, average(loadAverageFifteenMinute) AS `15 minutes` FROM SystemSample WHERE (hostname = {{hostname}}) TIMESERIES AUTO " } ], "platformOptions": { @@ -946,7 +946,7 @@ "nrqlQueries": [ { "accountIds": [], - "query": "SELECT latest(host.process.cpuPercent) as 'CPU %', latest(host.process.threadCount) as 'Threads' FROM Metric FACET processId, processDisplayName WHERE host.hostname = {{hostname}} ORDER BY cpuPercent asc LIMIT 100" + "query": "SELECT latest(cpuPercent) AS `CPU %`, latest(threadCount) AS `Threads` FROM ProcessSample WHERE (hostname = {{hostname}}) FACET tuple(processId, processDisplayName) LIMIT 100" } ], "platformOptions": { diff --git a/dashboards/php/php.json b/dashboards/php/php.json index 09b3836b63..4e0f593532 100644 --- a/dashboards/php/php.json +++ b/dashboards/php/php.json @@ -517,7 +517,7 @@ "nrqlQueries": [ { "accountId": 0, - "query": "FROM Metric SELECT latest(host.cpuPercent) AS 'CPU Usage (%)', latest(host.cpuIdlePercent) AS 'CPU Idle (%)' TIMESERIES AUTO " + "query": "SELECT latest(cpuPercent) AS `CPU Usage (%)`, latest(cpuIdlePercent) AS `CPU Idle (%)` FROM SystemSample TIMESERIES AUTO " } ], "platformOptions": { @@ -550,7 +550,7 @@ "nrqlQueries": [ { "accountId": 0, - "query": "FROM Metric SELECT latest(host.memoryUsedPercent) AS 'Memory Used (%)', latest(host.memoryFreePercent) AS 'Memory Free (%)' TIMESERIES AUTO" + "query": "SELECT latest(memoryUsedPercent) AS `Memory Used (%)`, latest(memoryFreePercent) AS `Memory Free (%)` FROM SystemSample TIMESERIES AUTO" } ], "platformOptions": { @@ -583,7 +583,7 @@ "nrqlQueries": [ { "accountId": 0, - "query": "FROM Metric SELECT latest(host.disk.usedPercent) AS 'Storage Used (%)', latest(host.disk.freePercent) AS 'Storage Free (%)' TIMESERIES AUTO" + "query": "SELECT latest(diskUsedPercent) AS `Storage Used (%)`, latest(diskFreePercent) AS `Storage Free (%)` FROM StorageSample TIMESERIES AUTO" } ], "platformOptions": { diff --git a/data-sources/hcp-vault-logs/config.yml b/data-sources/hcp-vault-logs/config.yml new file mode 100644 index 0000000000..542c5491e4 --- /dev/null +++ b/data-sources/hcp-vault-logs/config.yml @@ -0,0 +1,24 @@ +id: hcp-vault-logs +displayName: HCP Vault audit logs +description: | + This integration sends audit logs from your HCP vault clusters. + +icon: logo.svg +install: + primary: + link: + url: https://developer.hashicorp.com/vault/tutorials/cloud-monitoring/vault-audit-log-new-relic + fallback: + link: + url: https://developer.hashicorp.com/vault/tutorials/cloud-monitoring/vault-metrics-guide +keywords: + - hashicorp + - hcp + - cloud + - infrastructure + - newrelic partner + - vault + - secret management +categoryTerms: + - newrelic partner + - infrastructure diff --git a/data-sources/hcp-vault-logs/logo.svg b/data-sources/hcp-vault-logs/logo.svg new file mode 100644 index 0000000000..1dd77b512e --- /dev/null +++ b/data-sources/hcp-vault-logs/logo.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/data-sources/hcp-vault-metrics/config.yml b/data-sources/hcp-vault-metrics/config.yml new file mode 100644 index 0000000000..4ef7cc3aaf --- /dev/null +++ b/data-sources/hcp-vault-metrics/config.yml @@ -0,0 +1,25 @@ +id: hcp-vault-metrics +displayName: HCP Vault telemetry metrics +description: | + This integration sends metrics from your HCP vault clusters to New Relic. + +icon: logo.svg +install: + primary: + link: + url: https://developer.hashicorp.com/vault/tutorials/cloud-monitoring/vault-metrics-new-relic + fallback: + link: + url: https://developer.hashicorp.com/vault/tutorials/cloud-monitoring/vault-metrics-guide +keywords: + - hashicorp + - hcp + - cloud + - infrastructure + - newrelic partner + - vault + - secret management + - metrics +categoryTerms: + - newrelic partner + - infrastructure diff --git a/data-sources/hcp-vault-metrics/logo.svg b/data-sources/hcp-vault-metrics/logo.svg new file mode 100644 index 0000000000..1dd77b512e --- /dev/null +++ b/data-sources/hcp-vault-metrics/logo.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/install/third-party/hcp-vault/install.yml b/install/third-party/hcp-vault/install.yml new file mode 100644 index 0000000000..ab8e83b27e --- /dev/null +++ b/install/third-party/hcp-vault/install.yml @@ -0,0 +1,16 @@ +id: third-party-hcp-vault +name: HCP Vault +title: HCP Vault Integration +description: | + This guide details how to deploy the HCP Vault integration, to monitor your Hashicorp HCP Vault environment with New Relic. + +target: + type: integration + destination: cloud + +level: Verified + +install: + mode: link + destination: + url: https://developer.hashicorp.com/vault/tutorials/cloud-monitoring/vault-metrics-guide diff --git a/quickstarts/aws/amazon-backup/config.yml b/quickstarts/aws/amazon-backup/config.yml new file mode 100644 index 0000000000..0eeb746775 --- /dev/null +++ b/quickstarts/aws/amazon-backup/config.yml @@ -0,0 +1,33 @@ +id: a11abd54-f3f9-4d62-bc82-5df3b086229d +slug: amazon-backup +description: |- + ## What is Amazon Backup? + AWS Backup is a fully-managed service that makes it easy to centralize and automate data protection across AWS services, in the cloud, and on premises. + ### Get started! + Start monitoring Amazon Backup 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-backup-monitoring-integration/) to learn more about New Relic monitoring for Amazon Backup. +summary: |- + Monitor Amazon Backup by connecting AWS to New Relic +icon: logo.png +level: New Relic +authors: + - New Relic +title: Amazon Backup +documentation: + - name: Amazon Backup installation docs + description: | + Monitor Amazon Backup by connecting AWS to New Relic. + url: >- + https://docs.newrelic.com/docs/infrastructure/amazon-integrations/aws-integrations-list/amazon-backup-monitoring-integration/ +keywords: + - aws + - amazon web services + - amazon backup + - backup +dashboards: + - amazon-backup +dataSourceIds: + - amazon-cloudwatch-metric-streams +alertPolicies: + - amazon-backup \ No newline at end of file diff --git a/quickstarts/aws/amazon-backup/logo.png b/quickstarts/aws/amazon-backup/logo.png new file mode 100644 index 0000000000..d3a904a7e3 Binary files /dev/null and b/quickstarts/aws/amazon-backup/logo.png differ diff --git a/quickstarts/aws/aws-iot-twinmaker/config.yml b/quickstarts/aws/aws-iot-twinmaker/config.yml new file mode 100644 index 0000000000..d849153075 --- /dev/null +++ b/quickstarts/aws/aws-iot-twinmaker/config.yml @@ -0,0 +1,34 @@ +id: 16e0db1c-6aa2-4786-abc7-206e9542daca +slug: amazon-iot-twinmaker +description: |- + ## What is AWS IOT Twinmaker? + AWS IoT TwinMaker is an AWS IoT service that you can use to build operational digital twins of physical and digital systems. AWS IoT TwinMaker creates digital visualizations using measurements and analysis from a variety of real-world sensors, cameras, and enterprise applications to help you keep track of your physical factory, building, or industrial plant. + ### Get started! + Start monitoring AWS IOT Twinmaker 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/aws-iot-twinmaker-monitoring-integration/) to learn more about New Relic monitoring for Amazon Timestream. +summary: |- + Monitor AWS IOT Twinmaker by connecting AWS to New Relic +icon: logo.png +level: New Relic +authors: + - New Relic +title: AWS IoT Twinmaker +documentation: + - name: AWS IOT Twinmaker installation docs + description: | + Monitor AWS IoT Twinmaker by connecting AWS to New Relic. + url: >- + https://docs.newrelic.com/docs/infrastructure/amazon-integrations/aws-integrations-list/aws-iot-twinmaker-monitoring-integration/ +keywords: + - aws + - amazon web services + - aws iot + - aws iot twinmaker + - twinmaker +dashboards: + - aws-iot-twinmaker +dataSourceIds: + - amazon-cloudwatch-metric-streams +alertPolicies: + - aws-iot-twinmaker diff --git a/quickstarts/aws/aws-iot-twinmaker/logo.png b/quickstarts/aws/aws-iot-twinmaker/logo.png new file mode 100644 index 0000000000..63b3b1a0e8 Binary files /dev/null and b/quickstarts/aws/aws-iot-twinmaker/logo.png differ diff --git a/quickstarts/aws/aws-vpn/config.yml b/quickstarts/aws/aws-vpn/config.yml new file mode 100644 index 0000000000..3501c51e2e --- /dev/null +++ b/quickstarts/aws/aws-vpn/config.yml @@ -0,0 +1,31 @@ +id: ef74363c-97f6-4dce-ab05-ac0a88a032e4 +slug: aws-vpn +description: |- + ## What is AWS VPN? + Amazon Virtual Private Cloud is a commercial cloud computing service that provides a virtual private cloud, by provisioning a logically isolated section of Amazon Web Services Cloud. Enterprise customers can access the Amazon Elastic Compute Cloud over an IPsec based virtual private network. + ### Get started! + Start monitoring AWS VPN 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/aws-vpc-monitoring-integration/) to learn more about New Relic monitoring for AWS VPN. +summary: |- + Monitor AWS VPN by connecting AWS to New Relic +icon: logo.png +level: New Relic +authors: + - New Relic +title: AWS VPN +documentation: + - name: AWS VPN installation docs + description: | + Monitor AWS VPN by connecting AWS to New Relic. + url: >- + https://docs.newrelic.com/docs/infrastructure/amazon-integrations/aws-integrations-list/aws-vpc-monitoring-integration/ +keywords: + - aws + - amazon web services + - aws vpn + - VPN +dashboards: + - aws-vpn +dataSourceIds: + - amazon-cloudwatch-metric-streams diff --git a/quickstarts/aws/aws-vpn/logo.png b/quickstarts/aws/aws-vpn/logo.png new file mode 100644 index 0000000000..a7ee412e1c Binary files /dev/null and b/quickstarts/aws/aws-vpn/logo.png differ diff --git a/quickstarts/hashicorp/hcp-vault/config.yml b/quickstarts/hashicorp/hcp-vault/config.yml new file mode 100644 index 0000000000..c64ab2ac77 --- /dev/null +++ b/quickstarts/hashicorp/hcp-vault/config.yml @@ -0,0 +1,48 @@ +id: 23d60312-3409-4371-9f41-ee9006603190 +slug: hcp-vault +title: HCP Vault +description: |- + ## HCP Vault + + Secure, store, and tightly control access to tokens, passwords, certificates, encryption keys for protecting secrets, and other sensitive data using a UI, CLI, or HTTP API. + + ### Monitor HCP Vault metrics with New Relic + + Metrics observability is essential for ensuring the performance and security of your HCP Vault cluster. It's also useful for business operations, like understanding client-related usage. + + ### HCP Vault integration highlights + The HCP Vault integration with New Relic provides a pre-made dashboard with HCP Vault metrics and audit logs to get started easily. This dashboard provides visibility into the health of your HCP Vault environment. + + - Overview: Monitor key data points like identity entities, policy get/set, secret count, etc. + - Runtime metrics: Keep track of runtime metrics for your Vault instance, including allocated MB's, Heap objects used, etc. + - Token Metrics: Visualize token metrics like available token count, and count faceted by auth or ttl method. + - Audit Logs: review real time audit log rates, and error logs for response or request API errors. +summary: Monitor your HCP Vault environment +level: Verified +authors: + - New Relic Labs +keywords: + - hcp + - vault + - hashicorp + - consul + - nrlabs + - nrlabs-data + - infrastructure + - NR1_addData + - NR1_sys +documentation: + - name: Metrics configuration documentation + url: https://developer.hashicorp.com/vault/tutorials/cloud-monitoring/vault-metrics-new-relic + description: HCP Vault metrics guide + - name: Audit Logs configuration documentation + url: https://developer.hashicorp.com/vault/tutorials/cloud-monitoring/vault-audit-log-new-relic + description: HCP Vault audit logs guide +icon: logo.svg +installPlans: + - third-party-hcp-vault +dataSourceIds: + - hcp-vault-logs + - hcp-vault-metrics +dashboards: + - hcp-vault diff --git a/quickstarts/hashicorp/hcp-vault/logo.svg b/quickstarts/hashicorp/hcp-vault/logo.svg new file mode 100644 index 0000000000..1dd77b512e --- /dev/null +++ b/quickstarts/hashicorp/hcp-vault/logo.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/utils/create_validate_pr_quickstarts.ts b/utils/create_validate_pr_quickstarts.ts index 3319068314..ff2cad73fd 100644 --- a/utils/create_validate_pr_quickstarts.ts +++ b/utils/create_validate_pr_quickstarts.ts @@ -3,7 +3,7 @@ import { filterOutTestFiles, isNotRemoved, } from './lib/github-api-helpers'; -import { translateMutationErrors, chunk } from './lib/nr-graphql-helpers'; +import { translateMutationErrors } from './lib/nr-graphql-helpers'; import Quickstart, { QuickstartMutationResponse } from './lib/Quickstart'; import { CUSTOM_EVENT, recordNerdGraphResponse } from './newrelic/customEvent'; @@ -21,6 +21,8 @@ import { } from './types/nerdgraph'; import logger from './logger'; +const sleep = (ms: number) => new Promise((resolve) => setTimeout(resolve, ms)) + type ResponseWithErrors = NerdGraphResponseWithLocalErrors & { name: string; @@ -125,13 +127,12 @@ export const createValidateQuickstarts = async ( const quickstartErrors: string[] = []; logger.info(`Submitting ${quickstarts.length} quickstarts...`); - for (const c of chunk(quickstarts, 5)) { + for (const c of quickstarts) { try { - const res = await Promise.all( - c.map((quickstart) => quickstart.submitMutation(isDryRun)) - ); + const res = await c.submitMutation(isDryRun); + await sleep(10); - results = [...results, ...res]; + results = [...results, res]; } catch (err) { const error = err as Error; diff --git a/utils/lib/Alert.ts b/utils/lib/Alert.ts index ea01989973..6dd4829f99 100644 --- a/utils/lib/Alert.ts +++ b/utils/lib/Alert.ts @@ -30,11 +30,8 @@ import { CUSTOM_EVENT, recordNerdGraphResponse } from '../newrelic/customEvent'; // within a nrql query. This portion is to help validate against // very specific edge cases to ensure we don't have anything break // during an install once it hits our UIs. -const TIMESERIES = 'TIMESERIES'; -const INVALID_QUERY_KEYWORDS = [TIMESERIES] as const; - // RegExp matches the _first_ instance of any invalid keywords -const INVALID_REGEX = new RegExp(INVALID_QUERY_KEYWORDS.join('|'), 'mi'); +const INVALID_REGEX = /\sTIMESERIES[\s]?/mi interface RequiredDataSources { id: string; diff --git a/utils/set-alert-policy-required-datasources.ts b/utils/set-alert-policy-required-datasources.ts index 3cc7ffa08b..a3c1883922 100644 --- a/utils/set-alert-policy-required-datasources.ts +++ b/utils/set-alert-policy-required-datasources.ts @@ -4,6 +4,7 @@ import { fetchPaginatedGHResults, filterQuickstartConfigFiles, isNotRemoved, + filterOutTestFiles, } from './lib/github-api-helpers'; import Quickstart from './lib/Quickstart'; import Alert, { SubmitSetRequiredDataSourcesMutationResult } from './lib/Alert'; @@ -33,7 +34,7 @@ const getQuickstartNameAndDataSources = async ( const files = await fetchPaginatedGHResults(ghUrl, ghToken); logger.info(`Found ${files.length} files`); - const quickstartNames = filterQuickstartConfigFiles(files) + const quickstartNames = filterQuickstartConfigFiles(filterOutTestFiles(files)) .filter(isNotRemoved) .reduce<{ name: string; dataSourceIds: string[] }[]>( (acc, { filename }) => { diff --git a/utils/set-dashboards-required-datasources.ts b/utils/set-dashboards-required-datasources.ts index 489d539f85..1ae68f83ba 100644 --- a/utils/set-dashboards-required-datasources.ts +++ b/utils/set-dashboards-required-datasources.ts @@ -1,5 +1,6 @@ import { fetchPaginatedGHResults, + filterOutTestFiles, filterQuickstartConfigFiles, isNotRemoved, } from './lib/github-api-helpers'; @@ -35,7 +36,7 @@ const getQuickstartIds = async ( const files = await fetchPaginatedGHResults(ghUrl, ghToken); logger.info(`Found ${files.length} files`); - const filteredQuickstarts = filterQuickstartConfigFiles(files) + const filteredQuickstarts = filterQuickstartConfigFiles(filterOutTestFiles(files)) .filter(isNotRemoved) .reduce((acc, { filename }) => { const quickstart = new Quickstart(filename);