Skip to content

Commit

Permalink
Update dashboard.json
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasReinhardt-Sage committed Aug 1, 2024
1 parent eb4a272 commit de2ce76
Showing 1 changed file with 46 additions and 18 deletions.
64 changes: 46 additions & 18 deletions entity-types/ext-database/dashboard.json
Original file line number Diff line number Diff line change
@@ -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,
Expand All @@ -24,7 +25,9 @@
},
"nrqlQueries": [
{
"accountId": 0,
"accountIds": [
4378948
],
"query": "SELECT latest(stateDesc) FROM DatabaseStatusSample FACET name"
}
],
Expand All @@ -34,7 +37,7 @@
}
},
{
"title": "Unallocated Space",
"title": "",
"layout": {
"column": 5,
"row": 1,
Expand All @@ -51,7 +54,9 @@
},
"nrqlQueries": [
{
"accountId": 0,
"accountIds": [
4378948
],
"query": "SELECT latest(unallocatedSpace) AS 'Unallocated Space / MB' FROM DatabaseStatusSample"
}
],
Expand All @@ -61,7 +66,7 @@
}
},
{
"title": "Size",
"title": "",
"layout": {
"column": 9,
"row": 1,
Expand All @@ -78,7 +83,9 @@
},
"nrqlQueries": [
{
"accountId": 0,
"accountIds": [
4378948
],
"query": "SELECT latest(size) as 'Size / MB' FROM DatabaseStatusSample"
}
],
Expand All @@ -100,6 +107,14 @@
"id": "viz.line"
},
"rawConfiguration": {
"colors": {
"seriesOverrides": [
{
"color": "#f59338",
"seriesName": "Total Connections"
}
]
},
"facet": {
"showOtherSeries": false
},
Expand All @@ -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"
},
Expand All @@ -133,7 +152,7 @@
}
},
{
"title": "Unallocated Space",
"title": "",
"layout": {
"column": 5,
"row": 4,
Expand All @@ -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
},
Expand All @@ -170,7 +193,7 @@
}
},
{
"title": "Size",
"title": "",
"layout": {
"column": 9,
"row": 4,
Expand All @@ -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
},
Expand All @@ -208,5 +235,6 @@
}
]
}
]
],
"variables": []
}

0 comments on commit de2ce76

Please sign in to comment.