Skip to content

Commit

Permalink
Merge pull request #2141 from sjyothi54/NR-178810
Browse files Browse the repository at this point in the history
Magento Business Insights-Added host variable and updated the images
  • Loading branch information
mickeyryan42 authored Nov 9, 2023
2 parents a68e477 + 4f0cb56 commit 97b0b2e
Show file tree
Hide file tree
Showing 13 changed files with 27 additions and 8 deletions.
35 changes: 27 additions & 8 deletions dashboards/magento-business-insights/magentoBI.json
Original file line number Diff line number Diff line change
Expand Up @@ -3592,8 +3592,8 @@
},
"nrqlQueries": [
{
"accountId": 0,
"query": "SELECT latest(host.cpuPercent) AS 'CPU used %' FROM Metric TIMESERIES"
"accountIds": [],
"query": "SELECT latest(host.cpuPercent) AS 'CPU used %' FROM Metric WHERE entity.name IN ({{hostName}}) TIMESERIES"
}
],
"platformOptions": {
Expand Down Expand Up @@ -3622,8 +3622,8 @@
},
"nrqlQueries": [
{
"accountId": 0,
"query": "SELECT latest(host.memoryUsedPercent) AS 'Memory used %' FROM Metric TIMESERIES"
"accountIds": [],
"query": "SELECT latest(host.memoryUsedPercent) AS 'Memory used %' FROM Metric WHERE entity.name IN ({{hostName}}) TIMESERIES"
}
],
"platformOptions": {
Expand Down Expand Up @@ -3652,8 +3652,8 @@
},
"nrqlQueries": [
{
"accountId": 0,
"query": "SELECT latest(host.disk.usedPercent) as 'Storage used %' FROM Metric TIMESERIES"
"accountIds": [],
"query": "SELECT latest(host.disk.usedPercent) as 'Storage used %' FROM Metric WHERE entity.name IN ({{hostName}}) TIMESERIES"
}
],
"platformOptions": {
Expand All @@ -3679,8 +3679,8 @@
},
"nrqlQueries": [
{
"accountId": 0,
"query": "SELECT latest(host.disk.usedPercent) as 'Used %' FROM Metric FACET device"
"accountIds": [],
"query": "SELECT latest(host.disk.usedPercent) as 'Used %' FROM Metric WHERE entity.name IN ({{hostName}}) FACET device"
}
],
"platformOptions": {
Expand Down Expand Up @@ -5416,6 +5416,25 @@
"type": "NRQL",
"isMultiSelection": true,
"replacementStrategy": "STRING"
},
{
"name": "hostName",
"items": null,
"defaultValues": [
{
"value": {
"string": "ip-172-31-8-210"
}
}
],
"nrqlQuery": {
"accountIds": [],
"query": "SELECT uniques(entity.name) FROM Metric since 1 month ago"
},
"title": "Host",
"type": "NRQL",
"isMultiSelection": true,
"replacementStrategy": "STRING"
}
]
}

0 comments on commit 97b0b2e

Please sign in to comment.