From de2ce769dd0b5dc8a32758c55845968daf50ee19 Mon Sep 17 00:00:00 2001 From: ThomasReinhardt-Sage <82041065+ThomasReinhardt-Sage@users.noreply.github.com> Date: Thu, 1 Aug 2024 12:33:21 +0200 Subject: [PATCH] Update dashboard.json --- entity-types/ext-database/dashboard.json | 64 +++++++++++++++++------- 1 file changed, 46 insertions(+), 18 deletions(-) diff --git a/entity-types/ext-database/dashboard.json b/entity-types/ext-database/dashboard.json index 394dfbeca..2a99fc2f7 100644 --- a/entity-types/ext-database/dashboard.json +++ b/entity-types/ext-database/dashboard.json @@ -1,13 +1,14 @@ { "name": "Database Overview", "description": null, + "permissions": "PUBLIC_READ_WRITE", "pages": [ { "name": "Database Overview", "description": null, "widgets": [ { - "title": "Database State", + "title": "", "layout": { "column": 1, "row": 1, @@ -24,7 +25,9 @@ }, "nrqlQueries": [ { - "accountId": 0, + "accountIds": [ + 4378948 + ], "query": "SELECT latest(stateDesc) FROM DatabaseStatusSample FACET name" } ], @@ -34,7 +37,7 @@ } }, { - "title": "Unallocated Space", + "title": "", "layout": { "column": 5, "row": 1, @@ -51,7 +54,9 @@ }, "nrqlQueries": [ { - "accountId": 0, + "accountIds": [ + 4378948 + ], "query": "SELECT latest(unallocatedSpace) AS 'Unallocated Space / MB' FROM DatabaseStatusSample" } ], @@ -61,7 +66,7 @@ } }, { - "title": "Size", + "title": "", "layout": { "column": 9, "row": 1, @@ -78,7 +83,9 @@ }, "nrqlQueries": [ { - "accountId": 0, + "accountIds": [ + 4378948 + ], "query": "SELECT latest(size) as 'Size / MB' FROM DatabaseStatusSample" } ], @@ -100,6 +107,14 @@ "id": "viz.line" }, "rawConfiguration": { + "colors": { + "seriesOverrides": [ + { + "color": "#f59338", + "seriesName": "Total Connections" + } + ] + }, "facet": { "showOtherSeries": false }, @@ -108,14 +123,18 @@ }, "nrqlQueries": [ { - "accountId": 0, - "query": "SELECT latest(totalConnections) FROM DatabaseStatusSample TIMESERIES" + "accountIds": [ + 4378948 + ], + "query": "FROM DatabaseStatusSample SELECT latest(totalConnections) TIMESERIES" } ], "platformOptions": { "ignoreTimeRange": false }, - "thresholds": [], + "thresholds": { + "isLabelVisible": true + }, "units": { "unit": "COUNT" }, @@ -133,7 +152,7 @@ } }, { - "title": "Unallocated Space", + "title": "", "layout": { "column": 5, "row": 4, @@ -153,14 +172,18 @@ }, "nrqlQueries": [ { - "accountId": 0, - "query": "SELECT latest(unallocatedSpace) FROM DatabaseStatusSample TIMESERIES" + "accountIds": [ + 4378948 + ], + "query": "FROM DatabaseStatusSample SELECT latest(unallocatedSpace) TIMESERIES" } ], "platformOptions": { "ignoreTimeRange": false }, - "thresholds": [], + "thresholds": { + "isLabelVisible": true + }, "yAxisLeft": { "zero": true }, @@ -170,7 +193,7 @@ } }, { - "title": "Size", + "title": "", "layout": { "column": 9, "row": 4, @@ -190,14 +213,18 @@ }, "nrqlQueries": [ { - "accountId": 0, - "query": "SELECT latest(size) FROM DatabaseStatusSample TIMESERIES" + "accountIds": [ + 4378948 + ], + "query": "FROM DatabaseStatusSample SELECT latest(size) TIMESERIES" } ], "platformOptions": { "ignoreTimeRange": false }, - "thresholds": [], + "thresholds": { + "isLabelVisible": true + }, "yAxisLeft": { "zero": true }, @@ -208,5 +235,6 @@ } ] } - ] + ], + "variables": [] } \ No newline at end of file