Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Postfix Quickstart infrastructure queries back to events #2226

Merged
merged 2 commits into from
Jan 16, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions dashboards/postfix/postfix.json
Original file line number Diff line number Diff line change
Expand Up @@ -1364,7 +1364,7 @@
"nrqlQueries": [
{
"accountIds": [],
"query": "FROM Metric SELECT latest(host.cpuPercent) AS 'CPU Usage (%)', latest(host.cpuIdlePercent) AS 'CPU Idle (%)' WHERE host.hostname = {{hostname}} TIMESERIES AUTO"
"query": "SELECT latest(cpuPercent) AS `CPU Usage (%)`, latest(cpuIdlePercent) AS `CPU Idle (%)` FROM SystemSample WHERE (hostname = {{hostname}}) TIMESERIES AUTO"
}
],
"platformOptions": {
Expand Down Expand Up @@ -1394,7 +1394,7 @@
"nrqlQueries": [
{
"accountIds": [],
"query": "FROM Metric SELECT latest(host.memoryUsedPercent) AS 'Memory Used (%)', latest(host.memoryFreePercent) AS 'Memory Free (%)' WHERE host.hostname = {{hostname}} TIMESERIES AUTO"
"query": "SELECT latest(memoryUsedPercent) AS `Memory Used (%)`, latest(memoryFreePercent) AS `Memory Free (%)` FROM SystemSample WHERE (hostname = {{hostname}}) TIMESERIES AUTO"
}
],
"platformOptions": {
Expand Down Expand Up @@ -1424,7 +1424,7 @@
"nrqlQueries": [
{
"accountIds": [],
"query": "FROM Metric SELECT latest(host.disk.usedPercent) AS 'Storage Used (%)', latest(host.disk.freePercent) AS 'Storage Free (%)' WHERE host.hostname = {{hostname}} TIMESERIES AUTO"
"query": "SELECT latest(diskUsedPercent) AS `Storage Used (%)`, latest(diskFreePercent) AS `Storage Free (%)` FROM StorageSample WHERE (hostname = {{hostname}}) TIMESERIES AUTO"
}
],
"platformOptions": {
Expand Down Expand Up @@ -1454,7 +1454,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": {
Expand Down Expand Up @@ -1484,7 +1484,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": {
Expand All @@ -1511,7 +1511,7 @@
"nrqlQueries": [
{
"accountIds": [],
"query": "SELECT latest(host.process.cpuPercent) as 'CPU %', latest(host.process.threadCount) as 'Threads' FROM Metric WHERE host.hostname = {{hostname}} FACET processId, processDisplayName 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": {
Expand Down