diff --git a/plugins/Amplitude/v1/defaultContent/cohortOverview.dash.json b/plugins/Amplitude/v1/defaultContent/cohortOverview.dash.json index 8eea1dd0..a503ffb5 100644 --- a/plugins/Amplitude/v1/defaultContent/cohortOverview.dash.json +++ b/plugins/Amplitude/v1/defaultContent/cohortOverview.dash.json @@ -38,61 +38,18 @@ "version": "1.0", "visualization": { "chartType": "richTable", - "encoding": { - "columns": [ - { - "field": "name", - "title": "Name", - "renderer": { - "type": "text" - } - }, - { - "field": "description", - "title": "Description", - "renderer": { - "type": "text" - } - }, - { - "field": "size", - "title": "Size", - "renderer": { - "type": "text" - } - }, - { - "field": "published", - "title": "Published", - "renderer": { - "type": "text" - } - }, - { - "field": "archived", - "title": "Archived", - "renderer": { - "type": "text" - } - }, - { - "field": "lastComputed", - "title": "Last Computed", - "renderer": { - "type": "text" - } - }, - { - "field": "createdAt", - "title": "Created At", - "renderer": { - "type": "text" - } - } - ] - }, + "encoding": {}, "style": { - "richTableTranspose": true + "richTableTranspose": true, + "richTableHiddenColumns": [ + "id", + "link", + "links", + "label", + "sourceId", + "sourceType", + "cohortType" + ] } } } diff --git a/plugins/Amplitude/v1/defaultContent/eventTypeOverview.dash.json b/plugins/Amplitude/v1/defaultContent/eventTypeOverview.dash.json index ad6ea3f2..15dc5b73 100644 --- a/plugins/Amplitude/v1/defaultContent/eventTypeOverview.dash.json +++ b/plugins/Amplitude/v1/defaultContent/eventTypeOverview.dash.json @@ -38,40 +38,17 @@ "version": "1.0", "visualization": { "chartType": "richTable", - "encoding": { - "columns": [ - { - "field": "name", - "title": "Name", - "renderer": { - "type": "text" - } - }, - { - "field": "description", - "title": "Description", - "renderer": { - "type": "text" - } - }, - { - "field": "category", - "title": "Category", - "renderer": { - "type": "text" - } - }, - { - "field": "is_active", - "title": "Is Active", - "renderer": { - "type": "text" - } - } - ] - }, + "encoding": {}, "style": { - "richTableTranspose": true + "richTableTranspose": true, + "richTableHiddenColumns": [ + "id", + "link", + "links", + "label", + "sourceId", + "sourceType" + ] } } } diff --git a/plugins/Amplitude/v1/defaultContent/overview.dash.json b/plugins/Amplitude/v1/defaultContent/overview.dash.json index 14021d19..f407bb7b 100644 --- a/plugins/Amplitude/v1/defaultContent/overview.dash.json +++ b/plugins/Amplitude/v1/defaultContent/overview.dash.json @@ -218,20 +218,6 @@ "trueColor": "inherit", "falseColor": "inherit" } - }, - { - "field": "id", - "title": "ID", - "renderer": { - "type": "text" - } - }, - { - "field": "type", - "title": "Cohort Type", - "renderer": { - "type": "text" - } } ] } diff --git a/plugins/Amplitude/v1/metadata.json b/plugins/Amplitude/v1/metadata.json index 5d21eebf..ebebdb66 100644 --- a/plugins/Amplitude/v1/metadata.json +++ b/plugins/Amplitude/v1/metadata.json @@ -1,7 +1,7 @@ { "name": "amplitude", "displayName": "Amplitude", - "version": "1.1.1", + "version": "1.1.2", "author": { "name": "conor.richey", "type": "community" diff --git a/plugins/Checkly/v1/defaultContent/Analytics/urlMonitor.dash.json b/plugins/Checkly/v1/defaultContent/Analytics/urlMonitor.dash.json index 1a5c0c54..7c86d3db 100644 --- a/plugins/Checkly/v1/defaultContent/Analytics/urlMonitor.dash.json +++ b/plugins/Checkly/v1/defaultContent/Analytics/urlMonitor.dash.json @@ -38,18 +38,20 @@ "{{configId}}" ], "title": "Availability", - "visualisation": { - "type": "data-stream-gauge", - "config": { - "data-stream-gauge": { + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "gauge", + "encoding": { "value": { - "type": "mean", - "columns": [ - "availability" - ] - }, - "minimum": 0, - "maximum": 100 + "field": "availability", + "type": "quantitative", + "title": "Availability" + } + }, + "style": { + "gaugeMin": 0, + "gaugeMax": 100 } } } @@ -98,13 +100,21 @@ "{{configId}}" ], "title": "Response Time Avg", - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "responseTime_avg", - "comparisonColumn": "none", - "label": "ms" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "responseTime_avg", + "type": "quantitative", + "title": "Response Time Avg" + } + ] + }, + "style": { + "scalarLabelText": "ms" } } } @@ -153,13 +163,21 @@ "{{configId}}" ], "title": "Response Time P95", - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "responseTime_p95", - "comparisonColumn": "none", - "label": "ms" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "responseTime_p95", + "type": "quantitative", + "title": "Response Time P95" + } + ] + }, + "style": { + "scalarLabelText": "ms" } } } @@ -208,13 +226,21 @@ "{{configId}}" ], "title": "Response Time P99", - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "responseTime_p99", - "comparisonColumn": "none", - "label": "ms" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "responseTime_p99", + "type": "quantitative", + "title": "Response Time P99" + } + ] + }, + "style": { + "scalarLabelText": "ms" } } } @@ -263,15 +289,30 @@ "{{configId}}" ], "title": "Response Time", - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "seriesColumn": "name", - "xAxisColumn": "startedAt", - "yAxisColumn": [ - "responseTime" - ] + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "startedAt", + "type": "temporal", + "title": "Started At" + }, + "y": { + "field": "responseTime", + "type": "quantitative", + "title": "Response Time" + }, + "series": { + "field": "name", + "type": "nominal", + "title": "Name" + } + }, + "style": { + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none" } } } @@ -320,15 +361,30 @@ "{{configId}}" ], "title": "DNS", - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "seriesColumn": "name", - "xAxisColumn": "startedAt", - "yAxisColumn": [ - "dns" - ] + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "startedAt", + "type": "temporal", + "title": "Started At" + }, + "y": { + "field": "dns", + "type": "quantitative", + "title": "Dns" + }, + "series": { + "field": "name", + "type": "nominal", + "title": "Name" + } + }, + "style": { + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none" } } } @@ -377,15 +433,30 @@ "{{configId}}" ], "title": "TCP", - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "seriesColumn": "name", - "xAxisColumn": "startedAt", - "yAxisColumn": [ - "tcp" - ] + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "startedAt", + "type": "temporal", + "title": "Started At" + }, + "y": { + "field": "tcp", + "type": "quantitative", + "title": "Tcp" + }, + "series": { + "field": "name", + "type": "nominal", + "title": "Name" + } + }, + "style": { + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none" } } } @@ -434,15 +505,30 @@ "{{configId}}" ], "title": "First Byte", - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "seriesColumn": "name", - "xAxisColumn": "startedAt", - "yAxisColumn": [ - "firstByte" - ] + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "startedAt", + "type": "temporal", + "title": "Started At" + }, + "y": { + "field": "firstByte", + "type": "quantitative", + "title": "First Byte" + }, + "series": { + "field": "name", + "type": "nominal", + "title": "Name" + } + }, + "style": { + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none" } } } @@ -491,15 +577,30 @@ "{{configId}}" ], "title": "Download", - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "seriesColumn": "name", - "xAxisColumn": "startedAt", - "yAxisColumn": [ - "download" - ] + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "startedAt", + "type": "temporal", + "title": "Started At" + }, + "y": { + "field": "download", + "type": "quantitative", + "title": "Download" + }, + "series": { + "field": "name", + "type": "nominal", + "title": "Name" + } + }, + "style": { + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none" } } } @@ -548,15 +649,30 @@ "{{configId}}" ], "title": "Wait", - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "seriesColumn": "name", - "xAxisColumn": "startedAt", - "yAxisColumn": [ - "wait" - ] + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "startedAt", + "type": "temporal", + "title": "Started At" + }, + "y": { + "field": "wait", + "type": "quantitative", + "title": "Wait" + }, + "series": { + "field": "name", + "type": "nominal", + "title": "Name" + } + }, + "style": { + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none" } } } diff --git a/plugins/Checkly/v1/defaultContent/checkDetails.dash.json b/plugins/Checkly/v1/defaultContent/checkDetails.dash.json index dea4f8a5..bb2665bd 100644 --- a/plugins/Checkly/v1/defaultContent/checkDetails.dash.json +++ b/plugins/Checkly/v1/defaultContent/checkDetails.dash.json @@ -34,13 +34,22 @@ "{{configId}}" ], "title": "Check – Status", - "visualisation": { - "type": "data-stream-blocks", - "config": { - "data-stream-blocks": { - "stateColumn": "status", - "linkColumn": "name", - "labelColumn": "name" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "statusGrid", + "encoding": { + "label": { + "field": "name", + "type": "nominal" + }, + "status": { + "field": "status", + "type": "nominal" + } + }, + "style": { + "statusGridColumnsPerRow": 1 } } } @@ -86,12 +95,21 @@ "{{configId}}" ], "title": "SSL Days Remaining", - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "sslDaysRemaining", - "comparisonColumn": "none" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "sslDaysRemaining", + "type": "quantitative", + "title": "Ssl Days Remaining" + } + ] + }, + "style": { + "scalarLabelPosition": "none" } } } @@ -126,17 +144,14 @@ "{{configId}}" ], "title": "Check – Status", - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "columnOrder": [ - "name", - "checkId", - "created_at", - "updated_at" - ], - "hiddenColumns": [ + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableTranspose": true, + "richTableHiddenColumns": [ "hasErrors", "hasFailures", "longestRun", @@ -146,8 +161,7 @@ "sslDaysRemaining", "isDegraded", "status" - ], - "transpose": true + ] } } } diff --git a/plugins/Checkly/v1/defaultContent/summary.dash.json b/plugins/Checkly/v1/defaultContent/summary.dash.json index 725c9d26..32716087 100644 --- a/plugins/Checkly/v1/defaultContent/summary.dash.json +++ b/plugins/Checkly/v1/defaultContent/summary.dash.json @@ -22,13 +22,11 @@ "{{configId}}" ], "title": "Alerts", - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "columnOrder": [], - "hiddenColumns": [] - } + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {} } } }, @@ -54,18 +52,13 @@ "{{configId}}" ], "title": "Summary – Report", - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "columnOrder": [ - "name", - "aggregate.successRatio", - "aggregate.avg", - "aggregate.p95", - "aggregate.p99" - ], - "hiddenColumns": [ + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableHiddenColumns": [ "tags.0", "deactivated", "checkType", @@ -95,13 +88,19 @@ "{{configId}}" ], "title": "Summary – Status", - "visualisation": { - "type": "data-stream-blocks", - "config": { - "data-stream-blocks": { - "stateColumn": "status", - "linkColumn": "name", - "labelColumn": "name" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "statusGrid", + "encoding": { + "label": { + "field": "name", + "type": "nominal" + }, + "status": { + "field": "status", + "type": "nominal" + } } } } diff --git a/plugins/Checkly/v1/metadata.json b/plugins/Checkly/v1/metadata.json index e3598b4e..93e13eb8 100644 --- a/plugins/Checkly/v1/metadata.json +++ b/plugins/Checkly/v1/metadata.json @@ -1,7 +1,7 @@ { "name": "checkly", "displayName": "Checkly", - "version": "1.0.0", + "version": "1.0.1", "author": { "name": "@agoodthing.org.uk", "type": "community" diff --git a/plugins/Checkmk/v1/defaultContent/host.dash.json b/plugins/Checkmk/v1/defaultContent/host.dash.json index 9dc5c212..245f76b1 100644 --- a/plugins/Checkmk/v1/defaultContent/host.dash.json +++ b/plugins/Checkmk/v1/defaultContent/host.dash.json @@ -214,54 +214,17 @@ "version": "1.0", "visualization": { "chartType": "richTable", - "encoding": { - "columns": [ - { - "field": "name", - "title": "Name", - "renderer": { - "type": "text" - } - }, - { - "field": "alias", - "title": "Alias", - "renderer": { - "type": "text" - } - }, - { - "field": "address", - "title": "Address", - "renderer": { - "type": "text" - } - }, - { - "field": "folder", - "title": "Folder", - "renderer": { - "type": "text" - } - }, - { - "field": "hostGroups", - "title": "Host Groups", - "renderer": { - "type": "text" - } - }, - { - "field": "hostLabels", - "title": "Host Labels", - "renderer": { - "type": "text" - } - } - ] - }, + "encoding": {}, "style": { - "richTableTranspose": true + "richTableTranspose": true, + "richTableHiddenColumns": [ + "id", + "links", + "type", + "label", + "sourceId", + "sourceType" + ] } } } diff --git a/plugins/Checkmk/v1/defaultContent/overview.dash.json b/plugins/Checkmk/v1/defaultContent/overview.dash.json index 2521d401..a03c3443 100644 --- a/plugins/Checkmk/v1/defaultContent/overview.dash.json +++ b/plugins/Checkmk/v1/defaultContent/overview.dash.json @@ -1054,20 +1054,6 @@ "relative": true } }, - { - "field": "statusName", - "title": "Status name", - "renderer": { - "type": "text" - } - }, - { - "field": "worstServiceStateName", - "title": "Worst service state name", - "renderer": { - "type": "text" - } - }, { "field": "health[Expanded].rawState", "title": "Health", @@ -1083,13 +1069,6 @@ "PENDING": "#94A3B8" } } - }, - { - "field": "healthRank", - "title": "Health rank", - "renderer": { - "type": "text" - } } ] } diff --git a/plugins/Checkmk/v1/metadata.json b/plugins/Checkmk/v1/metadata.json index 74e6ec03..0e33dd02 100644 --- a/plugins/Checkmk/v1/metadata.json +++ b/plugins/Checkmk/v1/metadata.json @@ -1,7 +1,7 @@ { "name": "checkmk", "displayName": "Checkmk", - "version": "1.0.1", + "version": "1.0.2", "author": { "name": "@shawn149", "type": "community" }, "description": "Monitor your Checkmk hosts and services, track their states and surface current problems.", "category": "Monitoring", diff --git a/plugins/ClaudeConsole/v1/defaultContent/apiKey.dash.json b/plugins/ClaudeConsole/v1/defaultContent/apiKey.dash.json index a3556dc7..fcd5a284 100644 --- a/plugins/ClaudeConsole/v1/defaultContent/apiKey.dash.json +++ b/plugins/ClaudeConsole/v1/defaultContent/apiKey.dash.json @@ -32,17 +32,14 @@ "variable": "{{variables.[API Key]}}" }, "variables": ["{{variables.[API Key]}}"], - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": true, - "columnOrder": [ - "name", - "sourceId", - "sourceType" - ], - "hiddenColumns": [ + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableTranspose": true, + "richTableHiddenColumns": [ "id", "links", "type", @@ -91,18 +88,33 @@ }, "sort": { "by": [["start_byDay", "asc"]] } }, - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "start_byDay", - "yAxisColumn": ["total_tokens_sum"], - "seriesColumn": "model_uniqueValues", - "showLegend": true, + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "start_byDay", + "type": "temporal", + "title": "Time" + }, + "y": { + "field": "total_tokens_sum", + "type": "quantitative", + "title": "Total Tokens (Sum)" + }, + "series": { + "field": "model_uniqueValues", + "type": "nominal", + "title": "Model" + } + }, + "style": { "legendPosition": "bottom", - "yAxisLabel": "Tokens", - "showYAxisLabel": true, - "showTrendLine": false + "cartesianShowYAxisTitle": true, + "cartesianYAxisTitle": "Tokens", + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none" } } } diff --git a/plugins/ClaudeConsole/v1/defaultContent/member.dash.json b/plugins/ClaudeConsole/v1/defaultContent/member.dash.json index a7e37699..810b42fc 100644 --- a/plugins/ClaudeConsole/v1/defaultContent/member.dash.json +++ b/plugins/ClaudeConsole/v1/defaultContent/member.dash.json @@ -32,17 +32,14 @@ "variable": "{{variables.[Member]}}" }, "variables": ["{{variables.[Member]}}"], - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": true, - "columnOrder": [ - "name", - "sourceId", - "sourceType" - ], - "hiddenColumns": [ + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableTranspose": true, + "richTableHiddenColumns": [ "id", "links", "type", @@ -91,18 +88,33 @@ }, "sort": { "by": [["start_byDay", "asc"]] } }, - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "start_byDay", - "yAxisColumn": ["total_tokens_sum"], - "seriesColumn": "model_uniqueValues", - "showLegend": true, + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "start_byDay", + "type": "temporal", + "title": "Time" + }, + "y": { + "field": "total_tokens_sum", + "type": "quantitative", + "title": "Total Tokens (Sum)" + }, + "series": { + "field": "model_uniqueValues", + "type": "nominal", + "title": "Model" + } + }, + "style": { "legendPosition": "bottom", - "yAxisLabel": "Tokens", - "showYAxisLabel": true, - "showTrendLine": false + "cartesianShowYAxisTitle": true, + "cartesianYAxisTitle": "Tokens", + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none" } } } @@ -137,22 +149,53 @@ }, "sort": { "by": [["created_at", "desc"]] } }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false, - "columnOrder": [ - "name", - "status", - "workspace_id", - "partial_key_hint", - "created_at" - ], - "hiddenColumns": [ - "id", - "expires_at", - "created_by.id" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "name", + "title": "Name", + "renderer": { + "type": "text" + } + }, + { + "field": "status[Expanded].rawState", + "title": "Status", + "renderer": { + "type": "badge", + "colors": { + "active": "#2BB660", + "expired": "#94A3B8", + "archived": "#94A3B8", + "inactive": "#94A3B8" + } + } + }, + { + "field": "workspace_id", + "title": "Workspace ID", + "renderer": { + "type": "text" + } + }, + { + "field": "partial_key_hint", + "title": "Key Hint", + "renderer": { + "type": "text" + } + }, + { + "field": "created_at", + "title": "Created", + "renderer": { + "type": "date" + } + } ] } } diff --git a/plugins/ClaudeConsole/v1/defaultContent/overview.dash.json b/plugins/ClaudeConsole/v1/defaultContent/overview.dash.json index 3c4cef12..ece84d6e 100644 --- a/plugins/ClaudeConsole/v1/defaultContent/overview.dash.json +++ b/plugins/ClaudeConsole/v1/defaultContent/overview.dash.json @@ -32,13 +32,21 @@ ] } }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "amount_sum", - "comparisonColumn": "none", - "label": "Spend (This Month)" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "amount_sum", + "type": "quantitative", + "title": "Cost ($) (Sum)" + } + ] + }, + "style": { + "scalarLabelText": "Spend (This Month)" } } } @@ -67,13 +75,21 @@ "aggregate": [{ "type": "count" }] } }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "count", - "comparisonColumn": "none", - "label": "API Keys" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "count", + "type": "quantitative", + "title": "Count" + } + ] + }, + "style": { + "scalarLabelText": "API Keys" } } } @@ -102,13 +118,21 @@ "aggregate": [{ "type": "count" }] } }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "count", - "comparisonColumn": "none", - "label": "Workspaces" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "count", + "type": "quantitative", + "title": "Count" + } + ] + }, + "style": { + "scalarLabelText": "Workspaces" } } } @@ -137,13 +161,21 @@ "aggregate": [{ "type": "count" }] } }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "count", - "comparisonColumn": "none", - "label": "Members" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "count", + "type": "quantitative", + "title": "Count" + } + ] + }, + "style": { + "scalarLabelText": "Members" } } } @@ -175,26 +207,28 @@ }, "sort": { "by": [["amount_sum", "desc"]] } }, - "visualisation": { - "type": "data-stream-bar-chart", - "config": { - "data-stream-bar-chart": { - "xAxisData": "model_uniqueValues", - "yAxisData": ["amount_sum"], - "xAxisGroup": "none", - "xAxisLabel": "Model", - "yAxisLabel": "Cost ($)", - "showXAxisLabel": true, - "showYAxisLabel": true, - "showLegend": false, - "legendPosition": "bottom", - "showGrid": true, - "horizontalLayout": "vertical", - "displayMode": "actual", - "showTotals": false, - "showValue": false, - "grouping": false, - "range": { "type": "auto" } + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "bar", + "encoding": { + "x": { + "field": "model_uniqueValues", + "type": "nominal", + "title": "Model" + }, + "y": { + "field": "amount_sum", + "type": "quantitative", + "title": "Cost ($) (Sum)" + } + }, + "style": { + "legendPosition": "none", + "cartesianShowXAxisTitle": true, + "cartesianXAxisTitle": "Model", + "cartesianShowYAxisTitle": true, + "cartesianYAxisTitle": "Cost ($)" } } } @@ -226,26 +260,28 @@ }, "sort": { "by": [["amount_sum", "desc"]], "top": 10 } }, - "visualisation": { - "type": "data-stream-bar-chart", - "config": { - "data-stream-bar-chart": { - "xAxisData": "workspace_uniqueValues", - "yAxisData": ["amount_sum"], - "xAxisGroup": "none", - "xAxisLabel": "Workspace", - "yAxisLabel": "Cost ($)", - "showXAxisLabel": true, - "showYAxisLabel": true, - "showLegend": false, - "legendPosition": "bottom", - "showGrid": true, - "horizontalLayout": "vertical", - "displayMode": "actual", - "showTotals": false, - "showValue": false, - "grouping": false, - "range": { "type": "auto" } + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "bar", + "encoding": { + "x": { + "field": "workspace_uniqueValues", + "type": "nominal", + "title": "Workspace" + }, + "y": { + "field": "amount_sum", + "type": "quantitative", + "title": "Cost ($) (Sum)" + } + }, + "style": { + "legendPosition": "none", + "cartesianShowXAxisTitle": true, + "cartesianXAxisTitle": "Workspace", + "cartesianShowYAxisTitle": true, + "cartesianYAxisTitle": "Cost ($)" } } } @@ -281,18 +317,33 @@ }, "sort": { "by": [["start_byDay", "asc"]] } }, - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "start_byDay", - "yAxisColumn": ["total_tokens_sum"], - "seriesColumn": "model_uniqueValues", - "showLegend": true, + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "start_byDay", + "type": "temporal", + "title": "Time" + }, + "y": { + "field": "total_tokens_sum", + "type": "quantitative", + "title": "Total Tokens (Sum)" + }, + "series": { + "field": "model_uniqueValues", + "type": "nominal", + "title": "Model" + } + }, + "style": { "legendPosition": "bottom", - "yAxisLabel": "Tokens", - "showYAxisLabel": true, - "showTrendLine": false + "cartesianShowYAxisTitle": true, + "cartesianYAxisTitle": "Tokens", + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none" } } } @@ -319,22 +370,53 @@ "pluginConfigId": "{{configId}}", "sort": { "by": [["created_at", "desc"]] } }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false, - "columnOrder": [ - "name", - "status", - "workspace_id", - "partial_key_hint", - "created_at" - ], - "hiddenColumns": [ - "id", - "expires_at", - "created_by.id" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "name", + "title": "Name", + "renderer": { + "type": "text" + } + }, + { + "field": "status[Expanded].rawState", + "title": "Status", + "renderer": { + "type": "badge", + "colors": { + "active": "#2BB660", + "expired": "#94A3B8", + "archived": "#94A3B8", + "inactive": "#94A3B8" + } + } + }, + { + "field": "workspace_id", + "title": "Workspace ID", + "renderer": { + "type": "text" + } + }, + { + "field": "partial_key_hint", + "title": "Key Hint", + "renderer": { + "type": "text" + } + }, + { + "field": "created_at", + "title": "Created", + "renderer": { + "type": "date" + } + } ] } } diff --git a/plugins/ClaudeConsole/v1/defaultContent/workspace.dash.json b/plugins/ClaudeConsole/v1/defaultContent/workspace.dash.json index 55eefe7b..14156bd1 100644 --- a/plugins/ClaudeConsole/v1/defaultContent/workspace.dash.json +++ b/plugins/ClaudeConsole/v1/defaultContent/workspace.dash.json @@ -32,17 +32,14 @@ "variable": "{{variables.[Workspace]}}" }, "variables": ["{{variables.[Workspace]}}"], - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": true, - "columnOrder": [ - "name", - "sourceId", - "sourceType" - ], - "hiddenColumns": [ + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableTranspose": true, + "richTableHiddenColumns": [ "id", "links", "type", @@ -87,18 +84,29 @@ }, "sort": { "by": [["date_byDay", "asc"]] } }, - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "date_byDay", - "yAxisColumn": ["amount_sum"], - "seriesColumn": "none", - "showLegend": false, - "legendPosition": "bottom", - "yAxisLabel": "Cost ($)", - "showYAxisLabel": true, - "showTrendLine": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "date_byDay", + "type": "temporal", + "title": "Date" + }, + "y": { + "field": "amount_sum", + "type": "quantitative", + "title": "Cost ($) (Sum)" + } + }, + "style": { + "legendPosition": "none", + "cartesianShowYAxisTitle": true, + "cartesianYAxisTitle": "Cost ($)", + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "cartesianAreaGradient": true } } } @@ -142,18 +150,33 @@ }, "sort": { "by": [["start_byDay", "asc"]] } }, - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "start_byDay", - "yAxisColumn": ["total_tokens_sum"], - "seriesColumn": "model_uniqueValues", - "showLegend": true, + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "start_byDay", + "type": "temporal", + "title": "Time" + }, + "y": { + "field": "total_tokens_sum", + "type": "quantitative", + "title": "Total Tokens (Sum)" + }, + "series": { + "field": "model_uniqueValues", + "type": "nominal", + "title": "Model" + } + }, + "style": { "legendPosition": "bottom", - "yAxisLabel": "Tokens", - "showYAxisLabel": true, - "showTrendLine": false + "cartesianShowYAxisTitle": true, + "cartesianYAxisTitle": "Tokens", + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none" } } } @@ -188,22 +211,53 @@ }, "sort": { "by": [["created_at", "desc"]] } }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false, - "columnOrder": [ - "name", - "status", - "partial_key_hint", - "created_at", - "expires_at" - ], - "hiddenColumns": [ - "id", - "workspace_id", - "created_by.id" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "name", + "title": "Name", + "renderer": { + "type": "text" + } + }, + { + "field": "status[Expanded].rawState", + "title": "Status", + "renderer": { + "type": "badge", + "colors": { + "active": "#2BB660", + "expired": "#94A3B8", + "archived": "#94A3B8", + "inactive": "#94A3B8" + } + } + }, + { + "field": "partial_key_hint", + "title": "Key Hint", + "renderer": { + "type": "text" + } + }, + { + "field": "created_at", + "title": "Created", + "renderer": { + "type": "date" + } + }, + { + "field": "expires_at", + "title": "Expires", + "renderer": { + "type": "date" + } + } ] } } diff --git a/plugins/ClaudeConsole/v1/metadata.json b/plugins/ClaudeConsole/v1/metadata.json index 2397eb9f..1cd00b4d 100644 --- a/plugins/ClaudeConsole/v1/metadata.json +++ b/plugins/ClaudeConsole/v1/metadata.json @@ -1,7 +1,7 @@ { "name": "claude-console", "displayName": "Claude Console", - "version": "1.0.1", + "version": "1.0.2", "author": { "name": "@andrewmumblebee", "type": "community" diff --git a/plugins/Cloudflare/v2/defaultContent/AI/aiGateway.dash.json b/plugins/Cloudflare/v2/defaultContent/AI/aiGateway.dash.json index db88f4da..89cd2081 100644 --- a/plugins/Cloudflare/v2/defaultContent/AI/aiGateway.dash.json +++ b/plugins/Cloudflare/v2/defaultContent/AI/aiGateway.dash.json @@ -291,12 +291,14 @@ "variables": [ "{{variables.[Cloudflare AI Gateway]}}" ], - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": true, - "hiddenColumns": [ + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableTranspose": true, + "richTableHiddenColumns": [ "id", "label", "link", diff --git a/plugins/Cloudflare/v2/defaultContent/AI/autorag.dash.json b/plugins/Cloudflare/v2/defaultContent/AI/autorag.dash.json index a7ee0658..8e75a1c0 100644 --- a/plugins/Cloudflare/v2/defaultContent/AI/autorag.dash.json +++ b/plugins/Cloudflare/v2/defaultContent/AI/autorag.dash.json @@ -291,12 +291,14 @@ "variables": [ "{{variables.[Cloudflare AutoRAG]}}" ], - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": true, - "hiddenColumns": [ + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableTranspose": true, + "richTableHiddenColumns": [ "id", "label", "link", diff --git a/plugins/Cloudflare/v2/defaultContent/AI/vectorizeIndex.dash.json b/plugins/Cloudflare/v2/defaultContent/AI/vectorizeIndex.dash.json index 8575f56c..33df8f96 100644 --- a/plugins/Cloudflare/v2/defaultContent/AI/vectorizeIndex.dash.json +++ b/plugins/Cloudflare/v2/defaultContent/AI/vectorizeIndex.dash.json @@ -279,12 +279,14 @@ "variables": [ "{{variables.[Cloudflare Vectorize Index]}}" ], - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": true, - "hiddenColumns": [ + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableTranspose": true, + "richTableHiddenColumns": [ "id", "label", "link", diff --git a/plugins/Cloudflare/v2/defaultContent/Account/account.dash.json b/plugins/Cloudflare/v2/defaultContent/Account/account.dash.json index f05a6bde..63f9c932 100644 --- a/plugins/Cloudflare/v2/defaultContent/Account/account.dash.json +++ b/plugins/Cloudflare/v2/defaultContent/Account/account.dash.json @@ -271,12 +271,14 @@ "variables": [ "{{variables.[Cloudflare Account]}}" ], - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": true, - "hiddenColumns": [ + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableTranspose": true, + "richTableHiddenColumns": [ "id", "label", "link", @@ -340,10 +342,6 @@ "status": { "field": "status", "type": "nominal" - }, - "link": { - "field": "tunnelName", - "type": "nominal" } }, "style": { diff --git a/plugins/Cloudflare/v2/defaultContent/Compute/containerApplication.dash.json b/plugins/Cloudflare/v2/defaultContent/Compute/containerApplication.dash.json index 2dcf0d17..353a72c9 100644 --- a/plugins/Cloudflare/v2/defaultContent/Compute/containerApplication.dash.json +++ b/plugins/Cloudflare/v2/defaultContent/Compute/containerApplication.dash.json @@ -291,12 +291,14 @@ "variables": [ "{{variables.[Cloudflare Container Application]}}" ], - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": true, - "hiddenColumns": [ + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableTranspose": true, + "richTableHiddenColumns": [ "id", "label", "link", diff --git a/plugins/Cloudflare/v2/defaultContent/Compute/durableObjectNamespace.dash.json b/plugins/Cloudflare/v2/defaultContent/Compute/durableObjectNamespace.dash.json index c07e6f5d..26b0d063 100644 --- a/plugins/Cloudflare/v2/defaultContent/Compute/durableObjectNamespace.dash.json +++ b/plugins/Cloudflare/v2/defaultContent/Compute/durableObjectNamespace.dash.json @@ -279,12 +279,14 @@ "variables": [ "{{variables.[Cloudflare Durable Object Namespace]}}" ], - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": true, - "hiddenColumns": [ + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableTranspose": true, + "richTableHiddenColumns": [ "id", "label", "link", diff --git a/plugins/Cloudflare/v2/defaultContent/Compute/pagesProject.dash.json b/plugins/Cloudflare/v2/defaultContent/Compute/pagesProject.dash.json index df3db83e..d7a8f785 100644 --- a/plugins/Cloudflare/v2/defaultContent/Compute/pagesProject.dash.json +++ b/plugins/Cloudflare/v2/defaultContent/Compute/pagesProject.dash.json @@ -39,12 +39,14 @@ "variables": [ "{{variables.[Cloudflare Pages Project]}}" ], - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": true, - "hiddenColumns": [ + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableTranspose": true, + "richTableHiddenColumns": [ "id", "label", "link", diff --git a/plugins/Cloudflare/v2/defaultContent/Compute/pipeline.dash.json b/plugins/Cloudflare/v2/defaultContent/Compute/pipeline.dash.json index d1a2ab52..ab53a4bf 100644 --- a/plugins/Cloudflare/v2/defaultContent/Compute/pipeline.dash.json +++ b/plugins/Cloudflare/v2/defaultContent/Compute/pipeline.dash.json @@ -279,12 +279,14 @@ "variables": [ "{{variables.[Cloudflare Pipeline]}}" ], - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": true, - "hiddenColumns": [ + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableTranspose": true, + "richTableHiddenColumns": [ "id", "label", "link", diff --git a/plugins/Cloudflare/v2/defaultContent/Compute/queue.dash.json b/plugins/Cloudflare/v2/defaultContent/Compute/queue.dash.json index 281e77ad..4cf016d4 100644 --- a/plugins/Cloudflare/v2/defaultContent/Compute/queue.dash.json +++ b/plugins/Cloudflare/v2/defaultContent/Compute/queue.dash.json @@ -279,12 +279,14 @@ "variables": [ "{{variables.[Cloudflare Queue]}}" ], - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": true, - "hiddenColumns": [ + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableTranspose": true, + "richTableHiddenColumns": [ "id", "label", "link", diff --git a/plugins/Cloudflare/v2/defaultContent/Compute/worker.dash.json b/plugins/Cloudflare/v2/defaultContent/Compute/worker.dash.json index 5803bf94..e9fb4ce4 100644 --- a/plugins/Cloudflare/v2/defaultContent/Compute/worker.dash.json +++ b/plugins/Cloudflare/v2/defaultContent/Compute/worker.dash.json @@ -279,12 +279,14 @@ "variables": [ "{{variables.[Cloudflare Worker]}}" ], - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": true, - "hiddenColumns": [ + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableTranspose": true, + "richTableHiddenColumns": [ "id", "label", "link", diff --git a/plugins/Cloudflare/v2/defaultContent/Media/realtimeApp.dash.json b/plugins/Cloudflare/v2/defaultContent/Media/realtimeApp.dash.json index 7a11eed6..3f47bbcc 100644 --- a/plugins/Cloudflare/v2/defaultContent/Media/realtimeApp.dash.json +++ b/plugins/Cloudflare/v2/defaultContent/Media/realtimeApp.dash.json @@ -279,12 +279,14 @@ "variables": [ "{{variables.[Cloudflare Realtime App]}}" ], - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": true, - "hiddenColumns": [ + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableTranspose": true, + "richTableHiddenColumns": [ "id", "label", "link", diff --git a/plugins/Cloudflare/v2/defaultContent/Media/streamVideo.dash.json b/plugins/Cloudflare/v2/defaultContent/Media/streamVideo.dash.json index 4c633fd5..86dfe1c5 100644 --- a/plugins/Cloudflare/v2/defaultContent/Media/streamVideo.dash.json +++ b/plugins/Cloudflare/v2/defaultContent/Media/streamVideo.dash.json @@ -288,12 +288,14 @@ "variables": [ "{{variables.[Cloudflare Stream Video]}}" ], - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": true, - "hiddenColumns": [ + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableTranspose": true, + "richTableHiddenColumns": [ "id", "label", "link", diff --git a/plugins/Cloudflare/v2/defaultContent/Storage & Databases/d1Database.dash.json b/plugins/Cloudflare/v2/defaultContent/Storage & Databases/d1Database.dash.json index 47750860..262e9cfc 100644 --- a/plugins/Cloudflare/v2/defaultContent/Storage & Databases/d1Database.dash.json +++ b/plugins/Cloudflare/v2/defaultContent/Storage & Databases/d1Database.dash.json @@ -279,12 +279,14 @@ "variables": [ "{{variables.[Cloudflare D1 Database]}}" ], - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": true, - "hiddenColumns": [ + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableTranspose": true, + "richTableHiddenColumns": [ "id", "label", "link", diff --git a/plugins/Cloudflare/v2/defaultContent/Storage & Databases/hyperdriveConfig.dash.json b/plugins/Cloudflare/v2/defaultContent/Storage & Databases/hyperdriveConfig.dash.json index c0850e5e..1b1b71dd 100644 --- a/plugins/Cloudflare/v2/defaultContent/Storage & Databases/hyperdriveConfig.dash.json +++ b/plugins/Cloudflare/v2/defaultContent/Storage & Databases/hyperdriveConfig.dash.json @@ -279,12 +279,14 @@ "variables": [ "{{variables.[Cloudflare Hyperdrive Config]}}" ], - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": true, - "hiddenColumns": [ + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableTranspose": true, + "richTableHiddenColumns": [ "id", "label", "link", diff --git a/plugins/Cloudflare/v2/defaultContent/Storage & Databases/kvNamespace.dash.json b/plugins/Cloudflare/v2/defaultContent/Storage & Databases/kvNamespace.dash.json index 9054df0e..809e7aa2 100644 --- a/plugins/Cloudflare/v2/defaultContent/Storage & Databases/kvNamespace.dash.json +++ b/plugins/Cloudflare/v2/defaultContent/Storage & Databases/kvNamespace.dash.json @@ -279,12 +279,14 @@ "variables": [ "{{variables.[Cloudflare KV Namespace]}}" ], - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": true, - "hiddenColumns": [ + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableTranspose": true, + "richTableHiddenColumns": [ "id", "label", "link", diff --git a/plugins/Cloudflare/v2/defaultContent/Storage & Databases/r2Bucket.dash.json b/plugins/Cloudflare/v2/defaultContent/Storage & Databases/r2Bucket.dash.json index 07107d7a..3176df28 100644 --- a/plugins/Cloudflare/v2/defaultContent/Storage & Databases/r2Bucket.dash.json +++ b/plugins/Cloudflare/v2/defaultContent/Storage & Databases/r2Bucket.dash.json @@ -279,12 +279,14 @@ "variables": [ "{{variables.[Cloudflare R2 Bucket]}}" ], - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": true, - "hiddenColumns": [ + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableTranspose": true, + "richTableHiddenColumns": [ "id", "label", "link", diff --git a/plugins/Cloudflare/v2/defaultContent/Zero Trust/accessApplication.dash.json b/plugins/Cloudflare/v2/defaultContent/Zero Trust/accessApplication.dash.json index 88288882..8040b880 100644 --- a/plugins/Cloudflare/v2/defaultContent/Zero Trust/accessApplication.dash.json +++ b/plugins/Cloudflare/v2/defaultContent/Zero Trust/accessApplication.dash.json @@ -303,12 +303,14 @@ "variables": [ "{{variables.[Cloudflare Access Application]}}" ], - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": true, - "hiddenColumns": [ + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableTranspose": true, + "richTableHiddenColumns": [ "id", "label", "link", diff --git a/plugins/Cloudflare/v2/defaultContent/Zero Trust/tunnel.dash.json b/plugins/Cloudflare/v2/defaultContent/Zero Trust/tunnel.dash.json index ee86c61c..a6659100 100644 --- a/plugins/Cloudflare/v2/defaultContent/Zero Trust/tunnel.dash.json +++ b/plugins/Cloudflare/v2/defaultContent/Zero Trust/tunnel.dash.json @@ -39,12 +39,14 @@ "variables": [ "{{variables.[Cloudflare Tunnel]}}" ], - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": true, - "hiddenColumns": [ + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableTranspose": true, + "richTableHiddenColumns": [ "id", "label", "link", diff --git a/plugins/Cloudflare/v2/defaultContent/Zero Trust/turnstileWidget.dash.json b/plugins/Cloudflare/v2/defaultContent/Zero Trust/turnstileWidget.dash.json index 5840e7a3..192c8bc0 100644 --- a/plugins/Cloudflare/v2/defaultContent/Zero Trust/turnstileWidget.dash.json +++ b/plugins/Cloudflare/v2/defaultContent/Zero Trust/turnstileWidget.dash.json @@ -291,12 +291,14 @@ "variables": [ "{{variables.[Cloudflare Turnstile Widget]}}" ], - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": true, - "hiddenColumns": [ + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableTranspose": true, + "richTableHiddenColumns": [ "id", "label", "link", diff --git a/plugins/Cloudflare/v2/defaultContent/Zones/loadBalancerPool.dash.json b/plugins/Cloudflare/v2/defaultContent/Zones/loadBalancerPool.dash.json index 8b6272f7..6c27e118 100644 --- a/plugins/Cloudflare/v2/defaultContent/Zones/loadBalancerPool.dash.json +++ b/plugins/Cloudflare/v2/defaultContent/Zones/loadBalancerPool.dash.json @@ -39,12 +39,14 @@ "variables": [ "{{variables.[Cloudflare Load Balancer Pool]}}" ], - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": true, - "hiddenColumns": [ + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableTranspose": true, + "richTableHiddenColumns": [ "id", "label", "link", diff --git a/plugins/Cloudflare/v2/defaultContent/Zones/zone.dash.json b/plugins/Cloudflare/v2/defaultContent/Zones/zone.dash.json index 12357489..0736da56 100644 --- a/plugins/Cloudflare/v2/defaultContent/Zones/zone.dash.json +++ b/plugins/Cloudflare/v2/defaultContent/Zones/zone.dash.json @@ -284,10 +284,6 @@ "status": { "field": "state", "type": "nominal" - }, - "link": { - "field": "name", - "type": "nominal" } }, "style": { @@ -348,12 +344,14 @@ "variables": [ "{{variables.[Cloudflare Zone]}}" ], - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": true, - "hiddenColumns": [ + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableTranspose": true, + "richTableHiddenColumns": [ "id", "label", "link", diff --git a/plugins/Cloudflare/v2/defaultContent/inventory.dash.json b/plugins/Cloudflare/v2/defaultContent/inventory.dash.json index 7aeef24f..0ce2a126 100644 --- a/plugins/Cloudflare/v2/defaultContent/inventory.dash.json +++ b/plugins/Cloudflare/v2/defaultContent/inventory.dash.json @@ -45,61 +45,23 @@ "version": "1.0", "visualization": { "chartType": "richTable", - "encoding": { - "columns": [ - { - "field": "name", - "title": "Name", - "renderer": { - "type": "text" - } - }, - { - "field": "status", - "title": "Status", - "renderer": { - "type": "text" - } - }, - { - "field": "planName", - "title": "Plan Name", - "renderer": { - "type": "text" - } - }, - { - "field": "accountName", - "title": "Account Name", - "renderer": { - "type": "text" - } - }, - { - "field": "zoneType", - "title": "Zone Type", - "renderer": { - "type": "text" - } - }, - { - "field": "developmentModeActive", - "title": "Development Mode Active", - "renderer": { - "type": "text" - } - }, - { - "field": "activatedOn", - "title": "Activated On", - "renderer": { - "type": "text" - } - } - ] - }, + "encoding": {}, "style": { - "richTableRowLinkField": "link" + "richTableRowLinkField": "link", + "richTableHiddenColumns": [ + "id", + "label", + "link", + "links", + "sourceId", + "sourceName", + "type", + "sourceType", + "accountId", + "paused", + "createdOn", + "nameServers" + ] } } } @@ -138,19 +100,23 @@ "scope": "{{scopes.[Cloudflare Workers]}}", "workspace": "{{workspaceId}}" }, - "visualisation": { - "type": "data-stream-blocks", - "config": { - "data-stream-blocks": { - "labelColumn": "name", - "stateColumn": "none", - "sublabel": "usageModel", - "linkColumn": "link", - "columns": 2, - "rowLinkColumnName": { - "value": "link", - "label": "Link" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "statusGrid", + "encoding": { + "label": { + "field": "name", + "type": "nominal" + }, + "link": { + "field": "link", + "type": "nominal" } + }, + "style": { + "statusGridColumnsPerRow": 2, + "statusGridSecondaryTemplate": "{{{{raw}}}}{{usageModel}}{{{{/raw}}}}" } } } @@ -307,18 +273,22 @@ "scope": "{{scopes.[Cloudflare Load Balancer Pools]}}", "workspace": "{{workspaceId}}" }, - "visualisation": { - "type": "data-stream-blocks", - "config": { - "data-stream-blocks": { - "labelColumn": "name", - "stateColumn": "none", - "linkColumn": "link", - "columns": 2, - "rowLinkColumnName": { - "value": "link", - "label": "Link" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "statusGrid", + "encoding": { + "label": { + "field": "name", + "type": "nominal" + }, + "link": { + "field": "link", + "type": "nominal" } + }, + "style": { + "statusGridColumnsPerRow": 2 } } } @@ -357,19 +327,23 @@ "scope": "{{scopes.[Cloudflare R2 Buckets]}}", "workspace": "{{workspaceId}}" }, - "visualisation": { - "type": "data-stream-blocks", - "config": { - "data-stream-blocks": { - "labelColumn": "name", - "stateColumn": "none", - "sublabel": "location", - "linkColumn": "link", - "columns": 2, - "rowLinkColumnName": { - "value": "link", - "label": "Link" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "statusGrid", + "encoding": { + "label": { + "field": "name", + "type": "nominal" + }, + "link": { + "field": "link", + "type": "nominal" } + }, + "style": { + "statusGridColumnsPerRow": 2, + "statusGridSecondaryTemplate": "{{{{raw}}}}{{location}}{{{{/raw}}}}" } } } @@ -408,18 +382,22 @@ "scope": "{{scopes.[Cloudflare D1 Databases]}}", "workspace": "{{workspaceId}}" }, - "visualisation": { - "type": "data-stream-blocks", - "config": { - "data-stream-blocks": { - "labelColumn": "name", - "stateColumn": "none", - "linkColumn": "link", - "columns": 2, - "rowLinkColumnName": { - "value": "link", - "label": "Link" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "statusGrid", + "encoding": { + "label": { + "field": "name", + "type": "nominal" + }, + "link": { + "field": "link", + "type": "nominal" } + }, + "style": { + "statusGridColumnsPerRow": 2 } } } @@ -458,18 +436,22 @@ "scope": "{{scopes.[Cloudflare KV Namespaces]}}", "workspace": "{{workspaceId}}" }, - "visualisation": { - "type": "data-stream-blocks", - "config": { - "data-stream-blocks": { - "labelColumn": "name", - "stateColumn": "none", - "linkColumn": "link", - "columns": 2, - "rowLinkColumnName": { - "value": "link", - "label": "Link" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "statusGrid", + "encoding": { + "label": { + "field": "name", + "type": "nominal" + }, + "link": { + "field": "link", + "type": "nominal" } + }, + "style": { + "statusGridColumnsPerRow": 2 } } } @@ -508,18 +490,22 @@ "scope": "{{scopes.[Cloudflare Queues]}}", "workspace": "{{workspaceId}}" }, - "visualisation": { - "type": "data-stream-blocks", - "config": { - "data-stream-blocks": { - "labelColumn": "name", - "stateColumn": "none", - "linkColumn": "link", - "columns": 2, - "rowLinkColumnName": { - "value": "link", - "label": "Link" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "statusGrid", + "encoding": { + "label": { + "field": "name", + "type": "nominal" + }, + "link": { + "field": "link", + "type": "nominal" } + }, + "style": { + "statusGridColumnsPerRow": 2 } } } @@ -558,19 +544,23 @@ "scope": "{{scopes.[Cloudflare Access Applications]}}", "workspace": "{{workspaceId}}" }, - "visualisation": { - "type": "data-stream-blocks", - "config": { - "data-stream-blocks": { - "labelColumn": "name", - "stateColumn": "none", - "sublabel": "domain", - "linkColumn": "link", - "columns": 4, - "rowLinkColumnName": { - "value": "link", - "label": "Link" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "statusGrid", + "encoding": { + "label": { + "field": "name", + "type": "nominal" + }, + "link": { + "field": "link", + "type": "nominal" } + }, + "style": { + "statusGridColumnsPerRow": 4, + "statusGridSecondaryTemplate": "{{{{raw}}}}{{domain}}{{{{/raw}}}}" } } } @@ -609,19 +599,23 @@ "scope": "{{scopes.[Cloudflare Durable Object Namespaces]}}", "workspace": "{{workspaceId}}" }, - "visualisation": { - "type": "data-stream-blocks", - "config": { - "data-stream-blocks": { - "labelColumn": "name", - "stateColumn": "none", - "sublabel": "scriptName", - "linkColumn": "link", - "columns": 2, - "rowLinkColumnName": { - "value": "link", - "label": "Link" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "statusGrid", + "encoding": { + "label": { + "field": "name", + "type": "nominal" + }, + "link": { + "field": "link", + "type": "nominal" } + }, + "style": { + "statusGridColumnsPerRow": 2, + "statusGridSecondaryTemplate": "{{{{raw}}}}{{scriptName}}{{{{/raw}}}}" } } } @@ -660,19 +654,23 @@ "scope": "{{scopes.[Cloudflare Vectorize Indexes]}}", "workspace": "{{workspaceId}}" }, - "visualisation": { - "type": "data-stream-blocks", - "config": { - "data-stream-blocks": { - "labelColumn": "name", - "stateColumn": "none", - "sublabel": "metric", - "linkColumn": "link", - "columns": 2, - "rowLinkColumnName": { - "value": "link", - "label": "Link" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "statusGrid", + "encoding": { + "label": { + "field": "name", + "type": "nominal" + }, + "link": { + "field": "link", + "type": "nominal" } + }, + "style": { + "statusGridColumnsPerRow": 2, + "statusGridSecondaryTemplate": "{{{{raw}}}}{{metric}}{{{{/raw}}}}" } } } @@ -711,19 +709,23 @@ "scope": "{{scopes.[Cloudflare Hyperdrive Configs]}}", "workspace": "{{workspaceId}}" }, - "visualisation": { - "type": "data-stream-blocks", - "config": { - "data-stream-blocks": { - "labelColumn": "name", - "stateColumn": "none", - "sublabel": "database", - "linkColumn": "link", - "columns": 2, - "rowLinkColumnName": { - "value": "link", - "label": "Link" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "statusGrid", + "encoding": { + "label": { + "field": "name", + "type": "nominal" + }, + "link": { + "field": "link", + "type": "nominal" } + }, + "style": { + "statusGridColumnsPerRow": 2, + "statusGridSecondaryTemplate": "{{{{raw}}}}{{database}}{{{{/raw}}}}" } } } @@ -829,19 +831,23 @@ "scope": "{{scopes.[Cloudflare Worker Bindings]}}", "workspace": "{{workspaceId}}" }, - "visualisation": { - "type": "data-stream-blocks", - "config": { - "data-stream-blocks": { - "labelColumn": "name", - "stateColumn": "none", - "sublabel": "bindingType", - "linkColumn": "link", - "columns": 4, - "rowLinkColumnName": { - "value": "link", - "label": "Link" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "statusGrid", + "encoding": { + "label": { + "field": "name", + "type": "nominal" + }, + "link": { + "field": "link", + "type": "nominal" } + }, + "style": { + "statusGridColumnsPerRow": 4, + "statusGridSecondaryTemplate": "{{{{raw}}}}{{bindingType}}{{{{/raw}}}}" } } } @@ -880,19 +886,23 @@ "scope": "{{scopes.[Cloudflare Stream Videos]}}", "workspace": "{{workspaceId}}" }, - "visualisation": { - "type": "data-stream-blocks", - "config": { - "data-stream-blocks": { - "labelColumn": "name", - "stateColumn": "none", - "sublabel": "statusState", - "linkColumn": "link", - "columns": 2, - "rowLinkColumnName": { - "value": "link", - "label": "Link" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "statusGrid", + "encoding": { + "label": { + "field": "name", + "type": "nominal" + }, + "link": { + "field": "link", + "type": "nominal" } + }, + "style": { + "statusGridColumnsPerRow": 2, + "statusGridSecondaryTemplate": "{{{{raw}}}}{{statusState}}{{{{/raw}}}}" } } } @@ -931,19 +941,23 @@ "scope": "{{scopes.[Cloudflare Turnstile Widgets]}}", "workspace": "{{workspaceId}}" }, - "visualisation": { - "type": "data-stream-blocks", - "config": { - "data-stream-blocks": { - "labelColumn": "name", - "stateColumn": "none", - "sublabel": "mode", - "linkColumn": "link", - "columns": 2, - "rowLinkColumnName": { - "value": "link", - "label": "Link" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "statusGrid", + "encoding": { + "label": { + "field": "name", + "type": "nominal" + }, + "link": { + "field": "link", + "type": "nominal" } + }, + "style": { + "statusGridColumnsPerRow": 2, + "statusGridSecondaryTemplate": "{{{{raw}}}}{{mode}}{{{{/raw}}}}" } } } @@ -982,18 +996,22 @@ "scope": "{{scopes.[Cloudflare AI Gateways]}}", "workspace": "{{workspaceId}}" }, - "visualisation": { - "type": "data-stream-blocks", - "config": { - "data-stream-blocks": { - "labelColumn": "name", - "stateColumn": "none", - "linkColumn": "link", - "columns": 2, - "rowLinkColumnName": { - "value": "link", - "label": "Link" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "statusGrid", + "encoding": { + "label": { + "field": "name", + "type": "nominal" + }, + "link": { + "field": "link", + "type": "nominal" } + }, + "style": { + "statusGridColumnsPerRow": 2 } } } @@ -1032,19 +1050,23 @@ "scope": "{{scopes.[Cloudflare AutoRAGs]}}", "workspace": "{{workspaceId}}" }, - "visualisation": { - "type": "data-stream-blocks", - "config": { - "data-stream-blocks": { - "labelColumn": "name", - "stateColumn": "none", - "sublabel": "status", - "linkColumn": "link", - "columns": 2, - "rowLinkColumnName": { - "value": "link", - "label": "Link" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "statusGrid", + "encoding": { + "label": { + "field": "name", + "type": "nominal" + }, + "link": { + "field": "link", + "type": "nominal" } + }, + "style": { + "statusGridColumnsPerRow": 2, + "statusGridSecondaryTemplate": "{{{{raw}}}}{{status}}{{{{/raw}}}}" } } } @@ -1083,19 +1105,23 @@ "scope": "{{scopes.[Cloudflare Container Applications]}}", "workspace": "{{workspaceId}}" }, - "visualisation": { - "type": "data-stream-blocks", - "config": { - "data-stream-blocks": { - "labelColumn": "name", - "stateColumn": "none", - "sublabel": "imageName", - "linkColumn": "link", - "columns": 2, - "rowLinkColumnName": { - "value": "link", - "label": "Link" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "statusGrid", + "encoding": { + "label": { + "field": "name", + "type": "nominal" + }, + "link": { + "field": "link", + "type": "nominal" } + }, + "style": { + "statusGridColumnsPerRow": 2, + "statusGridSecondaryTemplate": "{{{{raw}}}}{{imageName}}{{{{/raw}}}}" } } } @@ -1134,19 +1160,23 @@ "scope": "{{scopes.[Cloudflare Pipelines]}}", "workspace": "{{workspaceId}}" }, - "visualisation": { - "type": "data-stream-blocks", - "config": { - "data-stream-blocks": { - "labelColumn": "name", - "stateColumn": "none", - "sublabel": "endpoint", - "linkColumn": "link", - "columns": 2, - "rowLinkColumnName": { - "value": "link", - "label": "Link" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "statusGrid", + "encoding": { + "label": { + "field": "name", + "type": "nominal" + }, + "link": { + "field": "link", + "type": "nominal" } + }, + "style": { + "statusGridColumnsPerRow": 2, + "statusGridSecondaryTemplate": "{{{{raw}}}}{{endpoint}}{{{{/raw}}}}" } } } @@ -1185,18 +1215,22 @@ "scope": "{{scopes.[Cloudflare Realtime Apps]}}", "workspace": "{{workspaceId}}" }, - "visualisation": { - "type": "data-stream-blocks", - "config": { - "data-stream-blocks": { - "labelColumn": "name", - "stateColumn": "none", - "linkColumn": "link", - "columns": 4, - "rowLinkColumnName": { - "value": "link", - "label": "Link" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "statusGrid", + "encoding": { + "label": { + "field": "name", + "type": "nominal" + }, + "link": { + "field": "link", + "type": "nominal" } + }, + "style": { + "statusGridColumnsPerRow": 4 } } } diff --git a/plugins/Cloudflare/v2/defaultContent/overview.dash.json b/plugins/Cloudflare/v2/defaultContent/overview.dash.json index 38a14eda..6cdaf651 100644 --- a/plugins/Cloudflare/v2/defaultContent/overview.dash.json +++ b/plugins/Cloudflare/v2/defaultContent/overview.dash.json @@ -744,10 +744,6 @@ "status": { "field": "state", "type": "nominal" - }, - "link": { - "field": "name", - "type": "nominal" } }, "style": { diff --git a/plugins/Cloudflare/v2/metadata.json b/plugins/Cloudflare/v2/metadata.json index f2d6dce0..ad5f5986 100644 --- a/plugins/Cloudflare/v2/metadata.json +++ b/plugins/Cloudflare/v2/metadata.json @@ -1,7 +1,7 @@ { "name": "Cloudflare", "displayName": "Cloudflare", - "version": "2.0.1", + "version": "2.0.2", "author": { "name": "SquaredUp", "type": "firstParty" diff --git a/plugins/CrowdStrike/v1/metadata.json b/plugins/CrowdStrike/v1/metadata.json index 1a5319b7..9c127cf2 100644 --- a/plugins/CrowdStrike/v1/metadata.json +++ b/plugins/CrowdStrike/v1/metadata.json @@ -1,7 +1,7 @@ { "name": "crowdstrike", "displayName": "CrowdStrike", - "version": "1.0.15", + "version": "1.0.16", "author": { "name": "@JackTSquppy", "type": "community" }, "description": "Monitor CrowdStrike Falcon host coverage, detections & incidents, vulnerabilities, and policy compliance in SquaredUp.", "category": "Security", diff --git a/plugins/DigiCert/v1/defaultContent/overview.dash.json b/plugins/DigiCert/v1/defaultContent/overview.dash.json index fc16e80a..3f04b004 100644 --- a/plugins/DigiCert/v1/defaultContent/overview.dash.json +++ b/plugins/DigiCert/v1/defaultContent/overview.dash.json @@ -58,26 +58,14 @@ }, "activePluginConfigIds": ["{{configId}}"], "title": "⏳ Certificates Pending Renewal", - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "columnOrder": [ - "organization.name", - "certificate.serial_number", - "product.name", - "price", - "certificate.valid_from", - "certificate.valid_till", - "certificate.days_remaining", - "date_created", - "has_reissues", - "is_renewed", - "order_valid_till", - "status", - "validity_years" - ], - "hiddenColumns": [ + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableTranspose": true, + "richTableHiddenColumns": [ "certificate.dns_names.0", "container.name", "organization.id", @@ -94,8 +82,7 @@ "product.name_id", "product.type", "product_name_id" - ], - "transpose": true + ] } } } @@ -121,28 +108,26 @@ "description": "", "activePluginConfigIds": ["{{configId}}"], "title": "🧾 Certificate Order Cost", - "visualisation": { - "type": "data-stream-bar-chart", - "config": { - "data-stream-bar-chart": { - "xAxisGroup": "none", - "showLegend": false, - "range": { - "type": "auto" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "bar", + "encoding": { + "x": { + "field": "certificate.serial_number", + "type": "nominal", + "title": "Serial Number" }, - "showGrid": true, - "grouping": false, - "xAxisData": "certificate.serial_number", - "displayMode": "actual", - "showTotals": false, - "yAxisLabel": "", - "horizontalLayout": "vertical", - "showValue": false, - "yAxisData": ["price"], - "showYAxisLabel": true, - "xAxisLabel": "", - "legendPosition": "bottom", - "showXAxisLabel": true + "y": { + "field": "price", + "type": "quantitative", + "title": "Price" + } + }, + "style": { + "legendPosition": "none", + "cartesianShowXAxisTitle": true, + "cartesianShowYAxisTitle": true } } } @@ -175,25 +160,13 @@ "description": "", "activePluginConfigIds": ["{{configId}}"], "title": "📜 All Certificate Orders", - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "columnOrder": [ - "organization.name", - "certificate.serial_number", - "product.name", - "certificate.valid_from", - "certificate.valid_till", - "certificate.days_remaining", - "date_created", - "is_renewed", - "order_valid_till", - "product.name_id", - "status", - "validity_years" - ], - "hiddenColumns": [ + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableHiddenColumns": [ "certificate.dns_names.0", "container.name", "organization.id", @@ -238,11 +211,14 @@ "activePluginConfigIds": ["{{configId}}"], "baseTile": "data-stream-base-tile", "title": "🔐👥 Certificate Portal Users", - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "hiddenColumns": [ + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableTranspose": true, + "richTableHiddenColumns": [ "access_roles.0.id", "container.template_id", "container.parent_id", @@ -254,24 +230,7 @@ "container.public_id", "has_container_assignments", "type" - ], - "transpose": true, - "columnOrder": [ - "first_name", - "last_name", - "access_roles.0.name", - "container.name", - "container.is_active", - "email", - "last_login_date", - "status", - "username" - ], - "resizedColumns": { - "columnWidths": { - "last_name": 111 - } - } + ] } } } @@ -297,16 +256,29 @@ "description": "", "activePluginConfigIds": ["{{configId}}"], "title": "👥 Roles Overview", - "visualisation": { - "type": "data-stream-donut-chart", - "config": { - "data-stream-donut-chart": { - "valueColumn": "builtin_count_by_label", - "hideCenterValue": false, - "showValuesAsPercentage": false, - "legendPosition": "right", - "legendMode": "table", - "labelColumn": "access_roles.0.name" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "pie", + "encoding": { + "label": { + "field": "access_roles.0.name", + "type": "nominal", + "title": "Role" + }, + "value": { + "field": "access_roles.0.name", + "type": "quantitative", + "aggregate": "count", + "title": "Count" + } + }, + "style": { + "pieInnerRadius": 60, + "pieDonutCenterValue": "total", + "labelFontSize": 16, + "pieSort": "desc", + "pieLegendStyle": "table" } } } diff --git a/plugins/DigiCert/v1/metadata.json b/plugins/DigiCert/v1/metadata.json index 4c50f0aa..b5345737 100644 --- a/plugins/DigiCert/v1/metadata.json +++ b/plugins/DigiCert/v1/metadata.json @@ -1,7 +1,7 @@ { "name": "digicert", "displayName": "DigiCert", - "version": "1.0.5", + "version": "1.0.6", "author": { "name": "@shaswot77", "type": "community" diff --git a/plugins/EcoStruxureIT-DCE/v1/defaultContent/device.dash.json b/plugins/EcoStruxureIT-DCE/v1/defaultContent/device.dash.json index a510715b..880d0e5f 100644 --- a/plugins/EcoStruxureIT-DCE/v1/defaultContent/device.dash.json +++ b/plugins/EcoStruxureIT-DCE/v1/defaultContent/device.dash.json @@ -39,11 +39,13 @@ "variables": [ "{{variables.[Device]}}" ], - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": true + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableTranspose": true } } } diff --git a/plugins/EcoStruxureIT-DCE/v1/defaultContent/deviceGroup.dash.json b/plugins/EcoStruxureIT-DCE/v1/defaultContent/deviceGroup.dash.json index 13f1b4fc..7f4cbc4d 100644 --- a/plugins/EcoStruxureIT-DCE/v1/defaultContent/deviceGroup.dash.json +++ b/plugins/EcoStruxureIT-DCE/v1/defaultContent/deviceGroup.dash.json @@ -39,11 +39,13 @@ "variables": [ "{{variables.[Device Group]}}" ], - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": true + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableTranspose": true } } } diff --git a/plugins/EcoStruxureIT-DCE/v1/defaultContent/environmental.dash.json b/plugins/EcoStruxureIT-DCE/v1/defaultContent/environmental.dash.json index 057dfc5c..55c220c0 100644 --- a/plugins/EcoStruxureIT-DCE/v1/defaultContent/environmental.dash.json +++ b/plugins/EcoStruxureIT-DCE/v1/defaultContent/environmental.dash.json @@ -39,11 +39,13 @@ "variables": [ "{{variables.[Environmental Monitor]}}" ], - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": true + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableTranspose": true } } } diff --git a/plugins/EcoStruxureIT-DCE/v1/defaultContent/rackPdu.dash.json b/plugins/EcoStruxureIT-DCE/v1/defaultContent/rackPdu.dash.json index ae6763d6..287f8f43 100644 --- a/plugins/EcoStruxureIT-DCE/v1/defaultContent/rackPdu.dash.json +++ b/plugins/EcoStruxureIT-DCE/v1/defaultContent/rackPdu.dash.json @@ -39,11 +39,13 @@ "variables": [ "{{variables.[Rack PDU]}}" ], - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": true + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableTranspose": true } } } diff --git a/plugins/EcoStruxureIT-DCE/v1/defaultContent/sensor.dash.json b/plugins/EcoStruxureIT-DCE/v1/defaultContent/sensor.dash.json index fbc9654b..63352462 100644 --- a/plugins/EcoStruxureIT-DCE/v1/defaultContent/sensor.dash.json +++ b/plugins/EcoStruxureIT-DCE/v1/defaultContent/sensor.dash.json @@ -39,11 +39,13 @@ "variables": [ "{{variables.[Sensor]}}" ], - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": true + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableTranspose": true } } } diff --git a/plugins/EcoStruxureIT-DCE/v1/defaultContent/ups.dash.json b/plugins/EcoStruxureIT-DCE/v1/defaultContent/ups.dash.json index 76446f6a..bf388a1e 100644 --- a/plugins/EcoStruxureIT-DCE/v1/defaultContent/ups.dash.json +++ b/plugins/EcoStruxureIT-DCE/v1/defaultContent/ups.dash.json @@ -39,11 +39,13 @@ "variables": [ "{{variables.[UPS]}}" ], - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": true + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableTranspose": true } } } diff --git a/plugins/EcoStruxureIT-DCE/v1/metadata.json b/plugins/EcoStruxureIT-DCE/v1/metadata.json index 1fda5f6f..7353d410 100644 --- a/plugins/EcoStruxureIT-DCE/v1/metadata.json +++ b/plugins/EcoStruxureIT-DCE/v1/metadata.json @@ -1,7 +1,7 @@ { "name": "ecostruxure-it-dce", "displayName": "EcoStruxure IT Data Center Expert", - "version": "1.0.3", + "version": "1.0.4", "author": { "name": "@shawn149", "type": "community" diff --git a/plugins/FantasyPremierLeague/v2/defaultContent/fplSummary.dash.json b/plugins/FantasyPremierLeague/v2/defaultContent/fplSummary.dash.json index 2848ccd4..1cc256ce 100644 --- a/plugins/FantasyPremierLeague/v2/defaultContent/fplSummary.dash.json +++ b/plugins/FantasyPremierLeague/v2/defaultContent/fplSummary.dash.json @@ -433,13 +433,6 @@ "renderer": { "type": "text" } - }, - { - "field": "sourceId", - "title": "Object ID", - "renderer": { - "type": "text" - } } ] } diff --git a/plugins/FantasyPremierLeague/v2/metadata.json b/plugins/FantasyPremierLeague/v2/metadata.json index 10154488..a85ea1da 100644 --- a/plugins/FantasyPremierLeague/v2/metadata.json +++ b/plugins/FantasyPremierLeague/v2/metadata.json @@ -1,7 +1,7 @@ { "name": "fantasy-premier-league", "displayName": "Fantasy Premier League", - "version": "2.0.1", + "version": "2.0.2", "author": { "name": "@TimWheeler-SQUP", "type": "community" diff --git a/plugins/GoogleHealth/v1/defaultContent/activity.dash.json b/plugins/GoogleHealth/v1/defaultContent/activity.dash.json index 7e45f73a..6041d9c0 100644 --- a/plugins/GoogleHealth/v1/defaultContent/activity.dash.json +++ b/plugins/GoogleHealth/v1/defaultContent/activity.dash.json @@ -66,19 +66,25 @@ "groupBy": "__group_by_none__", "frequency": 720 }, - "visualisation": { - "type": "data-stream-gauge", - "config": { - "data-stream-gauge": { + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "gauge", + "encoding": { "value": { - "type": "mean", - "columns": [ - "value" - ] + "field": "value", + "type": "quantitative", + "title": "Value" }, - "label": "Avg Daily Steps", - "minimum": 0, - "maximumColumn": "goal" + "max": { + "field": "goal", + "type": "quantitative", + "title": "Goal" + } + }, + "style": { + "gaugeMin": 0, + "gaugeLabelText": "Avg Daily Steps" } } } @@ -143,19 +149,25 @@ "groupBy": "__group_by_none__", "frequency": 720 }, - "visualisation": { - "type": "data-stream-gauge", - "config": { - "data-stream-gauge": { + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "gauge", + "encoding": { "value": { - "type": "mean", - "columns": [ - "value" - ] + "field": "value", + "type": "quantitative", + "title": "Value" }, - "label": "Avg Distance (km)", - "minimum": 0, - "maximumColumn": "goal" + "max": { + "field": "goal", + "type": "quantitative", + "title": "Goal" + } + }, + "style": { + "gaugeMin": 0, + "gaugeLabelText": "Avg Distance (km)" } } } @@ -220,19 +232,25 @@ "groupBy": "__group_by_none__", "frequency": 720 }, - "visualisation": { - "type": "data-stream-gauge", - "config": { - "data-stream-gauge": { + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "gauge", + "encoding": { "value": { - "type": "mean", - "columns": [ - "value" - ] + "field": "value", + "type": "quantitative", + "title": "Value" }, - "label": "Avg Active Calories", - "minimum": 0, - "maximumColumn": "goal" + "max": { + "field": "goal", + "type": "quantitative", + "title": "Goal" + } + }, + "style": { + "gaugeMin": 0, + "gaugeLabelText": "Avg Active Calories" } } } @@ -297,19 +315,25 @@ "groupBy": "__group_by_none__", "frequency": 720 }, - "visualisation": { - "type": "data-stream-gauge", - "config": { - "data-stream-gauge": { + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "gauge", + "encoding": { "value": { - "type": "mean", - "columns": [ - "value" - ] + "field": "value", + "type": "quantitative", + "title": "Value" }, - "label": "Avg Zone Minutes", - "minimum": 0, - "maximumColumn": "goal" + "max": { + "field": "goal", + "type": "quantitative", + "title": "Goal" + } + }, + "style": { + "gaugeMin": 0, + "gaugeLabelText": "Avg Zone Minutes" } } } @@ -338,50 +362,37 @@ "metric": "steps" } }, - "visualisation": { - "type": "data-stream-bar-chart", - "config": { - "data-stream-bar-chart": { - "xAxisData": "date", - "yAxisData": [ - "value" - ], - "xAxisGroup": "goalBand", - "xAxisLabel": "", - "yAxisLabel": "Steps", - "showXAxisLabel": false, - "showYAxisLabel": true, - "showLegend": false, - "legendPosition": "bottom", - "showGrid": true, - "horizontalLayout": "vertical", - "displayMode": "actual", - "showTotals": false, - "showValue": false, - "grouping": false, - "range": { - "type": "auto" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "bar", + "encoding": { + "x": { + "field": "date", + "type": "temporal", + "title": "Date" }, - "color": { - "type": "custom", - "customColors": [ - { - "color": "#259A51", - "expression": "series == \"Goal met\"" - }, - { - "color": "#E18700", - "expression": "series == \"Near goal\"" - }, - { - "color": "#D0021B", - "expression": "series == \"Below goal\"" - }, - { - "color": "#88898C", - "expression": "series == \"No goal\"" - } - ] + "y": { + "field": "value", + "type": "quantitative", + "title": "Value" + }, + "series": { + "field": "goalBand", + "type": "nominal", + "title": "Goal Progress" + } + }, + "style": { + "legendPosition": "none", + "cartesianShowYAxisTitle": true, + "cartesianYAxisTitle": "Steps", + "cartesianStack": "on", + "mappedColors": { + "Goal met": "#259A51", + "Near goal": "#E18700", + "Below goal": "#D0021B", + "No goal": "#88898C" } } } @@ -411,50 +422,37 @@ "metric": "active-zone-minutes" } }, - "visualisation": { - "type": "data-stream-bar-chart", - "config": { - "data-stream-bar-chart": { - "xAxisData": "date", - "yAxisData": [ - "value" - ], - "xAxisGroup": "goalBand", - "xAxisLabel": "", - "yAxisLabel": "Minutes", - "showXAxisLabel": false, - "showYAxisLabel": true, - "showLegend": false, - "legendPosition": "bottom", - "showGrid": true, - "horizontalLayout": "vertical", - "displayMode": "actual", - "showTotals": false, - "showValue": false, - "grouping": false, - "range": { - "type": "auto" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "bar", + "encoding": { + "x": { + "field": "date", + "type": "temporal", + "title": "Date" }, - "color": { - "type": "custom", - "customColors": [ - { - "color": "#259A51", - "expression": "series == \"Goal met\"" - }, - { - "color": "#E18700", - "expression": "series == \"Near goal\"" - }, - { - "color": "#D0021B", - "expression": "series == \"Below goal\"" - }, - { - "color": "#88898C", - "expression": "series == \"No goal\"" - } - ] + "y": { + "field": "value", + "type": "quantitative", + "title": "Value" + }, + "series": { + "field": "goalBand", + "type": "nominal", + "title": "Goal Progress" + } + }, + "style": { + "legendPosition": "none", + "cartesianShowYAxisTitle": true, + "cartesianYAxisTitle": "Minutes", + "cartesianStack": "on", + "mappedColors": { + "Goal met": "#259A51", + "Near goal": "#E18700", + "Below goal": "#D0021B", + "No goal": "#88898C" } } } @@ -484,20 +482,29 @@ "metric": "distance" } }, - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "date", - "yAxisColumn": [ - "value" - ], - "seriesColumn": "none", - "showLegend": false, - "legendPosition": "bottom", - "yAxisLabel": "km", - "showYAxisLabel": true, - "showTrendLine": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "date", + "type": "temporal", + "title": "Date" + }, + "y": { + "field": "value", + "type": "quantitative", + "title": "Value" + } + }, + "style": { + "legendPosition": "none", + "cartesianShowYAxisTitle": true, + "cartesianYAxisTitle": "km", + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "cartesianAreaGradient": true } } } @@ -526,20 +533,29 @@ "metric": "active-energy-burned" } }, - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "date", - "yAxisColumn": [ - "value" - ], - "seriesColumn": "none", - "showLegend": false, - "legendPosition": "bottom", - "yAxisLabel": "Calories", - "showYAxisLabel": true, - "showTrendLine": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "date", + "type": "temporal", + "title": "Date" + }, + "y": { + "field": "value", + "type": "quantitative", + "title": "Value" + } + }, + "style": { + "legendPosition": "none", + "cartesianShowYAxisTitle": true, + "cartesianYAxisTitle": "Calories", + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "cartesianAreaGradient": true } } } @@ -565,24 +581,75 @@ "name": "workouts", "pluginConfigId": "{{configId}}" }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false, - "columnOrder": [ - "type", - "startTime", - "durationMin", - "distanceKm", - "calories", - "avgHeartRate", - "steps", - "activeZoneMinutes", - "source" - ], - "hiddenColumns": [ - "endTime" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "type", + "title": "Workout", + "renderer": { + "type": "text" + } + }, + { + "field": "startTime", + "title": "Start", + "renderer": { + "type": "date" + } + }, + { + "field": "durationMin", + "title": "Duration (min)", + "renderer": { + "type": "text" + } + }, + { + "field": "distanceKm", + "title": "Distance (km)", + "renderer": { + "type": "text" + } + }, + { + "field": "calories", + "title": "Calories", + "renderer": { + "type": "text" + } + }, + { + "field": "avgHeartRate", + "title": "Avg HR (bpm)", + "renderer": { + "type": "text" + } + }, + { + "field": "steps", + "title": "Steps", + "renderer": { + "type": "text" + } + }, + { + "field": "activeZoneMinutes", + "title": "Active Zone Min", + "renderer": { + "type": "text" + } + }, + { + "field": "source", + "title": "Device", + "renderer": { + "type": "text" + } + } ] } } diff --git a/plugins/GoogleHealth/v1/defaultContent/devicePerspective.dash.json b/plugins/GoogleHealth/v1/defaultContent/devicePerspective.dash.json index a4a40f7e..bdf23109 100644 --- a/plugins/GoogleHealth/v1/defaultContent/devicePerspective.dash.json +++ b/plugins/GoogleHealth/v1/defaultContent/devicePerspective.dash.json @@ -33,10 +33,14 @@ "workspace": "{{workspaceId}}", "variable": "{{variables.[Google Health Device]}}" }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { "transpose": true } + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableTranspose": true + } } } } @@ -61,20 +65,63 @@ "name": "pairedDevices", "pluginConfigId": "{{configId}}" }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false, - "columnOrder": [ - "deviceName", - "deviceType", - "batteryLevel", - "batteryStatus", - "lastSyncTime", - "featureCount" - ], - "hiddenColumns": [] + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "deviceName", + "title": "Device", + "renderer": { + "type": "text" + } + }, + { + "field": "deviceType", + "title": "Type", + "renderer": { + "type": "text" + } + }, + { + "field": "batteryLevel", + "title": "Battery", + "renderer": { + "type": "bar", + "max": 100 + } + }, + { + "field": "batteryStatus[Expanded].rawState", + "title": "Battery Status", + "renderer": { + "type": "badge", + "colors": { + "High": "#2BB660", + "Medium": "#2BB660", + "Low": "#F59E0B", + "Empty": "#DE0038" + } + } + }, + { + "field": "lastSyncTime", + "title": "Last Sync", + "renderer": { + "type": "date", + "relative": true + } + }, + { + "field": "featureCount", + "title": "Features", + "renderer": { + "type": "text" + } + } + ] } } } diff --git a/plugins/GoogleHealth/v1/defaultContent/dietNutrition.dash.json b/plugins/GoogleHealth/v1/defaultContent/dietNutrition.dash.json index 8be68f4d..5b4324cf 100644 --- a/plugins/GoogleHealth/v1/defaultContent/dietNutrition.dash.json +++ b/plugins/GoogleHealth/v1/defaultContent/dietNutrition.dash.json @@ -28,23 +28,47 @@ "name": "foodLog", "pluginConfigId": "{{configId}}" }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false, - "columnOrder": [ - "food", - "calories", - "proteinG", - "carbsG", - "fatG" - ], - "hiddenColumns": [ - "time", - "meal", - "sugarG", - "fibreG" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "food", + "title": "Food", + "renderer": { + "type": "text" + } + }, + { + "field": "calories", + "title": "Calories", + "renderer": { + "type": "text" + } + }, + { + "field": "proteinG", + "title": "Protein (g)", + "renderer": { + "type": "text" + } + }, + { + "field": "carbsG", + "title": "Carbs (g)", + "renderer": { + "type": "text" + } + }, + { + "field": "fatG", + "title": "Fat (g)", + "renderer": { + "type": "text" + } + } ] } } @@ -108,19 +132,25 @@ "groupBy": "__group_by_none__", "frequency": 720 }, - "visualisation": { - "type": "data-stream-gauge", - "config": { - "data-stream-gauge": { + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "gauge", + "encoding": { "value": { - "type": "mean", - "columns": [ - "calories" - ] + "field": "calories", + "type": "quantitative", + "title": "Calories" }, - "label": "Calories", - "minimum": 0, - "maximumColumn": "calorieGoalCol" + "max": { + "field": "calorieGoalCol", + "type": "quantitative", + "title": "Calorie Goal" + } + }, + "style": { + "gaugeMin": 0, + "gaugeLabelText": "Calories" } } } @@ -183,19 +213,25 @@ "groupBy": "__group_by_none__", "frequency": 720 }, - "visualisation": { - "type": "data-stream-gauge", - "config": { - "data-stream-gauge": { + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "gauge", + "encoding": { "value": { - "type": "mean", - "columns": [ - "proteinG" - ] + "field": "proteinG", + "type": "quantitative", + "title": "Protein (g)" }, - "label": "Protein (g)", - "minimum": 0, - "maximumColumn": "proteinGoalCol" + "max": { + "field": "proteinGoalCol", + "type": "quantitative", + "title": "Protein Goal" + } + }, + "style": { + "gaugeMin": 0, + "gaugeLabelText": "Protein (g)" } } } @@ -258,19 +294,25 @@ "groupBy": "__group_by_none__", "frequency": 720 }, - "visualisation": { - "type": "data-stream-gauge", - "config": { - "data-stream-gauge": { + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "gauge", + "encoding": { "value": { - "type": "mean", - "columns": [ - "carbsG" - ] + "field": "carbsG", + "type": "quantitative", + "title": "Carbs (g)" }, - "label": "Carbs (g)", - "minimum": 0, - "maximumColumn": "carbGoalCol" + "max": { + "field": "carbGoalCol", + "type": "quantitative", + "title": "Carb Goal" + } + }, + "style": { + "gaugeMin": 0, + "gaugeLabelText": "Carbs (g)" } } } @@ -333,19 +375,25 @@ "groupBy": "__group_by_none__", "frequency": 720 }, - "visualisation": { - "type": "data-stream-gauge", - "config": { - "data-stream-gauge": { + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "gauge", + "encoding": { "value": { - "type": "mean", - "columns": [ - "fatG" - ] + "field": "fatG", + "type": "quantitative", + "title": "Fat (g)" }, - "label": "Fat (g)", - "minimum": 0, - "maximumColumn": "fatGoalCol" + "max": { + "field": "fatGoalCol", + "type": "quantitative", + "title": "Fat Goal" + } + }, + "style": { + "gaugeMin": 0, + "gaugeLabelText": "Fat (g)" } } } @@ -411,19 +459,25 @@ "groupBy": "__group_by_none__", "frequency": 720 }, - "visualisation": { - "type": "data-stream-gauge", - "config": { - "data-stream-gauge": { + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "gauge", + "encoding": { "value": { - "type": "mean", - "columns": [ - "value" - ] + "field": "value", + "type": "quantitative", + "title": "Value" }, - "label": "Water (mL)", - "minimum": 0, - "maximumColumn": "goal" + "max": { + "field": "goal", + "type": "quantitative", + "title": "Goal" + } + }, + "style": { + "gaugeMin": 0, + "gaugeLabelText": "Water (mL)" } } } @@ -450,17 +504,31 @@ "name": "macroBreakdown", "pluginConfigId": "{{configId}}" }, - "visualisation": { - "type": "data-stream-donut-chart", - "config": { - "data-stream-donut-chart": { - "valueColumn": "calories", - "labelColumn": "macro", - "hideCenterValue": false, - "showValuesAsPercentage": true, - "legendPosition": "right", - "legendMode": "table", - "palette": { + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "pie", + "encoding": { + "label": { + "field": "macro", + "type": "nominal", + "title": "Macronutrient" + }, + "value": { + "field": "calories", + "type": "quantitative", + "aggregate": "sum", + "title": "Calories" + } + }, + "style": { + "pieInnerRadius": 60, + "pieDonutCenterValue": "total", + "labelFontSize": 16, + "pieSort": "desc", + "pieLegendStyle": "table", + "pieLabels": "nameAndPercent", + "mappedColors": { "Protein": "#3B82F6", "Carbohydrate": "#10B981", "Fat": "#F97316", @@ -492,17 +560,30 @@ "name": "macroBreakdown", "pluginConfigId": "{{configId}}" }, - "visualisation": { - "type": "data-stream-donut-chart", - "config": { - "data-stream-donut-chart": { - "valueColumn": "grams", - "labelColumn": "macro", - "hideCenterValue": false, - "showValuesAsPercentage": false, - "legendPosition": "right", - "legendMode": "table", - "palette": { + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "pie", + "encoding": { + "label": { + "field": "macro", + "type": "nominal", + "title": "Macronutrient" + }, + "value": { + "field": "grams", + "type": "quantitative", + "aggregate": "sum", + "title": "Total (g)" + } + }, + "style": { + "pieInnerRadius": 60, + "pieDonutCenterValue": "total", + "labelFontSize": 16, + "pieSort": "desc", + "pieLegendStyle": "table", + "mappedColors": { "Protein": "#3B82F6", "Carbohydrate": "#10B981", "Fat": "#F97316", @@ -564,30 +645,28 @@ ] } }, - "visualisation": { - "type": "data-stream-bar-chart", - "config": { - "data-stream-bar-chart": { - "xAxisData": "meal_uniqueValues", - "yAxisData": [ - "calories_sum" - ], - "xAxisGroup": "none", - "xAxisLabel": "", - "yAxisLabel": "Calories", - "showXAxisLabel": true, - "showYAxisLabel": true, - "showLegend": false, - "legendPosition": "bottom", - "showGrid": true, - "horizontalLayout": "horizontal", - "displayMode": "actual", - "showTotals": false, - "showValue": false, - "grouping": false, - "range": { - "type": "auto" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "bar", + "encoding": { + "x": { + "field": "meal_uniqueValues", + "type": "nominal", + "title": "Meal" + }, + "y": { + "field": "calories_sum", + "type": "quantitative", + "title": "Calories (Sum)" } + }, + "style": { + "legendPosition": "none", + "cartesianShowXAxisTitle": true, + "cartesianShowYAxisTitle": true, + "cartesianYAxisTitle": "Calories", + "cartesianHorizontal": true } } } diff --git a/plugins/GoogleHealth/v1/defaultContent/sleep.dash.json b/plugins/GoogleHealth/v1/defaultContent/sleep.dash.json index 83daa112..7a2927d8 100644 --- a/plugins/GoogleHealth/v1/defaultContent/sleep.dash.json +++ b/plugins/GoogleHealth/v1/defaultContent/sleep.dash.json @@ -64,19 +64,25 @@ "groupBy": "__group_by_none__", "frequency": 720 }, - "visualisation": { - "type": "data-stream-gauge", - "config": { - "data-stream-gauge": { + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "gauge", + "encoding": { "value": { - "type": "mean", - "columns": [ - "asleepHours" - ] + "field": "asleepHours", + "type": "quantitative", + "title": "Asleep (h)" }, - "label": "Avg Sleep (h)", - "minimum": 0, - "maximumColumn": "sleepGoalCol" + "max": { + "field": "sleepGoalCol", + "type": "quantitative", + "title": "Sleep Goal (h)" + } + }, + "style": { + "gaugeMin": 0, + "gaugeLabelText": "Avg Sleep (h)" } } } @@ -103,50 +109,37 @@ "name": "sleepSessions", "pluginConfigId": "{{configId}}" }, - "visualisation": { - "type": "data-stream-bar-chart", - "config": { - "data-stream-bar-chart": { - "xAxisData": "date", - "yAxisData": [ - "asleepHours" - ], - "xAxisGroup": "sleepGoalBand", - "xAxisLabel": "", - "yAxisLabel": "Hours", - "showXAxisLabel": false, - "showYAxisLabel": true, - "showLegend": false, - "legendPosition": "bottom", - "showGrid": true, - "horizontalLayout": "vertical", - "displayMode": "actual", - "showTotals": false, - "showValue": false, - "grouping": false, - "range": { - "type": "auto" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "bar", + "encoding": { + "x": { + "field": "date", + "type": "temporal", + "title": "Date" }, - "color": { - "type": "custom", - "customColors": [ - { - "color": "#259A51", - "expression": "series == \"Goal met\"" - }, - { - "color": "#E18700", - "expression": "series == \"Near goal\"" - }, - { - "color": "#D0021B", - "expression": "series == \"Below goal\"" - }, - { - "color": "#88898C", - "expression": "series == \"No goal\"" - } - ] + "y": { + "field": "asleepHours", + "type": "quantitative", + "title": "Asleep (h)" + }, + "series": { + "field": "sleepGoalBand", + "type": "nominal", + "title": "Goal Progress" + } + }, + "style": { + "legendPosition": "none", + "cartesianShowYAxisTitle": true, + "cartesianYAxisTitle": "Hours", + "cartesianStack": "on", + "mappedColors": { + "Goal met": "#259A51", + "Near goal": "#E18700", + "Below goal": "#D0021B", + "No goal": "#88898C" } } } @@ -174,20 +167,29 @@ "name": "sleepSessions", "pluginConfigId": "{{configId}}" }, - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "date", - "yAxisColumn": [ - "efficiencyPct" - ], - "seriesColumn": "none", - "showLegend": false, - "legendPosition": "bottom", - "yAxisLabel": "Efficiency", - "showYAxisLabel": true, - "showTrendLine": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "date", + "type": "temporal", + "title": "Date" + }, + "y": { + "field": "efficiencyPct", + "type": "quantitative", + "title": "Efficiency" + } + }, + "style": { + "legendPosition": "none", + "cartesianShowYAxisTitle": true, + "cartesianYAxisTitle": "Efficiency", + "cartesianYAxisRangeMode": "percentage", + "cartesianSymbol": "none", + "cartesianAreaGradient": true } } } @@ -214,33 +216,44 @@ "name": "sleepSessions", "pluginConfigId": "{{configId}}" }, - "visualisation": { - "type": "data-stream-bar-chart", - "config": { - "data-stream-bar-chart": { - "xAxisData": "date", - "yAxisData": [ - "deepMin", - "remMin", - "lightMin", - "awakeMin" - ], - "xAxisGroup": "none", - "xAxisLabel": "", - "yAxisLabel": "Minutes", - "showXAxisLabel": false, - "showYAxisLabel": true, - "showLegend": true, + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "bar", + "encoding": { + "x": { + "field": "date", + "type": "temporal", + "title": "Date" + }, + "y": [ + { + "field": "deepMin", + "type": "quantitative", + "title": "Deep (min)" + }, + { + "field": "remMin", + "type": "quantitative", + "title": "REM (min)" + }, + { + "field": "lightMin", + "type": "quantitative", + "title": "Light (min)" + }, + { + "field": "awakeMin", + "type": "quantitative", + "title": "Awake (min)" + } + ] + }, + "style": { "legendPosition": "right", - "showGrid": true, - "horizontalLayout": "vertical", - "displayMode": "actual", - "showTotals": false, - "showValue": false, - "grouping": false, - "range": { - "type": "auto" - } + "cartesianShowYAxisTitle": true, + "cartesianYAxisTitle": "Minutes", + "cartesianStack": "on" } } } @@ -267,25 +280,105 @@ "name": "sleepSessions", "pluginConfigId": "{{configId}}" }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false, - "columnOrder": [ - "date", - "asleepHours", - "efficiencyPct", - "deepMin", - "remMin", - "lightMin", - "awakeMin", - "inBedMin", - "startTime", - "endTime" - ], - "hiddenColumns": [ - "asleepMin" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "date", + "title": "Date", + "renderer": { + "type": "date" + } + }, + { + "field": "asleepHours", + "title": "Asleep (h)", + "renderer": { + "type": "text" + } + }, + { + "field": "efficiencyPct", + "title": "Efficiency", + "renderer": { + "type": "bar", + "max": 100 + } + }, + { + "field": "deepMin", + "title": "Deep (min)", + "renderer": { + "type": "text" + } + }, + { + "field": "remMin", + "title": "REM (min)", + "renderer": { + "type": "text" + } + }, + { + "field": "lightMin", + "title": "Light (min)", + "renderer": { + "type": "text" + } + }, + { + "field": "awakeMin", + "title": "Awake (min)", + "renderer": { + "type": "text" + } + }, + { + "field": "inBedMin", + "title": "In Bed (min)", + "renderer": { + "type": "text" + } + }, + { + "field": "startTime", + "title": "Start", + "renderer": { + "type": "date" + } + }, + { + "field": "endTime", + "title": "End", + "renderer": { + "type": "date" + } + }, + { + "field": "sleepGoalCol", + "title": "Sleep Goal (h)", + "renderer": { + "type": "text" + } + }, + { + "field": "sleepPct", + "title": "% of Sleep Goal", + "renderer": { + "type": "bar", + "max": 100 + } + }, + { + "field": "sleepStatus", + "title": "Sleep Status", + "renderer": { + "type": "status" + } + } ] } } diff --git a/plugins/GoogleHealth/v1/defaultContent/today.dash.json b/plugins/GoogleHealth/v1/defaultContent/today.dash.json index bbb48b84..8a435bd8 100644 --- a/plugins/GoogleHealth/v1/defaultContent/today.dash.json +++ b/plugins/GoogleHealth/v1/defaultContent/today.dash.json @@ -67,19 +67,25 @@ "groupBy": "__group_by_none__", "frequency": 720 }, - "visualisation": { - "type": "data-stream-gauge", - "config": { - "data-stream-gauge": { + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "gauge", + "encoding": { "value": { - "type": "sum", - "columns": [ - "value" - ] + "field": "value", + "type": "quantitative", + "title": "Value" }, - "label": "Steps", - "minimum": 0, - "maximumColumn": "goal" + "max": { + "field": "goal", + "type": "quantitative", + "title": "Goal" + } + }, + "style": { + "gaugeMin": 0, + "gaugeLabelText": "Steps" } } }, @@ -146,19 +152,25 @@ "groupBy": "__group_by_none__", "frequency": 720 }, - "visualisation": { - "type": "data-stream-gauge", - "config": { - "data-stream-gauge": { + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "gauge", + "encoding": { "value": { - "type": "sum", - "columns": [ - "value" - ] + "field": "value", + "type": "quantitative", + "title": "Value" }, - "label": "Active Calories", - "minimum": 0, - "maximumColumn": "goal" + "max": { + "field": "goal", + "type": "quantitative", + "title": "Goal" + } + }, + "style": { + "gaugeMin": 0, + "gaugeLabelText": "Active Calories" } } }, @@ -225,19 +237,25 @@ "groupBy": "__group_by_none__", "frequency": 720 }, - "visualisation": { - "type": "data-stream-gauge", - "config": { - "data-stream-gauge": { + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "gauge", + "encoding": { "value": { - "type": "sum", - "columns": [ - "value" - ] + "field": "value", + "type": "quantitative", + "title": "Value" }, - "label": "Distance (km)", - "minimum": 0, - "maximumColumn": "goal" + "max": { + "field": "goal", + "type": "quantitative", + "title": "Goal" + } + }, + "style": { + "gaugeMin": 0, + "gaugeLabelText": "Distance (km)" } } }, @@ -304,19 +322,25 @@ "groupBy": "__group_by_none__", "frequency": 720 }, - "visualisation": { - "type": "data-stream-gauge", - "config": { - "data-stream-gauge": { + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "gauge", + "encoding": { "value": { - "type": "sum", - "columns": [ - "value" - ] + "field": "value", + "type": "quantitative", + "title": "Value" }, - "label": "Active Zone Minutes", - "minimum": 0, - "maximumColumn": "goal" + "max": { + "field": "goal", + "type": "quantitative", + "title": "Goal" + } + }, + "style": { + "gaugeMin": 0, + "gaugeLabelText": "Active Zone Minutes" } } }, @@ -348,30 +372,26 @@ "window": "3600s" } }, - "visualisation": { - "type": "data-stream-bar-chart", - "config": { - "data-stream-bar-chart": { - "xAxisData": "timeLabel", - "yAxisData": [ - "value" - ], - "xAxisGroup": "none", - "xAxisLabel": "", - "yAxisLabel": "Steps", - "showXAxisLabel": false, - "showYAxisLabel": true, - "showLegend": false, - "legendPosition": "bottom", - "showGrid": true, - "horizontalLayout": "vertical", - "displayMode": "actual", - "showTotals": false, - "showValue": false, - "grouping": false, - "range": { - "type": "auto" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "bar", + "encoding": { + "x": { + "field": "timeLabel", + "type": "nominal", + "title": "Time" + }, + "y": { + "field": "value", + "type": "quantitative", + "title": "Value" } + }, + "style": { + "legendPosition": "none", + "cartesianShowYAxisTitle": true, + "cartesianYAxisTitle": "Steps" } } }, @@ -403,30 +423,26 @@ "window": "3600s" } }, - "visualisation": { - "type": "data-stream-bar-chart", - "config": { - "data-stream-bar-chart": { - "xAxisData": "timeLabel", - "yAxisData": [ - "value" - ], - "xAxisGroup": "none", - "xAxisLabel": "", - "yAxisLabel": "Calories", - "showXAxisLabel": false, - "showYAxisLabel": true, - "showLegend": false, - "legendPosition": "bottom", - "showGrid": true, - "horizontalLayout": "vertical", - "displayMode": "actual", - "showTotals": false, - "showValue": false, - "grouping": false, - "range": { - "type": "auto" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "bar", + "encoding": { + "x": { + "field": "timeLabel", + "type": "nominal", + "title": "Time" + }, + "y": { + "field": "value", + "type": "quantitative", + "title": "Value" } + }, + "style": { + "legendPosition": "none", + "cartesianShowYAxisTitle": true, + "cartesianYAxisTitle": "Calories" } } }, @@ -454,22 +470,24 @@ "name": "heartRateIntraday", "pluginConfigId": "{{configId}}" }, - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "time", - "yAxisColumn": [ - "avgBpm", - "minBpm", - "maxBpm" - ], - "seriesColumn": "none", - "showLegend": true, + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "time", + "type": "temporal", + "title": "Time" + } + }, + "style": { "legendPosition": "bottom", - "yAxisLabel": "BPM", - "showYAxisLabel": true, - "showTrendLine": false + "cartesianShowYAxisTitle": true, + "cartesianYAxisTitle": "BPM", + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "cartesianAreaGradient": true } } }, @@ -510,13 +528,21 @@ "top": 1 } }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "value", - "comparisonColumn": "none", - "label": "kg (latest weigh-in)" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "value", + "type": "quantitative", + "title": "Value" + } + ] + }, + "style": { + "scalarLabelText": "kg (latest weigh-in)" } } } diff --git a/plugins/GoogleHealth/v1/defaultContent/trends.dash.json b/plugins/GoogleHealth/v1/defaultContent/trends.dash.json index a091e8c5..dcb94147 100644 --- a/plugins/GoogleHealth/v1/defaultContent/trends.dash.json +++ b/plugins/GoogleHealth/v1/defaultContent/trends.dash.json @@ -31,20 +31,30 @@ "metric": "weight" } }, - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "date", - "yAxisColumn": [ - "value" - ], - "seriesColumn": "none", - "showLegend": false, - "legendPosition": "bottom", - "yAxisLabel": "kg", - "showYAxisLabel": true, - "showTrendLine": true + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "date", + "type": "temporal", + "title": "Date" + }, + "y": { + "field": "value", + "type": "quantitative", + "title": "Value" + } + }, + "style": { + "legendPosition": "none", + "cartesianShowYAxisTitle": true, + "cartesianYAxisTitle": "kg", + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "cartesianAreaGradient": true, + "cartesianTrendLine": true } } } @@ -74,20 +84,28 @@ "metric": "body-fat" } }, - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "date", - "yAxisColumn": [ - "value" - ], - "seriesColumn": "none", - "showLegend": false, - "legendPosition": "bottom", - "yAxisLabel": "", - "showYAxisLabel": false, - "showTrendLine": true + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "date", + "type": "temporal", + "title": "Date" + }, + "y": { + "field": "value", + "type": "quantitative", + "title": "Value" + } + }, + "style": { + "legendPosition": "none", + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "cartesianAreaGradient": true, + "cartesianTrendLine": true } } } @@ -117,20 +135,30 @@ "metric": "daily-resting-heart-rate" } }, - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "date", - "yAxisColumn": [ - "value" - ], - "seriesColumn": "none", - "showLegend": false, - "legendPosition": "bottom", - "yAxisLabel": "bpm", - "showYAxisLabel": true, - "showTrendLine": true + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "date", + "type": "temporal", + "title": "Date" + }, + "y": { + "field": "value", + "type": "quantitative", + "title": "Value" + } + }, + "style": { + "legendPosition": "none", + "cartesianShowYAxisTitle": true, + "cartesianYAxisTitle": "bpm", + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "cartesianAreaGradient": true, + "cartesianTrendLine": true } } } @@ -157,20 +185,30 @@ "name": "sleepSessions", "pluginConfigId": "{{configId}}" }, - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "date", - "yAxisColumn": [ - "asleepHours" - ], - "seriesColumn": "none", - "showLegend": false, - "legendPosition": "bottom", - "yAxisLabel": "Hours", - "showYAxisLabel": true, - "showTrendLine": true + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "date", + "type": "temporal", + "title": "Date" + }, + "y": { + "field": "asleepHours", + "type": "quantitative", + "title": "Asleep (h)" + } + }, + "style": { + "legendPosition": "none", + "cartesianShowYAxisTitle": true, + "cartesianYAxisTitle": "Hours", + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "cartesianAreaGradient": true, + "cartesianTrendLine": true } } } @@ -197,20 +235,29 @@ "name": "nutritionDaily", "pluginConfigId": "{{configId}}" }, - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "date", - "yAxisColumn": [ - "calories" - ], - "seriesColumn": "none", - "showLegend": false, - "legendPosition": "bottom", - "yAxisLabel": "Calories", - "showYAxisLabel": true, - "showTrendLine": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "date", + "type": "temporal", + "title": "Date" + }, + "y": { + "field": "calories", + "type": "quantitative", + "title": "Calories" + } + }, + "style": { + "legendPosition": "none", + "cartesianShowYAxisTitle": true, + "cartesianYAxisTitle": "Calories", + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "cartesianAreaGradient": true } } }, @@ -241,20 +288,29 @@ "metric": "active-energy-burned" } }, - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "date", - "yAxisColumn": [ - "value" - ], - "seriesColumn": "none", - "showLegend": false, - "legendPosition": "bottom", - "yAxisLabel": "Calories", - "showYAxisLabel": true, - "showTrendLine": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "date", + "type": "temporal", + "title": "Date" + }, + "y": { + "field": "value", + "type": "quantitative", + "title": "Value" + } + }, + "style": { + "legendPosition": "none", + "cartesianShowYAxisTitle": true, + "cartesianYAxisTitle": "Calories", + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "cartesianAreaGradient": true } } }, diff --git a/plugins/GoogleHealth/v1/defaultContent/userPerspective.dash.json b/plugins/GoogleHealth/v1/defaultContent/userPerspective.dash.json index 265c9fe2..023520de 100644 --- a/plugins/GoogleHealth/v1/defaultContent/userPerspective.dash.json +++ b/plugins/GoogleHealth/v1/defaultContent/userPerspective.dash.json @@ -39,11 +39,13 @@ "workspace": "{{workspaceId}}", "variable": "{{variables.[Google Health User]}}" }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": true + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableTranspose": true } } } @@ -71,11 +73,58 @@ "name": "userProfile", "pluginConfigId": "{{configId}}" }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": true + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "displayName", + "title": "User", + "renderer": { + "type": "text" + } + }, + { + "field": "age", + "title": "Age", + "renderer": { + "type": "text" + } + }, + { + "field": "memberSince", + "title": "Member Since", + "renderer": { + "type": "date" + } + }, + { + "field": "membershipYears", + "title": "Membership (years)", + "renderer": { + "type": "text" + } + }, + { + "field": "walkingStrideCm", + "title": "Walking Stride (cm)", + "renderer": { + "type": "text" + } + }, + { + "field": "runningStrideCm", + "title": "Running Stride (cm)", + "renderer": { + "type": "text" + } + } + ] + }, + "style": { + "richTableTranspose": true } } } @@ -105,20 +154,29 @@ "metric": "steps" } }, - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "date", - "yAxisColumn": [ - "value" - ], - "seriesColumn": "none", - "showLegend": false, - "legendPosition": "bottom", - "yAxisLabel": "Steps", - "showYAxisLabel": true, - "showTrendLine": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "date", + "type": "temporal", + "title": "Date" + }, + "y": { + "field": "value", + "type": "quantitative", + "title": "Value" + } + }, + "style": { + "legendPosition": "none", + "cartesianShowYAxisTitle": true, + "cartesianYAxisTitle": "Steps", + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "cartesianAreaGradient": true } } } @@ -145,24 +203,75 @@ "name": "workouts", "pluginConfigId": "{{configId}}" }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false, - "columnOrder": [ - "type", - "startTime", - "durationMin", - "distanceKm", - "calories", - "avgHeartRate", - "steps", - "activeZoneMinutes", - "source" - ], - "hiddenColumns": [ - "endTime" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "type", + "title": "Workout", + "renderer": { + "type": "text" + } + }, + { + "field": "startTime", + "title": "Start", + "renderer": { + "type": "date" + } + }, + { + "field": "durationMin", + "title": "Duration (min)", + "renderer": { + "type": "text" + } + }, + { + "field": "distanceKm", + "title": "Distance (km)", + "renderer": { + "type": "text" + } + }, + { + "field": "calories", + "title": "Calories", + "renderer": { + "type": "text" + } + }, + { + "field": "avgHeartRate", + "title": "Avg HR (bpm)", + "renderer": { + "type": "text" + } + }, + { + "field": "steps", + "title": "Steps", + "renderer": { + "type": "text" + } + }, + { + "field": "activeZoneMinutes", + "title": "Active Zone Min", + "renderer": { + "type": "text" + } + }, + { + "field": "source", + "title": "Device", + "renderer": { + "type": "text" + } + } ] } } diff --git a/plugins/GoogleHealth/v1/metadata.json b/plugins/GoogleHealth/v1/metadata.json index d6a71439..ddc6f861 100644 --- a/plugins/GoogleHealth/v1/metadata.json +++ b/plugins/GoogleHealth/v1/metadata.json @@ -1,7 +1,7 @@ { "name": "google-health", "displayName": "Google Health", - "version": "1.0.0", + "version": "1.0.1", "author": { "name": "@Daniel-Hodgson-SquaredUp", "type": "community" diff --git a/plugins/GoogleSearchConsole/v1/defaultContent/pageOverview.dash.json b/plugins/GoogleSearchConsole/v1/defaultContent/pageOverview.dash.json index 94bc97c6..e59c668e 100644 --- a/plugins/GoogleSearchConsole/v1/defaultContent/pageOverview.dash.json +++ b/plugins/GoogleSearchConsole/v1/defaultContent/pageOverview.dash.json @@ -36,24 +36,13 @@ ], "baseTile": "data-stream-base-tile", "title": "Page Summary", - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "columnOrder": [ - "Clicks", - "Impressions", - "CTR", - "Position" - ], - "resizedColumns": { - "columnWidths": { - "CTR": 193, - "Impressions": 168, - "Page": 175 - } - }, - "hiddenColumns": [ + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableHiddenColumns": [ "Page" ] } @@ -137,25 +126,41 @@ ], "title": "Period Performance Change", "baseTile": "data-stream-base-tile", - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "columnOrder": [ - "Clicks Change %", - "Impressions Change %", - "CTR Change %", - "Position Change" - ], - "resizedColumns": { - "columnWidths": { - "Position Change": 135, - "Impressions Change %": 177, - "CTR Change %": 122, - "Clicks Change %": 135 + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "Clicks Change %", + "title": "Clicks Change %", + "renderer": { + "type": "text" + } + }, + { + "field": "Impressions Change %", + "title": "Impressions Change %", + "renderer": { + "type": "text" + } + }, + { + "field": "CTR Change %", + "title": "CTR Change %", + "renderer": { + "type": "text" + } + }, + { + "field": "Position Change", + "title": "Position Change", + "renderer": { + "type": "text" + } } - }, - "hiddenColumns": [] + ] } } } @@ -236,31 +241,40 @@ ], "baseTile": "data-stream-base-tile", "title": "Biggest Ranking Changes", - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "columnOrder": [ - "Query", - "PositionChange", - "CurrentPosition", - "PreviousPosition" - ], - "resizedColumns": { - "columnWidths": { - "Impressions": 112, - "Previous Pos": 98, - "PreviousPosition": 98, - "PositionImprovement": 173, - "Query": 105, - "CurrentPosition": 97, - "PositionChange": 101, - "Current Pos": 92 + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "Query", + "title": "Query", + "renderer": { + "type": "text" + } + }, + { + "field": "PositionChange", + "title": "Position Change", + "renderer": { + "type": "text" + } + }, + { + "field": "CurrentPosition", + "title": "Current Position", + "renderer": { + "type": "text" + } + }, + { + "field": "PreviousPosition", + "title": "Previous Position", + "renderer": { + "type": "text" + } } - }, - "hiddenColumns": [ - "Clicks", - "Impressions" ] } } @@ -318,33 +332,29 @@ "{{configId}}" ], "title": "Ranking Distribution", - "visualisation": { - "type": "data-stream-bar-chart", - "config": { - "data-stream-bar-chart": { - "color": { - "type": "default" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "bar", + "encoding": { + "x": { + "field": "Bucket", + "type": "nominal", + "title": "Bucket" }, - "xAxisGroup": "none", - "showLegend": false, - "range": { - "type": "auto" - }, - "showGrid": true, - "grouping": false, - "displayMode": "actual", - "xAxisData": "Bucket", - "showTotals": false, - "yAxisLabel": "Queries", - "horizontalLayout": "horizontal", - "showValue": false, - "yAxisData": [ - "Queries" - ], - "showYAxisLabel": true, - "xAxisLabel": "Position range", - "legendPosition": "bottom", - "showXAxisLabel": true + "y": { + "field": "Queries", + "type": "quantitative", + "title": "Queries" + } + }, + "style": { + "legendPosition": "none", + "cartesianShowXAxisTitle": true, + "cartesianXAxisTitle": "Position range", + "cartesianShowYAxisTitle": true, + "cartesianYAxisTitle": "Queries", + "cartesianHorizontal": true } } } @@ -402,21 +412,11 @@ ], "baseTile": "data-stream-base-tile", "title": "Query Opportunities", - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "columnOrder": [], - "resizedColumns": { - "columnWidths": { - "Impressions": 74, - "Query": 144, - "Clicks": 67, - "Position": 86 - } - }, - "hiddenColumns": [] - } + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {} } } } @@ -465,27 +465,49 @@ ], "baseTile": "data-stream-base-tile", "title": "Top Queries", - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "columnOrder": [ - "Query", - "Clicks", - "Impressions", - "CTR", - "Position" - ], - "resizedColumns": { - "columnWidths": { - "CTR": 74, - "Impressions": 83, - "Query": 142, - "Clicks": 93, - "Position": 81 + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "Query", + "title": "Query", + "renderer": { + "type": "text" + } + }, + { + "field": "Clicks", + "title": "Clicks", + "renderer": { + "type": "text" + } + }, + { + "field": "Impressions", + "title": "Impressions", + "renderer": { + "type": "text" + } + }, + { + "field": "CTR", + "title": "CTR", + "renderer": { + "type": "bar", + "max": 100 + } + }, + { + "field": "Position", + "title": "Position", + "renderer": { + "type": "text" + } } - }, - "hiddenColumns": [] + ] } } } @@ -518,21 +540,43 @@ "{{configId}}" ], "title": "Page Performance Over Time", - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "yAxisLabel": "Number", - "xAxisColumn": "Date", - "showLegend": true, - "seriesColumn": "none", - "xAxisLabel": "Date", - "legendPosition": "right", - "yAxisColumn": [ - "Clicks", - "Impressions", - "CTR" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "Date", + "type": "temporal", + "title": "Date" + }, + "y": [ + { + "field": "Clicks", + "type": "quantitative", + "title": "Clicks" + }, + { + "field": "Impressions", + "type": "quantitative", + "title": "Impressions" + }, + { + "field": "CTR", + "type": "quantitative", + "title": "CTR" + } ] + }, + "style": { + "legendPosition": "right", + "cartesianShowXAxisTitle": true, + "cartesianXAxisTitle": "Date", + "cartesianShowYAxisTitle": true, + "cartesianYAxisTitle": "Number", + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "cartesianAreaGradient": true } } } @@ -566,17 +610,30 @@ "{{configId}}" ], "title": "Ranking Over Time", - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "seriesColumn": "none", - "yAxisLabel": "Position", - "xAxisLabel": "Date", - "xAxisColumn": "Date", - "yAxisColumn": [ - "Position" - ] + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "Date", + "type": "temporal", + "title": "Date" + }, + "y": { + "field": "Position", + "type": "quantitative", + "title": "Position" + } + }, + "style": { + "cartesianShowXAxisTitle": true, + "cartesianXAxisTitle": "Date", + "cartesianShowYAxisTitle": true, + "cartesianYAxisTitle": "Position", + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "cartesianAreaGradient": true } } } diff --git a/plugins/GoogleSearchConsole/v1/defaultContent/siteOverview.dash.json b/plugins/GoogleSearchConsole/v1/defaultContent/siteOverview.dash.json index 5b8e56fc..cead9244 100644 --- a/plugins/GoogleSearchConsole/v1/defaultContent/siteOverview.dash.json +++ b/plugins/GoogleSearchConsole/v1/defaultContent/siteOverview.dash.json @@ -40,25 +40,49 @@ ], "baseTile": "data-stream-base-tile", "title": "Top Queries", - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "columnOrder": [ - "Query", - "Impressions", - "Clicks", - "CTR", - "Position" - ], - "resizedColumns": { - "columnWidths": { - "Query": 192, - "Impressions": 69, - "Position": 82 + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "Query", + "title": "Query", + "renderer": { + "type": "text" + } + }, + { + "field": "Impressions", + "title": "Impressions", + "renderer": { + "type": "text" + } + }, + { + "field": "Clicks", + "title": "Clicks", + "renderer": { + "type": "text" + } + }, + { + "field": "CTR", + "title": "CTR", + "renderer": { + "type": "bar", + "max": 100 + } + }, + { + "field": "Position", + "title": "Position", + "renderer": { + "type": "text" + } } - }, - "hiddenColumns": [] + ] } } } @@ -86,24 +110,42 @@ ], "baseTile": "data-stream-base-tile", "title": "Site Summary", - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "columnOrder": [ - "Impressions", - "Clicks", - "CTR", - "Position" - ], - "resizedColumns": { - "columnWidths": { - "CTR": 69, - "Clicks": 83, - "Impressions": 109 + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "Impressions", + "title": "Impressions", + "renderer": { + "type": "text" + } + }, + { + "field": "Clicks", + "title": "Clicks", + "renderer": { + "type": "text" + } + }, + { + "field": "CTR", + "title": "CTR", + "renderer": { + "type": "bar", + "max": 100 + } + }, + { + "field": "Position", + "title": "Position", + "renderer": { + "type": "text" + } } - }, - "hiddenColumns": [] + ] } } } @@ -161,25 +203,41 @@ ], "baseTile": "data-stream-base-tile", "title": "Period Performance Change", - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "columnOrder": [ - "Clicks Change %", - "Impressions Change %", - "CTR Change %", - "Position Change" - ], - "resizedColumns": { - "columnWidths": { - "Position Improvement": 137, - "Impressions Change %": 167, - "CTR Change %": 143, - "Clicks Change %": 165 + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "Clicks Change %", + "title": "Clicks Change %", + "renderer": { + "type": "text" + } + }, + { + "field": "Impressions Change %", + "title": "Impressions Change %", + "renderer": { + "type": "text" + } + }, + { + "field": "CTR Change %", + "title": "CTR Change %", + "renderer": { + "type": "text" + } + }, + { + "field": "Position Change", + "title": "Position Change", + "renderer": { + "type": "text" + } } - }, - "hiddenColumns": [] + ] } } } @@ -206,20 +264,44 @@ "{{configId}}" ], "title": "Site Performance Over Time", - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "showLegend": true, - "seriesColumn": "none", - "legendPosition": "bottom", - "xAxisColumn": "Date", - "yAxisColumn": [ - "CTR", - "Clicks", - "Impressions", - "Position" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "Date", + "type": "temporal", + "title": "Date" + }, + "y": [ + { + "field": "CTR", + "type": "quantitative", + "title": "CTR" + }, + { + "field": "Clicks", + "type": "quantitative", + "title": "Clicks" + }, + { + "field": "Impressions", + "type": "quantitative", + "title": "Impressions" + }, + { + "field": "Position", + "type": "quantitative", + "title": "Position" + } ] + }, + "style": { + "legendPosition": "bottom", + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "cartesianAreaGradient": true } } } @@ -247,25 +329,49 @@ ], "baseTile": "data-stream-base-tile", "title": "Top Pages", - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "columnOrder": [ - "Page", - "Clicks", - "Impressions", - "CTR", - "Position" - ], - "resizedColumns": { - "columnWidths": { - "Position": 85, - "Impressions": 110, - "Page": 130 + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "Page", + "title": "Page", + "renderer": { + "type": "text" + } + }, + { + "field": "Clicks", + "title": "Clicks", + "renderer": { + "type": "text" + } + }, + { + "field": "Impressions", + "title": "Impressions", + "renderer": { + "type": "text" + } + }, + { + "field": "CTR", + "title": "CTR", + "renderer": { + "type": "bar", + "max": 100 + } + }, + { + "field": "Position", + "title": "Position", + "renderer": { + "type": "text" + } } - }, - "hiddenColumns": [] + ] } } } @@ -304,18 +410,49 @@ "{{configId}}" ], "title": "Country Breakdown", - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "columnOrder": [ - "Country", - "Clicks", - "Impressions", - "CTR", - "Position" - ], - "hiddenColumns": [] + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "Country", + "title": "Country", + "renderer": { + "type": "text" + } + }, + { + "field": "Clicks", + "title": "Clicks", + "renderer": { + "type": "text" + } + }, + { + "field": "Impressions", + "title": "Impressions", + "renderer": { + "type": "text" + } + }, + { + "field": "CTR", + "title": "CTR", + "renderer": { + "type": "bar", + "max": 100 + } + }, + { + "field": "Position", + "title": "Position", + "renderer": { + "type": "text" + } + } + ] } } } @@ -342,36 +479,45 @@ "{{configId}}" ], "title": "Device Breakdown", - "visualisation": { - "type": "data-stream-bar-chart", - "config": { - "data-stream-bar-chart": { - "color": { - "type": "default" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "bar", + "encoding": { + "x": { + "field": "Device", + "type": "nominal", + "title": "Device" }, - "xAxisGroup": "none", - "showLegend": true, - "range": { - "type": "auto" - }, - "showGrid": true, - "grouping": false, - "displayMode": "actual", - "xAxisData": "Device", - "showTotals": false, - "yAxisLabel": "", - "horizontalLayout": "horizontal", - "showValue": false, - "yAxisData": [ - "Clicks", - "Impressions", - "Position", - "CTR" - ], - "showYAxisLabel": true, - "xAxisLabel": "", + "y": [ + { + "field": "Clicks", + "type": "quantitative", + "title": "Clicks" + }, + { + "field": "Impressions", + "type": "quantitative", + "title": "Impressions" + }, + { + "field": "Position", + "type": "quantitative", + "title": "Position" + }, + { + "field": "CTR", + "type": "quantitative", + "title": "CTR" + } + ] + }, + "style": { "legendPosition": "bottom", - "showXAxisLabel": true + "cartesianShowXAxisTitle": true, + "cartesianShowYAxisTitle": true, + "cartesianStack": "on", + "cartesianHorizontal": true } } } diff --git a/plugins/GoogleSearchConsole/v1/metadata.json b/plugins/GoogleSearchConsole/v1/metadata.json index 8db39934..80d29c94 100644 --- a/plugins/GoogleSearchConsole/v1/metadata.json +++ b/plugins/GoogleSearchConsole/v1/metadata.json @@ -1,7 +1,7 @@ { "name": "google-search-console", "displayName": "Google Search Console", - "version": "1.0.1", + "version": "1.0.2", "author": { "name": "@Daniel-Hodgson-SquaredUp", "type": "community" diff --git a/plugins/Healthchecks.io/v1/defaultContent/check.dash.json b/plugins/Healthchecks.io/v1/defaultContent/check.dash.json index bcf05960..d960851e 100644 --- a/plugins/Healthchecks.io/v1/defaultContent/check.dash.json +++ b/plugins/Healthchecks.io/v1/defaultContent/check.dash.json @@ -280,52 +280,6 @@ "trueColor": "inherit", "falseColor": "inherit" } - }, - { - "field": "id", - "title": "Check ID", - "renderer": { - "type": "text" - } - }, - { - "field": "manual_resume", - "title": "Manual resume", - "renderer": { - "type": "boolean", - "trueLabel": "Yes", - "falseLabel": "No", - "trueColor": "inherit", - "falseColor": "inherit" - } - }, - { - "field": "ping_url", - "title": "Ping URL", - "renderer": { - "type": "link" - } - }, - { - "field": "update_url", - "title": "API URL", - "renderer": { - "type": "text" - } - }, - { - "field": "uuid", - "title": "UUID", - "renderer": { - "type": "text" - } - }, - { - "field": "badge_url", - "title": "Badge URL", - "renderer": { - "type": "text" - } } ] }, @@ -507,13 +461,6 @@ "falseColor": "inherit" } }, - { - "field": "checkId", - "title": "Check ID", - "renderer": { - "type": "text" - } - }, { "field": "checkTags", "title": "Tags", @@ -688,33 +635,12 @@ "type": "text" } }, - { - "field": "checkId", - "title": "Check ID", - "renderer": { - "type": "text" - } - }, { "field": "checkTags", "title": "Tags", "renderer": { "type": "text" } - }, - { - "field": "rid", - "title": "Run ID", - "renderer": { - "type": "text" - } - }, - { - "field": "n", - "title": "Ping number", - "renderer": { - "type": "text" - } } ] } diff --git a/plugins/Healthchecks.io/v1/defaultContent/overview.dash.json b/plugins/Healthchecks.io/v1/defaultContent/overview.dash.json index c1933c8c..93b95861 100644 --- a/plugins/Healthchecks.io/v1/defaultContent/overview.dash.json +++ b/plugins/Healthchecks.io/v1/defaultContent/overview.dash.json @@ -412,52 +412,6 @@ "renderer": { "type": "link" } - }, - { - "field": "id", - "title": "Check ID", - "renderer": { - "type": "text" - } - }, - { - "field": "manual_resume", - "title": "Manual resume", - "renderer": { - "type": "boolean", - "trueLabel": "Yes", - "falseLabel": "No", - "trueColor": "inherit", - "falseColor": "inherit" - } - }, - { - "field": "ping_url", - "title": "Ping URL", - "renderer": { - "type": "link" - } - }, - { - "field": "update_url", - "title": "API URL", - "renderer": { - "type": "text" - } - }, - { - "field": "uuid", - "title": "UUID", - "renderer": { - "type": "text" - } - }, - { - "field": "badge_url", - "title": "Badge URL", - "renderer": { - "type": "text" - } } ] } @@ -577,52 +531,6 @@ "renderer": { "type": "link" } - }, - { - "field": "id", - "title": "Check ID", - "renderer": { - "type": "text" - } - }, - { - "field": "manual_resume", - "title": "Manual resume", - "renderer": { - "type": "boolean", - "trueLabel": "Yes", - "falseLabel": "No", - "trueColor": "inherit", - "falseColor": "inherit" - } - }, - { - "field": "ping_url", - "title": "Ping URL", - "renderer": { - "type": "link" - } - }, - { - "field": "update_url", - "title": "API URL", - "renderer": { - "type": "text" - } - }, - { - "field": "uuid", - "title": "UUID", - "renderer": { - "type": "text" - } - }, - { - "field": "badge_url", - "title": "Badge URL", - "renderer": { - "type": "text" - } } ] } diff --git a/plugins/Healthchecks.io/v1/defaultContent/tag.dash.json b/plugins/Healthchecks.io/v1/defaultContent/tag.dash.json index e5d386cc..3f3d0836 100644 --- a/plugins/Healthchecks.io/v1/defaultContent/tag.dash.json +++ b/plugins/Healthchecks.io/v1/defaultContent/tag.dash.json @@ -461,52 +461,6 @@ "renderer": { "type": "link" } - }, - { - "field": "id", - "title": "Check ID", - "renderer": { - "type": "text" - } - }, - { - "field": "manual_resume", - "title": "Manual resume", - "renderer": { - "type": "boolean", - "trueLabel": "Yes", - "falseLabel": "No", - "trueColor": "inherit", - "falseColor": "inherit" - } - }, - { - "field": "ping_url", - "title": "Ping URL", - "renderer": { - "type": "link" - } - }, - { - "field": "update_url", - "title": "API URL", - "renderer": { - "type": "text" - } - }, - { - "field": "uuid", - "title": "UUID", - "renderer": { - "type": "text" - } - }, - { - "field": "badge_url", - "title": "Badge URL", - "renderer": { - "type": "text" - } } ] } @@ -634,52 +588,6 @@ "renderer": { "type": "link" } - }, - { - "field": "id", - "title": "Check ID", - "renderer": { - "type": "text" - } - }, - { - "field": "manual_resume", - "title": "Manual resume", - "renderer": { - "type": "boolean", - "trueLabel": "Yes", - "falseLabel": "No", - "trueColor": "inherit", - "falseColor": "inherit" - } - }, - { - "field": "ping_url", - "title": "Ping URL", - "renderer": { - "type": "link" - } - }, - { - "field": "update_url", - "title": "API URL", - "renderer": { - "type": "text" - } - }, - { - "field": "uuid", - "title": "UUID", - "renderer": { - "type": "text" - } - }, - { - "field": "badge_url", - "title": "Badge URL", - "renderer": { - "type": "text" - } } ] } diff --git a/plugins/Healthchecks.io/v1/metadata.json b/plugins/Healthchecks.io/v1/metadata.json index a4fa356f..8880dc40 100644 --- a/plugins/Healthchecks.io/v1/metadata.json +++ b/plugins/Healthchecks.io/v1/metadata.json @@ -1,7 +1,7 @@ { "name": "healthchecks-io", "displayName": "Healthchecks.io", - "version": "1.0.2", + "version": "1.0.3", "author": { "name": "@adamkinniburgh", "type": "community" diff --git a/plugins/Huntress/v1/defaultContent/incidents.dash.json b/plugins/Huntress/v1/defaultContent/incidents.dash.json index 6ef4245c..ad590dcf 100644 --- a/plugins/Huntress/v1/defaultContent/incidents.dash.json +++ b/plugins/Huntress/v1/defaultContent/incidents.dash.json @@ -34,107 +34,13 @@ "version": "1.0", "visualization": { "chartType": "richTable", - "encoding": { - "columns": [ - { - "field": "subject", - "title": "Subject", - "renderer": { - "type": "text" - } - }, - { - "field": "severity[Expanded].rawState", - "title": "Severity", - "renderer": { - "type": "badge", - "colors": { - "critical": "#DE0038", - "high": "#F59E0B", - "low": "#2BB660" - } - } - }, - { - "field": "status[Expanded].rawState", - "title": "Status", - "renderer": { - "type": "badge", - "colors": { - "closed": "#2BB660", - "dismissed": "#2BB660", - "partner_dismissed": "#2BB660", - "sent": "#F59E0B", - "auto_remediating": "#F59E0B", - "deleting": "#F59E0B" - } - } - }, - { - "field": "organization_id", - "title": "Organization ID", - "renderer": { - "type": "text" - } - }, - { - "field": "agent_id", - "title": "Agent ID", - "renderer": { - "type": "text" - } - }, - { - "field": "sent_at", - "title": "Sent At", - "renderer": { - "type": "date" - } - }, - { - "field": "platform", - "title": "Platform", - "renderer": { - "type": "text" - } - }, - { - "field": "indicator_types", - "title": "Indicator Types", - "renderer": { - "type": "text" - } - }, - { - "field": "summary", - "title": "Summary", - "renderer": { - "type": "text" - } - }, - { - "field": "closed_at", - "title": "Closed At", - "renderer": { - "type": "date" - } - }, - { - "field": "status_updated_at", - "title": "Status Updated At", - "renderer": { - "type": "date", - "relative": true - } - }, - { - "field": "updated_at", - "title": "Updated At", - "renderer": { - "type": "date", - "relative": true - } - } + "encoding": {}, + "style": { + "richTableHiddenColumns": [ + "body", + "account_id", + "indicator_counts", + "remediations" ] } } diff --git a/plugins/Huntress/v1/metadata.json b/plugins/Huntress/v1/metadata.json index c407f653..76f29df1 100644 --- a/plugins/Huntress/v1/metadata.json +++ b/plugins/Huntress/v1/metadata.json @@ -1,7 +1,7 @@ { "name": "huntress", "displayName": "Huntress", - "version": "1.0.2", + "version": "1.0.3", "author": { "name": "Dan Watts", "type": "community" diff --git a/plugins/Kubernetes/v1/defaultContent/Perspectives/daemonset.dash.json b/plugins/Kubernetes/v1/defaultContent/Perspectives/daemonset.dash.json index d8b902d3..e560caa4 100644 --- a/plugins/Kubernetes/v1/defaultContent/Perspectives/daemonset.dash.json +++ b/plugins/Kubernetes/v1/defaultContent/Perspectives/daemonset.dash.json @@ -39,11 +39,13 @@ "workspace": "{{workspaceId}}", "variable": "{{variables.[DaemonSet]}}" }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": true + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableTranspose": true } } } @@ -78,15 +80,23 @@ "workspace": "{{workspaceId}}", "variable": "{{variables.[DaemonSet]}}" }, - "visualisation": { - "type": "data-stream-blocks", - "config": { - "data-stream-blocks": { - "labelColumn": "name", - "stateColumn": "daemonSetHealth", - "sublabel": "namespace", - "linkColumn": "none", - "columns": 1 + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "statusGrid", + "encoding": { + "label": { + "field": "name", + "type": "nominal" + }, + "status": { + "field": "daemonSetHealth", + "type": "nominal" + } + }, + "style": { + "statusGridColumnsPerRow": 1, + "statusGridSecondaryTemplate": "{{{{raw}}}}{{namespace}}{{{{/raw}}}}" } } } @@ -122,20 +132,45 @@ "workspace": "{{workspaceId}}", "variable": "{{variables.[DaemonSet]}}" }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false, - "columnOrder": [ - "name", - "phase", - "containerHealth" - ], - "hiddenColumns": [ - "uid", - "namespace", - "ownerName" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "name", + "title": "Name", + "renderer": { + "type": "text" + } + }, + { + "field": "phase", + "title": "Phase", + "renderer": { + "type": "text" + } + }, + { + "field": "containerHealth[Expanded].rawState", + "title": "Health", + "renderer": { + "type": "badge", + "colors": { + "healthy": "#2BB660", + "pending": "#F59E0B", + "crashloop": "#DE0038" + } + } + }, + { + "field": "nodeName", + "title": "Node", + "renderer": { + "type": "text" + } + } ] } } diff --git a/plugins/Kubernetes/v1/defaultContent/Perspectives/deployment.dash.json b/plugins/Kubernetes/v1/defaultContent/Perspectives/deployment.dash.json index 93c50c36..83acdd16 100644 --- a/plugins/Kubernetes/v1/defaultContent/Perspectives/deployment.dash.json +++ b/plugins/Kubernetes/v1/defaultContent/Perspectives/deployment.dash.json @@ -39,11 +39,13 @@ "workspace": "{{workspaceId}}", "variable": "{{variables.[Deployment]}}" }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": true + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableTranspose": true } } } @@ -78,15 +80,23 @@ "workspace": "{{workspaceId}}", "variable": "{{variables.[Deployment]}}" }, - "visualisation": { - "type": "data-stream-blocks", - "config": { - "data-stream-blocks": { - "labelColumn": "name", - "stateColumn": "availableStatus", - "sublabel": "namespace", - "linkColumn": "none", - "columns": 1 + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "statusGrid", + "encoding": { + "label": { + "field": "name", + "type": "nominal" + }, + "status": { + "field": "availableStatus", + "type": "nominal" + } + }, + "style": { + "statusGridColumnsPerRow": 1, + "statusGridSecondaryTemplate": "{{{{raw}}}}{{namespace}}{{{{/raw}}}}" } } } @@ -121,12 +131,21 @@ "workspace": "{{workspaceId}}", "variable": "{{variables.[Deployment]}}" }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "desiredReplicas", - "comparisonColumn": "none" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "desiredReplicas", + "type": "quantitative", + "title": "Desired Replicas" + } + ] + }, + "style": { + "scalarLabelPosition": "none" } } } @@ -161,12 +180,21 @@ "workspace": "{{workspaceId}}", "variable": "{{variables.[Deployment]}}" }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "availableReplicas", - "comparisonColumn": "none" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "availableReplicas", + "type": "quantitative", + "title": "Available Replicas" + } + ] + }, + "style": { + "scalarLabelPosition": "none" } } } @@ -209,20 +237,33 @@ "workspace": "{{workspaceId}}", "variable": "{{variables.[Deployment]}}" }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false, - "columnOrder": [ - "name", - "desiredReplicas", - "readyReplicas" - ], - "hiddenColumns": [ - "uid", - "namespace", - "ownerUid" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "name", + "title": "Name", + "renderer": { + "type": "text" + } + }, + { + "field": "desiredReplicas", + "title": "Desired Replicas", + "renderer": { + "type": "text" + } + }, + { + "field": "readyReplicas", + "title": "Ready Replicas", + "renderer": { + "type": "text" + } + } ] } } diff --git a/plugins/Kubernetes/v1/defaultContent/Perspectives/ingress.dash.json b/plugins/Kubernetes/v1/defaultContent/Perspectives/ingress.dash.json index 9b2fe007..38278e5e 100644 --- a/plugins/Kubernetes/v1/defaultContent/Perspectives/ingress.dash.json +++ b/plugins/Kubernetes/v1/defaultContent/Perspectives/ingress.dash.json @@ -39,11 +39,13 @@ "workspace": "{{workspaceId}}", "variable": "{{variables.[Ingress]}}" }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": true + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableTranspose": true } } } @@ -78,12 +80,21 @@ "workspace": "{{workspaceId}}", "variable": "{{variables.[Ingress]}}" }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "hosts", - "comparisonColumn": "none" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "hosts", + "type": "quantitative", + "title": "Hosts" + } + ] + }, + "style": { + "scalarLabelPosition": "none" } } } @@ -118,12 +129,21 @@ "workspace": "{{workspaceId}}", "variable": "{{variables.[Ingress]}}" }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "ingressClassName", - "comparisonColumn": "none" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "ingressClassName", + "type": "quantitative", + "title": "Ingress Class Name" + } + ] + }, + "style": { + "scalarLabelPosition": "none" } } } @@ -166,19 +186,26 @@ "workspace": "{{workspaceId}}", "variable": "{{variables.[Ingress]}}" }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false, - "columnOrder": [ - "name", - "serviceType" - ], - "hiddenColumns": [ - "uid", - "namespace", - "selectorAppLabel" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "name", + "title": "Name", + "renderer": { + "type": "text" + } + }, + { + "field": "serviceType", + "title": "Type", + "renderer": { + "type": "text" + } + } ] } } diff --git a/plugins/Kubernetes/v1/defaultContent/Perspectives/namespace.dash.json b/plugins/Kubernetes/v1/defaultContent/Perspectives/namespace.dash.json index 5b2a5197..ecba3381 100644 --- a/plugins/Kubernetes/v1/defaultContent/Perspectives/namespace.dash.json +++ b/plugins/Kubernetes/v1/defaultContent/Perspectives/namespace.dash.json @@ -39,11 +39,13 @@ "workspace": "{{workspaceId}}", "variable": "{{variables.[Namespace]}}" }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": true + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableTranspose": true } } } @@ -78,12 +80,21 @@ "workspace": "{{workspaceId}}", "variable": "{{variables.[Namespace]}}" }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "phase", - "comparisonColumn": "none" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "phase", + "type": "quantitative", + "title": "Phase" + } + ] + }, + "style": { + "scalarLabelPosition": "none" } } } @@ -122,20 +133,289 @@ "workspace": "{{workspaceId}}", "variable": "{{variables.[Namespace]}}" }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false, - "columnOrder": [ - "name", - "nodeName", - "podPhase", - "containerHealth" - ], - "hiddenColumns": [ - "uid", - "namespace" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "name", + "title": "Name", + "renderer": { + "type": "text" + } + }, + { + "field": "nodeName", + "title": "Node", + "renderer": { + "type": "text" + } + }, + { + "field": "podPhase", + "title": "Pod Phase", + "renderer": { + "type": "text" + } + }, + { + "field": "containerHealth[Expanded].rawState", + "title": "Health", + "renderer": { + "type": "badge", + "colors": { + "healthy": "#2BB660", + "pending": "#F59E0B", + "crashloop": "#DE0038" + } + } + }, + { + "field": "desiredReplicas", + "title": "Desired Replicas", + "renderer": { + "type": "text" + } + }, + { + "field": "availableReplicas", + "title": "Available Replicas", + "renderer": { + "type": "text" + } + }, + { + "field": "availableStatus[Expanded].rawState", + "title": "Available", + "renderer": { + "type": "badge", + "colors": { + "True": "#2BB660", + "False": "#DE0038", + "Unknown": "#94A3B8" + } + } + }, + { + "field": "desiredNumberScheduled", + "title": "Desired Scheduled", + "renderer": { + "type": "text" + } + }, + { + "field": "numberReady", + "title": "Ready", + "renderer": { + "type": "text" + } + }, + { + "field": "daemonSetHealth[Expanded].rawState", + "title": "Health", + "renderer": { + "type": "badge", + "colors": { + "success": "#2BB660", + "error": "#DE0038", + "unknown": "#94A3B8" + } + } + }, + { + "field": "readyReplicas", + "title": "Ready Replicas", + "renderer": { + "type": "text" + } + }, + { + "field": "statefulSetHealth[Expanded].rawState", + "title": "Health", + "renderer": { + "type": "badge", + "colors": { + "success": "#2BB660", + "error": "#DE0038", + "unknown": "#94A3B8" + } + } + }, + { + "field": "serviceType", + "title": "Type", + "renderer": { + "type": "text" + } + }, + { + "field": "ingressClassName", + "title": "Ingress Class", + "renderer": { + "type": "text" + } + }, + { + "field": "hosts", + "title": "Hosts", + "renderer": { + "type": "text" + } + }, + { + "field": "phase[Expanded].rawState", + "title": "Phase", + "renderer": { + "type": "badge", + "colors": { + "Bound": "#2BB660", + "Pending": "#F59E0B", + "Lost": "#DE0038" + } + } + }, + { + "field": "requestedStorageBytes", + "title": "Requested Storage", + "renderer": { + "type": "text" + } + }, + { + "field": "cpuRequestHardMillicores", + "title": "CPU Requests Limit (m)", + "renderer": { + "type": "text" + } + }, + { + "field": "cpuRequestUsedMillicores", + "title": "CPU Requests Used (m)", + "renderer": { + "type": "text" + } + }, + { + "field": "memoryRequestHardBytes", + "title": "Memory Requests Limit", + "renderer": { + "type": "text" + } + }, + { + "field": "memoryRequestUsedBytes", + "title": "Memory Requests Used", + "renderer": { + "type": "text" + } + }, + { + "field": "cpuLimitHardMillicores", + "title": "CPU Limits Cap (m)", + "renderer": { + "type": "text" + } + }, + { + "field": "cpuLimitUsedMillicores", + "title": "CPU Limits Used (m)", + "renderer": { + "type": "text" + } + }, + { + "field": "memoryLimitHardBytes", + "title": "Memory Limits Cap", + "renderer": { + "type": "text" + } + }, + { + "field": "memoryLimitUsedBytes", + "title": "Memory Limits Used", + "renderer": { + "type": "text" + } + }, + { + "field": "podsHard", + "title": "Pod Limit", + "renderer": { + "type": "text" + } + }, + { + "field": "podsUsed", + "title": "Pods Used", + "renderer": { + "type": "text" + } + }, + { + "field": "limitType", + "title": "Limit Type", + "renderer": { + "type": "text" + } + }, + { + "field": "defaultCpuMillicores", + "title": "Default CPU Limit (m)", + "renderer": { + "type": "text" + } + }, + { + "field": "defaultMemoryBytes", + "title": "Default Memory Limit", + "renderer": { + "type": "text" + } + }, + { + "field": "defaultRequestCpuMillicores", + "title": "Default CPU Request (m)", + "renderer": { + "type": "text" + } + }, + { + "field": "defaultRequestMemoryBytes", + "title": "Default Memory Request", + "renderer": { + "type": "text" + } + }, + { + "field": "maxCpuMillicores", + "title": "Max CPU (m)", + "renderer": { + "type": "text" + } + }, + { + "field": "maxMemoryBytes", + "title": "Max Memory", + "renderer": { + "type": "text" + } + }, + { + "field": "minCpuMillicores", + "title": "Min CPU (m)", + "renderer": { + "type": "text" + } + }, + { + "field": "minMemoryBytes", + "title": "Min Memory", + "renderer": { + "type": "text" + } + } ] } } @@ -175,20 +455,289 @@ "workspace": "{{workspaceId}}", "variable": "{{variables.[Namespace]}}" }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false, - "columnOrder": [ - "name", - "desiredReplicas", - "availableReplicas", - "availableStatus" - ], - "hiddenColumns": [ - "uid", - "namespace" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "name", + "title": "Name", + "renderer": { + "type": "text" + } + }, + { + "field": "desiredReplicas", + "title": "Desired Replicas", + "renderer": { + "type": "text" + } + }, + { + "field": "availableReplicas", + "title": "Available Replicas", + "renderer": { + "type": "text" + } + }, + { + "field": "availableStatus[Expanded].rawState", + "title": "Available", + "renderer": { + "type": "badge", + "colors": { + "True": "#2BB660", + "False": "#DE0038", + "Unknown": "#94A3B8" + } + } + }, + { + "field": "desiredNumberScheduled", + "title": "Desired Scheduled", + "renderer": { + "type": "text" + } + }, + { + "field": "numberReady", + "title": "Ready", + "renderer": { + "type": "text" + } + }, + { + "field": "daemonSetHealth[Expanded].rawState", + "title": "Health", + "renderer": { + "type": "badge", + "colors": { + "success": "#2BB660", + "error": "#DE0038", + "unknown": "#94A3B8" + } + } + }, + { + "field": "readyReplicas", + "title": "Ready Replicas", + "renderer": { + "type": "text" + } + }, + { + "field": "statefulSetHealth[Expanded].rawState", + "title": "Health", + "renderer": { + "type": "badge", + "colors": { + "success": "#2BB660", + "error": "#DE0038", + "unknown": "#94A3B8" + } + } + }, + { + "field": "serviceType", + "title": "Type", + "renderer": { + "type": "text" + } + }, + { + "field": "ingressClassName", + "title": "Ingress Class", + "renderer": { + "type": "text" + } + }, + { + "field": "hosts", + "title": "Hosts", + "renderer": { + "type": "text" + } + }, + { + "field": "phase[Expanded].rawState", + "title": "Phase", + "renderer": { + "type": "badge", + "colors": { + "Bound": "#2BB660", + "Pending": "#F59E0B", + "Lost": "#DE0038" + } + } + }, + { + "field": "requestedStorageBytes", + "title": "Requested Storage", + "renderer": { + "type": "text" + } + }, + { + "field": "cpuRequestHardMillicores", + "title": "CPU Requests Limit (m)", + "renderer": { + "type": "text" + } + }, + { + "field": "cpuRequestUsedMillicores", + "title": "CPU Requests Used (m)", + "renderer": { + "type": "text" + } + }, + { + "field": "memoryRequestHardBytes", + "title": "Memory Requests Limit", + "renderer": { + "type": "text" + } + }, + { + "field": "memoryRequestUsedBytes", + "title": "Memory Requests Used", + "renderer": { + "type": "text" + } + }, + { + "field": "cpuLimitHardMillicores", + "title": "CPU Limits Cap (m)", + "renderer": { + "type": "text" + } + }, + { + "field": "cpuLimitUsedMillicores", + "title": "CPU Limits Used (m)", + "renderer": { + "type": "text" + } + }, + { + "field": "memoryLimitHardBytes", + "title": "Memory Limits Cap", + "renderer": { + "type": "text" + } + }, + { + "field": "memoryLimitUsedBytes", + "title": "Memory Limits Used", + "renderer": { + "type": "text" + } + }, + { + "field": "podsHard", + "title": "Pod Limit", + "renderer": { + "type": "text" + } + }, + { + "field": "podsUsed", + "title": "Pods Used", + "renderer": { + "type": "text" + } + }, + { + "field": "limitType", + "title": "Limit Type", + "renderer": { + "type": "text" + } + }, + { + "field": "defaultCpuMillicores", + "title": "Default CPU Limit (m)", + "renderer": { + "type": "text" + } + }, + { + "field": "defaultMemoryBytes", + "title": "Default Memory Limit", + "renderer": { + "type": "text" + } + }, + { + "field": "defaultRequestCpuMillicores", + "title": "Default CPU Request (m)", + "renderer": { + "type": "text" + } + }, + { + "field": "defaultRequestMemoryBytes", + "title": "Default Memory Request", + "renderer": { + "type": "text" + } + }, + { + "field": "maxCpuMillicores", + "title": "Max CPU (m)", + "renderer": { + "type": "text" + } + }, + { + "field": "maxMemoryBytes", + "title": "Max Memory", + "renderer": { + "type": "text" + } + }, + { + "field": "minCpuMillicores", + "title": "Min CPU (m)", + "renderer": { + "type": "text" + } + }, + { + "field": "minMemoryBytes", + "title": "Min Memory", + "renderer": { + "type": "text" + } + }, + { + "field": "nodeName", + "title": "Node", + "renderer": { + "type": "text" + } + }, + { + "field": "podPhase", + "title": "Pod Phase", + "renderer": { + "type": "text" + } + }, + { + "field": "containerHealth[Expanded].rawState", + "title": "Health", + "renderer": { + "type": "badge", + "colors": { + "healthy": "#2BB660", + "pending": "#F59E0B", + "crashloop": "#DE0038" + } + } + } ] } } @@ -228,19 +777,289 @@ "workspace": "{{workspaceId}}", "variable": "{{variables.[Namespace]}}" }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false, - "columnOrder": [ - "name", - "serviceType" - ], - "hiddenColumns": [ - "uid", - "namespace", - "selectorAppLabel" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "name", + "title": "Name", + "renderer": { + "type": "text" + } + }, + { + "field": "serviceType", + "title": "Type", + "renderer": { + "type": "text" + } + }, + { + "field": "desiredReplicas", + "title": "Desired Replicas", + "renderer": { + "type": "text" + } + }, + { + "field": "availableReplicas", + "title": "Available Replicas", + "renderer": { + "type": "text" + } + }, + { + "field": "availableStatus[Expanded].rawState", + "title": "Available", + "renderer": { + "type": "badge", + "colors": { + "True": "#2BB660", + "False": "#DE0038", + "Unknown": "#94A3B8" + } + } + }, + { + "field": "desiredNumberScheduled", + "title": "Desired Scheduled", + "renderer": { + "type": "text" + } + }, + { + "field": "numberReady", + "title": "Ready", + "renderer": { + "type": "text" + } + }, + { + "field": "daemonSetHealth[Expanded].rawState", + "title": "Health", + "renderer": { + "type": "badge", + "colors": { + "success": "#2BB660", + "error": "#DE0038", + "unknown": "#94A3B8" + } + } + }, + { + "field": "readyReplicas", + "title": "Ready Replicas", + "renderer": { + "type": "text" + } + }, + { + "field": "statefulSetHealth[Expanded].rawState", + "title": "Health", + "renderer": { + "type": "badge", + "colors": { + "success": "#2BB660", + "error": "#DE0038", + "unknown": "#94A3B8" + } + } + }, + { + "field": "ingressClassName", + "title": "Ingress Class", + "renderer": { + "type": "text" + } + }, + { + "field": "hosts", + "title": "Hosts", + "renderer": { + "type": "text" + } + }, + { + "field": "phase[Expanded].rawState", + "title": "Phase", + "renderer": { + "type": "badge", + "colors": { + "Bound": "#2BB660", + "Pending": "#F59E0B", + "Lost": "#DE0038" + } + } + }, + { + "field": "requestedStorageBytes", + "title": "Requested Storage", + "renderer": { + "type": "text" + } + }, + { + "field": "cpuRequestHardMillicores", + "title": "CPU Requests Limit (m)", + "renderer": { + "type": "text" + } + }, + { + "field": "cpuRequestUsedMillicores", + "title": "CPU Requests Used (m)", + "renderer": { + "type": "text" + } + }, + { + "field": "memoryRequestHardBytes", + "title": "Memory Requests Limit", + "renderer": { + "type": "text" + } + }, + { + "field": "memoryRequestUsedBytes", + "title": "Memory Requests Used", + "renderer": { + "type": "text" + } + }, + { + "field": "cpuLimitHardMillicores", + "title": "CPU Limits Cap (m)", + "renderer": { + "type": "text" + } + }, + { + "field": "cpuLimitUsedMillicores", + "title": "CPU Limits Used (m)", + "renderer": { + "type": "text" + } + }, + { + "field": "memoryLimitHardBytes", + "title": "Memory Limits Cap", + "renderer": { + "type": "text" + } + }, + { + "field": "memoryLimitUsedBytes", + "title": "Memory Limits Used", + "renderer": { + "type": "text" + } + }, + { + "field": "podsHard", + "title": "Pod Limit", + "renderer": { + "type": "text" + } + }, + { + "field": "podsUsed", + "title": "Pods Used", + "renderer": { + "type": "text" + } + }, + { + "field": "limitType", + "title": "Limit Type", + "renderer": { + "type": "text" + } + }, + { + "field": "defaultCpuMillicores", + "title": "Default CPU Limit (m)", + "renderer": { + "type": "text" + } + }, + { + "field": "defaultMemoryBytes", + "title": "Default Memory Limit", + "renderer": { + "type": "text" + } + }, + { + "field": "defaultRequestCpuMillicores", + "title": "Default CPU Request (m)", + "renderer": { + "type": "text" + } + }, + { + "field": "defaultRequestMemoryBytes", + "title": "Default Memory Request", + "renderer": { + "type": "text" + } + }, + { + "field": "maxCpuMillicores", + "title": "Max CPU (m)", + "renderer": { + "type": "text" + } + }, + { + "field": "maxMemoryBytes", + "title": "Max Memory", + "renderer": { + "type": "text" + } + }, + { + "field": "minCpuMillicores", + "title": "Min CPU (m)", + "renderer": { + "type": "text" + } + }, + { + "field": "minMemoryBytes", + "title": "Min Memory", + "renderer": { + "type": "text" + } + }, + { + "field": "nodeName", + "title": "Node", + "renderer": { + "type": "text" + } + }, + { + "field": "podPhase", + "title": "Pod Phase", + "renderer": { + "type": "text" + } + }, + { + "field": "containerHealth[Expanded].rawState", + "title": "Health", + "renderer": { + "type": "badge", + "colors": { + "healthy": "#2BB660", + "pending": "#F59E0B", + "crashloop": "#DE0038" + } + } + } ] } } @@ -280,20 +1099,289 @@ "workspace": "{{workspaceId}}", "variable": "{{variables.[Namespace]}}" }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false, - "columnOrder": [ - "name", - "desiredReplicas", - "readyReplicas" - ], - "hiddenColumns": [ - "uid", - "namespace", - "ownerUid" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "name", + "title": "Name", + "renderer": { + "type": "text" + } + }, + { + "field": "desiredReplicas", + "title": "Desired Replicas", + "renderer": { + "type": "text" + } + }, + { + "field": "readyReplicas", + "title": "Ready Replicas", + "renderer": { + "type": "text" + } + }, + { + "field": "availableReplicas", + "title": "Available Replicas", + "renderer": { + "type": "text" + } + }, + { + "field": "availableStatus[Expanded].rawState", + "title": "Available", + "renderer": { + "type": "badge", + "colors": { + "True": "#2BB660", + "False": "#DE0038", + "Unknown": "#94A3B8" + } + } + }, + { + "field": "desiredNumberScheduled", + "title": "Desired Scheduled", + "renderer": { + "type": "text" + } + }, + { + "field": "numberReady", + "title": "Ready", + "renderer": { + "type": "text" + } + }, + { + "field": "daemonSetHealth[Expanded].rawState", + "title": "Health", + "renderer": { + "type": "badge", + "colors": { + "success": "#2BB660", + "error": "#DE0038", + "unknown": "#94A3B8" + } + } + }, + { + "field": "statefulSetHealth[Expanded].rawState", + "title": "Health", + "renderer": { + "type": "badge", + "colors": { + "success": "#2BB660", + "error": "#DE0038", + "unknown": "#94A3B8" + } + } + }, + { + "field": "serviceType", + "title": "Type", + "renderer": { + "type": "text" + } + }, + { + "field": "ingressClassName", + "title": "Ingress Class", + "renderer": { + "type": "text" + } + }, + { + "field": "hosts", + "title": "Hosts", + "renderer": { + "type": "text" + } + }, + { + "field": "phase[Expanded].rawState", + "title": "Phase", + "renderer": { + "type": "badge", + "colors": { + "Bound": "#2BB660", + "Pending": "#F59E0B", + "Lost": "#DE0038" + } + } + }, + { + "field": "requestedStorageBytes", + "title": "Requested Storage", + "renderer": { + "type": "text" + } + }, + { + "field": "cpuRequestHardMillicores", + "title": "CPU Requests Limit (m)", + "renderer": { + "type": "text" + } + }, + { + "field": "cpuRequestUsedMillicores", + "title": "CPU Requests Used (m)", + "renderer": { + "type": "text" + } + }, + { + "field": "memoryRequestHardBytes", + "title": "Memory Requests Limit", + "renderer": { + "type": "text" + } + }, + { + "field": "memoryRequestUsedBytes", + "title": "Memory Requests Used", + "renderer": { + "type": "text" + } + }, + { + "field": "cpuLimitHardMillicores", + "title": "CPU Limits Cap (m)", + "renderer": { + "type": "text" + } + }, + { + "field": "cpuLimitUsedMillicores", + "title": "CPU Limits Used (m)", + "renderer": { + "type": "text" + } + }, + { + "field": "memoryLimitHardBytes", + "title": "Memory Limits Cap", + "renderer": { + "type": "text" + } + }, + { + "field": "memoryLimitUsedBytes", + "title": "Memory Limits Used", + "renderer": { + "type": "text" + } + }, + { + "field": "podsHard", + "title": "Pod Limit", + "renderer": { + "type": "text" + } + }, + { + "field": "podsUsed", + "title": "Pods Used", + "renderer": { + "type": "text" + } + }, + { + "field": "limitType", + "title": "Limit Type", + "renderer": { + "type": "text" + } + }, + { + "field": "defaultCpuMillicores", + "title": "Default CPU Limit (m)", + "renderer": { + "type": "text" + } + }, + { + "field": "defaultMemoryBytes", + "title": "Default Memory Limit", + "renderer": { + "type": "text" + } + }, + { + "field": "defaultRequestCpuMillicores", + "title": "Default CPU Request (m)", + "renderer": { + "type": "text" + } + }, + { + "field": "defaultRequestMemoryBytes", + "title": "Default Memory Request", + "renderer": { + "type": "text" + } + }, + { + "field": "maxCpuMillicores", + "title": "Max CPU (m)", + "renderer": { + "type": "text" + } + }, + { + "field": "maxMemoryBytes", + "title": "Max Memory", + "renderer": { + "type": "text" + } + }, + { + "field": "minCpuMillicores", + "title": "Min CPU (m)", + "renderer": { + "type": "text" + } + }, + { + "field": "minMemoryBytes", + "title": "Min Memory", + "renderer": { + "type": "text" + } + }, + { + "field": "nodeName", + "title": "Node", + "renderer": { + "type": "text" + } + }, + { + "field": "podPhase", + "title": "Pod Phase", + "renderer": { + "type": "text" + } + }, + { + "field": "containerHealth[Expanded].rawState", + "title": "Health", + "renderer": { + "type": "badge", + "colors": { + "healthy": "#2BB660", + "pending": "#F59E0B", + "crashloop": "#DE0038" + } + } + } ] } } @@ -333,20 +1421,289 @@ "workspace": "{{workspaceId}}", "variable": "{{variables.[Namespace]}}" }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false, - "columnOrder": [ - "name", - "desiredNumberScheduled", - "numberReady", - "daemonSetHealth" - ], - "hiddenColumns": [ - "uid", - "namespace" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "name", + "title": "Name", + "renderer": { + "type": "text" + } + }, + { + "field": "desiredNumberScheduled", + "title": "Desired Scheduled", + "renderer": { + "type": "text" + } + }, + { + "field": "numberReady", + "title": "Ready", + "renderer": { + "type": "text" + } + }, + { + "field": "daemonSetHealth[Expanded].rawState", + "title": "Health", + "renderer": { + "type": "badge", + "colors": { + "success": "#2BB660", + "error": "#DE0038", + "unknown": "#94A3B8" + } + } + }, + { + "field": "desiredReplicas", + "title": "Desired Replicas", + "renderer": { + "type": "text" + } + }, + { + "field": "availableReplicas", + "title": "Available Replicas", + "renderer": { + "type": "text" + } + }, + { + "field": "availableStatus[Expanded].rawState", + "title": "Available", + "renderer": { + "type": "badge", + "colors": { + "True": "#2BB660", + "False": "#DE0038", + "Unknown": "#94A3B8" + } + } + }, + { + "field": "readyReplicas", + "title": "Ready Replicas", + "renderer": { + "type": "text" + } + }, + { + "field": "statefulSetHealth[Expanded].rawState", + "title": "Health", + "renderer": { + "type": "badge", + "colors": { + "success": "#2BB660", + "error": "#DE0038", + "unknown": "#94A3B8" + } + } + }, + { + "field": "serviceType", + "title": "Type", + "renderer": { + "type": "text" + } + }, + { + "field": "ingressClassName", + "title": "Ingress Class", + "renderer": { + "type": "text" + } + }, + { + "field": "hosts", + "title": "Hosts", + "renderer": { + "type": "text" + } + }, + { + "field": "phase[Expanded].rawState", + "title": "Phase", + "renderer": { + "type": "badge", + "colors": { + "Bound": "#2BB660", + "Pending": "#F59E0B", + "Lost": "#DE0038" + } + } + }, + { + "field": "requestedStorageBytes", + "title": "Requested Storage", + "renderer": { + "type": "text" + } + }, + { + "field": "cpuRequestHardMillicores", + "title": "CPU Requests Limit (m)", + "renderer": { + "type": "text" + } + }, + { + "field": "cpuRequestUsedMillicores", + "title": "CPU Requests Used (m)", + "renderer": { + "type": "text" + } + }, + { + "field": "memoryRequestHardBytes", + "title": "Memory Requests Limit", + "renderer": { + "type": "text" + } + }, + { + "field": "memoryRequestUsedBytes", + "title": "Memory Requests Used", + "renderer": { + "type": "text" + } + }, + { + "field": "cpuLimitHardMillicores", + "title": "CPU Limits Cap (m)", + "renderer": { + "type": "text" + } + }, + { + "field": "cpuLimitUsedMillicores", + "title": "CPU Limits Used (m)", + "renderer": { + "type": "text" + } + }, + { + "field": "memoryLimitHardBytes", + "title": "Memory Limits Cap", + "renderer": { + "type": "text" + } + }, + { + "field": "memoryLimitUsedBytes", + "title": "Memory Limits Used", + "renderer": { + "type": "text" + } + }, + { + "field": "podsHard", + "title": "Pod Limit", + "renderer": { + "type": "text" + } + }, + { + "field": "podsUsed", + "title": "Pods Used", + "renderer": { + "type": "text" + } + }, + { + "field": "limitType", + "title": "Limit Type", + "renderer": { + "type": "text" + } + }, + { + "field": "defaultCpuMillicores", + "title": "Default CPU Limit (m)", + "renderer": { + "type": "text" + } + }, + { + "field": "defaultMemoryBytes", + "title": "Default Memory Limit", + "renderer": { + "type": "text" + } + }, + { + "field": "defaultRequestCpuMillicores", + "title": "Default CPU Request (m)", + "renderer": { + "type": "text" + } + }, + { + "field": "defaultRequestMemoryBytes", + "title": "Default Memory Request", + "renderer": { + "type": "text" + } + }, + { + "field": "maxCpuMillicores", + "title": "Max CPU (m)", + "renderer": { + "type": "text" + } + }, + { + "field": "maxMemoryBytes", + "title": "Max Memory", + "renderer": { + "type": "text" + } + }, + { + "field": "minCpuMillicores", + "title": "Min CPU (m)", + "renderer": { + "type": "text" + } + }, + { + "field": "minMemoryBytes", + "title": "Min Memory", + "renderer": { + "type": "text" + } + }, + { + "field": "nodeName", + "title": "Node", + "renderer": { + "type": "text" + } + }, + { + "field": "podPhase", + "title": "Pod Phase", + "renderer": { + "type": "text" + } + }, + { + "field": "containerHealth[Expanded].rawState", + "title": "Health", + "renderer": { + "type": "badge", + "colors": { + "healthy": "#2BB660", + "pending": "#F59E0B", + "crashloop": "#DE0038" + } + } + } ] } } @@ -386,20 +1743,289 @@ "workspace": "{{workspaceId}}", "variable": "{{variables.[Namespace]}}" }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false, - "columnOrder": [ - "name", - "desiredReplicas", - "readyReplicas", - "statefulSetHealth" - ], - "hiddenColumns": [ - "uid", - "namespace" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "name", + "title": "Name", + "renderer": { + "type": "text" + } + }, + { + "field": "desiredReplicas", + "title": "Desired Replicas", + "renderer": { + "type": "text" + } + }, + { + "field": "readyReplicas", + "title": "Ready Replicas", + "renderer": { + "type": "text" + } + }, + { + "field": "statefulSetHealth[Expanded].rawState", + "title": "Health", + "renderer": { + "type": "badge", + "colors": { + "success": "#2BB660", + "error": "#DE0038", + "unknown": "#94A3B8" + } + } + }, + { + "field": "availableReplicas", + "title": "Available Replicas", + "renderer": { + "type": "text" + } + }, + { + "field": "availableStatus[Expanded].rawState", + "title": "Available", + "renderer": { + "type": "badge", + "colors": { + "True": "#2BB660", + "False": "#DE0038", + "Unknown": "#94A3B8" + } + } + }, + { + "field": "desiredNumberScheduled", + "title": "Desired Scheduled", + "renderer": { + "type": "text" + } + }, + { + "field": "numberReady", + "title": "Ready", + "renderer": { + "type": "text" + } + }, + { + "field": "daemonSetHealth[Expanded].rawState", + "title": "Health", + "renderer": { + "type": "badge", + "colors": { + "success": "#2BB660", + "error": "#DE0038", + "unknown": "#94A3B8" + } + } + }, + { + "field": "serviceType", + "title": "Type", + "renderer": { + "type": "text" + } + }, + { + "field": "ingressClassName", + "title": "Ingress Class", + "renderer": { + "type": "text" + } + }, + { + "field": "hosts", + "title": "Hosts", + "renderer": { + "type": "text" + } + }, + { + "field": "phase[Expanded].rawState", + "title": "Phase", + "renderer": { + "type": "badge", + "colors": { + "Bound": "#2BB660", + "Pending": "#F59E0B", + "Lost": "#DE0038" + } + } + }, + { + "field": "requestedStorageBytes", + "title": "Requested Storage", + "renderer": { + "type": "text" + } + }, + { + "field": "cpuRequestHardMillicores", + "title": "CPU Requests Limit (m)", + "renderer": { + "type": "text" + } + }, + { + "field": "cpuRequestUsedMillicores", + "title": "CPU Requests Used (m)", + "renderer": { + "type": "text" + } + }, + { + "field": "memoryRequestHardBytes", + "title": "Memory Requests Limit", + "renderer": { + "type": "text" + } + }, + { + "field": "memoryRequestUsedBytes", + "title": "Memory Requests Used", + "renderer": { + "type": "text" + } + }, + { + "field": "cpuLimitHardMillicores", + "title": "CPU Limits Cap (m)", + "renderer": { + "type": "text" + } + }, + { + "field": "cpuLimitUsedMillicores", + "title": "CPU Limits Used (m)", + "renderer": { + "type": "text" + } + }, + { + "field": "memoryLimitHardBytes", + "title": "Memory Limits Cap", + "renderer": { + "type": "text" + } + }, + { + "field": "memoryLimitUsedBytes", + "title": "Memory Limits Used", + "renderer": { + "type": "text" + } + }, + { + "field": "podsHard", + "title": "Pod Limit", + "renderer": { + "type": "text" + } + }, + { + "field": "podsUsed", + "title": "Pods Used", + "renderer": { + "type": "text" + } + }, + { + "field": "limitType", + "title": "Limit Type", + "renderer": { + "type": "text" + } + }, + { + "field": "defaultCpuMillicores", + "title": "Default CPU Limit (m)", + "renderer": { + "type": "text" + } + }, + { + "field": "defaultMemoryBytes", + "title": "Default Memory Limit", + "renderer": { + "type": "text" + } + }, + { + "field": "defaultRequestCpuMillicores", + "title": "Default CPU Request (m)", + "renderer": { + "type": "text" + } + }, + { + "field": "defaultRequestMemoryBytes", + "title": "Default Memory Request", + "renderer": { + "type": "text" + } + }, + { + "field": "maxCpuMillicores", + "title": "Max CPU (m)", + "renderer": { + "type": "text" + } + }, + { + "field": "maxMemoryBytes", + "title": "Max Memory", + "renderer": { + "type": "text" + } + }, + { + "field": "minCpuMillicores", + "title": "Min CPU (m)", + "renderer": { + "type": "text" + } + }, + { + "field": "minMemoryBytes", + "title": "Min Memory", + "renderer": { + "type": "text" + } + }, + { + "field": "nodeName", + "title": "Node", + "renderer": { + "type": "text" + } + }, + { + "field": "podPhase", + "title": "Pod Phase", + "renderer": { + "type": "text" + } + }, + { + "field": "containerHealth[Expanded].rawState", + "title": "Health", + "renderer": { + "type": "badge", + "colors": { + "healthy": "#2BB660", + "pending": "#F59E0B", + "crashloop": "#DE0038" + } + } + } ] } } @@ -439,20 +2065,289 @@ "workspace": "{{workspaceId}}", "variable": "{{variables.[Namespace]}}" }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false, - "columnOrder": [ - "name", - "ingressClassName", - "hosts" - ], - "hiddenColumns": [ - "uid", - "namespace", - "primaryBackendServiceName" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "name", + "title": "Name", + "renderer": { + "type": "text" + } + }, + { + "field": "ingressClassName", + "title": "Ingress Class", + "renderer": { + "type": "text" + } + }, + { + "field": "hosts", + "title": "Hosts", + "renderer": { + "type": "text" + } + }, + { + "field": "desiredReplicas", + "title": "Desired Replicas", + "renderer": { + "type": "text" + } + }, + { + "field": "availableReplicas", + "title": "Available Replicas", + "renderer": { + "type": "text" + } + }, + { + "field": "availableStatus[Expanded].rawState", + "title": "Available", + "renderer": { + "type": "badge", + "colors": { + "True": "#2BB660", + "False": "#DE0038", + "Unknown": "#94A3B8" + } + } + }, + { + "field": "desiredNumberScheduled", + "title": "Desired Scheduled", + "renderer": { + "type": "text" + } + }, + { + "field": "numberReady", + "title": "Ready", + "renderer": { + "type": "text" + } + }, + { + "field": "daemonSetHealth[Expanded].rawState", + "title": "Health", + "renderer": { + "type": "badge", + "colors": { + "success": "#2BB660", + "error": "#DE0038", + "unknown": "#94A3B8" + } + } + }, + { + "field": "readyReplicas", + "title": "Ready Replicas", + "renderer": { + "type": "text" + } + }, + { + "field": "statefulSetHealth[Expanded].rawState", + "title": "Health", + "renderer": { + "type": "badge", + "colors": { + "success": "#2BB660", + "error": "#DE0038", + "unknown": "#94A3B8" + } + } + }, + { + "field": "serviceType", + "title": "Type", + "renderer": { + "type": "text" + } + }, + { + "field": "phase[Expanded].rawState", + "title": "Phase", + "renderer": { + "type": "badge", + "colors": { + "Bound": "#2BB660", + "Pending": "#F59E0B", + "Lost": "#DE0038" + } + } + }, + { + "field": "requestedStorageBytes", + "title": "Requested Storage", + "renderer": { + "type": "text" + } + }, + { + "field": "cpuRequestHardMillicores", + "title": "CPU Requests Limit (m)", + "renderer": { + "type": "text" + } + }, + { + "field": "cpuRequestUsedMillicores", + "title": "CPU Requests Used (m)", + "renderer": { + "type": "text" + } + }, + { + "field": "memoryRequestHardBytes", + "title": "Memory Requests Limit", + "renderer": { + "type": "text" + } + }, + { + "field": "memoryRequestUsedBytes", + "title": "Memory Requests Used", + "renderer": { + "type": "text" + } + }, + { + "field": "cpuLimitHardMillicores", + "title": "CPU Limits Cap (m)", + "renderer": { + "type": "text" + } + }, + { + "field": "cpuLimitUsedMillicores", + "title": "CPU Limits Used (m)", + "renderer": { + "type": "text" + } + }, + { + "field": "memoryLimitHardBytes", + "title": "Memory Limits Cap", + "renderer": { + "type": "text" + } + }, + { + "field": "memoryLimitUsedBytes", + "title": "Memory Limits Used", + "renderer": { + "type": "text" + } + }, + { + "field": "podsHard", + "title": "Pod Limit", + "renderer": { + "type": "text" + } + }, + { + "field": "podsUsed", + "title": "Pods Used", + "renderer": { + "type": "text" + } + }, + { + "field": "limitType", + "title": "Limit Type", + "renderer": { + "type": "text" + } + }, + { + "field": "defaultCpuMillicores", + "title": "Default CPU Limit (m)", + "renderer": { + "type": "text" + } + }, + { + "field": "defaultMemoryBytes", + "title": "Default Memory Limit", + "renderer": { + "type": "text" + } + }, + { + "field": "defaultRequestCpuMillicores", + "title": "Default CPU Request (m)", + "renderer": { + "type": "text" + } + }, + { + "field": "defaultRequestMemoryBytes", + "title": "Default Memory Request", + "renderer": { + "type": "text" + } + }, + { + "field": "maxCpuMillicores", + "title": "Max CPU (m)", + "renderer": { + "type": "text" + } + }, + { + "field": "maxMemoryBytes", + "title": "Max Memory", + "renderer": { + "type": "text" + } + }, + { + "field": "minCpuMillicores", + "title": "Min CPU (m)", + "renderer": { + "type": "text" + } + }, + { + "field": "minMemoryBytes", + "title": "Min Memory", + "renderer": { + "type": "text" + } + }, + { + "field": "nodeName", + "title": "Node", + "renderer": { + "type": "text" + } + }, + { + "field": "podPhase", + "title": "Pod Phase", + "renderer": { + "type": "text" + } + }, + { + "field": "containerHealth[Expanded].rawState", + "title": "Health", + "renderer": { + "type": "badge", + "colors": { + "healthy": "#2BB660", + "pending": "#F59E0B", + "crashloop": "#DE0038" + } + } + } ] } } @@ -492,20 +2387,289 @@ "workspace": "{{workspaceId}}", "variable": "{{variables.[Namespace]}}" }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false, - "columnOrder": [ - "name", - "phase", - "requestedStorageBytes" - ], - "hiddenColumns": [ - "uid", - "namespace", - "volumeName" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "name", + "title": "Name", + "renderer": { + "type": "text" + } + }, + { + "field": "phase[Expanded].rawState", + "title": "Phase", + "renderer": { + "type": "badge", + "colors": { + "Bound": "#2BB660", + "Pending": "#F59E0B", + "Lost": "#DE0038" + } + } + }, + { + "field": "requestedStorageBytes", + "title": "Requested Storage", + "renderer": { + "type": "text" + } + }, + { + "field": "desiredReplicas", + "title": "Desired Replicas", + "renderer": { + "type": "text" + } + }, + { + "field": "availableReplicas", + "title": "Available Replicas", + "renderer": { + "type": "text" + } + }, + { + "field": "availableStatus[Expanded].rawState", + "title": "Available", + "renderer": { + "type": "badge", + "colors": { + "True": "#2BB660", + "False": "#DE0038", + "Unknown": "#94A3B8" + } + } + }, + { + "field": "desiredNumberScheduled", + "title": "Desired Scheduled", + "renderer": { + "type": "text" + } + }, + { + "field": "numberReady", + "title": "Ready", + "renderer": { + "type": "text" + } + }, + { + "field": "daemonSetHealth[Expanded].rawState", + "title": "Health", + "renderer": { + "type": "badge", + "colors": { + "success": "#2BB660", + "error": "#DE0038", + "unknown": "#94A3B8" + } + } + }, + { + "field": "readyReplicas", + "title": "Ready Replicas", + "renderer": { + "type": "text" + } + }, + { + "field": "statefulSetHealth[Expanded].rawState", + "title": "Health", + "renderer": { + "type": "badge", + "colors": { + "success": "#2BB660", + "error": "#DE0038", + "unknown": "#94A3B8" + } + } + }, + { + "field": "serviceType", + "title": "Type", + "renderer": { + "type": "text" + } + }, + { + "field": "ingressClassName", + "title": "Ingress Class", + "renderer": { + "type": "text" + } + }, + { + "field": "hosts", + "title": "Hosts", + "renderer": { + "type": "text" + } + }, + { + "field": "cpuRequestHardMillicores", + "title": "CPU Requests Limit (m)", + "renderer": { + "type": "text" + } + }, + { + "field": "cpuRequestUsedMillicores", + "title": "CPU Requests Used (m)", + "renderer": { + "type": "text" + } + }, + { + "field": "memoryRequestHardBytes", + "title": "Memory Requests Limit", + "renderer": { + "type": "text" + } + }, + { + "field": "memoryRequestUsedBytes", + "title": "Memory Requests Used", + "renderer": { + "type": "text" + } + }, + { + "field": "cpuLimitHardMillicores", + "title": "CPU Limits Cap (m)", + "renderer": { + "type": "text" + } + }, + { + "field": "cpuLimitUsedMillicores", + "title": "CPU Limits Used (m)", + "renderer": { + "type": "text" + } + }, + { + "field": "memoryLimitHardBytes", + "title": "Memory Limits Cap", + "renderer": { + "type": "text" + } + }, + { + "field": "memoryLimitUsedBytes", + "title": "Memory Limits Used", + "renderer": { + "type": "text" + } + }, + { + "field": "podsHard", + "title": "Pod Limit", + "renderer": { + "type": "text" + } + }, + { + "field": "podsUsed", + "title": "Pods Used", + "renderer": { + "type": "text" + } + }, + { + "field": "limitType", + "title": "Limit Type", + "renderer": { + "type": "text" + } + }, + { + "field": "defaultCpuMillicores", + "title": "Default CPU Limit (m)", + "renderer": { + "type": "text" + } + }, + { + "field": "defaultMemoryBytes", + "title": "Default Memory Limit", + "renderer": { + "type": "text" + } + }, + { + "field": "defaultRequestCpuMillicores", + "title": "Default CPU Request (m)", + "renderer": { + "type": "text" + } + }, + { + "field": "defaultRequestMemoryBytes", + "title": "Default Memory Request", + "renderer": { + "type": "text" + } + }, + { + "field": "maxCpuMillicores", + "title": "Max CPU (m)", + "renderer": { + "type": "text" + } + }, + { + "field": "maxMemoryBytes", + "title": "Max Memory", + "renderer": { + "type": "text" + } + }, + { + "field": "minCpuMillicores", + "title": "Min CPU (m)", + "renderer": { + "type": "text" + } + }, + { + "field": "minMemoryBytes", + "title": "Min Memory", + "renderer": { + "type": "text" + } + }, + { + "field": "nodeName", + "title": "Node", + "renderer": { + "type": "text" + } + }, + { + "field": "podPhase", + "title": "Pod Phase", + "renderer": { + "type": "text" + } + }, + { + "field": "containerHealth[Expanded].rawState", + "title": "Health", + "renderer": { + "type": "badge", + "colors": { + "healthy": "#2BB660", + "pending": "#F59E0B", + "crashloop": "#DE0038" + } + } + } ] } } @@ -545,27 +2709,261 @@ "workspace": "{{workspaceId}}", "variable": "{{variables.[Namespace]}}" }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false, - "columnOrder": [ - "name", - "cpuRequestUsedMillicores", - "cpuRequestHardMillicores", - "memoryRequestUsedBytes", - "memoryRequestHardBytes", - "podsUsed", - "podsHard" - ], - "hiddenColumns": [ - "uid", - "namespace", - "cpuLimitHardMillicores", - "cpuLimitUsedMillicores", - "memoryLimitHardBytes", - "memoryLimitUsedBytes" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "name", + "title": "Name", + "renderer": { + "type": "text" + } + }, + { + "field": "cpuRequestUsedMillicores", + "title": "CPU Requests Used (m)", + "renderer": { + "type": "text" + } + }, + { + "field": "cpuRequestHardMillicores", + "title": "CPU Requests Limit (m)", + "renderer": { + "type": "text" + } + }, + { + "field": "memoryRequestUsedBytes", + "title": "Memory Requests Used", + "renderer": { + "type": "text" + } + }, + { + "field": "memoryRequestHardBytes", + "title": "Memory Requests Limit", + "renderer": { + "type": "text" + } + }, + { + "field": "podsUsed", + "title": "Pods Used", + "renderer": { + "type": "text" + } + }, + { + "field": "podsHard", + "title": "Pod Limit", + "renderer": { + "type": "text" + } + }, + { + "field": "desiredReplicas", + "title": "Desired Replicas", + "renderer": { + "type": "text" + } + }, + { + "field": "availableReplicas", + "title": "Available Replicas", + "renderer": { + "type": "text" + } + }, + { + "field": "availableStatus[Expanded].rawState", + "title": "Available", + "renderer": { + "type": "badge", + "colors": { + "True": "#2BB660", + "False": "#DE0038", + "Unknown": "#94A3B8" + } + } + }, + { + "field": "desiredNumberScheduled", + "title": "Desired Scheduled", + "renderer": { + "type": "text" + } + }, + { + "field": "numberReady", + "title": "Ready", + "renderer": { + "type": "text" + } + }, + { + "field": "daemonSetHealth[Expanded].rawState", + "title": "Health", + "renderer": { + "type": "badge", + "colors": { + "success": "#2BB660", + "error": "#DE0038", + "unknown": "#94A3B8" + } + } + }, + { + "field": "readyReplicas", + "title": "Ready Replicas", + "renderer": { + "type": "text" + } + }, + { + "field": "statefulSetHealth[Expanded].rawState", + "title": "Health", + "renderer": { + "type": "badge", + "colors": { + "success": "#2BB660", + "error": "#DE0038", + "unknown": "#94A3B8" + } + } + }, + { + "field": "serviceType", + "title": "Type", + "renderer": { + "type": "text" + } + }, + { + "field": "ingressClassName", + "title": "Ingress Class", + "renderer": { + "type": "text" + } + }, + { + "field": "hosts", + "title": "Hosts", + "renderer": { + "type": "text" + } + }, + { + "field": "phase[Expanded].rawState", + "title": "Phase", + "renderer": { + "type": "badge", + "colors": { + "Bound": "#2BB660", + "Pending": "#F59E0B", + "Lost": "#DE0038" + } + } + }, + { + "field": "requestedStorageBytes", + "title": "Requested Storage", + "renderer": { + "type": "text" + } + }, + { + "field": "limitType", + "title": "Limit Type", + "renderer": { + "type": "text" + } + }, + { + "field": "defaultCpuMillicores", + "title": "Default CPU Limit (m)", + "renderer": { + "type": "text" + } + }, + { + "field": "defaultMemoryBytes", + "title": "Default Memory Limit", + "renderer": { + "type": "text" + } + }, + { + "field": "defaultRequestCpuMillicores", + "title": "Default CPU Request (m)", + "renderer": { + "type": "text" + } + }, + { + "field": "defaultRequestMemoryBytes", + "title": "Default Memory Request", + "renderer": { + "type": "text" + } + }, + { + "field": "maxCpuMillicores", + "title": "Max CPU (m)", + "renderer": { + "type": "text" + } + }, + { + "field": "maxMemoryBytes", + "title": "Max Memory", + "renderer": { + "type": "text" + } + }, + { + "field": "minCpuMillicores", + "title": "Min CPU (m)", + "renderer": { + "type": "text" + } + }, + { + "field": "minMemoryBytes", + "title": "Min Memory", + "renderer": { + "type": "text" + } + }, + { + "field": "nodeName", + "title": "Node", + "renderer": { + "type": "text" + } + }, + { + "field": "podPhase", + "title": "Pod Phase", + "renderer": { + "type": "text" + } + }, + { + "field": "containerHealth[Expanded].rawState", + "title": "Health", + "renderer": { + "type": "badge", + "colors": { + "healthy": "#2BB660", + "pending": "#F59E0B", + "crashloop": "#DE0038" + } + } + } ] } } @@ -605,26 +3003,261 @@ "workspace": "{{workspaceId}}", "variable": "{{variables.[Namespace]}}" }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false, - "columnOrder": [ - "name", - "limitType", - "defaultRequestCpuMillicores", - "defaultCpuMillicores", - "defaultRequestMemoryBytes", - "defaultMemoryBytes" - ], - "hiddenColumns": [ - "uid", - "namespace", - "maxCpuMillicores", - "maxMemoryBytes", - "minCpuMillicores", - "minMemoryBytes" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "name", + "title": "Name", + "renderer": { + "type": "text" + } + }, + { + "field": "limitType", + "title": "Limit Type", + "renderer": { + "type": "text" + } + }, + { + "field": "defaultRequestCpuMillicores", + "title": "Default CPU Request (m)", + "renderer": { + "type": "text" + } + }, + { + "field": "defaultCpuMillicores", + "title": "Default CPU Limit (m)", + "renderer": { + "type": "text" + } + }, + { + "field": "defaultRequestMemoryBytes", + "title": "Default Memory Request", + "renderer": { + "type": "text" + } + }, + { + "field": "defaultMemoryBytes", + "title": "Default Memory Limit", + "renderer": { + "type": "text" + } + }, + { + "field": "desiredReplicas", + "title": "Desired Replicas", + "renderer": { + "type": "text" + } + }, + { + "field": "availableReplicas", + "title": "Available Replicas", + "renderer": { + "type": "text" + } + }, + { + "field": "availableStatus[Expanded].rawState", + "title": "Available", + "renderer": { + "type": "badge", + "colors": { + "True": "#2BB660", + "False": "#DE0038", + "Unknown": "#94A3B8" + } + } + }, + { + "field": "desiredNumberScheduled", + "title": "Desired Scheduled", + "renderer": { + "type": "text" + } + }, + { + "field": "numberReady", + "title": "Ready", + "renderer": { + "type": "text" + } + }, + { + "field": "daemonSetHealth[Expanded].rawState", + "title": "Health", + "renderer": { + "type": "badge", + "colors": { + "success": "#2BB660", + "error": "#DE0038", + "unknown": "#94A3B8" + } + } + }, + { + "field": "readyReplicas", + "title": "Ready Replicas", + "renderer": { + "type": "text" + } + }, + { + "field": "statefulSetHealth[Expanded].rawState", + "title": "Health", + "renderer": { + "type": "badge", + "colors": { + "success": "#2BB660", + "error": "#DE0038", + "unknown": "#94A3B8" + } + } + }, + { + "field": "serviceType", + "title": "Type", + "renderer": { + "type": "text" + } + }, + { + "field": "ingressClassName", + "title": "Ingress Class", + "renderer": { + "type": "text" + } + }, + { + "field": "hosts", + "title": "Hosts", + "renderer": { + "type": "text" + } + }, + { + "field": "phase[Expanded].rawState", + "title": "Phase", + "renderer": { + "type": "badge", + "colors": { + "Bound": "#2BB660", + "Pending": "#F59E0B", + "Lost": "#DE0038" + } + } + }, + { + "field": "requestedStorageBytes", + "title": "Requested Storage", + "renderer": { + "type": "text" + } + }, + { + "field": "cpuRequestHardMillicores", + "title": "CPU Requests Limit (m)", + "renderer": { + "type": "text" + } + }, + { + "field": "cpuRequestUsedMillicores", + "title": "CPU Requests Used (m)", + "renderer": { + "type": "text" + } + }, + { + "field": "memoryRequestHardBytes", + "title": "Memory Requests Limit", + "renderer": { + "type": "text" + } + }, + { + "field": "memoryRequestUsedBytes", + "title": "Memory Requests Used", + "renderer": { + "type": "text" + } + }, + { + "field": "cpuLimitHardMillicores", + "title": "CPU Limits Cap (m)", + "renderer": { + "type": "text" + } + }, + { + "field": "cpuLimitUsedMillicores", + "title": "CPU Limits Used (m)", + "renderer": { + "type": "text" + } + }, + { + "field": "memoryLimitHardBytes", + "title": "Memory Limits Cap", + "renderer": { + "type": "text" + } + }, + { + "field": "memoryLimitUsedBytes", + "title": "Memory Limits Used", + "renderer": { + "type": "text" + } + }, + { + "field": "podsHard", + "title": "Pod Limit", + "renderer": { + "type": "text" + } + }, + { + "field": "podsUsed", + "title": "Pods Used", + "renderer": { + "type": "text" + } + }, + { + "field": "nodeName", + "title": "Node", + "renderer": { + "type": "text" + } + }, + { + "field": "podPhase", + "title": "Pod Phase", + "renderer": { + "type": "text" + } + }, + { + "field": "containerHealth[Expanded].rawState", + "title": "Health", + "renderer": { + "type": "badge", + "colors": { + "healthy": "#2BB660", + "pending": "#F59E0B", + "crashloop": "#DE0038" + } + } + } ] } } diff --git a/plugins/Kubernetes/v1/defaultContent/Perspectives/node.dash.json b/plugins/Kubernetes/v1/defaultContent/Perspectives/node.dash.json index 6b658cb3..4e320eef 100644 --- a/plugins/Kubernetes/v1/defaultContent/Perspectives/node.dash.json +++ b/plugins/Kubernetes/v1/defaultContent/Perspectives/node.dash.json @@ -77,11 +77,13 @@ "workspace": "{{workspaceId}}", "variable": "{{variables.[Node]}}" }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": true + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableTranspose": true } } } @@ -116,15 +118,23 @@ "workspace": "{{workspaceId}}", "variable": "{{variables.[Node]}}" }, - "visualisation": { - "type": "data-stream-blocks", - "config": { - "data-stream-blocks": { - "labelColumn": "name", - "stateColumn": "readyStatus", - "sublabel": "kubeletVersion", - "linkColumn": "none", - "columns": 1 + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "statusGrid", + "encoding": { + "label": { + "field": "name", + "type": "nominal" + }, + "status": { + "field": "readyStatus", + "type": "nominal" + } + }, + "style": { + "statusGridColumnsPerRow": 1, + "statusGridSecondaryTemplate": "{{{{raw}}}}{{kubeletVersion}}{{{{/raw}}}}" } } } @@ -160,21 +170,45 @@ "workspace": "{{workspaceId}}", "variable": "{{variables.[Node]}}" }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false, - "columnOrder": [ - "name", - "namespace", - "phase", - "containerHealth" - ], - "hiddenColumns": [ - "uid", - "ownerName", - "nodeName" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "name", + "title": "Name", + "renderer": { + "type": "text" + } + }, + { + "field": "namespace", + "title": "Namespace", + "renderer": { + "type": "text" + } + }, + { + "field": "phase", + "title": "Phase", + "renderer": { + "type": "text" + } + }, + { + "field": "containerHealth[Expanded].rawState", + "title": "Health", + "renderer": { + "type": "badge", + "colors": { + "healthy": "#2BB660", + "pending": "#F59E0B", + "crashloop": "#DE0038" + } + } + } ] } } @@ -218,12 +252,21 @@ "workspace": "{{workspaceId}}", "variable": "{{variables.[Node]}}" }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "cpuUsageMillicores", - "comparisonColumn": "none" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "cpuUsageMillicores", + "type": "quantitative", + "title": "CPU Usage (m)" + } + ] + }, + "style": { + "scalarLabelPosition": "none" } } } @@ -266,12 +309,21 @@ "workspace": "{{workspaceId}}", "variable": "{{variables.[Node]}}" }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "memoryUsageBytes", - "comparisonColumn": "none" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "memoryUsageBytes", + "type": "quantitative", + "title": "Memory Usage" + } + ] + }, + "style": { + "scalarLabelPosition": "none" } } } diff --git a/plugins/Kubernetes/v1/defaultContent/Perspectives/persistentvolume.dash.json b/plugins/Kubernetes/v1/defaultContent/Perspectives/persistentvolume.dash.json index 5088ffbd..7ee2c42c 100644 --- a/plugins/Kubernetes/v1/defaultContent/Perspectives/persistentvolume.dash.json +++ b/plugins/Kubernetes/v1/defaultContent/Perspectives/persistentvolume.dash.json @@ -50,11 +50,13 @@ "workspace": "{{workspaceId}}", "variable": "{{variables.[PersistentVolume]}}" }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": true + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableTranspose": true } } } @@ -89,15 +91,22 @@ "workspace": "{{workspaceId}}", "variable": "{{variables.[PersistentVolume]}}" }, - "visualisation": { - "type": "data-stream-blocks", - "config": { - "data-stream-blocks": { - "labelColumn": "name", - "stateColumn": "phase", - "sublabel": "none", - "linkColumn": "none", - "columns": 1 + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "statusGrid", + "encoding": { + "label": { + "field": "name", + "type": "nominal" + }, + "status": { + "field": "phase", + "type": "nominal" + } + }, + "style": { + "statusGridColumnsPerRow": 1 } } } @@ -143,12 +152,21 @@ "workspace": "{{workspaceId}}", "variable": "{{variables.[PersistentVolume]}}" }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "capacityBytes", - "comparisonColumn": "none" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "capacityBytes", + "type": "quantitative", + "title": "Capacity Bytes" + } + ] + }, + "style": { + "scalarLabelPosition": "none" } } } @@ -184,19 +202,33 @@ "workspace": "{{workspaceId}}", "variable": "{{variables.[PersistentVolume]}}" }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false, - "columnOrder": [ - "name", - "phase", - "requestedStorageBytes" - ], - "hiddenColumns": [ - "uid", - "pvName" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "name", + "title": "Name", + "renderer": { + "type": "text" + } + }, + { + "field": "phase", + "title": "Phase", + "renderer": { + "type": "text" + } + }, + { + "field": "requestedStorageBytes", + "title": "Requested Storage", + "renderer": { + "type": "text" + } + } ] } } diff --git a/plugins/Kubernetes/v1/defaultContent/Perspectives/pod.dash.json b/plugins/Kubernetes/v1/defaultContent/Perspectives/pod.dash.json index 39dab63f..d6b0a597 100644 --- a/plugins/Kubernetes/v1/defaultContent/Perspectives/pod.dash.json +++ b/plugins/Kubernetes/v1/defaultContent/Perspectives/pod.dash.json @@ -59,11 +59,13 @@ "workspace": "{{workspaceId}}", "variable": "{{variables.[Pod]}}" }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": true + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableTranspose": true } } } @@ -98,15 +100,23 @@ "workspace": "{{workspaceId}}", "variable": "{{variables.[Pod]}}" }, - "visualisation": { - "type": "data-stream-blocks", - "config": { - "data-stream-blocks": { - "labelColumn": "name", - "stateColumn": "containerHealth", - "sublabel": "phase", - "linkColumn": "none", - "columns": 1 + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "statusGrid", + "encoding": { + "label": { + "field": "name", + "type": "nominal" + }, + "status": { + "field": "containerHealth", + "type": "nominal" + } + }, + "style": { + "statusGridColumnsPerRow": 1, + "statusGridSecondaryTemplate": "{{{{raw}}}}{{phase}}{{{{/raw}}}}" } } } @@ -149,12 +159,21 @@ "workspace": "{{workspaceId}}", "variable": "{{variables.[Pod]}}" }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "cpuUsageMillicores", - "comparisonColumn": "none" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "cpuUsageMillicores", + "type": "quantitative", + "title": "CPU Usage (m)" + } + ] + }, + "style": { + "scalarLabelPosition": "none" } } } @@ -197,12 +216,21 @@ "workspace": "{{workspaceId}}", "variable": "{{variables.[Pod]}}" }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "memoryUsageBytes", - "comparisonColumn": "none" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "memoryUsageBytes", + "type": "quantitative", + "title": "Memory Usage" + } + ] + }, + "style": { + "scalarLabelPosition": "none" } } } @@ -237,12 +265,21 @@ "workspace": "{{workspaceId}}", "variable": "{{variables.[Pod]}}" }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "restartCount", - "comparisonColumn": "none" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "restartCount", + "type": "quantitative", + "title": "Restart Count" + } + ] + }, + "style": { + "scalarLabelPosition": "none" } } } diff --git a/plugins/Kubernetes/v1/defaultContent/Perspectives/service.dash.json b/plugins/Kubernetes/v1/defaultContent/Perspectives/service.dash.json index e4613fc4..db58ccc2 100644 --- a/plugins/Kubernetes/v1/defaultContent/Perspectives/service.dash.json +++ b/plugins/Kubernetes/v1/defaultContent/Perspectives/service.dash.json @@ -39,11 +39,13 @@ "workspace": "{{workspaceId}}", "variable": "{{variables.[Service]}}" }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": true + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableTranspose": true } } } @@ -78,12 +80,21 @@ "workspace": "{{workspaceId}}", "variable": "{{variables.[Service]}}" }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "serviceType", - "comparisonColumn": "none" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "serviceType", + "type": "quantitative", + "title": "Service Type" + } + ] + }, + "style": { + "scalarLabelPosition": "none" } } } @@ -119,20 +130,45 @@ "workspace": "{{workspaceId}}", "variable": "{{variables.[Service]}}" }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false, - "columnOrder": [ - "name", - "phase", - "containerHealth" - ], - "hiddenColumns": [ - "uid", - "namespace", - "ownerName" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "name", + "title": "Name", + "renderer": { + "type": "text" + } + }, + { + "field": "phase", + "title": "Phase", + "renderer": { + "type": "text" + } + }, + { + "field": "containerHealth[Expanded].rawState", + "title": "Health", + "renderer": { + "type": "badge", + "colors": { + "healthy": "#2BB660", + "pending": "#F59E0B", + "crashloop": "#DE0038" + } + } + }, + { + "field": "nodeName", + "title": "Node", + "renderer": { + "type": "text" + } + } ] } } diff --git a/plugins/Kubernetes/v1/defaultContent/Perspectives/statefulset.dash.json b/plugins/Kubernetes/v1/defaultContent/Perspectives/statefulset.dash.json index 7789dabb..93b4c1d0 100644 --- a/plugins/Kubernetes/v1/defaultContent/Perspectives/statefulset.dash.json +++ b/plugins/Kubernetes/v1/defaultContent/Perspectives/statefulset.dash.json @@ -39,11 +39,13 @@ "workspace": "{{workspaceId}}", "variable": "{{variables.[StatefulSet]}}" }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": true + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableTranspose": true } } } @@ -78,15 +80,23 @@ "workspace": "{{workspaceId}}", "variable": "{{variables.[StatefulSet]}}" }, - "visualisation": { - "type": "data-stream-blocks", - "config": { - "data-stream-blocks": { - "labelColumn": "name", - "stateColumn": "statefulSetHealth", - "sublabel": "namespace", - "linkColumn": "none", - "columns": 1 + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "statusGrid", + "encoding": { + "label": { + "field": "name", + "type": "nominal" + }, + "status": { + "field": "statefulSetHealth", + "type": "nominal" + } + }, + "style": { + "statusGridColumnsPerRow": 1, + "statusGridSecondaryTemplate": "{{{{raw}}}}{{namespace}}{{{{/raw}}}}" } } } @@ -122,20 +132,45 @@ "workspace": "{{workspaceId}}", "variable": "{{variables.[StatefulSet]}}" }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false, - "columnOrder": [ - "name", - "phase", - "containerHealth" - ], - "hiddenColumns": [ - "uid", - "namespace", - "ownerName" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "name", + "title": "Name", + "renderer": { + "type": "text" + } + }, + { + "field": "phase", + "title": "Phase", + "renderer": { + "type": "text" + } + }, + { + "field": "containerHealth[Expanded].rawState", + "title": "Health", + "renderer": { + "type": "badge", + "colors": { + "healthy": "#2BB660", + "pending": "#F59E0B", + "crashloop": "#DE0038" + } + } + }, + { + "field": "nodeName", + "title": "Node", + "renderer": { + "type": "text" + } + } ] } } diff --git a/plugins/Kubernetes/v1/metadata.json b/plugins/Kubernetes/v1/metadata.json index cc6b95b7..77c941da 100644 --- a/plugins/Kubernetes/v1/metadata.json +++ b/plugins/Kubernetes/v1/metadata.json @@ -1,7 +1,7 @@ { "name": "kubernetes", "displayName": "Kubernetes", - "version": "1.0.1", + "version": "1.0.2", "author": { "name": "SquaredUp Labs", "type": "labs" diff --git a/plugins/Lichess/v1/defaultContent/overview.dash.json b/plugins/Lichess/v1/defaultContent/overview.dash.json index 636fec67..fb10c8ed 100644 --- a/plugins/Lichess/v1/defaultContent/overview.dash.json +++ b/plugins/Lichess/v1/defaultContent/overview.dash.json @@ -251,36 +251,15 @@ "version": "1.0", "visualization": { "chartType": "richTable", - "encoding": { - "columns": [ - { - "field": "name", - "title": "Name", - "renderer": { - "type": "text" - } - }, - { - "field": "description", - "title": "Description", - "renderer": { - "type": "text" - } - }, - { - "field": "open", - "title": "Open", - "renderer": { - "type": "text" - } - }, - { - "field": "nbMembers", - "title": "Nb Members", - "renderer": { - "type": "text" - } - } + "encoding": {}, + "style": { + "richTableHiddenColumns": [ + "id", + "links", + "type", + "label", + "sourceId", + "sourceType" ] } } diff --git a/plugins/Lichess/v1/defaultContent/team.dash.json b/plugins/Lichess/v1/defaultContent/team.dash.json index dfb9dea1..eecb159b 100644 --- a/plugins/Lichess/v1/defaultContent/team.dash.json +++ b/plugins/Lichess/v1/defaultContent/team.dash.json @@ -37,40 +37,17 @@ "version": "1.0", "visualization": { "chartType": "richTable", - "encoding": { - "columns": [ - { - "field": "name", - "title": "Name", - "renderer": { - "type": "text" - } - }, - { - "field": "description", - "title": "Description", - "renderer": { - "type": "text" - } - }, - { - "field": "open", - "title": "Open", - "renderer": { - "type": "text" - } - }, - { - "field": "nbMembers", - "title": "Nb Members", - "renderer": { - "type": "text" - } - } - ] - }, + "encoding": {}, "style": { - "richTableTranspose": true + "richTableTranspose": true, + "richTableHiddenColumns": [ + "id", + "links", + "type", + "label", + "sourceId", + "sourceType" + ] } } } diff --git a/plugins/Lichess/v1/metadata.json b/plugins/Lichess/v1/metadata.json index c6eed709..11618d29 100644 --- a/plugins/Lichess/v1/metadata.json +++ b/plugins/Lichess/v1/metadata.json @@ -1,7 +1,7 @@ { "name": "lichess", "displayName": "Lichess", - "version": "1.0.1", + "version": "1.0.2", "author": { "name": "@morgan-evans", "type": "community" diff --git a/plugins/MyEnergi/v1/defaultContent/eddi.dash.json b/plugins/MyEnergi/v1/defaultContent/eddi.dash.json index c5de8dee..ecbcfa3b 100644 --- a/plugins/MyEnergi/v1/defaultContent/eddi.dash.json +++ b/plugins/MyEnergi/v1/defaultContent/eddi.dash.json @@ -661,33 +661,58 @@ "variables": [ "{{variables.[Eddi]}}" ], - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": true, - "columnOrder": [ - "name", - "serial", - "firmware", - "heater1Name", - "heater2Name", - "ctTypes" - ], - "hiddenColumns": [ - "id", - "links", - "type", - "label", - "sourceId", - "sourceType", - "sourceName" - ], - "columnDisplayNames": { - "heater1Name": "Heater 1", - "heater2Name": "Heater 2", - "ctTypes": "CT types" - } + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "name", + "title": "Name", + "renderer": { + "type": "text" + } + }, + { + "field": "serial", + "title": "Serial", + "renderer": { + "type": "text" + } + }, + { + "field": "firmware", + "title": "Firmware", + "renderer": { + "type": "text" + } + }, + { + "field": "heater1Name", + "title": "Heater 1", + "renderer": { + "type": "text" + } + }, + { + "field": "heater2Name", + "title": "Heater 2", + "renderer": { + "type": "text" + } + }, + { + "field": "ctTypes", + "title": "CT types", + "renderer": { + "type": "text" + } + } + ] + }, + "style": { + "richTableTranspose": true } } } diff --git a/plugins/MyEnergi/v1/defaultContent/harvi.dash.json b/plugins/MyEnergi/v1/defaultContent/harvi.dash.json index 17cf4184..ec2c3a73 100644 --- a/plugins/MyEnergi/v1/defaultContent/harvi.dash.json +++ b/plugins/MyEnergi/v1/defaultContent/harvi.dash.json @@ -40,30 +40,51 @@ "variables": [ "{{variables.[Harvi]}}" ], - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": true, - "columnOrder": [ - "name", - "serial", - "firmware", - "phases", - "ctTypes" - ], - "hiddenColumns": [ - "id", - "links", - "type", - "label", - "sourceId", - "sourceType", - "sourceName" - ], - "columnDisplayNames": { - "ctTypes": "CT types" - } + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "name", + "title": "Name", + "renderer": { + "type": "text" + } + }, + { + "field": "serial", + "title": "Serial", + "renderer": { + "type": "text" + } + }, + { + "field": "firmware", + "title": "Firmware", + "renderer": { + "type": "text" + } + }, + { + "field": "phases", + "title": "Phases", + "renderer": { + "type": "text" + } + }, + { + "field": "ctTypes", + "title": "CT types", + "renderer": { + "type": "text" + } + } + ] + }, + "style": { + "richTableTranspose": true } } } diff --git a/plugins/MyEnergi/v1/defaultContent/libbi.dash.json b/plugins/MyEnergi/v1/defaultContent/libbi.dash.json index 2fd9e94d..16902052 100644 --- a/plugins/MyEnergi/v1/defaultContent/libbi.dash.json +++ b/plugins/MyEnergi/v1/defaultContent/libbi.dash.json @@ -40,33 +40,58 @@ "variables": [ "{{variables.[Libbi]}}" ], - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": true, - "columnOrder": [ - "name", - "serial", - "firmware", - "batteryCapacity", - "inverterSize", - "ctTypes" - ], - "hiddenColumns": [ - "id", - "links", - "type", - "label", - "sourceId", - "sourceType", - "sourceName" - ], - "columnDisplayNames": { - "batteryCapacity": "Battery capacity", - "inverterSize": "Inverter size", - "ctTypes": "CT types" - } + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "name", + "title": "Name", + "renderer": { + "type": "text" + } + }, + { + "field": "serial", + "title": "Serial", + "renderer": { + "type": "text" + } + }, + { + "field": "firmware", + "title": "Firmware", + "renderer": { + "type": "text" + } + }, + { + "field": "batteryCapacity", + "title": "Battery capacity", + "renderer": { + "type": "text" + } + }, + { + "field": "inverterSize", + "title": "Inverter size", + "renderer": { + "type": "text" + } + }, + { + "field": "ctTypes", + "title": "CT types", + "renderer": { + "type": "text" + } + } + ] + }, + "style": { + "richTableTranspose": true } } } diff --git a/plugins/MyEnergi/v1/defaultContent/zappi.dash.json b/plugins/MyEnergi/v1/defaultContent/zappi.dash.json index 490c64ec..1697f7b2 100644 --- a/plugins/MyEnergi/v1/defaultContent/zappi.dash.json +++ b/plugins/MyEnergi/v1/defaultContent/zappi.dash.json @@ -729,30 +729,51 @@ "variables": [ "{{variables.[Zappi]}}" ], - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": true, - "columnOrder": [ - "name", - "serial", - "firmware", - "phases", - "ctTypes" - ], - "hiddenColumns": [ - "id", - "links", - "type", - "label", - "sourceId", - "sourceType", - "sourceName" - ], - "columnDisplayNames": { - "ctTypes": "CT types" - } + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "name", + "title": "Name", + "renderer": { + "type": "text" + } + }, + { + "field": "serial", + "title": "Serial", + "renderer": { + "type": "text" + } + }, + { + "field": "firmware", + "title": "Firmware", + "renderer": { + "type": "text" + } + }, + { + "field": "phases", + "title": "Phases", + "renderer": { + "type": "text" + } + }, + { + "field": "ctTypes", + "title": "CT types", + "renderer": { + "type": "text" + } + } + ] + }, + "style": { + "richTableTranspose": true } } } diff --git a/plugins/MyEnergi/v1/metadata.json b/plugins/MyEnergi/v1/metadata.json index 8bd4961c..38a154c1 100644 --- a/plugins/MyEnergi/v1/metadata.json +++ b/plugins/MyEnergi/v1/metadata.json @@ -1,7 +1,7 @@ { "name": "myenergi", "displayName": "myenergi", - "version": "1.0.0", + "version": "1.0.1", "author": { "name": "@adamkinniburgh", "type": "community" diff --git a/plugins/N-Central/v1/defaultContent/customerPerspective.dash.json b/plugins/N-Central/v1/defaultContent/customerPerspective.dash.json index 0aa077b8..5782d07f 100644 --- a/plugins/N-Central/v1/defaultContent/customerPerspective.dash.json +++ b/plugins/N-Central/v1/defaultContent/customerPerspective.dash.json @@ -33,12 +33,16 @@ "workspace": "{{workspaceId}}", "variable": "{{variables.[Customer]}}" }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": { "type": "count" }, - "comparisonColumn": "none" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [] + }, + "style": { + "scalarLabelPosition": "none", + "scalarRowCount": true } } } @@ -69,10 +73,14 @@ "workspace": "{{workspaceId}}", "variable": "{{variables.[Customer]}}" }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { "transpose": true } + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableTranspose": true + } } } } @@ -107,16 +115,29 @@ "workspace": "{{workspaceId}}", "variable": "{{variables.[Customer]}}" }, - "visualisation": { - "type": "data-stream-donut-chart", - "config": { - "data-stream-donut-chart": { - "valueColumn": "count", - "labelColumn": "serviceType_uniqueValues", - "hideCenterValue": false, - "showValuesAsPercentage": false, - "legendPosition": "right", - "legendMode": "table" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "pie", + "encoding": { + "label": { + "field": "serviceType_uniqueValues", + "type": "nominal", + "title": "Service Type" + }, + "value": { + "field": "count", + "type": "quantitative", + "aggregate": "sum", + "title": "Count" + } + }, + "style": { + "pieInnerRadius": 60, + "pieDonutCenterValue": "total", + "labelFontSize": 16, + "pieSort": "desc", + "pieLegendStyle": "table" } } } @@ -151,26 +172,47 @@ "workspace": "{{workspaceId}}", "variable": "{{variables.[Customer]}}" }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false, - "columnOrder": [ - "_extra.deviceName", - "serviceName", - "serviceType", - "notificationState", - "_extra.transitionTime" - ], - "hiddenColumns": [ - "orgUnitId", - "deviceId", - "_extra.licenseMode", - "_extra.remoteControllable", - "serviceId", - "taskId", - "serviceItemId" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "_extra.deviceName", + "title": "Device", + "renderer": { + "type": "text" + } + }, + { + "field": "serviceName", + "title": "Service", + "renderer": { + "type": "text" + } + }, + { + "field": "serviceType", + "title": "Service Type", + "renderer": { + "type": "text" + } + }, + { + "field": "notificationState", + "title": "Notification State", + "renderer": { + "type": "text" + } + }, + { + "field": "_extra.transitionTime", + "title": "Since", + "renderer": { + "type": "date" + } + } ] } } @@ -205,17 +247,51 @@ } } }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false, - "columnOrder": [ - "longName", - "deviceClass", - "supportedOs", - "licenseMode", - "isProbe" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "longName", + "title": "Device", + "renderer": { + "type": "text" + } + }, + { + "field": "deviceClass", + "title": "Device Class", + "renderer": { + "type": "text" + } + }, + { + "field": "supportedOs", + "title": "OS", + "renderer": { + "type": "text" + } + }, + { + "field": "licenseMode", + "title": "License Mode", + "renderer": { + "type": "text" + } + }, + { + "field": "isProbe", + "title": "Probe", + "renderer": { + "type": "boolean", + "trueLabel": "Yes", + "falseLabel": "No", + "trueColor": "inherit", + "falseColor": "inherit" + } + } ] } } diff --git a/plugins/N-Central/v1/defaultContent/devicePerspective.dash.json b/plugins/N-Central/v1/defaultContent/devicePerspective.dash.json index 1985a538..ac25905d 100644 --- a/plugins/N-Central/v1/defaultContent/devicePerspective.dash.json +++ b/plugins/N-Central/v1/defaultContent/devicePerspective.dash.json @@ -32,10 +32,14 @@ "workspace": "{{workspaceId}}", "variable": "{{variables.[Device]}}" }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { "transpose": true } + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableTranspose": true + } } } } @@ -66,10 +70,14 @@ "workspace": "{{workspaceId}}", "variable": "{{variables.[Device]}}" }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { "transpose": true } + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableTranspose": true + } } } } @@ -100,15 +108,23 @@ "workspace": "{{workspaceId}}", "variable": "{{variables.[Device]}}" }, - "visualisation": { - "type": "data-stream-blocks", - "config": { - "data-stream-blocks": { - "labelColumn": "moduleName", - "stateColumn": "stateStatus", - "sublabel": "applianceName", - "linkColumn": "none", - "columns": 4 + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "statusGrid", + "encoding": { + "label": { + "field": "moduleName", + "type": "nominal" + }, + "status": { + "field": "stateStatus", + "type": "nominal" + } + }, + "style": { + "statusGridColumnsPerRow": 4, + "statusGridSecondaryTemplate": "{{{{raw}}}}{{applianceName}}{{{{/raw}}}}" } } } @@ -148,26 +164,30 @@ "workspace": "{{workspaceId}}", "variable": "{{variables.[Device]}}" }, - "visualisation": { - "type": "data-stream-bar-chart", - "config": { - "data-stream-bar-chart": { - "xAxisData": "category_uniqueValues", - "yAxisData": ["count"], - "xAxisGroup": "none", - "xAxisLabel": "Category", - "yAxisLabel": "Items", - "showXAxisLabel": true, - "showYAxisLabel": true, - "showLegend": false, - "legendPosition": "bottom", - "showGrid": true, - "showValue": true, - "showTotals": false, - "displayMode": "actual", - "horizontalLayout": "horizontal", - "grouping": false, - "range": { "type": "auto" } + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "bar", + "encoding": { + "x": { + "field": "category_uniqueValues", + "type": "nominal", + "title": "Category" + }, + "y": { + "field": "count", + "type": "quantitative", + "title": "Count" + } + }, + "style": { + "legendPosition": "none", + "cartesianShowXAxisTitle": true, + "cartesianXAxisTitle": "Category", + "cartesianShowYAxisTitle": true, + "cartesianYAxisTitle": "Items", + "cartesianHorizontal": true, + "showLabels": true } } } @@ -202,23 +222,58 @@ "workspace": "{{workspaceId}}", "variable": "{{variables.[Device]}}" }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false, - "columnOrder": [ - "moduleName", - "stateStatus", - "lastScanTime", - "applianceName", - "transitionTime" - ], - "hiddenColumns": [ - "taskIdent", - "taskNote", - "timeToStale", - "isManagedTask" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "moduleName", + "title": "Service", + "renderer": { + "type": "text" + } + }, + { + "field": "stateStatus[Expanded].rawState", + "title": "Status", + "renderer": { + "type": "badge", + "colors": { + "Normal": "#2BB660", + "OK": "#2BB660", + "Warning": "#F59E0B", + "Failed": "#DE0038", + "No Data": "#94A3B8", + "Misconfigured": "#94A3B8", + "Stale": "#94A3B8", + "Disconnected": "#94A3B8" + } + } + }, + { + "field": "lastScanTime", + "title": "Last Scan", + "renderer": { + "type": "date", + "relative": true + } + }, + { + "field": "applianceName", + "title": "Probe", + "renderer": { + "type": "text" + } + }, + { + "field": "transitionTime", + "title": "Status Changed", + "renderer": { + "type": "date" + } + } ] } } @@ -254,13 +309,27 @@ "workspace": "{{workspaceId}}", "variable": "{{variables.[Device]}}" }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false, - "columnOrder": ["category", "name"], - "hiddenColumns": ["id"] + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "category", + "title": "Category", + "renderer": { + "type": "text" + } + }, + { + "field": "name", + "title": "Name", + "renderer": { + "type": "text" + } + } + ] } } } diff --git a/plugins/N-Central/v1/defaultContent/overview.dash.json b/plugins/N-Central/v1/defaultContent/overview.dash.json index 41d5435b..ae994c19 100644 --- a/plugins/N-Central/v1/defaultContent/overview.dash.json +++ b/plugins/N-Central/v1/defaultContent/overview.dash.json @@ -30,12 +30,16 @@ "scope": "{{scopes.[Service Organizations]}}", "workspace": "{{workspaceId}}" }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": { "type": "count" }, - "comparisonColumn": "none" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [] + }, + "style": { + "scalarLabelPosition": "none", + "scalarRowCount": true } } } @@ -64,12 +68,16 @@ "scope": "{{scopes.[Customers]}}", "workspace": "{{workspaceId}}" }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": { "type": "count" }, - "comparisonColumn": "none" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [] + }, + "style": { + "scalarLabelPosition": "none", + "scalarRowCount": true } } } @@ -98,12 +106,16 @@ "scope": "{{scopes.[Sites]}}", "workspace": "{{workspaceId}}" }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": { "type": "count" }, - "comparisonColumn": "none" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [] + }, + "style": { + "scalarLabelPosition": "none", + "scalarRowCount": true } } } @@ -129,12 +141,21 @@ "name": "deviceCount", "pluginConfigId": "{{configId}}" }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "result", - "comparisonColumn": "none" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "result", + "type": "quantitative", + "title": "Total Devices" + } + ] + }, + "style": { + "scalarLabelPosition": "none" } } } diff --git a/plugins/N-Central/v1/defaultContent/serviceOrgPerspective.dash.json b/plugins/N-Central/v1/defaultContent/serviceOrgPerspective.dash.json index 16bc5aa6..ace601f8 100644 --- a/plugins/N-Central/v1/defaultContent/serviceOrgPerspective.dash.json +++ b/plugins/N-Central/v1/defaultContent/serviceOrgPerspective.dash.json @@ -32,10 +32,14 @@ "workspace": "{{workspaceId}}", "variable": "{{variables.[Service Organization]}}" }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { "transpose": true } + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableTranspose": true + } } } } @@ -66,12 +70,20 @@ "workspace": "{{workspaceId}}", "variable": "{{variables.[Service Organization]}}" }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false, - "columnOrder": ["customerName"] + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "customerName", + "title": "Customer", + "renderer": { + "type": "text" + } + } + ] } } } diff --git a/plugins/N-Central/v1/defaultContent/sitePerspective.dash.json b/plugins/N-Central/v1/defaultContent/sitePerspective.dash.json index 3580b834..611cf0f2 100644 --- a/plugins/N-Central/v1/defaultContent/sitePerspective.dash.json +++ b/plugins/N-Central/v1/defaultContent/sitePerspective.dash.json @@ -32,10 +32,14 @@ "workspace": "{{workspaceId}}", "variable": "{{variables.[Site]}}" }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { "transpose": true } + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableTranspose": true + } } } } @@ -68,17 +72,51 @@ } } }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false, - "columnOrder": [ - "longName", - "deviceClass", - "supportedOs", - "licenseMode", - "isProbe" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "longName", + "title": "Device", + "renderer": { + "type": "text" + } + }, + { + "field": "deviceClass", + "title": "Device Class", + "renderer": { + "type": "text" + } + }, + { + "field": "supportedOs", + "title": "OS", + "renderer": { + "type": "text" + } + }, + { + "field": "licenseMode", + "title": "License Mode", + "renderer": { + "type": "text" + } + }, + { + "field": "isProbe", + "title": "Probe", + "renderer": { + "type": "boolean", + "trueLabel": "Yes", + "falseLabel": "No", + "trueColor": "inherit", + "falseColor": "inherit" + } + } ] } } diff --git a/plugins/N-Central/v1/metadata.json b/plugins/N-Central/v1/metadata.json index 16ef2f9c..8e626726 100644 --- a/plugins/N-Central/v1/metadata.json +++ b/plugins/N-Central/v1/metadata.json @@ -1,7 +1,7 @@ { "name": "n-central", "displayName": "N-able N-central", - "version": "1.0.14", + "version": "1.0.15", "author": { "name": "@arobavet", "type": "community" }, "description": "Monitor your N-able N-central managed estate — service organizations, customers, sites, devices, inventory, service status, and active issues.", "category": "Monitoring", diff --git a/plugins/NASA/v1/defaultContent/overview.dash.json b/plugins/NASA/v1/defaultContent/overview.dash.json index 23d3f515..3656305f 100644 --- a/plugins/NASA/v1/defaultContent/overview.dash.json +++ b/plugins/NASA/v1/defaultContent/overview.dash.json @@ -322,13 +322,6 @@ "renderer": { "type": "text" } - }, - { - "field": "nasa_jpl_url", - "title": "JPL Details", - "renderer": { - "type": "link" - } } ] } diff --git a/plugins/NASA/v1/defaultContent/spaceWeatherNotification.dash.json b/plugins/NASA/v1/defaultContent/spaceWeatherNotification.dash.json index 3eb0376b..d8a3f3d0 100644 --- a/plugins/NASA/v1/defaultContent/spaceWeatherNotification.dash.json +++ b/plugins/NASA/v1/defaultContent/spaceWeatherNotification.dash.json @@ -35,40 +35,17 @@ "version": "1.0", "visualization": { "chartType": "richTable", - "encoding": { - "columns": [ - { - "field": "messageType", - "title": "Message Type", - "renderer": { - "type": "text" - } - }, - { - "field": "messageIssueTime", - "title": "Message Issue Time", - "renderer": { - "type": "text" - } - }, - { - "field": "messageURL", - "title": "Message URL", - "renderer": { - "type": "text" - } - }, - { - "field": "summary", - "title": "Summary", - "renderer": { - "type": "text" - } - } - ] - }, + "encoding": {}, "style": { - "richTableTranspose": true + "richTableTranspose": true, + "richTableHiddenColumns": [ + "id", + "link", + "links", + "label", + "sourceId", + "sourceType" + ] } } } diff --git a/plugins/NASA/v1/metadata.json b/plugins/NASA/v1/metadata.json index d6292296..14533885 100644 --- a/plugins/NASA/v1/metadata.json +++ b/plugins/NASA/v1/metadata.json @@ -1,7 +1,7 @@ { "name": "nasa", "displayName": "NASA", - "version": "1.2.1", + "version": "1.2.2", "author": { "name": "@BusinessPlatformAutomation", "type": "community" diff --git a/plugins/NetBox/v1/defaultContent/Capacity/dataCenters.dash.json b/plugins/NetBox/v1/defaultContent/Capacity/dataCenters.dash.json index 88568317..6afcb775 100644 --- a/plugins/NetBox/v1/defaultContent/Capacity/dataCenters.dash.json +++ b/plugins/NetBox/v1/defaultContent/Capacity/dataCenters.dash.json @@ -38,13 +38,21 @@ ] } }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "count", - "comparisonColumn": "none", - "label": "Sites" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "count", + "type": "quantitative", + "title": "Count" + } + ] + }, + "style": { + "scalarLabelText": "Sites" } } } @@ -83,13 +91,21 @@ ] } }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "rack_count_sum", - "comparisonColumn": "none", - "label": "Racks" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "rack_count_sum", + "type": "quantitative", + "title": "Racks (Sum)" + } + ] + }, + "style": { + "scalarLabelText": "Racks" } } } @@ -128,13 +144,21 @@ ] } }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "device_count_sum", - "comparisonColumn": "none", - "label": "Devices" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "device_count_sum", + "type": "quantitative", + "title": "Devices (Sum)" + } + ] + }, + "style": { + "scalarLabelText": "Devices" } } } @@ -173,13 +197,21 @@ ] } }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "circuit_count_sum", - "comparisonColumn": "none", - "label": "Circuits" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "circuit_count_sum", + "type": "quantitative", + "title": "Circuits (Sum)" + } + ] + }, + "style": { + "scalarLabelText": "Circuits" } } } @@ -732,26 +764,13 @@ ] } }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false, - "columnOrder": [ - "display", - "status.label", - "region.name", - "group.name", - "facility", - "tenant.name", - "time_zone", - "physical_address", - "rack_count", - "device_count", - "circuit_count", - "display_url" - ], - "hiddenColumns": [ + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableHiddenColumns": [ "latitude", "longitude", "prefix_count", diff --git a/plugins/NetBox/v1/defaultContent/Capacity/ipamCapacity.dash.json b/plugins/NetBox/v1/defaultContent/Capacity/ipamCapacity.dash.json index e465096c..f812bc00 100644 --- a/plugins/NetBox/v1/defaultContent/Capacity/ipamCapacity.dash.json +++ b/plugins/NetBox/v1/defaultContent/Capacity/ipamCapacity.dash.json @@ -38,13 +38,21 @@ ] } }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "count", - "comparisonColumn": "none", - "label": "Prefixes" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "count", + "type": "quantitative", + "title": "Count" + } + ] + }, + "style": { + "scalarLabelText": "Prefixes" } } } @@ -80,13 +88,21 @@ ] } }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "count", - "comparisonColumn": "none", - "label": "VLAN Groups" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "count", + "type": "quantitative", + "title": "Count" + } + ] + }, + "style": { + "scalarLabelText": "VLAN Groups" } } } @@ -122,13 +138,21 @@ ] } }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "count", - "comparisonColumn": "none", - "label": "IP Addresses" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "count", + "type": "quantitative", + "title": "Count" + } + ] + }, + "style": { + "scalarLabelText": "IP Addresses" } } } @@ -167,13 +191,21 @@ ] } }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "count", - "comparisonColumn": "none", - "label": "Unassigned" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "count", + "type": "quantitative", + "title": "Count" + } + ] + }, + "style": { + "scalarLabelText": "Unassigned" } } } diff --git a/plugins/NetBox/v1/defaultContent/Capacity/power.dash.json b/plugins/NetBox/v1/defaultContent/Capacity/power.dash.json index e2dc3d35..fbca38de 100644 --- a/plugins/NetBox/v1/defaultContent/Capacity/power.dash.json +++ b/plugins/NetBox/v1/defaultContent/Capacity/power.dash.json @@ -38,13 +38,21 @@ ] } }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "count", - "comparisonColumn": "none", - "label": "Power Feeds" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "count", + "type": "quantitative", + "title": "Count" + } + ] + }, + "style": { + "scalarLabelText": "Power Feeds" } } } @@ -83,13 +91,21 @@ ] } }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "availableKva_sum", - "comparisonColumn": "none", - "label": "kVA" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "availableKva_sum", + "type": "quantitative", + "title": "Available Power (kVA) (Sum)" + } + ] + }, + "style": { + "scalarLabelText": "kVA" } } } @@ -128,13 +144,21 @@ ] } }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "power_panel.name_distinctCount", - "comparisonColumn": "none", - "label": "Power Panels" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "power_panel.name_distinctCount", + "type": "quantitative", + "title": "Power Panel (distinctCount)" + } + ] + }, + "style": { + "scalarLabelText": "Power Panels" } } } @@ -173,13 +197,21 @@ ] } }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "power_panel.site.name_distinctCount", - "comparisonColumn": "none", - "label": "Sites" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "power_panel.site.name_distinctCount", + "type": "quantitative", + "title": "Site (distinctCount)" + } + ] + }, + "style": { + "scalarLabelText": "Sites" } } } @@ -570,24 +602,13 @@ ] } }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false, - "columnOrder": [ - "name", - "power_panel.site.name", - "rack.name", - "power_panel.name", - "statusLabel", - "typeLabel", - "supplyLabel", - "phaseLabel", - "tenant.name", - "description" - ], - "hiddenColumns": [ + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableHiddenColumns": [ "voltage", "amperage", "availableKva", diff --git a/plugins/NetBox/v1/defaultContent/Capacity/rackCapacity.dash.json b/plugins/NetBox/v1/defaultContent/Capacity/rackCapacity.dash.json index 3321948a..75f3ebbf 100644 --- a/plugins/NetBox/v1/defaultContent/Capacity/rackCapacity.dash.json +++ b/plugins/NetBox/v1/defaultContent/Capacity/rackCapacity.dash.json @@ -535,25 +535,13 @@ ] } }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false, - "columnOrder": [ - "display", - "status.label", - "site.name", - "location.name", - "role.name", - "u_height", - "device_count", - "powerfeed_count", - "tenant.name", - "facility_id", - "display_url" - ], - "hiddenColumns": [ + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableHiddenColumns": [ "created", "serial", "asset_tag", diff --git a/plugins/NetBox/v1/defaultContent/Inventory/changeActivity.dash.json b/plugins/NetBox/v1/defaultContent/Inventory/changeActivity.dash.json index d0594551..f61bc297 100644 --- a/plugins/NetBox/v1/defaultContent/Inventory/changeActivity.dash.json +++ b/plugins/NetBox/v1/defaultContent/Inventory/changeActivity.dash.json @@ -37,13 +37,21 @@ ] } }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "count", - "comparisonColumn": "none", - "label": "Changes" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "count", + "type": "quantitative", + "title": "Count" + } + ] + }, + "style": { + "scalarLabelText": "Changes" } } } @@ -81,13 +89,21 @@ ] } }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "user_name_distinctCount", - "comparisonColumn": "none", - "label": "Users" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "user_name_distinctCount", + "type": "quantitative", + "title": "User (distinctCount)" + } + ] + }, + "style": { + "scalarLabelText": "Users" } } } @@ -132,13 +148,21 @@ ] } }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "count", - "comparisonColumn": "none", - "label": "Created" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "count", + "type": "quantitative", + "title": "Count" + } + ] + }, + "style": { + "scalarLabelText": "Created" } } } @@ -183,13 +207,21 @@ ] } }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "count", - "comparisonColumn": "none", - "label": "Deleted" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "count", + "type": "quantitative", + "title": "Count" + } + ] + }, + "style": { + "scalarLabelText": "Deleted" } } } diff --git a/plugins/NetBox/v1/defaultContent/Inventory/dataQuality.dash.json b/plugins/NetBox/v1/defaultContent/Inventory/dataQuality.dash.json index 5b549c7e..a90c4199 100644 --- a/plugins/NetBox/v1/defaultContent/Inventory/dataQuality.dash.json +++ b/plugins/NetBox/v1/defaultContent/Inventory/dataQuality.dash.json @@ -48,13 +48,21 @@ ] } }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "count", - "comparisonColumn": "none", - "label": "Devices" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "count", + "type": "quantitative", + "title": "Count" + } + ] + }, + "style": { + "scalarLabelText": "Devices" } } } @@ -100,13 +108,21 @@ ] } }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "count", - "comparisonColumn": "none", - "label": "Devices" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "count", + "type": "quantitative", + "title": "Count" + } + ] + }, + "style": { + "scalarLabelText": "Devices" } } } @@ -152,13 +168,21 @@ ] } }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "count", - "comparisonColumn": "none", - "label": "Devices" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "count", + "type": "quantitative", + "title": "Count" + } + ] + }, + "style": { + "scalarLabelText": "Devices" } } } @@ -204,13 +228,21 @@ ] } }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "count", - "comparisonColumn": "none", - "label": "Devices" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "count", + "type": "quantitative", + "title": "Count" + } + ] + }, + "style": { + "scalarLabelText": "Devices" } } } @@ -271,13 +303,21 @@ ] } }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "count", - "comparisonColumn": "none", - "label": "Devices" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "count", + "type": "quantitative", + "title": "Count" + } + ] + }, + "style": { + "scalarLabelText": "Devices" } } } @@ -323,13 +363,21 @@ ] } }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "count", - "comparisonColumn": "none", - "label": "Devices" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "count", + "type": "quantitative", + "title": "Count" + } + ] + }, + "style": { + "scalarLabelText": "Devices" } } } @@ -368,13 +416,21 @@ ] } }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "count", - "comparisonColumn": "none", - "label": "IP Addresses" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "count", + "type": "quantitative", + "title": "Count" + } + ] + }, + "style": { + "scalarLabelText": "IP Addresses" } } } diff --git a/plugins/NetBox/v1/defaultContent/Inventory/deviceInventory.dash.json b/plugins/NetBox/v1/defaultContent/Inventory/deviceInventory.dash.json index d99d67fb..58187789 100644 --- a/plugins/NetBox/v1/defaultContent/Inventory/deviceInventory.dash.json +++ b/plugins/NetBox/v1/defaultContent/Inventory/deviceInventory.dash.json @@ -38,13 +38,21 @@ ] } }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "count", - "comparisonColumn": "none", - "label": "Devices" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "count", + "type": "quantitative", + "title": "Count" + } + ] + }, + "style": { + "scalarLabelText": "Devices" } } } @@ -83,13 +91,21 @@ ] } }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "device_type.model_distinctCount", - "comparisonColumn": "none", - "label": "Models" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "device_type.model_distinctCount", + "type": "quantitative", + "title": "Device Type (distinctCount)" + } + ] + }, + "style": { + "scalarLabelText": "Models" } } } @@ -128,13 +144,21 @@ ] } }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "device_type.manufacturer.name_distinctCount", - "comparisonColumn": "none", - "label": "Manufacturers" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "device_type.manufacturer.name_distinctCount", + "type": "quantitative", + "title": "Manufacturer (distinctCount)" + } + ] + }, + "style": { + "scalarLabelText": "Manufacturers" } } } @@ -173,13 +197,21 @@ ] } }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "site.name_distinctCount", - "comparisonColumn": "none", - "label": "Sites" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "site.name_distinctCount", + "type": "quantitative", + "title": "Site (distinctCount)" + } + ] + }, + "style": { + "scalarLabelText": "Sites" } } } @@ -412,26 +444,13 @@ ] } }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false, - "columnOrder": [ - "display", - "device_type.model", - "device_type.manufacturer.name", - "site.name", - "role.name", - "rack.name", - "position", - "status.label", - "serial", - "primary_ip.display", - "tenant.name", - "display_url" - ], - "hiddenColumns": [ + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableHiddenColumns": [ "missingSerial", "missingPrimaryIp", "missingTenant", diff --git a/plugins/NetBox/v1/defaultContent/Inventory/lifecycleAndCircuits.dash.json b/plugins/NetBox/v1/defaultContent/Inventory/lifecycleAndCircuits.dash.json index c558dfa4..5ce64ec7 100644 --- a/plugins/NetBox/v1/defaultContent/Inventory/lifecycleAndCircuits.dash.json +++ b/plugins/NetBox/v1/defaultContent/Inventory/lifecycleAndCircuits.dash.json @@ -48,13 +48,21 @@ ] } }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "count", - "comparisonColumn": "none", - "label": "Devices" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "count", + "type": "quantitative", + "title": "Count" + } + ] + }, + "style": { + "scalarLabelText": "Devices" } } } @@ -100,13 +108,21 @@ ] } }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "count", - "comparisonColumn": "none", - "label": "Virtual Machines" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "count", + "type": "quantitative", + "title": "Count" + } + ] + }, + "style": { + "scalarLabelText": "Virtual Machines" } } } @@ -142,13 +158,21 @@ ] } }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "count", - "comparisonColumn": "none", - "label": "Circuits" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "count", + "type": "quantitative", + "title": "Count" + } + ] + }, + "style": { + "scalarLabelText": "Circuits" } } } @@ -198,13 +222,21 @@ ] } }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "count", - "comparisonColumn": "none", - "label": "Circuits" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "count", + "type": "quantitative", + "title": "Count" + } + ] + }, + "style": { + "scalarLabelText": "Circuits" } } } diff --git a/plugins/NetBox/v1/defaultContent/Perspectives/circuit.dash.json b/plugins/NetBox/v1/defaultContent/Perspectives/circuit.dash.json index 54214db2..91e862e0 100644 --- a/plugins/NetBox/v1/defaultContent/Perspectives/circuit.dash.json +++ b/plugins/NetBox/v1/defaultContent/Perspectives/circuit.dash.json @@ -37,15 +37,14 @@ "workspace": "{{workspaceId}}", "variable": "{{variables.[NetBox Circuit]}}" }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": true, - "columnOrder": [ - "name" - ], - "hiddenColumns": [ + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableTranspose": true, + "richTableHiddenColumns": [ "id", "links", "type", diff --git a/plugins/NetBox/v1/defaultContent/Perspectives/device.dash.json b/plugins/NetBox/v1/defaultContent/Perspectives/device.dash.json index 7ba64544..35bd51c1 100644 --- a/plugins/NetBox/v1/defaultContent/Perspectives/device.dash.json +++ b/plugins/NetBox/v1/defaultContent/Perspectives/device.dash.json @@ -37,15 +37,14 @@ "workspace": "{{workspaceId}}", "variable": "{{variables.[NetBox Device]}}" }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": true, - "columnOrder": [ - "name" - ], - "hiddenColumns": [ + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableTranspose": true, + "richTableHiddenColumns": [ "id", "links", "type", diff --git a/plugins/NetBox/v1/defaultContent/Perspectives/prefix.dash.json b/plugins/NetBox/v1/defaultContent/Perspectives/prefix.dash.json index 0605d7e8..3eda7bc7 100644 --- a/plugins/NetBox/v1/defaultContent/Perspectives/prefix.dash.json +++ b/plugins/NetBox/v1/defaultContent/Perspectives/prefix.dash.json @@ -37,15 +37,14 @@ "workspace": "{{workspaceId}}", "variable": "{{variables.[NetBox Prefix]}}" }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": true, - "columnOrder": [ - "name" - ], - "hiddenColumns": [ + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableTranspose": true, + "richTableHiddenColumns": [ "id", "links", "type", diff --git a/plugins/NetBox/v1/defaultContent/Perspectives/rack.dash.json b/plugins/NetBox/v1/defaultContent/Perspectives/rack.dash.json index 58134f0b..11286116 100644 --- a/plugins/NetBox/v1/defaultContent/Perspectives/rack.dash.json +++ b/plugins/NetBox/v1/defaultContent/Perspectives/rack.dash.json @@ -37,15 +37,14 @@ "workspace": "{{workspaceId}}", "variable": "{{variables.[NetBox Rack]}}" }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": true, - "columnOrder": [ - "name" - ], - "hiddenColumns": [ + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableTranspose": true, + "richTableHiddenColumns": [ "id", "links", "type", @@ -502,23 +501,13 @@ "variables": [ "{{variables.[NetBox Rack]}}" ], - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false, - "columnOrder": [ - "display", - "position", - "status.label", - "role.name", - "device_type.manufacturer.name", - "device_type.model", - "primary_ip.display", - "serial", - "display_url" - ], - "hiddenColumns": [ + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableHiddenColumns": [ "missingSerial", "missingPrimaryIp", "missingTenant", diff --git a/plugins/NetBox/v1/defaultContent/Perspectives/site.dash.json b/plugins/NetBox/v1/defaultContent/Perspectives/site.dash.json index 237b14b5..45f21866 100644 --- a/plugins/NetBox/v1/defaultContent/Perspectives/site.dash.json +++ b/plugins/NetBox/v1/defaultContent/Perspectives/site.dash.json @@ -37,15 +37,14 @@ "workspace": "{{workspaceId}}", "variable": "{{variables.[NetBox Site]}}" }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": true, - "columnOrder": [ - "name" - ], - "hiddenColumns": [ + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableTranspose": true, + "richTableHiddenColumns": [ "id", "links", "type", @@ -594,26 +593,13 @@ "variables": [ "{{variables.[NetBox Site]}}" ], - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false, - "columnOrder": [ - "display", - "status.label", - "role.name", - "device_type.manufacturer.name", - "device_type.model", - "platform.name", - "rack.name", - "position", - "primary_ip.display", - "tenant.name", - "serial", - "display_url" - ], - "hiddenColumns": [ + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableHiddenColumns": [ "missingSerial", "missingPrimaryIp", "missingTenant", diff --git a/plugins/NetBox/v1/defaultContent/Perspectives/virtualMachine.dash.json b/plugins/NetBox/v1/defaultContent/Perspectives/virtualMachine.dash.json index a34f5a19..8e0fe85f 100644 --- a/plugins/NetBox/v1/defaultContent/Perspectives/virtualMachine.dash.json +++ b/plugins/NetBox/v1/defaultContent/Perspectives/virtualMachine.dash.json @@ -37,15 +37,14 @@ "workspace": "{{workspaceId}}", "variable": "{{variables.[NetBox Virtual Machine]}}" }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": true, - "columnOrder": [ - "name" - ], - "hiddenColumns": [ + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableTranspose": true, + "richTableHiddenColumns": [ "id", "links", "type", diff --git a/plugins/NetBox/v1/defaultContent/overview.dash.json b/plugins/NetBox/v1/defaultContent/overview.dash.json index 36a5c8a8..70c81d63 100644 --- a/plugins/NetBox/v1/defaultContent/overview.dash.json +++ b/plugins/NetBox/v1/defaultContent/overview.dash.json @@ -38,13 +38,21 @@ ] } }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "count", - "comparisonColumn": "none", - "label": "Sites" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "count", + "type": "quantitative", + "title": "Count" + } + ] + }, + "style": { + "scalarLabelText": "Sites" } } } @@ -80,13 +88,21 @@ ] } }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "count", - "comparisonColumn": "none", - "label": "Racks" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "count", + "type": "quantitative", + "title": "Count" + } + ] + }, + "style": { + "scalarLabelText": "Racks" } } } @@ -122,13 +138,21 @@ ] } }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "count", - "comparisonColumn": "none", - "label": "Devices" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "count", + "type": "quantitative", + "title": "Count" + } + ] + }, + "style": { + "scalarLabelText": "Devices" } } } @@ -164,13 +188,21 @@ ] } }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "count", - "comparisonColumn": "none", - "label": "Virtual Machines" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "count", + "type": "quantitative", + "title": "Count" + } + ] + }, + "style": { + "scalarLabelText": "Virtual Machines" } } } @@ -206,13 +238,21 @@ ] } }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "count", - "comparisonColumn": "none", - "label": "Prefixes" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "count", + "type": "quantitative", + "title": "Count" + } + ] + }, + "style": { + "scalarLabelText": "Prefixes" } } } @@ -248,13 +288,21 @@ ] } }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "count", - "comparisonColumn": "none", - "label": "IP Addresses" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "count", + "type": "quantitative", + "title": "Count" + } + ] + }, + "style": { + "scalarLabelText": "IP Addresses" } } } @@ -290,13 +338,21 @@ ] } }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "count", - "comparisonColumn": "none", - "label": "Circuits" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "count", + "type": "quantitative", + "title": "Count" + } + ] + }, + "style": { + "scalarLabelText": "Circuits" } } } @@ -324,13 +380,21 @@ "name": "status", "pluginConfigId": "{{configId}}" }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "netbox-version", - "comparisonColumn": "none", - "label": "Version" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "netbox-version", + "type": "nominal", + "title": "NetBox Version" + } + ] + }, + "style": { + "scalarLabelText": "Version" } } } diff --git a/plugins/NetBox/v1/metadata.json b/plugins/NetBox/v1/metadata.json index 273cdab9..6249c2be 100644 --- a/plugins/NetBox/v1/metadata.json +++ b/plugins/NetBox/v1/metadata.json @@ -1,7 +1,7 @@ { "name": "netbox", "displayName": "NetBox", - "version": "1.1.1", + "version": "1.1.2", "author": { "name": "@shawn149", "type": "community" diff --git a/plugins/NinjaOne/v1/defaultContent/Devices/deviceDetail.dash.json b/plugins/NinjaOne/v1/defaultContent/Devices/deviceDetail.dash.json index ed455cbf..bb0f6214 100644 --- a/plugins/NinjaOne/v1/defaultContent/Devices/deviceDetail.dash.json +++ b/plugins/NinjaOne/v1/defaultContent/Devices/deviceDetail.dash.json @@ -40,13 +40,21 @@ "timeframe": "none", "title": "Alert Count", "variables": ["{{variables.[Device]}}"], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "alertCount_sum", - "comparisonColumn": "none", - "formatted": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "alertCount_sum", + "type": "quantitative", + "title": "Alert Count (Sum)" + } + ] + }, + "style": { + "scalarLabelPosition": "none" } } } @@ -85,13 +93,21 @@ "timeframe": "none", "title": "Active Threats", "variables": ["{{variables.[Device]}}"], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "activeThreatsCount_sum", - "comparisonColumn": "none", - "formatted": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "activeThreatsCount_sum", + "type": "quantitative", + "title": "Active Threats (Sum)" + } + ] + }, + "style": { + "scalarLabelPosition": "none" } } } @@ -130,13 +146,21 @@ "timeframe": "none", "title": "Pending Patches", "variables": ["{{variables.[Device]}}"], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "pendingOSPatchesCount_sum", - "comparisonColumn": "none", - "formatted": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "pendingOSPatchesCount_sum", + "type": "quantitative", + "title": "Pending OS Patches (Sum)" + } + ] + }, + "style": { + "scalarLabelPosition": "none" } } } @@ -175,13 +199,21 @@ "timeframe": "none", "title": "Critical Vulnerabilities", "variables": ["{{variables.[Device]}}"], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "criticalVulnerabilityCount_sum", - "comparisonColumn": "none", - "formatted": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "criticalVulnerabilityCount_sum", + "type": "quantitative", + "title": "Critical Vulnerabilities (Sum)" + } + ] + }, + "style": { + "scalarLabelPosition": "none" } } } @@ -211,26 +243,36 @@ "timeframe": "none", "title": "Storage Volumes", "variables": ["{{variables.[Device]}}"], - "visualisation": { - "type": "data-stream-bar-chart", - "config": { - "data-stream-bar-chart": { - "xAxisData": "driveLetter", - "yAxisData": ["capacity", "freeSpace"], - "xAxisGroup": "none", - "xAxisLabel": "Drive", - "yAxisLabel": "Bytes", - "showXAxisLabel": true, - "showYAxisLabel": true, - "showLegend": true, + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "bar", + "encoding": { + "x": { + "field": "driveLetter", + "type": "nominal", + "title": "Drive Letter" + }, + "y": [ + { + "field": "capacity", + "type": "quantitative", + "title": "Capacity" + }, + { + "field": "freeSpace", + "type": "quantitative", + "title": "Free Space" + } + ] + }, + "style": { "legendPosition": "bottom", - "showGrid": true, - "showValue": false, - "showTotals": false, - "displayMode": "actual", - "horizontalLayout": "vertical", - "grouping": false, - "range": { "type": "auto" } + "cartesianShowXAxisTitle": true, + "cartesianXAxisTitle": "Drive", + "cartesianShowYAxisTitle": true, + "cartesianYAxisTitle": "Bytes", + "cartesianStack": "on" } } } @@ -260,15 +302,20 @@ "timeframe": "none", "title": "Device Properties", "variables": ["{{variables.[Device]}}"], - "visualisation": { - "config": { - "data-stream-table": { - "columnOrder": ["name", "sourceId", "sourceType", "label"], - "hiddenColumns": ["id", "links", "type"], - "transpose": true + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableTranspose": true, + "richTableHiddenColumns": [ + "id", + "links", + "type" + ] } - }, - "type": "data-stream-table" + } } } }, @@ -296,23 +343,74 @@ "timeframe": "none", "title": "Computer System", "variables": ["{{variables.[Device]}}"], - "visualisation": { - "config": { - "data-stream-table": { - "columnOrder": [ - "manufacturer", - "model", - "serialNumber", - "systemType", - "totalPhysicalMemory", - "domain", - "workgroup" - ], - "hiddenColumns": ["deviceId"], - "transpose": true + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "manufacturer", + "title": "Manufacturer", + "renderer": { + "type": "text" + } + }, + { + "field": "model", + "title": "Model", + "renderer": { + "type": "text" + } + }, + { + "field": "serialNumber", + "title": "Serial Number", + "renderer": { + "type": "text" + } + }, + { + "field": "systemType", + "title": "System Type", + "renderer": { + "type": "text" + } + }, + { + "field": "totalPhysicalMemory", + "title": "Total Memory", + "renderer": { + "type": "text" + } + }, + { + "field": "domain", + "title": "Domain", + "renderer": { + "type": "text" + } + }, + { + "field": "workgroup", + "title": "Workgroup", + "renderer": { + "type": "text" + } + }, + { + "field": "timestamp", + "title": "Collection Time", + "renderer": { + "type": "date" + } + } + ] + }, + "style": { + "richTableTranspose": true } - }, - "type": "data-stream-table" + } } } }, @@ -340,23 +438,64 @@ "timeframe": "none", "title": "Storage Volumes Detail", "variables": ["{{variables.[Device]}}"], - "visualisation": { - "config": { - "data-stream-table": { - "columnOrder": [ - "name", - "driveLetter", - "label", - "capacity", - "freeSpace", - "fileSystem", - "serialNumber" - ], - "hiddenColumns": [], - "transpose": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "name", + "title": "Volume Name", + "renderer": { + "type": "text" + } + }, + { + "field": "driveLetter", + "title": "Drive Letter", + "renderer": { + "type": "text" + } + }, + { + "field": "label", + "title": "Label", + "renderer": { + "type": "text" + } + }, + { + "field": "capacity", + "title": "Capacity", + "renderer": { + "type": "text" + } + }, + { + "field": "freeSpace", + "title": "Free Space", + "renderer": { + "type": "text" + } + }, + { + "field": "fileSystem", + "title": "File System", + "renderer": { + "type": "text" + } + }, + { + "field": "serialNumber", + "title": "Serial Number", + "renderer": { + "type": "text" + } + } + ] } - }, - "type": "data-stream-table" + } } } }, @@ -384,15 +523,50 @@ "timeframe": "none", "title": "Installed Software", "variables": ["{{variables.[Device]}}"], - "visualisation": { - "config": { - "data-stream-table": { - "columnOrder": ["name", "publisher", "version", "installDate", "size"], - "hiddenColumns": ["location", "productCode"], - "transpose": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "name", + "title": "Software Name", + "renderer": { + "type": "text" + } + }, + { + "field": "publisher", + "title": "Publisher", + "renderer": { + "type": "text" + } + }, + { + "field": "version", + "title": "Version", + "renderer": { + "type": "text" + } + }, + { + "field": "installDate", + "title": "Install Date", + "renderer": { + "type": "date" + } + }, + { + "field": "size", + "title": "Size", + "renderer": { + "type": "text" + } + } + ] } - }, - "type": "data-stream-table" + } } } }, @@ -420,23 +594,17 @@ "timeframe": "none", "title": "Processors", "variables": ["{{variables.[Device]}}"], - "visualisation": { - "config": { - "data-stream-table": { - "columnOrder": [ - "name", - "manufacturer", - "architecture", - "numCores", - "numLogicalCores", - "maxClockSpeed", - "clockSpeed" - ], - "hiddenColumns": ["deviceId"], - "transpose": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableHiddenColumns": [ + "deviceId" + ] } - }, - "type": "data-stream-table" + } } } }, @@ -464,24 +632,18 @@ "timeframe": "none", "title": "Physical Disks", "variables": ["{{variables.[Device]}}"], - "visualisation": { - "config": { - "data-stream-table": { - "columnOrder": [ - "name", - "status", - "model", - "manufacturer", - "mediaType", - "size", - "smartCapable", - "partitionCount" - ], - "hiddenColumns": ["deviceId", "interfaceType"], - "transpose": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableHiddenColumns": [ + "deviceId", + "interfaceType" + ] } - }, - "type": "data-stream-table" + } } } }, @@ -509,26 +671,17 @@ "timeframe": "none", "title": "Network Interfaces", "variables": ["{{variables.[Device]}}"], - "visualisation": { - "config": { - "data-stream-table": { - "columnOrder": [ - "interfaceName", - "status", - "adapterName", - "ipAddress", - "macAddress", - "subnetMask", - "defaultGateway", - "linkSpeed", - "interfaceType", - "mtu" - ], - "hiddenColumns": ["deviceId"], - "transpose": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableHiddenColumns": [ + "deviceId" + ] } - }, - "type": "data-stream-table" + } } } }, @@ -556,15 +709,29 @@ "timeframe": "none", "title": "Logged On Users", "variables": ["{{variables.[Device]}}"], - "visualisation": { - "config": { - "data-stream-table": { - "columnOrder": ["userName", "logonTime"], - "hiddenColumns": ["deviceId"], - "transpose": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "userName", + "title": "User Name", + "renderer": { + "type": "text" + } + }, + { + "field": "logonTime", + "title": "Logon Time", + "renderer": { + "type": "date" + } + } + ] } - }, - "type": "data-stream-table" + } } } }, @@ -592,15 +759,64 @@ "timeframe": "none", "title": "Windows Services", "variables": ["{{variables.[Device]}}"], - "visualisation": { - "config": { - "data-stream-table": { - "columnOrder": ["name", "displayName", "state", "startType", "userName", "description"], - "hiddenColumns": ["deviceId"], - "transpose": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "name", + "title": "Service Name", + "renderer": { + "type": "text" + } + }, + { + "field": "displayName", + "title": "Display Name", + "renderer": { + "type": "text" + } + }, + { + "field": "state[Expanded].rawState", + "title": "State", + "renderer": { + "type": "badge", + "colors": { + "stopped": "#DE0038", + "running": "#2BB660", + "paused": "#F59E0B", + "start pending": "#F59E0B", + "stop pending": "#F59E0B" + } + } + }, + { + "field": "startType", + "title": "Start Type", + "renderer": { + "type": "text" + } + }, + { + "field": "userName", + "title": "Account", + "renderer": { + "type": "text" + } + }, + { + "field": "description", + "title": "Description", + "renderer": { + "type": "text" + } + } + ] } - }, - "type": "data-stream-table" + } } } } diff --git a/plugins/NinjaOne/v1/defaultContent/Locations/locationDetail.dash.json b/plugins/NinjaOne/v1/defaultContent/Locations/locationDetail.dash.json index f88d52b8..22bcda90 100644 --- a/plugins/NinjaOne/v1/defaultContent/Locations/locationDetail.dash.json +++ b/plugins/NinjaOne/v1/defaultContent/Locations/locationDetail.dash.json @@ -34,13 +34,21 @@ "timeframe": "none", "title": "Devices", "variables": ["{{variables.[Location]}}"], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "count", - "comparisonColumn": "none", - "formatted": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "count", + "type": "quantitative", + "title": "Count" + } + ] + }, + "style": { + "scalarLabelPosition": "none" } } } @@ -70,13 +78,16 @@ "timeframe": "none", "title": "Location Devices", "variables": ["{{variables.[Location]}}"], - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "columnOrder": ["displayName", "systemName", "organizationId"], - "hiddenColumns": ["id", "deviceId", "locationId"], - "transpose": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableHiddenColumns": [ + "id", + "locationId" + ] } } } @@ -106,15 +117,20 @@ "timeframe": "none", "title": "Location Properties", "variables": ["{{variables.[Location]}}"], - "visualisation": { - "config": { - "data-stream-table": { - "columnOrder": ["name", "sourceId", "sourceType", "label"], - "hiddenColumns": ["id", "links", "type"], - "transpose": true + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableTranspose": true, + "richTableHiddenColumns": [ + "id", + "links", + "type" + ] } - }, - "type": "data-stream-table" + } } } } diff --git a/plugins/NinjaOne/v1/defaultContent/Organizations/organizationDetail.dash.json b/plugins/NinjaOne/v1/defaultContent/Organizations/organizationDetail.dash.json index efebd4b2..ee664807 100644 --- a/plugins/NinjaOne/v1/defaultContent/Organizations/organizationDetail.dash.json +++ b/plugins/NinjaOne/v1/defaultContent/Organizations/organizationDetail.dash.json @@ -34,13 +34,21 @@ "timeframe": "none", "title": "Locations", "variables": ["{{variables.[Organization]}}"], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "count", - "comparisonColumn": "none", - "formatted": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "count", + "type": "quantitative", + "title": "Count" + } + ] + }, + "style": { + "scalarLabelPosition": "none" } } } @@ -74,13 +82,21 @@ "timeframe": "none", "title": "Devices", "variables": ["{{variables.[Organization]}}"], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "count", - "comparisonColumn": "none", - "formatted": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "count", + "type": "quantitative", + "title": "Count" + } + ] + }, + "style": { + "scalarLabelPosition": "none" } } } @@ -110,13 +126,15 @@ "timeframe": "none", "title": "Organization Locations", "variables": ["{{variables.[Organization]}}"], - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "columnOrder": ["name", "address", "description"], - "hiddenColumns": ["id", "locationId"], - "transpose": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableHiddenColumns": [ + "id" + ] } } } @@ -146,13 +164,16 @@ "timeframe": "none", "title": "Organization Devices", "variables": ["{{variables.[Organization]}}"], - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "columnOrder": ["displayName", "systemName", "locationId"], - "hiddenColumns": ["id", "deviceId", "organizationId"], - "transpose": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableHiddenColumns": [ + "id", + "organizationId" + ] } } } @@ -182,15 +203,20 @@ "timeframe": "none", "title": "Organization Properties", "variables": ["{{variables.[Organization]}}"], - "visualisation": { - "config": { - "data-stream-table": { - "columnOrder": ["name", "sourceId", "sourceType", "label"], - "hiddenColumns": ["id", "links", "type"], - "transpose": true + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableTranspose": true, + "richTableHiddenColumns": [ + "id", + "links", + "type" + ] } - }, - "type": "data-stream-table" + } } } } diff --git a/plugins/NinjaOne/v1/defaultContent/Ticket Boards/ticketBoard.dash.json b/plugins/NinjaOne/v1/defaultContent/Ticket Boards/ticketBoard.dash.json index c59b4e0c..8e059f55 100644 --- a/plugins/NinjaOne/v1/defaultContent/Ticket Boards/ticketBoard.dash.json +++ b/plugins/NinjaOne/v1/defaultContent/Ticket Boards/ticketBoard.dash.json @@ -35,13 +35,21 @@ }, "title": "Total Tickets", "variables": ["{{variables.[Ticket Board]}}"], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "count", - "comparisonColumn": "none", - "formatted": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "count", + "type": "quantitative", + "title": "Count" + } + ] + }, + "style": { + "scalarLabelPosition": "none" } } } @@ -84,13 +92,21 @@ }, "title": "Open Tickets", "variables": ["{{variables.[Ticket Board]}}"], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "count", - "comparisonColumn": "none", - "formatted": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "count", + "type": "quantitative", + "title": "Count" + } + ] + }, + "style": { + "scalarLabelPosition": "none" } } } @@ -133,13 +149,21 @@ }, "title": "High Priority", "variables": ["{{variables.[Ticket Board]}}"], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "count", - "comparisonColumn": "none", - "formatted": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "count", + "type": "quantitative", + "title": "Count" + } + ] + }, + "style": { + "scalarLabelPosition": "none" } } } @@ -182,13 +206,21 @@ }, "title": "Critical", "variables": ["{{variables.[Ticket Board]}}"], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "count", - "comparisonColumn": "none", - "formatted": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "count", + "type": "quantitative", + "title": "Count" + } + ] + }, + "style": { + "scalarLabelPosition": "none" } } } @@ -227,16 +259,60 @@ }, "title": "Tickets by Status", "variables": ["{{variables.[Ticket Board]}}"], - "visualisation": { - "type": "data-stream-donut-chart", - "config": { - "data-stream-donut-chart": { - "labelColumn": "status.displayName_uniqueValues", - "valueColumn": "count", - "showValuesAsPercentage": true, - "hideCenterValue": false, - "legendPosition": "auto", - "legendMode": "inline" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "pie", + "encoding": { + "label": { + "field": "status.displayName_uniqueValues", + "type": "nominal", + "title": "Status" + }, + "value": { + "field": "count", + "type": "quantitative", + "aggregate": "sum", + "title": "Count" + } + }, + "style": { + "pieInnerRadius": 60, + "pieDonutCenterValue": "total", + "labelFontSize": 16, + "pieSort": "desc", + "pieLabels": "nameAndPercent", + "mappedColors": { + "critical": "#DE0038", + "error": "#DE0038", + "failed": "#DE0038", + "failure": "#DE0038", + "down": "#DE0038", + "offline": "#DE0038", + "unhealthy": "#DE0038", + "high": "#DE0038", + "warning": "#F59E0B", + "warn": "#F59E0B", + "medium": "#F59E0B", + "moderate": "#F59E0B", + "degraded": "#F59E0B", + "partial": "#F59E0B", + "ok": "#2BB660", + "healthy": "#2BB660", + "success": "#2BB660", + "succeeded": "#2BB660", + "passed": "#2BB660", + "up": "#2BB660", + "online": "#2BB660", + "resolved": "#2BB660", + "low": "#3B82F6", + "info": "#3B82F6", + "informational": "#3B82F6", + "unknown": "#94A3B8", + "unmonitored": "#94A3B8", + "not monitored": "#94A3B8", + "paused": "#94A3B8" + } } } } @@ -275,16 +351,60 @@ }, "title": "Tickets by Priority", "variables": ["{{variables.[Ticket Board]}}"], - "visualisation": { - "type": "data-stream-donut-chart", - "config": { - "data-stream-donut-chart": { - "labelColumn": "priority_uniqueValues", - "valueColumn": "count", - "showValuesAsPercentage": true, - "hideCenterValue": false, - "legendPosition": "auto", - "legendMode": "inline" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "pie", + "encoding": { + "label": { + "field": "priority_uniqueValues", + "type": "nominal", + "title": "Priority" + }, + "value": { + "field": "count", + "type": "quantitative", + "aggregate": "sum", + "title": "Count" + } + }, + "style": { + "pieInnerRadius": 60, + "pieDonutCenterValue": "total", + "labelFontSize": 16, + "pieSort": "desc", + "pieLabels": "nameAndPercent", + "mappedColors": { + "critical": "#DE0038", + "error": "#DE0038", + "failed": "#DE0038", + "failure": "#DE0038", + "down": "#DE0038", + "offline": "#DE0038", + "unhealthy": "#DE0038", + "high": "#DE0038", + "warning": "#F59E0B", + "warn": "#F59E0B", + "medium": "#F59E0B", + "moderate": "#F59E0B", + "degraded": "#F59E0B", + "partial": "#F59E0B", + "ok": "#2BB660", + "healthy": "#2BB660", + "success": "#2BB660", + "succeeded": "#2BB660", + "passed": "#2BB660", + "up": "#2BB660", + "online": "#2BB660", + "resolved": "#2BB660", + "low": "#3B82F6", + "info": "#3B82F6", + "informational": "#3B82F6", + "unknown": "#94A3B8", + "unmonitored": "#94A3B8", + "not monitored": "#94A3B8", + "paused": "#94A3B8" + } } } } @@ -314,15 +434,20 @@ "timeframe": "none", "title": "Board Properties", "variables": ["{{variables.[Ticket Board]}}"], - "visualisation": { - "config": { - "data-stream-table": { - "columnOrder": ["name", "sourceId", "sourceType", "label"], - "hiddenColumns": ["id", "links", "type"], - "transpose": true + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableTranspose": true, + "richTableHiddenColumns": [ + "id", + "links", + "type" + ] } - }, - "type": "data-stream-table" + } } } }, @@ -349,26 +474,136 @@ }, "title": "All Tickets", "variables": ["{{variables.[Ticket Board]}}"], - "visualisation": { - "config": { - "data-stream-table": { - "columnOrder": [ - "ticketNumber", - "subject", - "status.displayName", - "priority", - "type", - "requesterName", - "assigneeName", - "organizationId", - "createdAt", - "updatedAt" - ], - "hiddenColumns": ["id"], - "transpose": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "ticketNumber", + "title": "Ticket Number", + "renderer": { + "type": "text" + } + }, + { + "field": "subject", + "title": "Subject", + "renderer": { + "type": "text" + } + }, + { + "field": "status.displayName", + "title": "Status", + "renderer": { + "type": "text" + } + }, + { + "field": "priority", + "title": "Priority", + "renderer": { + "type": "text" + } + }, + { + "field": "type", + "title": "Type", + "renderer": { + "type": "text" + } + }, + { + "field": "requesterName", + "title": "Requester", + "renderer": { + "type": "text" + } + }, + { + "field": "assigneeName", + "title": "Assignee", + "renderer": { + "type": "text" + } + }, + { + "field": "organizationId", + "title": "Organization ID", + "renderer": { + "type": "text" + } + }, + { + "field": "createdAt", + "title": "Created At", + "renderer": { + "type": "date" + } + }, + { + "field": "updatedAt", + "title": "Updated At", + "renderer": { + "type": "date", + "relative": true + } + }, + { + "field": "severity", + "title": "Severity", + "renderer": { + "type": "text" + } + }, + { + "field": "source", + "title": "Source", + "renderer": { + "type": "text" + } + }, + { + "field": "tags", + "title": "Tags", + "renderer": { + "type": "text" + } + }, + { + "field": "deviceId", + "title": "Device ID", + "renderer": { + "type": "text" + } + }, + { + "field": "closedAt", + "title": "Closed At", + "renderer": { + "type": "date" + } + }, + { + "field": "lastActivityAt", + "title": "Last Activity", + "renderer": { + "type": "date", + "relative": true + } + }, + { + "field": "followupTime", + "title": "Follow-up Time", + "renderer": { + "type": "date" + } + } + ] } - }, - "type": "data-stream-table" + } } } }, @@ -405,22 +640,20 @@ }, "title": "Open Tickets", "variables": ["{{variables.[Ticket Board]}}"], - "visualisation": { - "config": { - "data-stream-table": { - "columnOrder": [ - "ticketNumber", - "subject", - "priority", - "type", - "assigneeName", - "createdAt" - ], - "hiddenColumns": ["id", "status", "requesterName", "organizationId", "updatedAt"], - "transpose": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableHiddenColumns": [ + "status", + "requesterName", + "organizationId", + "updatedAt" + ] } - }, - "type": "data-stream-table" + } } } }, @@ -462,22 +695,114 @@ }, "title": "High Priority Tickets", "variables": ["{{variables.[Ticket Board]}}"], - "visualisation": { - "config": { - "data-stream-table": { - "columnOrder": [ - "ticketNumber", - "subject", - "status", - "priority", - "assigneeName", - "createdAt" - ], - "hiddenColumns": ["id", "type", "requesterName", "organizationId", "updatedAt"], - "transpose": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "ticketNumber", + "title": "Ticket Number", + "renderer": { + "type": "text" + } + }, + { + "field": "subject", + "title": "Subject", + "renderer": { + "type": "text" + } + }, + { + "field": "status", + "title": "Status", + "renderer": { + "type": "text" + } + }, + { + "field": "priority", + "title": "Priority", + "renderer": { + "type": "text" + } + }, + { + "field": "assigneeName", + "title": "Assignee", + "renderer": { + "type": "text" + } + }, + { + "field": "createdAt", + "title": "Created At", + "renderer": { + "type": "date" + } + }, + { + "field": "status.displayName", + "title": "Status", + "renderer": { + "type": "text" + } + }, + { + "field": "severity", + "title": "Severity", + "renderer": { + "type": "text" + } + }, + { + "field": "source", + "title": "Source", + "renderer": { + "type": "text" + } + }, + { + "field": "tags", + "title": "Tags", + "renderer": { + "type": "text" + } + }, + { + "field": "deviceId", + "title": "Device ID", + "renderer": { + "type": "text" + } + }, + { + "field": "closedAt", + "title": "Closed At", + "renderer": { + "type": "date" + } + }, + { + "field": "lastActivityAt", + "title": "Last Activity", + "renderer": { + "type": "date", + "relative": true + } + }, + { + "field": "followupTime", + "title": "Follow-up Time", + "renderer": { + "type": "date" + } + } + ] } - }, - "type": "data-stream-table" + } } } } diff --git a/plugins/NinjaOne/v1/defaultContent/activityLog.dash.json b/plugins/NinjaOne/v1/defaultContent/activityLog.dash.json index 1a62e840..ef680557 100644 --- a/plugins/NinjaOne/v1/defaultContent/activityLog.dash.json +++ b/plugins/NinjaOne/v1/defaultContent/activityLog.dash.json @@ -29,13 +29,21 @@ "description": "", "activePluginConfigIds": ["{{configId}}"], "title": "Total Activities", - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "count", - "comparisonColumn": "none", - "formatted": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "count", + "type": "quantitative", + "title": "Count" + } + ] + }, + "style": { + "scalarLabelPosition": "none" } } } @@ -80,13 +88,21 @@ "description": "", "activePluginConfigIds": ["{{configId}}"], "title": "Failed Activities", - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "count", - "comparisonColumn": "none", - "formatted": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "count", + "type": "quantitative", + "title": "Count" + } + ] + }, + "style": { + "scalarLabelPosition": "none" } } } @@ -116,13 +132,21 @@ "description": "", "activePluginConfigIds": ["{{configId}}"], "title": "Recent Alerts", - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "count", - "comparisonColumn": "none", - "formatted": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "count", + "type": "quantitative", + "title": "Count" + } + ] + }, + "style": { + "scalarLabelPosition": "none" } } } @@ -162,13 +186,21 @@ "description": "", "activePluginConfigIds": ["{{configId}}"], "title": "Warnings", - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "count", - "comparisonColumn": "none", - "formatted": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "count", + "type": "quantitative", + "title": "Count" + } + ] + }, + "style": { + "scalarLabelPosition": "none" } } } @@ -208,26 +240,29 @@ "description": "", "activePluginConfigIds": ["{{configId}}"], "title": "Activities by Type", - "visualisation": { - "type": "data-stream-bar-chart", - "config": { - "data-stream-bar-chart": { - "xAxisData": "activityType_uniqueValues", - "yAxisData": ["count"], - "xAxisGroup": "none", - "xAxisLabel": "Activity Type", - "yAxisLabel": "Count", - "showXAxisLabel": true, - "showYAxisLabel": true, - "showLegend": false, - "legendPosition": "bottom", - "showGrid": true, - "showValue": true, - "showTotals": false, - "displayMode": "actual", - "horizontalLayout": "vertical", - "grouping": false, - "range": { "type": "auto" } + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "bar", + "encoding": { + "x": { + "field": "activityType_uniqueValues", + "type": "nominal", + "title": "Activity Type" + }, + "y": { + "field": "count", + "type": "quantitative", + "title": "Count" + } + }, + "style": { + "legendPosition": "none", + "cartesianShowXAxisTitle": true, + "cartesianXAxisTitle": "Activity Type", + "cartesianShowYAxisTitle": true, + "cartesianYAxisTitle": "Count", + "showLabels": true } } } @@ -263,16 +298,60 @@ "description": "", "activePluginConfigIds": ["{{configId}}"], "title": "Activities by Status", - "visualisation": { - "type": "data-stream-donut-chart", - "config": { - "data-stream-donut-chart": { - "labelColumn": "status_uniqueValues", - "valueColumn": "count", - "showValuesAsPercentage": true, - "hideCenterValue": false, - "legendPosition": "auto", - "legendMode": "inline" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "pie", + "encoding": { + "label": { + "field": "status_uniqueValues", + "type": "nominal", + "title": "Status" + }, + "value": { + "field": "count", + "type": "quantitative", + "aggregate": "sum", + "title": "Count" + } + }, + "style": { + "pieInnerRadius": 60, + "pieDonutCenterValue": "total", + "labelFontSize": 16, + "pieSort": "desc", + "pieLabels": "nameAndPercent", + "mappedColors": { + "critical": "#DE0038", + "error": "#DE0038", + "failed": "#DE0038", + "failure": "#DE0038", + "down": "#DE0038", + "offline": "#DE0038", + "unhealthy": "#DE0038", + "high": "#DE0038", + "warning": "#F59E0B", + "warn": "#F59E0B", + "medium": "#F59E0B", + "moderate": "#F59E0B", + "degraded": "#F59E0B", + "partial": "#F59E0B", + "ok": "#2BB660", + "healthy": "#2BB660", + "success": "#2BB660", + "succeeded": "#2BB660", + "passed": "#2BB660", + "up": "#2BB660", + "online": "#2BB660", + "resolved": "#2BB660", + "low": "#3B82F6", + "info": "#3B82F6", + "informational": "#3B82F6", + "unknown": "#94A3B8", + "unmonitored": "#94A3B8", + "not monitored": "#94A3B8", + "paused": "#94A3B8" + } } } } @@ -302,20 +381,90 @@ "description": "", "activePluginConfigIds": ["{{configId}}"], "title": "Recent Activities", - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "columnOrder": [ - "activityTime", - "activityType", - "subject", - "status", - "deviceId", - "userId" - ], - "hiddenColumns": ["id"], - "transpose": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "activityTime", + "title": "Activity Time", + "renderer": { + "type": "date" + } + }, + { + "field": "activityType", + "title": "Activity Type", + "renderer": { + "type": "text" + } + }, + { + "field": "subject", + "title": "Activity", + "renderer": { + "type": "text" + } + }, + { + "field": "status", + "title": "Status", + "renderer": { + "type": "text" + } + }, + { + "field": "deviceId", + "title": "Device ID", + "renderer": { + "type": "text" + } + }, + { + "field": "userId", + "title": "User ID", + "renderer": { + "type": "text" + } + }, + { + "field": "message", + "title": "Message", + "renderer": { + "type": "text" + } + }, + { + "field": "type", + "title": "Type Description", + "renderer": { + "type": "text" + } + }, + { + "field": "sourceName", + "title": "Source", + "renderer": { + "type": "text" + } + }, + { + "field": "activityResult", + "title": "Result", + "renderer": { + "type": "text" + } + }, + { + "field": "severity", + "title": "Severity", + "renderer": { + "type": "text" + } + } + ] } } } @@ -356,13 +505,76 @@ "description": "", "activePluginConfigIds": ["{{configId}}"], "title": "Failed Activities", - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "columnOrder": ["activityTime", "activityType", "subject", "status", "activityResult"], - "hiddenColumns": ["id", "deviceId", "userId"], - "transpose": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "activityTime", + "title": "Activity Time", + "renderer": { + "type": "date" + } + }, + { + "field": "activityType", + "title": "Activity Type", + "renderer": { + "type": "text" + } + }, + { + "field": "subject", + "title": "Activity", + "renderer": { + "type": "text" + } + }, + { + "field": "status", + "title": "Status", + "renderer": { + "type": "text" + } + }, + { + "field": "activityResult", + "title": "Result", + "renderer": { + "type": "text" + } + }, + { + "field": "message", + "title": "Message", + "renderer": { + "type": "text" + } + }, + { + "field": "type", + "title": "Type Description", + "renderer": { + "type": "text" + } + }, + { + "field": "sourceName", + "title": "Source", + "renderer": { + "type": "text" + } + }, + { + "field": "severity", + "title": "Severity", + "renderer": { + "type": "text" + } + } + ] } } } @@ -388,13 +600,108 @@ "description": "", "activePluginConfigIds": ["{{configId}}"], "title": "Recent Alerts", - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "columnOrder": ["sourceName", "severity", "conditionHealthStatus", "createTime"], - "hiddenColumns": ["uid", "device_id", "device_organizationId"], - "transpose": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "sourceName", + "title": "Alert Name", + "renderer": { + "type": "text" + } + }, + { + "field": "severity", + "title": "Severity", + "renderer": { + "type": "text" + } + }, + { + "field": "conditionHealthStatus[Expanded].rawState", + "title": "Health Status", + "renderer": { + "type": "badge", + "colors": { + "UNHEALTHY": "#DE0038", + "NEEDS_ATTENTION": "#F59E0B", + "HEALTHY": "#2BB660", + "UNKNOWN": "#94A3B8" + } + } + }, + { + "field": "createTime", + "title": "Created At", + "renderer": { + "type": "date" + } + }, + { + "field": "message", + "title": "Message", + "renderer": { + "type": "text" + } + }, + { + "field": "subject", + "title": "Subject", + "renderer": { + "type": "text" + } + }, + { + "field": "sourceType", + "title": "Source Type", + "renderer": { + "type": "text" + } + }, + { + "field": "updateTime", + "title": "Updated At", + "renderer": { + "type": "date", + "relative": true + } + }, + { + "field": "device_displayName", + "title": "Device", + "renderer": { + "type": "text" + } + }, + { + "field": "device_references_organization_name", + "title": "Organization", + "renderer": { + "type": "text" + } + }, + { + "field": "device_references_location_name", + "title": "Location", + "renderer": { + "type": "text" + } + }, + { + "field": "device_offline", + "title": "Device Offline", + "renderer": { + "type": "boolean", + "trueLabel": "Yes", + "falseLabel": "No", + "trueColor": "inherit", + "falseColor": "inherit" + } + } + ] } } } diff --git a/plugins/NinjaOne/v1/defaultContent/backupManagement.dash.json b/plugins/NinjaOne/v1/defaultContent/backupManagement.dash.json index 86061248..2bd8aa35 100644 --- a/plugins/NinjaOne/v1/defaultContent/backupManagement.dash.json +++ b/plugins/NinjaOne/v1/defaultContent/backupManagement.dash.json @@ -34,13 +34,21 @@ "description": "", "activePluginConfigIds": ["{{configId}}"], "title": "Total Storage Used", - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "references_backupUsage_revisionsTotalSize_sum", - "comparisonColumn": "none", - "formatted": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "references_backupUsage_revisionsTotalSize_sum", + "type": "quantitative", + "title": "Total Used (Sum)" + } + ] + }, + "style": { + "scalarLabelPosition": "none" } } } @@ -75,13 +83,21 @@ "description": "", "activePluginConfigIds": ["{{configId}}"], "title": "Cloud Storage Used", - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "references_backupUsage_cloudTotalSize_sum", - "comparisonColumn": "none", - "formatted": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "references_backupUsage_cloudTotalSize_sum", + "type": "quantitative", + "title": "Cloud (Sum)" + } + ] + }, + "style": { + "scalarLabelPosition": "none" } } } @@ -111,13 +127,21 @@ "description": "", "activePluginConfigIds": ["{{configId}}"], "title": "Devices Backed Up", - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "count", - "comparisonColumn": "none", - "formatted": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "count", + "type": "quantitative", + "title": "Count" + } + ] + }, + "style": { + "scalarLabelPosition": "none" } } } @@ -143,30 +167,41 @@ "description": "", "activePluginConfigIds": ["{{configId}}"], "title": "Backup Storage by Organization", - "visualisation": { - "type": "data-stream-bar-chart", - "config": { - "data-stream-bar-chart": { - "xAxisData": "references_organization_name", - "yAxisData": [ - "references_backupUsage_revisionsTotalSize", - "references_backupUsage_cloudTotalSize", - "references_backupUsage_localTotalSize" - ], - "xAxisGroup": "none", - "xAxisLabel": "Organization", - "yAxisLabel": "Bytes", - "showXAxisLabel": true, - "showYAxisLabel": true, - "showLegend": true, + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "bar", + "encoding": { + "x": { + "field": "references_organization_name", + "type": "nominal", + "title": "Organization" + }, + "y": [ + { + "field": "references_backupUsage_revisionsTotalSize", + "type": "quantitative", + "title": "Total Used" + }, + { + "field": "references_backupUsage_cloudTotalSize", + "type": "quantitative", + "title": "Cloud" + }, + { + "field": "references_backupUsage_localTotalSize", + "type": "quantitative", + "title": "Local" + } + ] + }, + "style": { "legendPosition": "bottom", - "showGrid": true, - "showValue": false, - "showTotals": false, - "displayMode": "actual", - "horizontalLayout": "vertical", - "grouping": false, - "range": { "type": "auto" } + "cartesianShowXAxisTitle": true, + "cartesianXAxisTitle": "Organization", + "cartesianShowYAxisTitle": true, + "cartesianYAxisTitle": "Bytes", + "cartesianStack": "on" } } } @@ -192,20 +227,82 @@ "description": "", "activePluginConfigIds": ["{{configId}}"], "title": "Backup Storage Usage by Device", - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "columnOrder": [ - "displayName", - "references_organization_name", - "references_location_name", - "references_backupUsage_revisionsTotalSize", - "references_backupUsage_cloudTotalSize", - "references_backupUsage_localTotalSize" - ], - "hiddenColumns": ["id", "organizationId", "locationId"], - "transpose": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "displayName", + "title": "Device Name", + "renderer": { + "type": "text" + } + }, + { + "field": "references_organization_name", + "title": "Organization", + "renderer": { + "type": "text" + } + }, + { + "field": "references_location_name", + "title": "Location", + "renderer": { + "type": "text" + } + }, + { + "field": "references_backupUsage_revisionsTotalSize", + "title": "Total Used", + "renderer": { + "type": "text" + } + }, + { + "field": "references_backupUsage_cloudTotalSize", + "title": "Cloud", + "renderer": { + "type": "text" + } + }, + { + "field": "references_backupUsage_localTotalSize", + "title": "Local", + "renderer": { + "type": "text" + } + }, + { + "field": "references_backupUsage_lastSuccessfulBackupJob", + "title": "Last Successful Backup", + "renderer": { + "type": "date", + "relative": true + } + }, + { + "field": "references_backupUsage_lastFailedBackupJob", + "title": "Last Failed Backup", + "renderer": { + "type": "date", + "relative": true + } + }, + { + "field": "offline", + "title": "Offline", + "renderer": { + "type": "boolean", + "trueLabel": "Yes", + "falseLabel": "No", + "trueColor": "inherit", + "falseColor": "inherit" + } + } + ] } } } @@ -231,29 +328,65 @@ "description": "", "activePluginConfigIds": ["{{configId}}"], "title": "Device Health Overview", - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "columnOrder": ["healthStatus", "offline", "alertCount"], - "hiddenColumns": [ - "deviceId", - "activeThreatsCount", - "quarantinedThreatsCount", - "blockedThreatsCount", - "pendingOSPatchesCount", - "failedOSPatchesCount", - "pendingSoftwarePatchesCount", - "failedSoftwarePatchesCount", - "criticalVulnerabilityCount", - "highVulnerabilityCount", - "mediumVulnerabilityCount", - "lowVulnerabilityCount", - "activeJobCount", - "parentDeviceId", - "parentOffline" - ], - "transpose": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "healthStatus[Expanded].rawState", + "title": "Health Status", + "renderer": { + "type": "badge", + "colors": { + "UNHEALTHY": "#DE0038", + "NEEDS_ATTENTION": "#F59E0B", + "HEALTHY": "#2BB660", + "UNKNOWN": "#94A3B8" + } + } + }, + { + "field": "offline", + "title": "Offline", + "renderer": { + "type": "boolean", + "trueLabel": "Yes", + "falseLabel": "No", + "trueColor": "inherit", + "falseColor": "inherit" + } + }, + { + "field": "alertCount", + "title": "Alert Count", + "renderer": { + "type": "text" + } + }, + { + "field": "pendingRebootReason", + "title": "Pending Reboot Reason", + "renderer": { + "type": "text" + } + }, + { + "field": "avInstallStatus", + "title": "AV Install Status", + "renderer": { + "type": "text" + } + }, + { + "field": "installationIssuesCount", + "title": "Installation Issues", + "renderer": { + "type": "text" + } + } + ] } } } @@ -279,13 +412,96 @@ "description": "", "activePluginConfigIds": ["{{configId}}"], "title": "Recent Backup Jobs", - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "columnOrder": ["planName", "jobStatus", "jobStartTime", "jobEndTime", "destination"], - "hiddenColumns": ["jobId", "planType", "deviceId", "organizationId", "locationId"], - "transpose": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "planName", + "title": "Backup Plan", + "renderer": { + "type": "text" + } + }, + { + "field": "jobStatus[Expanded].rawState", + "title": "Status", + "renderer": { + "type": "badge", + "colors": { + "FAILED": "#DE0038", + "ERROR": "#DE0038", + "CANCELLED": "#DE0038", + "RUNNING": "#F59E0B", + "IN_PROGRESS": "#F59E0B", + "PENDING": "#F59E0B", + "STARTED": "#F59E0B", + "COMPLETED": "#2BB660", + "SUCCESS": "#2BB660" + } + } + }, + { + "field": "jobStartTime", + "title": "Started At", + "renderer": { + "type": "date" + } + }, + { + "field": "jobEndTime", + "title": "Completed At", + "renderer": { + "type": "date" + } + }, + { + "field": "destination", + "title": "Destination", + "renderer": { + "type": "text" + } + }, + { + "field": "upsyncJob.startTime", + "title": "Upsync Started At", + "renderer": { + "type": "date", + "relative": true + } + }, + { + "field": "upsyncJob.endTime", + "title": "Upsync Completed At", + "renderer": { + "type": "date", + "relative": true + } + }, + { + "field": "totalActualStorageBytes", + "title": "Storage Used", + "renderer": { + "type": "text" + } + }, + { + "field": "totalStoredBytes", + "title": "Total Stored", + "renderer": { + "type": "text" + } + }, + { + "field": "filesUploaded", + "title": "Files Uploaded", + "renderer": { + "type": "text" + } + } + ] } } } @@ -326,13 +542,108 @@ "description": "", "activePluginConfigIds": ["{{configId}}"], "title": "Backup-Related Alerts", - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "columnOrder": ["sourceName", "severity", "conditionHealthStatus", "createTime"], - "hiddenColumns": ["uid", "device_id", "device_organizationId"], - "transpose": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "sourceName", + "title": "Alert Name", + "renderer": { + "type": "text" + } + }, + { + "field": "severity", + "title": "Severity", + "renderer": { + "type": "text" + } + }, + { + "field": "conditionHealthStatus[Expanded].rawState", + "title": "Health Status", + "renderer": { + "type": "badge", + "colors": { + "UNHEALTHY": "#DE0038", + "NEEDS_ATTENTION": "#F59E0B", + "HEALTHY": "#2BB660", + "UNKNOWN": "#94A3B8" + } + } + }, + { + "field": "createTime", + "title": "Created At", + "renderer": { + "type": "date" + } + }, + { + "field": "message", + "title": "Message", + "renderer": { + "type": "text" + } + }, + { + "field": "subject", + "title": "Subject", + "renderer": { + "type": "text" + } + }, + { + "field": "sourceType", + "title": "Source Type", + "renderer": { + "type": "text" + } + }, + { + "field": "updateTime", + "title": "Updated At", + "renderer": { + "type": "date", + "relative": true + } + }, + { + "field": "device_displayName", + "title": "Device", + "renderer": { + "type": "text" + } + }, + { + "field": "device_references_organization_name", + "title": "Organization", + "renderer": { + "type": "text" + } + }, + { + "field": "device_references_location_name", + "title": "Location", + "renderer": { + "type": "text" + } + }, + { + "field": "device_offline", + "title": "Device Offline", + "renderer": { + "type": "boolean", + "trueLabel": "Yes", + "falseLabel": "No", + "trueColor": "inherit", + "falseColor": "inherit" + } + } + ] } } } diff --git a/plugins/NinjaOne/v1/defaultContent/deviceOverview.dash.json b/plugins/NinjaOne/v1/defaultContent/deviceOverview.dash.json index 0e09ba97..8532ac8a 100644 --- a/plugins/NinjaOne/v1/defaultContent/deviceOverview.dash.json +++ b/plugins/NinjaOne/v1/defaultContent/deviceOverview.dash.json @@ -29,13 +29,21 @@ "description": "", "activePluginConfigIds": ["{{configId}}"], "title": "Total Devices", - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "count", - "comparisonColumn": "none", - "formatted": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "count", + "type": "quantitative", + "title": "Count" + } + ] + }, + "style": { + "scalarLabelPosition": "none" } } } @@ -75,13 +83,21 @@ "description": "", "activePluginConfigIds": ["{{configId}}"], "title": "Offline Devices", - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "count", - "comparisonColumn": "none", - "formatted": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "count", + "type": "quantitative", + "title": "Count" + } + ] + }, + "style": { + "scalarLabelPosition": "none" } } } @@ -116,13 +132,21 @@ "description": "", "activePluginConfigIds": ["{{configId}}"], "title": "Critical Vulnerabilities", - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "criticalVulnerabilityCount_sum", - "comparisonColumn": "none", - "formatted": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "criticalVulnerabilityCount_sum", + "type": "quantitative", + "title": "Critical Vulnerabilities (Sum)" + } + ] + }, + "style": { + "scalarLabelPosition": "none" } } } @@ -157,13 +181,21 @@ "description": "", "activePluginConfigIds": ["{{configId}}"], "title": "Active Threats", - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "activeThreatsCount_sum", - "comparisonColumn": "none", - "formatted": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "activeThreatsCount_sum", + "type": "quantitative", + "title": "Active Threats (Sum)" + } + ] + }, + "style": { + "scalarLabelPosition": "none" } } } @@ -189,29 +221,139 @@ "description": "", "activePluginConfigIds": ["{{configId}}"], "title": "Device Health Status", - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "columnOrder": [ - "healthStatus", - "activeThreatsCount", - "alertCount", - "pendingOSPatchesCount", - "failedOSPatchesCount", - "pendingSoftwarePatchesCount", - "failedSoftwarePatchesCount", - "criticalVulnerabilityCount", - "highVulnerabilityCount", - "offline" - ], - "hiddenColumns": [ - "deviceId", - "quarantinedThreatsCount", - "mediumVulnerabilityCount", - "lowVulnerabilityCount" - ], - "transpose": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "healthStatus[Expanded].rawState", + "title": "Health Status", + "renderer": { + "type": "badge", + "colors": { + "UNHEALTHY": "#DE0038", + "NEEDS_ATTENTION": "#F59E0B", + "HEALTHY": "#2BB660", + "UNKNOWN": "#94A3B8" + } + } + }, + { + "field": "activeThreatsCount", + "title": "Active Threats", + "renderer": { + "type": "text" + } + }, + { + "field": "alertCount", + "title": "Alert Count", + "renderer": { + "type": "text" + } + }, + { + "field": "pendingOSPatchesCount", + "title": "Pending OS Patches", + "renderer": { + "type": "text" + } + }, + { + "field": "failedOSPatchesCount", + "title": "Failed OS Patches", + "renderer": { + "type": "text" + } + }, + { + "field": "pendingSoftwarePatchesCount", + "title": "Pending Software Patches", + "renderer": { + "type": "text" + } + }, + { + "field": "failedSoftwarePatchesCount", + "title": "Failed Software Patches", + "renderer": { + "type": "text" + } + }, + { + "field": "criticalVulnerabilityCount", + "title": "Critical Vulnerabilities", + "renderer": { + "type": "text" + } + }, + { + "field": "highVulnerabilityCount", + "title": "High Vulnerabilities", + "renderer": { + "type": "text" + } + }, + { + "field": "offline", + "title": "Offline", + "renderer": { + "type": "boolean", + "trueLabel": "Yes", + "falseLabel": "No", + "trueColor": "inherit", + "falseColor": "inherit" + } + }, + { + "field": "parentOffline", + "title": "Parent Offline", + "renderer": { + "type": "boolean", + "trueLabel": "Yes", + "falseLabel": "No", + "trueColor": "inherit", + "falseColor": "inherit" + } + }, + { + "field": "blockedThreatsCount", + "title": "Blocked Threats", + "renderer": { + "type": "text" + } + }, + { + "field": "activeJobCount", + "title": "Active Jobs", + "renderer": { + "type": "text" + } + }, + { + "field": "pendingRebootReason", + "title": "Pending Reboot Reason", + "renderer": { + "type": "text" + } + }, + { + "field": "avInstallStatus", + "title": "AV Install Status", + "renderer": { + "type": "text" + } + }, + { + "field": "installationIssuesCount", + "title": "Installation Issues", + "renderer": { + "type": "text" + } + } + ] } } } @@ -237,13 +379,17 @@ "description": "", "activePluginConfigIds": ["{{configId}}"], "title": "Recent Alerts", - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "columnOrder": ["displayName", "severity", "status", "createdAt"], - "hiddenColumns": ["id", "deviceId", "organizationId"], - "transpose": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableHiddenColumns": [ + "id", + "deviceId", + "organizationId" + ] } } } @@ -269,13 +415,70 @@ "description": "", "activePluginConfigIds": ["{{configId}}"], "title": "Antivirus Threats", - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "columnOrder": ["name", "status", "severity", "category", "detectedAt", "actionTaken"], - "hiddenColumns": ["id", "deviceId", "path"], - "transpose": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "name", + "title": "Threat Name", + "renderer": { + "type": "text" + } + }, + { + "field": "status[Expanded].rawState", + "title": "Status", + "renderer": { + "type": "badge", + "colors": { + "active": "#DE0038", + "detected": "#DE0038", + "quarantined": "#F59E0B", + "remediation_failed": "#F59E0B", + "removed": "#2BB660", + "cleaned": "#2BB660" + } + } + }, + { + "field": "severity", + "title": "Severity", + "renderer": { + "type": "text" + } + }, + { + "field": "category", + "title": "Category", + "renderer": { + "type": "text" + } + }, + { + "field": "detectedAt", + "title": "Detected At", + "renderer": { + "type": "date" + } + }, + { + "field": "actionTaken", + "title": "Action Taken", + "renderer": { + "type": "text" + } + }, + { + "field": "timestamp", + "title": "Collection Time", + "renderer": { + "type": "date" + } + } + ] } } } @@ -301,19 +504,55 @@ "description": "", "activePluginConfigIds": ["{{configId}}"], "title": "Antivirus Status", - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "columnOrder": [ - "productName", - "productState", - "definitionStatus", - "version", - "timestamp" - ], - "hiddenColumns": ["deviceId"], - "transpose": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "productName", + "title": "Product Name", + "renderer": { + "type": "text" + } + }, + { + "field": "productState[Expanded].rawState", + "title": "Product State", + "renderer": { + "type": "badge", + "colors": { + "disabled": "#DE0038", + "off": "#DE0038", + "partial": "#F59E0B", + "enabled": "#2BB660", + "on": "#2BB660" + } + } + }, + { + "field": "definitionStatus", + "title": "Definition Status", + "renderer": { + "type": "text" + } + }, + { + "field": "version", + "title": "Version", + "renderer": { + "type": "text" + } + }, + { + "field": "timestamp", + "title": "Collection Time", + "renderer": { + "type": "date" + } + } + ] } } } @@ -339,13 +578,60 @@ "description": "", "activePluginConfigIds": ["{{configId}}"], "title": "Operating Systems", - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "columnOrder": ["name", "architecture", "buildNumber", "lastBootTime", "needsReboot"], - "hiddenColumns": ["deviceId", "manufacturer", "releaseId"], - "transpose": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "name", + "title": "OS Name", + "renderer": { + "type": "text" + } + }, + { + "field": "architecture", + "title": "Architecture", + "renderer": { + "type": "text" + } + }, + { + "field": "buildNumber", + "title": "Build Number", + "renderer": { + "type": "text" + } + }, + { + "field": "lastBootTime", + "title": "Last Boot Time", + "renderer": { + "type": "date", + "relative": true + } + }, + { + "field": "needsReboot[Expanded].rawState", + "title": "Needs Reboot", + "renderer": { + "type": "badge", + "colors": { + "true": "#DE0038", + "false": "#2BB660" + } + } + }, + { + "field": "timestamp", + "title": "Collection Time", + "renderer": { + "type": "date" + } + } + ] } } } @@ -371,20 +657,62 @@ "description": "", "activePluginConfigIds": ["{{configId}}"], "title": "Computer Systems", - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "columnOrder": [ - "manufacturer", - "model", - "serialNumber", - "systemType", - "domain", - "workgroup" - ], - "hiddenColumns": ["deviceId", "totalPhysicalMemory"], - "transpose": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "manufacturer", + "title": "Manufacturer", + "renderer": { + "type": "text" + } + }, + { + "field": "model", + "title": "Model", + "renderer": { + "type": "text" + } + }, + { + "field": "serialNumber", + "title": "Serial Number", + "renderer": { + "type": "text" + } + }, + { + "field": "systemType", + "title": "System Type", + "renderer": { + "type": "text" + } + }, + { + "field": "domain", + "title": "Domain", + "renderer": { + "type": "text" + } + }, + { + "field": "workgroup", + "title": "Workgroup", + "renderer": { + "type": "text" + } + }, + { + "field": "timestamp", + "title": "Collection Time", + "renderer": { + "type": "date" + } + } + ] } } } @@ -404,32 +732,51 @@ "dataStream": { "name": "backupUsage", "id": "{{dataStreams.backupUsage}}", - "pluginConfigId": "{{configId}}" + "pluginConfigId": "{{configId}}", + "group": { + "by": [ + [ + "references_location_name", + "uniqueValues" + ] + ], + "aggregate": [ + { + "type": "sum", + "names": [ + "references_backupUsage_revisionsTotalSize" + ] + } + ] + } }, "_type": "tile/data-stream", "description": "", "activePluginConfigIds": ["{{configId}}"], "title": "Backup Usage by Location", - "visualisation": { - "type": "data-stream-bar-chart", - "config": { - "data-stream-bar-chart": { - "xAxisData": "locationName", - "yAxisData": ["usedBytes", "includedBytes"], - "xAxisGroup": "none", - "xAxisLabel": "Location", - "yAxisLabel": "Bytes", - "showXAxisLabel": true, - "showYAxisLabel": true, - "showLegend": true, + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "bar", + "encoding": { + "x": { + "field": "references_location_name_uniqueValues", + "type": "nominal", + "title": "Location" + }, + "y": { + "field": "references_backupUsage_revisionsTotalSize_sum", + "type": "quantitative", + "title": "Total Used" + } + }, + "style": { "legendPosition": "bottom", - "showGrid": true, - "showValue": false, - "showTotals": false, - "displayMode": "actual", - "horizontalLayout": "horizontal", - "grouping": false, - "range": { "type": "auto" } + "cartesianShowXAxisTitle": true, + "cartesianXAxisTitle": "Location", + "cartesianShowYAxisTitle": true, + "cartesianYAxisTitle": "Bytes", + "cartesianHorizontal": true } } } @@ -455,19 +802,18 @@ "description": "", "activePluginConfigIds": ["{{configId}}"], "title": "All Devices", - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "columnOrder": [ - "displayName", - "systemName", - "offline", - "lastContact", - "organizationId" - ], - "hiddenColumns": ["id", "uid", "nodeClass", "locationId", "policyId"], - "transpose": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableHiddenColumns": [ + "uid", + "nodeClass", + "locationId", + "policyId" + ] } } } diff --git a/plugins/NinjaOne/v1/defaultContent/jobsTasks.dash.json b/plugins/NinjaOne/v1/defaultContent/jobsTasks.dash.json index 1350cd5e..8edee5d0 100644 --- a/plugins/NinjaOne/v1/defaultContent/jobsTasks.dash.json +++ b/plugins/NinjaOne/v1/defaultContent/jobsTasks.dash.json @@ -44,13 +44,21 @@ "description": "", "activePluginConfigIds": ["{{configId}}"], "title": "Running Jobs", - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "count", - "comparisonColumn": "none", - "formatted": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "count", + "type": "quantitative", + "title": "Count" + } + ] + }, + "style": { + "scalarLabelPosition": "none" } } } @@ -95,13 +103,21 @@ "description": "", "activePluginConfigIds": ["{{configId}}"], "title": "Failed Jobs", - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "count", - "comparisonColumn": "none", - "formatted": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "count", + "type": "quantitative", + "title": "Count" + } + ] + }, + "style": { + "scalarLabelPosition": "none" } } } @@ -141,13 +157,21 @@ "description": "", "activePluginConfigIds": ["{{configId}}"], "title": "Completed Jobs", - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "count", - "comparisonColumn": "none", - "formatted": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "count", + "type": "quantitative", + "title": "Count" + } + ] + }, + "style": { + "scalarLabelPosition": "none" } } } @@ -192,13 +216,21 @@ "description": "", "activePluginConfigIds": ["{{configId}}"], "title": "Active Tasks", - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "count", - "comparisonColumn": "none", - "formatted": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "count", + "type": "quantitative", + "title": "Count" + } + ] + }, + "style": { + "scalarLabelPosition": "none" } } } @@ -234,16 +266,60 @@ "description": "", "activePluginConfigIds": ["{{configId}}"], "title": "Jobs by Status", - "visualisation": { - "type": "data-stream-donut-chart", - "config": { - "data-stream-donut-chart": { - "labelColumn": "status_uniqueValues", - "valueColumn": "count", - "showValuesAsPercentage": true, - "hideCenterValue": false, - "legendPosition": "auto", - "legendMode": "inline" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "pie", + "encoding": { + "label": { + "field": "status_uniqueValues", + "type": "nominal", + "title": "Status" + }, + "value": { + "field": "count", + "type": "quantitative", + "aggregate": "sum", + "title": "Count" + } + }, + "style": { + "pieInnerRadius": 60, + "pieDonutCenterValue": "total", + "labelFontSize": 16, + "pieSort": "desc", + "pieLabels": "nameAndPercent", + "mappedColors": { + "critical": "#DE0038", + "error": "#DE0038", + "failed": "#DE0038", + "failure": "#DE0038", + "down": "#DE0038", + "offline": "#DE0038", + "unhealthy": "#DE0038", + "high": "#DE0038", + "warning": "#F59E0B", + "warn": "#F59E0B", + "medium": "#F59E0B", + "moderate": "#F59E0B", + "degraded": "#F59E0B", + "partial": "#F59E0B", + "ok": "#2BB660", + "healthy": "#2BB660", + "success": "#2BB660", + "succeeded": "#2BB660", + "passed": "#2BB660", + "up": "#2BB660", + "online": "#2BB660", + "resolved": "#2BB660", + "low": "#3B82F6", + "info": "#3B82F6", + "informational": "#3B82F6", + "unknown": "#94A3B8", + "unmonitored": "#94A3B8", + "not monitored": "#94A3B8", + "paused": "#94A3B8" + } } } } @@ -279,16 +355,60 @@ "description": "", "activePluginConfigIds": ["{{configId}}"], "title": "Tasks by Status", - "visualisation": { - "type": "data-stream-donut-chart", - "config": { - "data-stream-donut-chart": { - "labelColumn": "status_uniqueValues", - "valueColumn": "count", - "showValuesAsPercentage": true, - "hideCenterValue": false, - "legendPosition": "auto", - "legendMode": "inline" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "pie", + "encoding": { + "label": { + "field": "status_uniqueValues", + "type": "nominal", + "title": "Status" + }, + "value": { + "field": "count", + "type": "quantitative", + "aggregate": "sum", + "title": "Count" + } + }, + "style": { + "pieInnerRadius": 60, + "pieDonutCenterValue": "total", + "labelFontSize": 16, + "pieSort": "desc", + "pieLabels": "nameAndPercent", + "mappedColors": { + "critical": "#DE0038", + "error": "#DE0038", + "failed": "#DE0038", + "failure": "#DE0038", + "down": "#DE0038", + "offline": "#DE0038", + "unhealthy": "#DE0038", + "high": "#DE0038", + "warning": "#F59E0B", + "warn": "#F59E0B", + "medium": "#F59E0B", + "moderate": "#F59E0B", + "degraded": "#F59E0B", + "partial": "#F59E0B", + "ok": "#2BB660", + "healthy": "#2BB660", + "success": "#2BB660", + "succeeded": "#2BB660", + "passed": "#2BB660", + "up": "#2BB660", + "online": "#2BB660", + "resolved": "#2BB660", + "low": "#3B82F6", + "info": "#3B82F6", + "informational": "#3B82F6", + "unknown": "#94A3B8", + "unmonitored": "#94A3B8", + "not monitored": "#94A3B8", + "paused": "#94A3B8" + } } } } @@ -314,21 +434,16 @@ "description": "", "activePluginConfigIds": ["{{configId}}"], "title": "Recent Jobs", - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "columnOrder": [ - "name", - "type", - "status", - "organizationId", - "startedAt", - "completedAt", - "duration" - ], - "hiddenColumns": ["id", "deviceId"], - "transpose": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableHiddenColumns": [ + "id", + "deviceId" + ] } } } @@ -354,21 +469,110 @@ "description": "", "activePluginConfigIds": ["{{configId}}"], "title": "Recent Tasks", - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "columnOrder": [ - "name", - "type", - "status", - "organizationId", - "createdAt", - "startedAt", - "completedAt" - ], - "hiddenColumns": ["id"], - "transpose": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "name", + "title": "Task Name", + "renderer": { + "type": "text" + } + }, + { + "field": "type", + "title": "Type", + "renderer": { + "type": "text" + } + }, + { + "field": "status[Expanded].rawState", + "title": "Status", + "renderer": { + "type": "badge", + "colors": { + "failed": "#DE0038", + "cancelled": "#DE0038", + "running": "#F59E0B", + "pending": "#F59E0B", + "completed": "#2BB660", + "success": "#2BB660" + } + } + }, + { + "field": "organizationId", + "title": "Organization Id", + "renderer": { + "type": "text" + } + }, + { + "field": "createdAt", + "title": "Created At", + "renderer": { + "type": "text" + } + }, + { + "field": "startedAt", + "title": "Started At", + "renderer": { + "type": "text" + } + }, + { + "field": "completedAt", + "title": "Completed At", + "renderer": { + "type": "text" + } + }, + { + "field": "description", + "title": "Description", + "renderer": { + "type": "text" + } + }, + { + "field": "enabled", + "title": "Enabled", + "renderer": { + "type": "boolean", + "trueLabel": "Yes", + "falseLabel": "No", + "trueColor": "inherit", + "falseColor": "inherit" + } + }, + { + "field": "runCount", + "title": "Run Count", + "renderer": { + "type": "text" + } + }, + { + "field": "created", + "title": "Created", + "renderer": { + "type": "date" + } + }, + { + "field": "lastRun", + "title": "Last Run", + "renderer": { + "type": "date", + "relative": true + } + } + ] } } } @@ -409,13 +613,17 @@ "description": "", "activePluginConfigIds": ["{{configId}}"], "title": "Failed Jobs", - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "columnOrder": ["name", "type", "status", "deviceId", "startedAt", "completedAt"], - "hiddenColumns": ["id", "organizationId", "duration"], - "transpose": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableHiddenColumns": [ + "id", + "organizationId", + "duration" + ] } } } @@ -456,13 +664,15 @@ "description": "", "activePluginConfigIds": ["{{configId}}"], "title": "Failed Tasks", - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "columnOrder": ["name", "type", "status", "organizationId", "startedAt", "completedAt"], - "hiddenColumns": ["id", "createdAt"], - "transpose": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableHiddenColumns": [ + "createdAt" + ] } } } @@ -508,13 +718,18 @@ "description": "", "activePluginConfigIds": ["{{configId}}"], "title": "Active Jobs", - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "columnOrder": ["name", "type", "status", "deviceId", "startedAt"], - "hiddenColumns": ["id", "organizationId", "completedAt", "duration"], - "transpose": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableHiddenColumns": [ + "id", + "organizationId", + "completedAt", + "duration" + ] } } } @@ -555,13 +770,16 @@ "description": "", "activePluginConfigIds": ["{{configId}}"], "title": "Active Tasks", - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "columnOrder": ["name", "type", "status", "organizationId", "startedAt"], - "hiddenColumns": ["id", "createdAt", "completedAt"], - "transpose": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableHiddenColumns": [ + "createdAt", + "completedAt" + ] } } } diff --git a/plugins/NinjaOne/v1/defaultContent/organizationOverview.dash.json b/plugins/NinjaOne/v1/defaultContent/organizationOverview.dash.json index 0d8e51ef..08843d7e 100644 --- a/plugins/NinjaOne/v1/defaultContent/organizationOverview.dash.json +++ b/plugins/NinjaOne/v1/defaultContent/organizationOverview.dash.json @@ -29,13 +29,21 @@ "description": "", "activePluginConfigIds": ["{{configId}}"], "title": "Organizations", - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "count", - "comparisonColumn": "none", - "formatted": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "count", + "type": "quantitative", + "title": "Count" + } + ] + }, + "style": { + "scalarLabelPosition": "none" } } } @@ -65,13 +73,21 @@ "description": "", "activePluginConfigIds": ["{{configId}}"], "title": "Locations", - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "count", - "comparisonColumn": "none", - "formatted": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "count", + "type": "quantitative", + "title": "Count" + } + ] + }, + "style": { + "scalarLabelPosition": "none" } } } @@ -101,13 +117,21 @@ "description": "", "activePluginConfigIds": ["{{configId}}"], "title": "Total Devices", - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "count", - "comparisonColumn": "none", - "formatted": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "count", + "type": "quantitative", + "title": "Count" + } + ] + }, + "style": { + "scalarLabelPosition": "none" } } } @@ -137,13 +161,21 @@ "description": "", "activePluginConfigIds": ["{{configId}}"], "title": "Policies", - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "count", - "comparisonColumn": "none", - "formatted": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "count", + "type": "quantitative", + "title": "Count" + } + ] + }, + "style": { + "scalarLabelPosition": "none" } } } @@ -173,26 +205,30 @@ "description": "", "activePluginConfigIds": ["{{configId}}"], "title": "Device Groups by Size", - "visualisation": { - "type": "data-stream-bar-chart", - "config": { - "data-stream-bar-chart": { - "xAxisData": "name", - "yAxisData": ["deviceCount"], - "xAxisGroup": "none", - "xAxisLabel": "Group", - "yAxisLabel": "Devices", - "showXAxisLabel": true, - "showYAxisLabel": true, - "showLegend": false, - "legendPosition": "bottom", - "showGrid": true, - "showValue": true, - "showTotals": false, - "displayMode": "actual", - "horizontalLayout": "horizontal", - "grouping": false, - "range": { "type": "auto" } + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "bar", + "encoding": { + "x": { + "field": "name", + "type": "nominal", + "title": "Group Name" + }, + "y": { + "field": "deviceCount", + "type": "quantitative", + "title": "Device Count" + } + }, + "style": { + "legendPosition": "none", + "cartesianShowXAxisTitle": true, + "cartesianXAxisTitle": "Group", + "cartesianShowYAxisTitle": true, + "cartesianYAxisTitle": "Devices", + "cartesianHorizontal": true, + "showLabels": true } } } @@ -222,13 +258,21 @@ "description": "", "activePluginConfigIds": ["{{configId}}"], "title": "Ticket Boards", - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "count", - "comparisonColumn": "none", - "formatted": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "count", + "type": "quantitative", + "title": "Count" + } + ] + }, + "style": { + "scalarLabelPosition": "none" } } } @@ -254,13 +298,41 @@ "description": "", "activePluginConfigIds": ["{{configId}}"], "title": "Organizations", - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "columnOrder": ["name", "id", "description"], - "hiddenColumns": [], - "transpose": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "name", + "title": "Organization Name", + "renderer": { + "type": "text" + } + }, + { + "field": "id", + "title": "Organization ID", + "renderer": { + "type": "text" + } + }, + { + "field": "description", + "title": "Description", + "renderer": { + "type": "text" + } + }, + { + "field": "nodeApprovalMode", + "title": "Node Approval Mode", + "renderer": { + "type": "text" + } + } + ] } } } @@ -286,13 +358,48 @@ "description": "", "activePluginConfigIds": ["{{configId}}"], "title": "Locations", - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "columnOrder": ["name", "organizationName", "city", "country", "timezone"], - "hiddenColumns": ["id", "organizationId", "description", "address"], - "transpose": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "name", + "title": "Location Name", + "renderer": { + "type": "text" + } + }, + { + "field": "organizationName", + "title": "Organization", + "renderer": { + "type": "text" + } + }, + { + "field": "city", + "title": "City", + "renderer": { + "type": "text" + } + }, + { + "field": "country", + "title": "Country", + "renderer": { + "type": "text" + } + }, + { + "field": "timezone", + "title": "Timezone", + "renderer": { + "type": "text" + } + } + ] } } } @@ -318,13 +425,75 @@ "description": "", "activePluginConfigIds": ["{{configId}}"], "title": "Device Groups", - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "columnOrder": ["name", "organizationId", "type", "deviceCount", "isDynamic"], - "hiddenColumns": ["id"], - "transpose": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "name", + "title": "Group Name", + "renderer": { + "type": "text" + } + }, + { + "field": "organizationId", + "title": "Organization ID", + "renderer": { + "type": "text" + } + }, + { + "field": "type", + "title": "Type", + "renderer": { + "type": "text" + } + }, + { + "field": "deviceCount", + "title": "Device Count", + "renderer": { + "type": "text" + } + }, + { + "field": "isDynamic", + "title": "Dynamic", + "renderer": { + "type": "boolean", + "trueLabel": "Yes", + "falseLabel": "No", + "trueColor": "inherit", + "falseColor": "inherit" + } + }, + { + "field": "created", + "title": "Created", + "renderer": { + "type": "date" + } + }, + { + "field": "lastEvaluated", + "title": "Last Evaluated", + "renderer": { + "type": "date", + "relative": true + } + }, + { + "field": "updated", + "title": "Updated", + "renderer": { + "type": "date", + "relative": true + } + } + ] } } } @@ -350,13 +519,85 @@ "description": "", "activePluginConfigIds": ["{{configId}}"], "title": "Policies", - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "columnOrder": ["name", "id", "description"], - "hiddenColumns": [], - "transpose": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "name", + "title": "Policy Name", + "renderer": { + "type": "text" + } + }, + { + "field": "id", + "title": "Policy ID", + "renderer": { + "type": "text" + } + }, + { + "field": "description", + "title": "Description", + "renderer": { + "type": "text" + } + }, + { + "field": "organizationId", + "title": "Organization ID", + "renderer": { + "type": "text" + } + }, + { + "field": "nodeClass", + "title": "Node Class", + "renderer": { + "type": "text" + } + }, + { + "field": "nodeClassDefault", + "title": "Default For Node Class", + "renderer": { + "type": "boolean", + "trueLabel": "Yes", + "falseLabel": "No", + "trueColor": "inherit", + "falseColor": "inherit" + } + }, + { + "field": "enabled", + "title": "Enabled", + "renderer": { + "type": "boolean", + "trueLabel": "Yes", + "falseLabel": "No", + "trueColor": "inherit", + "falseColor": "inherit" + } + }, + { + "field": "created", + "title": "Created At", + "renderer": { + "type": "date" + } + }, + { + "field": "updated", + "title": "Updated At", + "renderer": { + "type": "date", + "relative": true + } + } + ] } } } @@ -382,21 +623,16 @@ "description": "", "activePluginConfigIds": ["{{configId}}"], "title": "All Devices", - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "columnOrder": [ - "displayName", - "systemName", - "organizationId", - "locationId", - "policyId", - "offline", - "lastContact" - ], - "hiddenColumns": ["id", "uid", "nodeClass"], - "transpose": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableHiddenColumns": [ + "uid", + "nodeClass" + ] } } } @@ -422,13 +658,67 @@ "description": "", "activePluginConfigIds": ["{{configId}}"], "title": "Ticket Boards", - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "columnOrder": ["name", "organizationId", "description", "isPublic", "createdAt"], - "hiddenColumns": ["id"], - "transpose": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "name", + "title": "Board Name", + "renderer": { + "type": "text" + } + }, + { + "field": "description", + "title": "Description", + "renderer": { + "type": "text" + } + }, + { + "field": "uid", + "title": "UID", + "renderer": { + "type": "text" + } + }, + { + "field": "createTime", + "title": "Created At", + "renderer": { + "type": "date" + } + }, + { + "field": "updateTime", + "title": "Updated At", + "renderer": { + "type": "date", + "relative": true + } + }, + { + "field": "system", + "title": "System", + "renderer": { + "type": "boolean", + "trueLabel": "Yes", + "falseLabel": "No", + "trueColor": "inherit", + "falseColor": "inherit" + } + }, + { + "field": "ticketCount", + "title": "Ticket Count", + "renderer": { + "type": "text" + } + } + ] } } } diff --git a/plugins/NinjaOne/v1/defaultContent/patchManagement.dash.json b/plugins/NinjaOne/v1/defaultContent/patchManagement.dash.json index b684adff..d4f4d02d 100644 --- a/plugins/NinjaOne/v1/defaultContent/patchManagement.dash.json +++ b/plugins/NinjaOne/v1/defaultContent/patchManagement.dash.json @@ -34,13 +34,21 @@ "description": "", "activePluginConfigIds": ["{{configId}}"], "title": "Pending OS Patches", - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "pendingOSPatchesCount_sum", - "comparisonColumn": "none", - "formatted": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "pendingOSPatchesCount_sum", + "type": "quantitative", + "title": "Pending OS Patches (Sum)" + } + ] + }, + "style": { + "scalarLabelPosition": "none" } } } @@ -75,13 +83,21 @@ "description": "", "activePluginConfigIds": ["{{configId}}"], "title": "Failed OS Patches", - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "failedOSPatchesCount_sum", - "comparisonColumn": "none", - "formatted": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "failedOSPatchesCount_sum", + "type": "quantitative", + "title": "Failed OS Patches (Sum)" + } + ] + }, + "style": { + "scalarLabelPosition": "none" } } } @@ -116,13 +132,21 @@ "description": "", "activePluginConfigIds": ["{{configId}}"], "title": "Pending Software Patches", - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "pendingSoftwarePatchesCount_sum", - "comparisonColumn": "none", - "formatted": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "pendingSoftwarePatchesCount_sum", + "type": "quantitative", + "title": "Pending Software Patches (Sum)" + } + ] + }, + "style": { + "scalarLabelPosition": "none" } } } @@ -162,13 +186,21 @@ "description": "", "activePluginConfigIds": ["{{configId}}"], "title": "Need Reboot", - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "count", - "comparisonColumn": "none", - "formatted": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "count", + "type": "quantitative", + "title": "Count" + } + ] + }, + "style": { + "scalarLabelPosition": "none" } } } @@ -204,16 +236,60 @@ "description": "", "activePluginConfigIds": ["{{configId}}"], "title": "OS Patches by Status", - "visualisation": { - "type": "data-stream-donut-chart", - "config": { - "data-stream-donut-chart": { - "labelColumn": "status_uniqueValues", - "valueColumn": "count", - "showValuesAsPercentage": true, - "hideCenterValue": false, - "legendPosition": "auto", - "legendMode": "inline" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "pie", + "encoding": { + "label": { + "field": "status_uniqueValues", + "type": "nominal", + "title": "Status" + }, + "value": { + "field": "count", + "type": "quantitative", + "aggregate": "sum", + "title": "Count" + } + }, + "style": { + "pieInnerRadius": 60, + "pieDonutCenterValue": "total", + "labelFontSize": 16, + "pieSort": "desc", + "pieLabels": "nameAndPercent", + "mappedColors": { + "critical": "#DE0038", + "error": "#DE0038", + "failed": "#DE0038", + "failure": "#DE0038", + "down": "#DE0038", + "offline": "#DE0038", + "unhealthy": "#DE0038", + "high": "#DE0038", + "warning": "#F59E0B", + "warn": "#F59E0B", + "medium": "#F59E0B", + "moderate": "#F59E0B", + "degraded": "#F59E0B", + "partial": "#F59E0B", + "ok": "#2BB660", + "healthy": "#2BB660", + "success": "#2BB660", + "succeeded": "#2BB660", + "passed": "#2BB660", + "up": "#2BB660", + "online": "#2BB660", + "resolved": "#2BB660", + "low": "#3B82F6", + "info": "#3B82F6", + "informational": "#3B82F6", + "unknown": "#94A3B8", + "unmonitored": "#94A3B8", + "not monitored": "#94A3B8", + "paused": "#94A3B8" + } } } } @@ -249,16 +325,60 @@ "description": "", "activePluginConfigIds": ["{{configId}}"], "title": "Software Patches by Status", - "visualisation": { - "type": "data-stream-donut-chart", - "config": { - "data-stream-donut-chart": { - "labelColumn": "status_uniqueValues", - "valueColumn": "count", - "showValuesAsPercentage": true, - "hideCenterValue": false, - "legendPosition": "auto", - "legendMode": "inline" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "pie", + "encoding": { + "label": { + "field": "status_uniqueValues", + "type": "nominal", + "title": "Status" + }, + "value": { + "field": "count", + "type": "quantitative", + "aggregate": "sum", + "title": "Count" + } + }, + "style": { + "pieInnerRadius": 60, + "pieDonutCenterValue": "total", + "labelFontSize": 16, + "pieSort": "desc", + "pieLabels": "nameAndPercent", + "mappedColors": { + "critical": "#DE0038", + "error": "#DE0038", + "failed": "#DE0038", + "failure": "#DE0038", + "down": "#DE0038", + "offline": "#DE0038", + "unhealthy": "#DE0038", + "high": "#DE0038", + "warning": "#F59E0B", + "warn": "#F59E0B", + "medium": "#F59E0B", + "moderate": "#F59E0B", + "degraded": "#F59E0B", + "partial": "#F59E0B", + "ok": "#2BB660", + "healthy": "#2BB660", + "success": "#2BB660", + "succeeded": "#2BB660", + "passed": "#2BB660", + "up": "#2BB660", + "online": "#2BB660", + "resolved": "#2BB660", + "low": "#3B82F6", + "info": "#3B82F6", + "informational": "#3B82F6", + "unknown": "#94A3B8", + "unmonitored": "#94A3B8", + "not monitored": "#94A3B8", + "paused": "#94A3B8" + } } } } @@ -284,13 +404,68 @@ "description": "", "activePluginConfigIds": ["{{configId}}"], "title": "OS Patch Status", - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "columnOrder": ["name", "status", "severity", "type", "kbNumber", "installedAt"], - "hiddenColumns": ["id", "deviceId"], - "transpose": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "name", + "title": "Patch Name", + "renderer": { + "type": "text" + } + }, + { + "field": "status[Expanded].rawState", + "title": "Status", + "renderer": { + "type": "badge", + "colors": { + "failed": "#DE0038", + "rejected": "#DE0038", + "pending": "#F59E0B", + "installed": "#2BB660" + } + } + }, + { + "field": "severity", + "title": "Severity", + "renderer": { + "type": "text" + } + }, + { + "field": "type", + "title": "Type", + "renderer": { + "type": "text" + } + }, + { + "field": "kbNumber", + "title": "KB Number", + "renderer": { + "type": "text" + } + }, + { + "field": "installedAt", + "title": "Installed At", + "renderer": { + "type": "date" + } + }, + { + "field": "timestamp", + "title": "Collection Time", + "renderer": { + "type": "date" + } + } + ] } } } @@ -316,21 +491,75 @@ "description": "", "activePluginConfigIds": ["{{configId}}"], "title": "Software Patch Status", - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "columnOrder": [ - "name", - "softwareName", - "softwarePublisher", - "status", - "severity", - "version", - "installedAt" - ], - "hiddenColumns": ["id", "deviceId"], - "transpose": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "name", + "title": "Patch Name", + "renderer": { + "type": "text" + } + }, + { + "field": "softwareName", + "title": "Software", + "renderer": { + "type": "text" + } + }, + { + "field": "softwarePublisher", + "title": "Publisher", + "renderer": { + "type": "text" + } + }, + { + "field": "status[Expanded].rawState", + "title": "Status", + "renderer": { + "type": "badge", + "colors": { + "failed": "#DE0038", + "rejected": "#DE0038", + "pending": "#F59E0B", + "installed": "#2BB660" + } + } + }, + { + "field": "severity", + "title": "Severity", + "renderer": { + "type": "text" + } + }, + { + "field": "version", + "title": "Version", + "renderer": { + "type": "text" + } + }, + { + "field": "installedAt", + "title": "Installed At", + "renderer": { + "type": "date" + } + }, + { + "field": "timestamp", + "title": "Collection Time", + "renderer": { + "type": "date" + } + } + ] } } } @@ -366,13 +595,53 @@ "description": "", "activePluginConfigIds": ["{{configId}}"], "title": "Devices Needing Reboot", - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "columnOrder": ["name", "buildNumber", "lastBootTime", "needsReboot"], - "hiddenColumns": ["deviceId", "manufacturer", "architecture", "releaseId"], - "transpose": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "name", + "title": "OS Name", + "renderer": { + "type": "text" + } + }, + { + "field": "buildNumber", + "title": "Build Number", + "renderer": { + "type": "text" + } + }, + { + "field": "lastBootTime", + "title": "Last Boot Time", + "renderer": { + "type": "date", + "relative": true + } + }, + { + "field": "needsReboot[Expanded].rawState", + "title": "Needs Reboot", + "renderer": { + "type": "badge", + "colors": { + "true": "#DE0038", + "false": "#2BB660" + } + } + }, + { + "field": "timestamp", + "title": "Collection Time", + "renderer": { + "type": "date" + } + } + ] } } } @@ -398,29 +667,100 @@ "description": "", "activePluginConfigIds": ["{{configId}}"], "title": "Patch Compliance Summary", - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "columnOrder": [ - "healthStatus", - "pendingOSPatchesCount", - "failedOSPatchesCount", - "pendingSoftwarePatchesCount", - "failedSoftwarePatchesCount" - ], - "hiddenColumns": [ - "deviceId", - "activeThreatsCount", - "quarantinedThreatsCount", - "alertCount", - "criticalVulnerabilityCount", - "highVulnerabilityCount", - "mediumVulnerabilityCount", - "lowVulnerabilityCount", - "offline" - ], - "transpose": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "healthStatus[Expanded].rawState", + "title": "Health Status", + "renderer": { + "type": "badge", + "colors": { + "UNHEALTHY": "#DE0038", + "NEEDS_ATTENTION": "#F59E0B", + "HEALTHY": "#2BB660", + "UNKNOWN": "#94A3B8" + } + } + }, + { + "field": "pendingOSPatchesCount", + "title": "Pending OS Patches", + "renderer": { + "type": "text" + } + }, + { + "field": "failedOSPatchesCount", + "title": "Failed OS Patches", + "renderer": { + "type": "text" + } + }, + { + "field": "pendingSoftwarePatchesCount", + "title": "Pending Software Patches", + "renderer": { + "type": "text" + } + }, + { + "field": "failedSoftwarePatchesCount", + "title": "Failed Software Patches", + "renderer": { + "type": "text" + } + }, + { + "field": "parentOffline", + "title": "Parent Offline", + "renderer": { + "type": "boolean", + "trueLabel": "Yes", + "falseLabel": "No", + "trueColor": "inherit", + "falseColor": "inherit" + } + }, + { + "field": "blockedThreatsCount", + "title": "Blocked Threats", + "renderer": { + "type": "text" + } + }, + { + "field": "activeJobCount", + "title": "Active Jobs", + "renderer": { + "type": "text" + } + }, + { + "field": "pendingRebootReason", + "title": "Pending Reboot Reason", + "renderer": { + "type": "text" + } + }, + { + "field": "avInstallStatus", + "title": "AV Install Status", + "renderer": { + "type": "text" + } + }, + { + "field": "installationIssuesCount", + "title": "Installation Issues", + "renderer": { + "type": "text" + } + } + ] } } } @@ -446,13 +786,53 @@ "description": "", "activePluginConfigIds": ["{{configId}}"], "title": "Policy Overrides", - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "columnOrder": ["policyName", "conditionType", "enabled", "createdAt", "updatedAt"], - "hiddenColumns": ["deviceId", "policyId", "conditionId"], - "transpose": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "policyName", + "title": "Policy Name", + "renderer": { + "type": "text" + } + }, + { + "field": "conditionType", + "title": "Condition Type", + "renderer": { + "type": "text" + } + }, + { + "field": "enabled", + "title": "Enabled", + "renderer": { + "type": "boolean", + "trueLabel": "Yes", + "falseLabel": "No", + "trueColor": "inherit", + "falseColor": "inherit" + } + }, + { + "field": "createdAt", + "title": "Created At", + "renderer": { + "type": "date" + } + }, + { + "field": "updatedAt", + "title": "Updated At", + "renderer": { + "type": "date", + "relative": true + } + } + ] } } } @@ -498,13 +878,17 @@ "description": "", "activePluginConfigIds": ["{{configId}}"], "title": "Recent Patch Jobs", - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "columnOrder": ["name", "type", "status", "startedAt", "completedAt", "duration"], - "hiddenColumns": ["id", "deviceId", "organizationId"], - "transpose": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableHiddenColumns": [ + "id", + "deviceId", + "organizationId" + ] } } } diff --git a/plugins/NinjaOne/v1/defaultContent/securityOverview.dash.json b/plugins/NinjaOne/v1/defaultContent/securityOverview.dash.json index 1373dee3..11d4fa08 100644 --- a/plugins/NinjaOne/v1/defaultContent/securityOverview.dash.json +++ b/plugins/NinjaOne/v1/defaultContent/securityOverview.dash.json @@ -34,13 +34,21 @@ "description": "", "activePluginConfigIds": ["{{configId}}"], "title": "Active Threats", - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "activeThreatsCount_sum", - "comparisonColumn": "none", - "formatted": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "activeThreatsCount_sum", + "type": "quantitative", + "title": "Active Threats (Sum)" + } + ] + }, + "style": { + "scalarLabelPosition": "none" } } } @@ -75,13 +83,21 @@ "description": "", "activePluginConfigIds": ["{{configId}}"], "title": "Total Alerts", - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "alertCount_sum", - "comparisonColumn": "none", - "formatted": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "alertCount_sum", + "type": "quantitative", + "title": "Alert Count (Sum)" + } + ] + }, + "style": { + "scalarLabelPosition": "none" } } } @@ -116,13 +132,21 @@ "description": "", "activePluginConfigIds": ["{{configId}}"], "title": "Critical Vulnerabilities", - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "criticalVulnerabilityCount_sum", - "comparisonColumn": "none", - "formatted": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "criticalVulnerabilityCount_sum", + "type": "quantitative", + "title": "Critical Vulnerabilities (Sum)" + } + ] + }, + "style": { + "scalarLabelPosition": "none" } } } @@ -157,13 +181,21 @@ "description": "", "activePluginConfigIds": ["{{configId}}"], "title": "High Vulnerabilities", - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "highVulnerabilityCount_sum", - "comparisonColumn": "none", - "formatted": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "highVulnerabilityCount_sum", + "type": "quantitative", + "title": "High Vulnerabilities (Sum)" + } + ] + }, + "style": { + "scalarLabelPosition": "none" } } } @@ -199,16 +231,60 @@ "description": "", "activePluginConfigIds": ["{{configId}}"], "title": "Threats by Severity", - "visualisation": { - "type": "data-stream-donut-chart", - "config": { - "data-stream-donut-chart": { - "labelColumn": "severity_uniqueValues", - "valueColumn": "count", - "showValuesAsPercentage": true, - "hideCenterValue": false, - "legendPosition": "auto", - "legendMode": "inline" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "pie", + "encoding": { + "label": { + "field": "severity_uniqueValues", + "type": "nominal", + "title": "Severity" + }, + "value": { + "field": "count", + "type": "quantitative", + "aggregate": "sum", + "title": "Count" + } + }, + "style": { + "pieInnerRadius": 60, + "pieDonutCenterValue": "total", + "labelFontSize": 16, + "pieSort": "desc", + "pieLabels": "nameAndPercent", + "mappedColors": { + "critical": "#DE0038", + "error": "#DE0038", + "failed": "#DE0038", + "failure": "#DE0038", + "down": "#DE0038", + "offline": "#DE0038", + "unhealthy": "#DE0038", + "high": "#DE0038", + "warning": "#F59E0B", + "warn": "#F59E0B", + "medium": "#F59E0B", + "moderate": "#F59E0B", + "degraded": "#F59E0B", + "partial": "#F59E0B", + "ok": "#2BB660", + "healthy": "#2BB660", + "success": "#2BB660", + "succeeded": "#2BB660", + "passed": "#2BB660", + "up": "#2BB660", + "online": "#2BB660", + "resolved": "#2BB660", + "low": "#3B82F6", + "info": "#3B82F6", + "informational": "#3B82F6", + "unknown": "#94A3B8", + "unmonitored": "#94A3B8", + "not monitored": "#94A3B8", + "paused": "#94A3B8" + } } } } @@ -244,16 +320,60 @@ "description": "", "activePluginConfigIds": ["{{configId}}"], "title": "Alerts by Severity", - "visualisation": { - "type": "data-stream-donut-chart", - "config": { - "data-stream-donut-chart": { - "labelColumn": "severity_uniqueValues", - "valueColumn": "count", - "showValuesAsPercentage": true, - "hideCenterValue": false, - "legendPosition": "auto", - "legendMode": "inline" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "pie", + "encoding": { + "label": { + "field": "severity_uniqueValues", + "type": "nominal", + "title": "Severity" + }, + "value": { + "field": "count", + "type": "quantitative", + "aggregate": "sum", + "title": "Count" + } + }, + "style": { + "pieInnerRadius": 60, + "pieDonutCenterValue": "total", + "labelFontSize": 16, + "pieSort": "desc", + "pieLabels": "nameAndPercent", + "mappedColors": { + "critical": "#DE0038", + "error": "#DE0038", + "failed": "#DE0038", + "failure": "#DE0038", + "down": "#DE0038", + "offline": "#DE0038", + "unhealthy": "#DE0038", + "high": "#DE0038", + "warning": "#F59E0B", + "warn": "#F59E0B", + "medium": "#F59E0B", + "moderate": "#F59E0B", + "degraded": "#F59E0B", + "partial": "#F59E0B", + "ok": "#2BB660", + "healthy": "#2BB660", + "success": "#2BB660", + "succeeded": "#2BB660", + "passed": "#2BB660", + "up": "#2BB660", + "online": "#2BB660", + "resolved": "#2BB660", + "low": "#3B82F6", + "info": "#3B82F6", + "informational": "#3B82F6", + "unknown": "#94A3B8", + "unmonitored": "#94A3B8", + "not monitored": "#94A3B8", + "paused": "#94A3B8" + } } } } @@ -279,21 +399,77 @@ "description": "", "activePluginConfigIds": ["{{configId}}"], "title": "Antivirus Threats", - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "columnOrder": [ - "name", - "status", - "severity", - "category", - "detectedAt", - "actionTaken", - "path" - ], - "hiddenColumns": ["id", "deviceId"], - "transpose": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "name", + "title": "Threat Name", + "renderer": { + "type": "text" + } + }, + { + "field": "status[Expanded].rawState", + "title": "Status", + "renderer": { + "type": "badge", + "colors": { + "active": "#DE0038", + "detected": "#DE0038", + "quarantined": "#F59E0B", + "remediation_failed": "#F59E0B", + "removed": "#2BB660", + "cleaned": "#2BB660" + } + } + }, + { + "field": "severity", + "title": "Severity", + "renderer": { + "type": "text" + } + }, + { + "field": "category", + "title": "Category", + "renderer": { + "type": "text" + } + }, + { + "field": "detectedAt", + "title": "Detected At", + "renderer": { + "type": "date" + } + }, + { + "field": "actionTaken", + "title": "Action Taken", + "renderer": { + "type": "text" + } + }, + { + "field": "path", + "title": "File Path", + "renderer": { + "type": "text" + } + }, + { + "field": "timestamp", + "title": "Collection Time", + "renderer": { + "type": "date" + } + } + ] } } } @@ -319,19 +495,55 @@ "description": "", "activePluginConfigIds": ["{{configId}}"], "title": "Antivirus Product Status", - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "columnOrder": [ - "productName", - "productState", - "definitionStatus", - "version", - "timestamp" - ], - "hiddenColumns": ["deviceId"], - "transpose": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "productName", + "title": "Product Name", + "renderer": { + "type": "text" + } + }, + { + "field": "productState[Expanded].rawState", + "title": "Product State", + "renderer": { + "type": "badge", + "colors": { + "disabled": "#DE0038", + "off": "#DE0038", + "partial": "#F59E0B", + "enabled": "#2BB660", + "on": "#2BB660" + } + } + }, + { + "field": "definitionStatus", + "title": "Definition Status", + "renderer": { + "type": "text" + } + }, + { + "field": "version", + "title": "Version", + "renderer": { + "type": "text" + } + }, + { + "field": "timestamp", + "title": "Collection Time", + "renderer": { + "type": "date" + } + } + ] } } } @@ -357,13 +569,17 @@ "description": "", "activePluginConfigIds": ["{{configId}}"], "title": "Recent Security Alerts", - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "columnOrder": ["displayName", "severity", "status", "createdAt"], - "hiddenColumns": ["id", "deviceId", "organizationId"], - "transpose": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableHiddenColumns": [ + "id", + "deviceId", + "organizationId" + ] } } } @@ -389,29 +605,107 @@ "description": "", "activePluginConfigIds": ["{{configId}}"], "title": "Device Security Health", - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "columnOrder": [ - "healthStatus", - "activeThreatsCount", - "quarantinedThreatsCount", - "alertCount", - "criticalVulnerabilityCount", - "highVulnerabilityCount" - ], - "hiddenColumns": [ - "deviceId", - "pendingOSPatchesCount", - "failedOSPatchesCount", - "pendingSoftwarePatchesCount", - "failedSoftwarePatchesCount", - "mediumVulnerabilityCount", - "lowVulnerabilityCount", - "offline" - ], - "transpose": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "healthStatus[Expanded].rawState", + "title": "Health Status", + "renderer": { + "type": "badge", + "colors": { + "UNHEALTHY": "#DE0038", + "NEEDS_ATTENTION": "#F59E0B", + "HEALTHY": "#2BB660", + "UNKNOWN": "#94A3B8" + } + } + }, + { + "field": "activeThreatsCount", + "title": "Active Threats", + "renderer": { + "type": "text" + } + }, + { + "field": "quarantinedThreatsCount", + "title": "Quarantined Threats", + "renderer": { + "type": "text" + } + }, + { + "field": "alertCount", + "title": "Alert Count", + "renderer": { + "type": "text" + } + }, + { + "field": "criticalVulnerabilityCount", + "title": "Critical Vulnerabilities", + "renderer": { + "type": "text" + } + }, + { + "field": "highVulnerabilityCount", + "title": "High Vulnerabilities", + "renderer": { + "type": "text" + } + }, + { + "field": "parentOffline", + "title": "Parent Offline", + "renderer": { + "type": "boolean", + "trueLabel": "Yes", + "falseLabel": "No", + "trueColor": "inherit", + "falseColor": "inherit" + } + }, + { + "field": "blockedThreatsCount", + "title": "Blocked Threats", + "renderer": { + "type": "text" + } + }, + { + "field": "activeJobCount", + "title": "Active Jobs", + "renderer": { + "type": "text" + } + }, + { + "field": "pendingRebootReason", + "title": "Pending Reboot Reason", + "renderer": { + "type": "text" + } + }, + { + "field": "avInstallStatus", + "title": "AV Install Status", + "renderer": { + "type": "text" + } + }, + { + "field": "installationIssuesCount", + "title": "Installation Issues", + "renderer": { + "type": "text" + } + } + ] } } } @@ -437,22 +731,16 @@ "description": "", "activePluginConfigIds": ["{{configId}}"], "title": "Disk Health (SMART Status)", - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "columnOrder": [ - "name", - "status", - "model", - "manufacturer", - "mediaType", - "size", - "smartCapable", - "partitionCount" - ], - "hiddenColumns": ["deviceId", "interfaceType"], - "transpose": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableHiddenColumns": [ + "deviceId", + "interfaceType" + ] } } } diff --git a/plugins/NinjaOne/v1/metadata.json b/plugins/NinjaOne/v1/metadata.json index 69b8399b..b6e7da40 100644 --- a/plugins/NinjaOne/v1/metadata.json +++ b/plugins/NinjaOne/v1/metadata.json @@ -1,7 +1,7 @@ { "name": "ninja-one", "displayName": "NinjaOne", - "version": "1.2.0", + "version": "1.2.1", "author": { "name": "SquaredUp Labs", "type": "labs" diff --git a/plugins/Notion/v1/defaultContent/notionDataSource.dash.json b/plugins/Notion/v1/defaultContent/notionDataSource.dash.json index c73b36ff..f76cac20 100644 --- a/plugins/Notion/v1/defaultContent/notionDataSource.dash.json +++ b/plugins/Notion/v1/defaultContent/notionDataSource.dash.json @@ -33,11 +33,13 @@ "workspace": "{{workspaceId}}", "variable": "{{variables.[Notion Data Source]}}" }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": true + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableTranspose": true } } } @@ -74,13 +76,35 @@ "by": [["lastEditedTime", "desc"]] } }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false, - "columnOrder": ["name", "lastEditedTime", "url"], - "hiddenColumns": ["id", "createdTime", "parentType", "parentDataSourceId"] + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "name", + "title": "Name", + "renderer": { + "type": "text" + } + }, + { + "field": "lastEditedTime", + "title": "Last Edited", + "renderer": { + "type": "date", + "relative": true + } + }, + { + "field": "url", + "title": "URL", + "renderer": { + "type": "link" + } + } + ] } } } @@ -115,12 +139,28 @@ "workspace": "{{workspaceId}}", "variable": "{{variables.[Notion Data Source]}}" }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false, - "hiddenColumns": ["id", "createdTime"] + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "name", + "title": "Name", + "renderer": { + "type": "text" + } + }, + { + "field": "lastEditedTime", + "title": "Last Edited", + "renderer": { + "type": "date", + "relative": true + } + } + ] } } } @@ -152,12 +192,34 @@ "workspace": "{{workspaceId}}", "variable": "{{variables.[Notion Data Source]}}" }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false, - "columnOrder": ["name", "type", "details"] + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "name", + "title": "Name", + "renderer": { + "type": "text" + } + }, + { + "field": "type", + "title": "Type", + "renderer": { + "type": "text" + } + }, + { + "field": "details", + "title": "Details", + "renderer": { + "type": "text" + } + } + ] } } } diff --git a/plugins/Notion/v1/defaultContent/notionPage.dash.json b/plugins/Notion/v1/defaultContent/notionPage.dash.json index ad8b5c70..c5a6dc9a 100644 --- a/plugins/Notion/v1/defaultContent/notionPage.dash.json +++ b/plugins/Notion/v1/defaultContent/notionPage.dash.json @@ -34,11 +34,13 @@ "workspace": "{{workspaceId}}", "variable": "{{variables.[Notion Page]}}" }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": true + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableTranspose": true } } } @@ -70,13 +72,38 @@ "workspace": "{{workspaceId}}", "variable": "{{variables.[Notion Page]}}" }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false, - "columnOrder": ["text", "type", "checked"], - "hiddenColumns": ["hasChildren"] + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "text", + "title": "Text", + "renderer": { + "type": "text" + } + }, + { + "field": "type", + "title": "Type", + "renderer": { + "type": "text" + } + }, + { + "field": "checked", + "title": "Checked", + "renderer": { + "type": "boolean", + "trueLabel": "Yes", + "falseLabel": "No", + "trueColor": "inherit", + "falseColor": "inherit" + } + } + ] } } } @@ -108,13 +135,34 @@ "workspace": "{{workspaceId}}", "variable": "{{variables.[Notion Page]}}" }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false, - "columnOrder": ["createdTime", "author", "text"], - "hiddenColumns": ["id", "createdById"] + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "createdTime", + "title": "Created", + "renderer": { + "type": "date" + } + }, + { + "field": "author", + "title": "Author", + "renderer": { + "type": "text" + } + }, + { + "field": "text", + "title": "Comment", + "renderer": { + "type": "text" + } + } + ] } } } diff --git a/plugins/Notion/v1/defaultContent/notionUser.dash.json b/plugins/Notion/v1/defaultContent/notionUser.dash.json index bc84b73c..2ed41828 100644 --- a/plugins/Notion/v1/defaultContent/notionUser.dash.json +++ b/plugins/Notion/v1/defaultContent/notionUser.dash.json @@ -33,11 +33,13 @@ "workspace": "{{workspaceId}}", "variable": "{{variables.[Notion User]}}" }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": true + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableTranspose": true } } } diff --git a/plugins/Notion/v1/defaultContent/overview.dash.json b/plugins/Notion/v1/defaultContent/overview.dash.json index 6ab930e2..9fe58f30 100644 --- a/plugins/Notion/v1/defaultContent/overview.dash.json +++ b/plugins/Notion/v1/defaultContent/overview.dash.json @@ -31,12 +31,21 @@ "aggregate": [{ "type": "count" }] } }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "count", - "comparisonColumn": "none" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "count", + "type": "quantitative", + "title": "Count" + } + ] + }, + "style": { + "scalarLabelPosition": "none" } } } @@ -66,12 +75,21 @@ "aggregate": [{ "type": "count" }] } }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "count", - "comparisonColumn": "none" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "count", + "type": "quantitative", + "title": "Count" + } + ] + }, + "style": { + "scalarLabelPosition": "none" } } } @@ -101,12 +119,21 @@ "aggregate": [{ "type": "count" }] } }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "count", - "comparisonColumn": "none" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "count", + "type": "quantitative", + "title": "Count" + } + ] + }, + "style": { + "scalarLabelPosition": "none" } } } @@ -135,13 +162,35 @@ "by": [["lastEditedTime", "desc"]] } }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false, - "columnOrder": ["name", "lastEditedTime", "url"], - "hiddenColumns": ["id", "createdTime", "parentType", "parentDataSourceId"] + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "name", + "title": "Name", + "renderer": { + "type": "text" + } + }, + { + "field": "lastEditedTime", + "title": "Last Edited", + "renderer": { + "type": "date", + "relative": true + } + }, + { + "field": "url", + "title": "URL", + "renderer": { + "type": "link" + } + } + ] } } } @@ -167,13 +216,34 @@ "name": "usersList", "pluginConfigId": "{{configId}}" }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false, - "columnOrder": ["name", "type", "person.email"], - "hiddenColumns": ["id", "avatar_url"] + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "name", + "title": "Name", + "renderer": { + "type": "text" + } + }, + { + "field": "type", + "title": "Type", + "renderer": { + "type": "text" + } + }, + { + "field": "person.email", + "title": "Email", + "renderer": { + "type": "text" + } + } + ] } } } @@ -202,13 +272,35 @@ "by": [["lastEditedTime", "desc"]] } }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false, - "columnOrder": ["name", "lastEditedTime", "url"], - "hiddenColumns": ["id", "createdTime", "parentDatabaseId"] + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "name", + "title": "Name", + "renderer": { + "type": "text" + } + }, + { + "field": "lastEditedTime", + "title": "Last Edited", + "renderer": { + "type": "date", + "relative": true + } + }, + { + "field": "url", + "title": "URL", + "renderer": { + "type": "link" + } + } + ] } } } diff --git a/plugins/Notion/v1/metadata.json b/plugins/Notion/v1/metadata.json index 7691255f..8d7b2dd5 100644 --- a/plugins/Notion/v1/metadata.json +++ b/plugins/Notion/v1/metadata.json @@ -1,7 +1,7 @@ { "name": "notion", "displayName": "Notion", - "version": "1.2.4", + "version": "1.2.5", "author": { "name": "@clarkd", "type": "community" diff --git a/plugins/OctopusDeploy/v1/defaultContent/deploymentTarget.dash.json b/plugins/OctopusDeploy/v1/defaultContent/deploymentTarget.dash.json index d31b3bad..80f083e0 100644 --- a/plugins/OctopusDeploy/v1/defaultContent/deploymentTarget.dash.json +++ b/plugins/OctopusDeploy/v1/defaultContent/deploymentTarget.dash.json @@ -40,15 +40,14 @@ "variables": [ "{{variables.[Octopus Deployment Target]}}" ], - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": true, - "columnOrder": [ - "name" - ], - "hiddenColumns": [ + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableTranspose": true, + "richTableHiddenColumns": [ "id", "links", "type", diff --git a/plugins/OctopusDeploy/v1/defaultContent/environment.dash.json b/plugins/OctopusDeploy/v1/defaultContent/environment.dash.json index d0bad908..99c1dd26 100644 --- a/plugins/OctopusDeploy/v1/defaultContent/environment.dash.json +++ b/plugins/OctopusDeploy/v1/defaultContent/environment.dash.json @@ -40,15 +40,14 @@ "variables": [ "{{variables.[Octopus Environment]}}" ], - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": true, - "columnOrder": [ - "name" - ], - "hiddenColumns": [ + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableTranspose": true, + "richTableHiddenColumns": [ "id", "links", "type", diff --git a/plugins/OctopusDeploy/v1/defaultContent/project.dash.json b/plugins/OctopusDeploy/v1/defaultContent/project.dash.json index 23dfd2f4..412aed4d 100644 --- a/plugins/OctopusDeploy/v1/defaultContent/project.dash.json +++ b/plugins/OctopusDeploy/v1/defaultContent/project.dash.json @@ -40,15 +40,14 @@ "variables": [ "{{variables.[Octopus Project]}}" ], - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": true, - "columnOrder": [ - "name" - ], - "hiddenColumns": [ + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableTranspose": true, + "richTableHiddenColumns": [ "id", "links", "type", diff --git a/plugins/OctopusDeploy/v1/defaultContent/runbook.dash.json b/plugins/OctopusDeploy/v1/defaultContent/runbook.dash.json index f44ec325..b7bb85b1 100644 --- a/plugins/OctopusDeploy/v1/defaultContent/runbook.dash.json +++ b/plugins/OctopusDeploy/v1/defaultContent/runbook.dash.json @@ -40,15 +40,14 @@ "variables": [ "{{variables.[Octopus Runbook]}}" ], - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": true, - "columnOrder": [ - "name" - ], - "hiddenColumns": [ + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableTranspose": true, + "richTableHiddenColumns": [ "id", "links", "type", diff --git a/plugins/OctopusDeploy/v1/defaultContent/workerPool.dash.json b/plugins/OctopusDeploy/v1/defaultContent/workerPool.dash.json index d372063f..4eb71562 100644 --- a/plugins/OctopusDeploy/v1/defaultContent/workerPool.dash.json +++ b/plugins/OctopusDeploy/v1/defaultContent/workerPool.dash.json @@ -40,15 +40,14 @@ "variables": [ "{{variables.[Octopus Worker Pool]}}" ], - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": true, - "columnOrder": [ - "name" - ], - "hiddenColumns": [ + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableTranspose": true, + "richTableHiddenColumns": [ "id", "links", "type", diff --git a/plugins/OctopusDeploy/v1/metadata.json b/plugins/OctopusDeploy/v1/metadata.json index 6f64737f..43da536b 100644 --- a/plugins/OctopusDeploy/v1/metadata.json +++ b/plugins/OctopusDeploy/v1/metadata.json @@ -1,7 +1,7 @@ { "name": "octopus-deploy", "displayName": "Octopus Deploy", - "version": "1.0.0", + "version": "1.0.1", "author": { "name": "@clarkd", "type": "community" diff --git a/plugins/OpenF1/v1/defaultContent/driver.dash.json b/plugins/OpenF1/v1/defaultContent/driver.dash.json index 69fab278..ca4ff085 100644 --- a/plugins/OpenF1/v1/defaultContent/driver.dash.json +++ b/plugins/OpenF1/v1/defaultContent/driver.dash.json @@ -39,54 +39,17 @@ "version": "1.0", "visualization": { "chartType": "richTable", - "encoding": { - "columns": [ - { - "field": "name", - "title": "Name", - "renderer": { - "type": "text" - } - }, - { - "field": "name_acronym", - "title": "Name Acronym", - "renderer": { - "type": "text" - } - }, - { - "field": "team_name", - "title": "Team Name", - "renderer": { - "type": "text" - } - }, - { - "field": "team_colour", - "title": "Team Colour", - "renderer": { - "type": "text" - } - }, - { - "field": "country_code", - "title": "Country Code", - "renderer": { - "type": "text" - } - }, - { - "field": "headshot_url", - "title": "Headshot Url", - "renderer": { - "type": "text" - } - } - ] - }, + "encoding": {}, "style": { - "richTableTranspose": true + "richTableTranspose": true, + "richTableHiddenColumns": [ + "id", + "link", + "links", + "label", + "sourceId", + "sourceType" + ] } } } diff --git a/plugins/OpenF1/v1/defaultContent/meeting.dash.json b/plugins/OpenF1/v1/defaultContent/meeting.dash.json index 41c36214..42fb6574 100644 --- a/plugins/OpenF1/v1/defaultContent/meeting.dash.json +++ b/plugins/OpenF1/v1/defaultContent/meeting.dash.json @@ -35,75 +35,19 @@ "version": "1.0", "visualization": { "chartType": "richTable", - "encoding": { - "columns": [ - { - "field": "name", - "title": "Name", - "renderer": { - "type": "text" - } - }, - { - "field": "meeting_official_name", - "title": "Meeting Official Name", - "renderer": { - "type": "text" - } - }, - { - "field": "circuit_short_name", - "title": "Circuit Short Name", - "renderer": { - "type": "text" - } - }, - { - "field": "circuit_type", - "title": "Circuit Type", - "renderer": { - "type": "text" - } - }, - { - "field": "country_name", - "title": "Country Name", - "renderer": { - "type": "text" - } - }, - { - "field": "location", - "title": "Location", - "renderer": { - "type": "text" - } - }, - { - "field": "year", - "title": "Year", - "renderer": { - "type": "text" - } - }, - { - "field": "date_start", - "title": "Date Start", - "renderer": { - "type": "text" - } - }, - { - "field": "date_end", - "title": "Date End", - "renderer": { - "type": "text" - } - } - ] - }, + "encoding": {}, "style": { - "richTableTranspose": true + "richTableTranspose": true, + "richTableHiddenColumns": [ + "id", + "link", + "links", + "label", + "sourceId", + "sourceType", + "meeting_name", + "country_code" + ] } } } diff --git a/plugins/OpenF1/v1/metadata.json b/plugins/OpenF1/v1/metadata.json index 9363ae35..f0985e70 100644 --- a/plugins/OpenF1/v1/metadata.json +++ b/plugins/OpenF1/v1/metadata.json @@ -1,7 +1,7 @@ { "name": "openf1", "displayName": "OpenF1", - "version": "1.1.1", + "version": "1.1.2", "author": { "name": "@clarkd", "type": "community" diff --git a/plugins/OpenSearch/v1/defaultContent/index.dash.json b/plugins/OpenSearch/v1/defaultContent/index.dash.json index 54984698..330869d3 100644 --- a/plugins/OpenSearch/v1/defaultContent/index.dash.json +++ b/plugins/OpenSearch/v1/defaultContent/index.dash.json @@ -40,31 +40,51 @@ "variables": [ "{{variables.[OpenSearch Index]}}" ], - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": true, - "columnOrder": [ - "name", - "uuid", - "created", - "primaryShards", - "replicas" - ], - "hiddenColumns": [ - "id", - "links", - "type", - "label", - "sourceId", - "sourceType", - "sourceName" - ], - "columnDisplayNames": { - "primaryShards": "Primary shards", - "uuid": "UUID" - } + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "name", + "title": "Name", + "renderer": { + "type": "text" + } + }, + { + "field": "uuid", + "title": "UUID", + "renderer": { + "type": "text" + } + }, + { + "field": "created", + "title": "Created", + "renderer": { + "type": "text" + } + }, + { + "field": "primaryShards", + "title": "Primary shards", + "renderer": { + "type": "text" + } + }, + { + "field": "replicas", + "title": "Replicas", + "renderer": { + "type": "text" + } + } + ] + }, + "style": { + "richTableTranspose": true } } } @@ -107,14 +127,23 @@ "variables": [ "{{variables.[OpenSearch Index]}}" ], - "visualisation": { - "type": "data-stream-blocks", - "config": { - "data-stream-blocks": { - "labelColumn": "index", - "stateColumn": "health", - "sublabel": "health[Expanded].rawState", - "columns": 1 + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "statusGrid", + "encoding": { + "label": { + "field": "index", + "type": "nominal" + }, + "status": { + "field": "health", + "type": "nominal" + } + }, + "style": { + "statusGridColumnsPerRow": 1, + "statusGridSecondaryTemplate": "{{{{raw}}}}{{lookup this \"health[Expanded].rawState\"}}{{{{/raw}}}}" } } } @@ -157,14 +186,23 @@ "variables": [ "{{variables.[OpenSearch Index]}}" ], - "visualisation": { - "type": "data-stream-blocks", - "config": { - "data-stream-blocks": { - "labelColumn": "index", - "stateColumn": "status", - "sublabel": "status[Expanded].rawState", - "columns": 1 + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "statusGrid", + "encoding": { + "label": { + "field": "index", + "type": "nominal" + }, + "status": { + "field": "status", + "type": "nominal" + } + }, + "style": { + "statusGridColumnsPerRow": 1, + "statusGridSecondaryTemplate": "{{{{raw}}}}{{lookup this \"status[Expanded].rawState\"}}{{{{/raw}}}}" } } } @@ -207,13 +245,21 @@ "variables": [ "{{variables.[OpenSearch Index]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "docs.count", - "comparisonColumn": "none", - "label": "Documents" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "docs.count", + "type": "quantitative", + "title": "Documents" + } + ] + }, + "style": { + "scalarLabelText": "Documents" } } } @@ -256,13 +302,21 @@ "variables": [ "{{variables.[OpenSearch Index]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "store.size", - "comparisonColumn": "none", - "label": "Size" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "store.size", + "type": "quantitative", + "title": "Size" + } + ] + }, + "style": { + "scalarLabelText": "Size" } } } @@ -305,13 +359,21 @@ "variables": [ "{{variables.[OpenSearch Index]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "pri.store.size", - "comparisonColumn": "none", - "label": "Primary size" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "pri.store.size", + "type": "quantitative", + "title": "Primary Size" + } + ] + }, + "style": { + "scalarLabelText": "Primary size" } } } @@ -354,13 +416,21 @@ "variables": [ "{{variables.[OpenSearch Index]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "docs.deleted", - "comparisonColumn": "none", - "label": "Deleted documents" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "docs.deleted", + "type": "quantitative", + "title": "Deleted Documents" + } + ] + }, + "style": { + "scalarLabelText": "Deleted documents" } } } @@ -403,13 +473,21 @@ "variables": [ "{{variables.[OpenSearch Index]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "pri", - "comparisonColumn": "none", - "label": "Primary shards" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "pri", + "type": "quantitative", + "title": "Primary Shards" + } + ] + }, + "style": { + "scalarLabelText": "Primary shards" } } } @@ -452,13 +530,21 @@ "variables": [ "{{variables.[OpenSearch Index]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "rep", - "comparisonColumn": "none", - "label": "Replicas" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "rep", + "type": "quantitative", + "title": "Replicas" + } + ] + }, + "style": { + "scalarLabelText": "Replicas" } } } diff --git a/plugins/OpenSearch/v1/defaultContent/node.dash.json b/plugins/OpenSearch/v1/defaultContent/node.dash.json index 84791080..a91fc8d8 100644 --- a/plugins/OpenSearch/v1/defaultContent/node.dash.json +++ b/plugins/OpenSearch/v1/defaultContent/node.dash.json @@ -40,18 +40,14 @@ "variables": [ "{{variables.[OpenSearch Node]}}" ], - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": true, - "columnOrder": [ - "name", - "ip", - "version", - "roles" - ], - "hiddenColumns": [ + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableTranspose": true, + "richTableHiddenColumns": [ "id", "links", "type", @@ -59,8 +55,7 @@ "sourceId", "sourceType", "sourceName" - ], - "columnDisplayNames": {} + ] } } } @@ -103,13 +98,21 @@ "variables": [ "{{variables.[OpenSearch Node]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "heap.percent", - "comparisonColumn": "none", - "label": "Heap used" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "heap.percent", + "type": "quantitative", + "title": "Heap Used (%)" + } + ] + }, + "style": { + "scalarLabelText": "Heap used" } } } @@ -152,13 +155,21 @@ "variables": [ "{{variables.[OpenSearch Node]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "ram.percent", - "comparisonColumn": "none", - "label": "Memory used" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "ram.percent", + "type": "quantitative", + "title": "Memory Used (%)" + } + ] + }, + "style": { + "scalarLabelText": "Memory used" } } } @@ -201,13 +212,21 @@ "variables": [ "{{variables.[OpenSearch Node]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "cpu", - "comparisonColumn": "none", - "label": "CPU" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "cpu", + "type": "quantitative", + "title": "CPU (%)" + } + ] + }, + "style": { + "scalarLabelText": "CPU" } } } @@ -250,13 +269,21 @@ "variables": [ "{{variables.[OpenSearch Node]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "disk.used_percent", - "comparisonColumn": "none", - "label": "Disk used" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "disk.used_percent", + "type": "quantitative", + "title": "Disk Used (%)" + } + ] + }, + "style": { + "scalarLabelText": "Disk used" } } } @@ -299,13 +326,21 @@ "variables": [ "{{variables.[OpenSearch Node]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "load_1m", - "comparisonColumn": "none", - "label": "Load (1m)" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "load_1m", + "type": "quantitative", + "title": "Load (1m)" + } + ] + }, + "style": { + "scalarLabelText": "Load (1m)" } } } @@ -348,13 +383,21 @@ "variables": [ "{{variables.[OpenSearch Node]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "uptime", - "comparisonColumn": "none", - "label": "Uptime" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "uptime", + "type": "quantitative", + "title": "Uptime" + } + ] + }, + "style": { + "scalarLabelText": "Uptime" } } } @@ -397,35 +440,118 @@ "variables": [ "{{variables.[OpenSearch Node]}}" ], - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": true, - "columnOrder": [ - "name", - "isClusterManager", - "roles", - "version", - "ip", - "heap.current", - "heap.max", - "ram.current", - "ram.max", - "disk.used", - "disk.total", - "load_1m", - "load_5m", - "load_15m" - ], - "hiddenColumns": [ - "id", - "heap.percent", - "ram.percent", - "cpu", - "disk.used_percent", - "uptime" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "name", + "title": "Node", + "renderer": { + "type": "text" + } + }, + { + "field": "isClusterManager", + "title": "Cluster Manager", + "renderer": { + "type": "boolean", + "trueLabel": "Yes", + "falseLabel": "No", + "trueColor": "inherit", + "falseColor": "inherit" + } + }, + { + "field": "roles", + "title": "Roles", + "renderer": { + "type": "text" + } + }, + { + "field": "version", + "title": "Version", + "renderer": { + "type": "text" + } + }, + { + "field": "ip", + "title": "IP Address", + "renderer": { + "type": "text" + } + }, + { + "field": "heap.current", + "title": "Heap Used", + "renderer": { + "type": "text" + } + }, + { + "field": "heap.max", + "title": "Heap Max", + "renderer": { + "type": "text" + } + }, + { + "field": "ram.current", + "title": "Memory Used", + "renderer": { + "type": "text" + } + }, + { + "field": "ram.max", + "title": "Memory Total", + "renderer": { + "type": "text" + } + }, + { + "field": "disk.used", + "title": "Disk Used", + "renderer": { + "type": "text" + } + }, + { + "field": "disk.total", + "title": "Disk Total", + "renderer": { + "type": "text" + } + }, + { + "field": "load_1m", + "title": "Load (1m)", + "renderer": { + "type": "text" + } + }, + { + "field": "load_5m", + "title": "Load (5m)", + "renderer": { + "type": "text" + } + }, + { + "field": "load_15m", + "title": "Load (15m)", + "renderer": { + "type": "text" + } + } ] + }, + "style": { + "richTableTranspose": true } } } diff --git a/plugins/OpenSearch/v1/defaultContent/overview.dash.json b/plugins/OpenSearch/v1/defaultContent/overview.dash.json index 901eb8af..ff211019 100644 --- a/plugins/OpenSearch/v1/defaultContent/overview.dash.json +++ b/plugins/OpenSearch/v1/defaultContent/overview.dash.json @@ -30,14 +30,23 @@ "name": "clusterHealth", "pluginConfigId": "{{configId}}" }, - "visualisation": { - "type": "data-stream-blocks", - "config": { - "data-stream-blocks": { - "labelColumn": "cluster_name", - "stateColumn": "status", - "sublabel": "status[Expanded].rawState", - "columns": 1 + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "statusGrid", + "encoding": { + "label": { + "field": "cluster_name", + "type": "nominal" + }, + "status": { + "field": "status", + "type": "nominal" + } + }, + "style": { + "statusGridColumnsPerRow": 1, + "statusGridSecondaryTemplate": "{{{{raw}}}}{{lookup this \"status[Expanded].rawState\"}}{{{{/raw}}}}" } } } @@ -65,13 +74,21 @@ "name": "clusterInfo", "pluginConfigId": "{{configId}}" }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "version.number", - "comparisonColumn": "none", - "label": "Version" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "version.number", + "type": "nominal", + "title": "Version" + } + ] + }, + "style": { + "scalarLabelText": "Version" } } } @@ -99,13 +116,21 @@ "name": "clusterHealth", "pluginConfigId": "{{configId}}" }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "number_of_nodes", - "comparisonColumn": "none", - "label": "Nodes" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "number_of_nodes", + "type": "quantitative", + "title": "Nodes" + } + ] + }, + "style": { + "scalarLabelText": "Nodes" } } } @@ -133,13 +158,21 @@ "name": "clusterHealth", "pluginConfigId": "{{configId}}" }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "unassigned_shards", - "comparisonColumn": "none", - "label": "Unassigned shards" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "unassigned_shards", + "type": "quantitative", + "title": "Unassigned Shards" + } + ] + }, + "style": { + "scalarLabelText": "Unassigned shards" } } } @@ -167,13 +200,21 @@ "name": "clusterHealth", "pluginConfigId": "{{configId}}" }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "active_shards_percent_as_number", - "comparisonColumn": "none", - "label": "Active shards" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "active_shards_percent_as_number", + "type": "quantitative", + "title": "Active Shards (%)" + } + ] + }, + "style": { + "scalarLabelText": "Active shards" } } } @@ -201,13 +242,21 @@ "name": "clusterHealth", "pluginConfigId": "{{configId}}" }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "number_of_pending_tasks", - "comparisonColumn": "none", - "label": "Pending tasks" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "number_of_pending_tasks", + "type": "quantitative", + "title": "Pending Tasks" + } + ] + }, + "style": { + "scalarLabelText": "Pending tasks" } } } @@ -243,13 +292,21 @@ ] } }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "count", - "comparisonColumn": "none", - "label": "Indices" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "count", + "type": "quantitative", + "title": "Count" + } + ] + }, + "style": { + "scalarLabelText": "Indices" } } } @@ -288,13 +345,21 @@ ] } }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "docs.count_sum", - "comparisonColumn": "none", - "label": "Documents" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "docs.count_sum", + "type": "quantitative", + "title": "Documents (Sum)" + } + ] + }, + "style": { + "scalarLabelText": "Documents" } } } @@ -330,15 +395,23 @@ ] } }, - "visualisation": { - "type": "data-stream-blocks", - "config": { - "data-stream-blocks": { - "labelColumn": "index", - "stateColumn": "health", - "sublabel": "health[Expanded].rawState", - "columns": 4, - "linkColumn": "index" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "statusGrid", + "encoding": { + "label": { + "field": "index", + "type": "nominal" + }, + "status": { + "field": "health", + "type": "nominal" + } + }, + "style": { + "statusGridColumnsPerRow": 4, + "statusGridSecondaryTemplate": "{{{{raw}}}}{{lookup this \"health[Expanded].rawState\"}}{{{{/raw}}}}" } } } @@ -375,30 +448,25 @@ "top": 10 } }, - "visualisation": { - "type": "data-stream-bar-chart", - "config": { - "data-stream-bar-chart": { - "xAxisData": "index", - "yAxisData": [ - "store.size" - ], - "xAxisGroup": "none", - "xAxisLabel": "", - "yAxisLabel": "", - "showXAxisLabel": false, - "showYAxisLabel": false, - "showLegend": false, - "legendPosition": "bottom", - "showGrid": true, - "horizontalLayout": "horizontal", - "displayMode": "actual", - "showTotals": false, - "showValue": false, - "grouping": false, - "range": { - "type": "auto" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "bar", + "encoding": { + "x": { + "field": "index", + "type": "nominal", + "title": "Index" + }, + "y": { + "field": "store.size", + "type": "quantitative", + "title": "Size" } + }, + "style": { + "legendPosition": "none", + "cartesianHorizontal": true } } } @@ -426,34 +494,76 @@ "name": "nodes", "pluginConfigId": "{{configId}}" }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false, - "columnOrder": [ - "name", - "isClusterManager", - "heap.percent", - "ram.percent", - "cpu", - "disk.used_percent", - "load_1m", - "uptime" - ], - "hiddenColumns": [ - "id", - "roles", - "heap.current", - "heap.max", - "ram.current", - "ram.max", - "load_5m", - "load_15m", - "disk.used", - "disk.total", - "version", - "ip" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "name", + "title": "Node", + "renderer": { + "type": "text" + } + }, + { + "field": "isClusterManager", + "title": "Cluster Manager", + "renderer": { + "type": "boolean", + "trueLabel": "Yes", + "falseLabel": "No", + "trueColor": "inherit", + "falseColor": "inherit" + } + }, + { + "field": "heap.percent", + "title": "Heap Used (%)", + "renderer": { + "type": "bar", + "max": 100 + } + }, + { + "field": "ram.percent", + "title": "Memory Used (%)", + "renderer": { + "type": "bar", + "max": 100 + } + }, + { + "field": "cpu", + "title": "CPU (%)", + "renderer": { + "type": "bar", + "max": 100 + } + }, + { + "field": "disk.used_percent", + "title": "Disk Used (%)", + "renderer": { + "type": "bar", + "max": 100 + } + }, + { + "field": "load_1m", + "title": "Load (1m)", + "renderer": { + "type": "text" + } + }, + { + "field": "uptime", + "title": "Uptime", + "renderer": { + "type": "text" + } + } ] } } diff --git a/plugins/OpenSearch/v1/defaultContent/service.dash.json b/plugins/OpenSearch/v1/defaultContent/service.dash.json index 7e4dc416..6a33c12f 100644 --- a/plugins/OpenSearch/v1/defaultContent/service.dash.json +++ b/plugins/OpenSearch/v1/defaultContent/service.dash.json @@ -46,13 +46,21 @@ "variables": [ "{{variables.[OpenSearch Service]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "errors", - "comparisonColumn": "none", - "label": "Errors" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "errors", + "type": "quantitative", + "title": "Errors" + } + ] + }, + "style": { + "scalarLabelText": "Errors" } } } @@ -94,13 +102,21 @@ "variables": [ "{{variables.[OpenSearch Service]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "errorRate", - "comparisonColumn": "none", - "label": "Error rate" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "errorRate", + "type": "quantitative", + "title": "Error Rate" + } + ] + }, + "style": { + "scalarLabelText": "Error rate" } } } @@ -142,13 +158,21 @@ "variables": [ "{{variables.[OpenSearch Service]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "warnings", - "comparisonColumn": "none", - "label": "Warnings" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "warnings", + "type": "quantitative", + "title": "Warnings" + } + ] + }, + "style": { + "scalarLabelText": "Warnings" } } } @@ -190,13 +214,21 @@ "variables": [ "{{variables.[OpenSearch Service]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "logs", - "comparisonColumn": "none", - "label": "Logs" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "logs", + "type": "quantitative", + "title": "Logs" + } + ] + }, + "style": { + "scalarLabelText": "Logs" } } } @@ -232,32 +264,44 @@ "variables": [ "{{variables.[OpenSearch Service]}}" ], - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": true, - "columnOrder": [ - "name", - "environments", - "k8sNamespaces", - "k8sDeployments" - ], - "hiddenColumns": [ - "id", - "links", - "type", - "label", - "sourceId", - "sourceType", - "sourceName" - ], - "columnDisplayNames": { - "name": "Service", - "environments": "Environments", - "k8sNamespaces": "Kubernetes namespaces", - "k8sDeployments": "Kubernetes deployments" - } + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "name", + "title": "Service", + "renderer": { + "type": "text" + } + }, + { + "field": "environments", + "title": "Environments", + "renderer": { + "type": "text" + } + }, + { + "field": "k8sNamespaces", + "title": "Kubernetes namespaces", + "renderer": { + "type": "text" + } + }, + { + "field": "k8sDeployments", + "title": "Kubernetes deployments", + "renderer": { + "type": "text" + } + } + ] + }, + "style": { + "richTableTranspose": true } } } @@ -299,18 +343,62 @@ "variables": [ "{{variables.[OpenSearch Service]}}" ], - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "timestamp", - "yAxisColumn": [ - "logs" - ], - "seriesColumn": "severity", - "showLegend": true, + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "timestamp", + "type": "temporal", + "title": "Time" + }, + "y": { + "field": "logs", + "type": "quantitative", + "title": "Logs" + }, + "series": { + "field": "severity", + "type": "nominal", + "title": "Severity" + } + }, + "style": { "legendPosition": "bottom", - "showTrendLine": false + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "mappedColors": { + "critical": "#DE0038", + "error": "#DE0038", + "failed": "#DE0038", + "failure": "#DE0038", + "down": "#DE0038", + "offline": "#DE0038", + "unhealthy": "#DE0038", + "high": "#DE0038", + "warning": "#F59E0B", + "warn": "#F59E0B", + "medium": "#F59E0B", + "moderate": "#F59E0B", + "degraded": "#F59E0B", + "partial": "#F59E0B", + "ok": "#2BB660", + "healthy": "#2BB660", + "success": "#2BB660", + "succeeded": "#2BB660", + "passed": "#2BB660", + "up": "#2BB660", + "online": "#2BB660", + "resolved": "#2BB660", + "low": "#3B82F6", + "info": "#3B82F6", + "informational": "#3B82F6", + "unknown": "#94A3B8", + "unmonitored": "#94A3B8", + "not monitored": "#94A3B8", + "paused": "#94A3B8" + } } } } @@ -354,20 +442,70 @@ "variables": [ "{{variables.[OpenSearch Service]}}" ], - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false, - "columnOrder": [ - "timestamp", - "severity", - "message", - "pod", - "traceId" - ], - "hiddenColumns": [ - "service" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "timestamp", + "title": "Time", + "renderer": { + "type": "date" + } + }, + { + "field": "severity[Expanded].rawState", + "title": "Severity", + "renderer": { + "type": "badge", + "colors": { + "Error": "#DE0038", + "Fatal": "#DE0038", + "Warn": "#F59E0B", + "Info": "#2BB660", + "Debug": "#2BB660", + "Trace": "#2BB660", + "Unspecified": "#94A3B8" + } + } + }, + { + "field": "message", + "title": "Message", + "renderer": { + "type": "text" + } + }, + { + "field": "pod", + "title": "Pod", + "renderer": { + "type": "text" + } + }, + { + "field": "traceId", + "title": "Trace ID", + "renderer": { + "type": "text" + } + }, + { + "field": "serviceEnvironments", + "title": "Service Environments", + "renderer": { + "type": "text" + } + }, + { + "field": "serviceK8sNamespaces", + "title": "Service Kubernetes Namespaces", + "renderer": { + "type": "text" + } + } ] } } diff --git a/plugins/OpenSearch/v1/metadata.json b/plugins/OpenSearch/v1/metadata.json index 1ed121c6..d841a7ad 100644 --- a/plugins/OpenSearch/v1/metadata.json +++ b/plugins/OpenSearch/v1/metadata.json @@ -1,7 +1,7 @@ { "name": "open-search", "displayName": "OpenSearch", - "version": "1.1.0", + "version": "1.1.1", "author": { "name": "SquaredUp Labs", "type": "labs" diff --git a/plugins/Phare/v1/defaultContent/incidents.dash.json b/plugins/Phare/v1/defaultContent/incidents.dash.json index 7c3ced49..780979b3 100644 --- a/plugins/Phare/v1/defaultContent/incidents.dash.json +++ b/plugins/Phare/v1/defaultContent/incidents.dash.json @@ -54,15 +54,16 @@ "{{configId}}" ], "title": "Major Outages On-going", - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": { - "type": "count" - }, - "comparisonColumn": "none", - "label": "" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [] + }, + "style": { + "scalarLabelPosition": "none", + "scalarRowCount": true } } } @@ -118,20 +119,13 @@ "{{configId}}" ], "title": "", - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "columnOrder": [ - "status", - "impact", - "state", - "created_at", - "updated_at", - "title", - "description" - ], - "hiddenColumns": [ + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableHiddenColumns": [ "slug", "recovery_at", "incident_at", @@ -168,24 +162,13 @@ ], "baseTile": "data-stream-base-tile", "title": "All incidents", - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "columnOrder": [ - "status", - "title", - "impact", - "state", - "created_at", - "recovery_at" - ], - "resizedColumns": { - "columnWidths": { - "slug": 95 - } - }, - "hiddenColumns": [ + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableHiddenColumns": [ "id", "project_id", "description", diff --git a/plugins/Phare/v1/defaultContent/monitors.dash.json b/plugins/Phare/v1/defaultContent/monitors.dash.json index a7bef8b6..604c36c5 100644 --- a/plugins/Phare/v1/defaultContent/monitors.dash.json +++ b/plugins/Phare/v1/defaultContent/monitors.dash.json @@ -26,14 +26,26 @@ "{{configId}}" ], "title": "Latest State", - "visualisation": { - "type": "data-stream-blocks", - "config": { - "data-stream-blocks": { - "stateColumn": "status", - "linkColumn": "none", - "columns": 3, - "labelColumn": "name" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "statusGrid", + "encoding": { + "label": { + "field": "name", + "type": "nominal" + }, + "status": { + "field": "status", + "type": "nominal" + }, + "link": { + "field": "request.url", + "type": "nominal" + } + }, + "style": { + "statusGridColumnsPerRow": 3 } } } @@ -62,25 +74,13 @@ ], "baseTile": "data-stream-base-tile", "title": "Properties", - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "columnOrder": [ - "status", - "name", - "protocol", - "interval", - "response_time", - "paused" - ], - "resizedColumns": { - "columnWidths": { - "name": 314, - "paused": 95 - } - }, - "hiddenColumns": [ + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableHiddenColumns": [ "id", "project_id", "timeout", diff --git a/plugins/Phare/v1/metadata.json b/plugins/Phare/v1/metadata.json index fd43d849..5498a22f 100644 --- a/plugins/Phare/v1/metadata.json +++ b/plugins/Phare/v1/metadata.json @@ -1,7 +1,7 @@ { "name": "phare", "displayName": "Phare", - "version": "1.0.2", + "version": "1.0.3", "author": { "name": "@vinbab", "type": "community" diff --git a/plugins/PostHog/v1/defaultContent/Project/overview.dash.json b/plugins/PostHog/v1/defaultContent/Project/overview.dash.json index d3ae4d28..b30a3e35 100644 --- a/plugins/PostHog/v1/defaultContent/Project/overview.dash.json +++ b/plugins/PostHog/v1/defaultContent/Project/overview.dash.json @@ -44,33 +44,15 @@ "version": "1.0", "visualization": { "chartType": "richTable", - "encoding": { - "columns": [ - { - "field": "name", - "title": "Name", - "renderer": { - "type": "text" - } - }, - { - "field": "sourceId", - "title": "Source Id", - "renderer": { - "type": "text" - } - }, - { - "field": "sourceType", - "title": "Source Type", - "renderer": { - "type": "text" - } - } - ] - }, + "encoding": {}, "style": { - "richTableTranspose": true + "richTableTranspose": true, + "richTableHiddenColumns": [ + "id", + "links", + "type", + "label" + ] } } } diff --git a/plugins/PostHog/v1/metadata.json b/plugins/PostHog/v1/metadata.json index c407804c..c4539394 100644 --- a/plugins/PostHog/v1/metadata.json +++ b/plugins/PostHog/v1/metadata.json @@ -1,7 +1,7 @@ { "name": "posthog", "displayName": "PostHog", - "version": "1.0.1", + "version": "1.0.2", "author": { "name": "@adamkinniburgh", "type": "community" diff --git a/plugins/ProxmoxVE/v1/dataStreams/containerMetrics.json b/plugins/ProxmoxVE/v1/dataStreams/containerMetrics.json index 9855bd5b..bae94f1e 100644 --- a/plugins/ProxmoxVE/v1/dataStreams/containerMetrics.json +++ b/plugins/ProxmoxVE/v1/dataStreams/containerMetrics.json @@ -21,7 +21,7 @@ }, "matches": { "sourceType": { "type": "oneOf", "values": ["Proxmox Container"] } }, "metadata": [ - { "name": "time", "displayName": "Time", "shape": "timestamp", "role": "timestamp" }, + { "name": "time", "displayName": "Time", "shape": "date", "role": "timestamp" }, { "name": "cpu", "displayName": "CPU Usage", "shape": ["percent", { "asZeroToOne": true }], "role": "value" }, { "name": "mem", "displayName": "Memory Used", "shape": "bytes" }, { "name": "maxmem", "displayName": "Memory Total", "shape": "bytes" }, diff --git a/plugins/ProxmoxVE/v1/dataStreams/nodeMetrics.json b/plugins/ProxmoxVE/v1/dataStreams/nodeMetrics.json index 43c03759..663ce394 100644 --- a/plugins/ProxmoxVE/v1/dataStreams/nodeMetrics.json +++ b/plugins/ProxmoxVE/v1/dataStreams/nodeMetrics.json @@ -21,7 +21,7 @@ }, "matches": { "sourceType": { "type": "oneOf", "values": ["Proxmox Node"] } }, "metadata": [ - { "name": "time", "displayName": "Time", "shape": "timestamp", "role": "timestamp" }, + { "name": "time", "displayName": "Time", "shape": "date", "role": "timestamp" }, { "name": "cpu", "displayName": "CPU Usage", "shape": ["percent", { "asZeroToOne": true }], "role": "value" }, { "name": "maxcpu", "displayName": "CPU Cores", "shape": "number" }, { "name": "memused", "displayName": "Memory Used", "shape": "bytes" }, diff --git a/plugins/ProxmoxVE/v1/dataStreams/pbsBackupGroups.json b/plugins/ProxmoxVE/v1/dataStreams/pbsBackupGroups.json index bad590b5..14faff52 100644 --- a/plugins/ProxmoxVE/v1/dataStreams/pbsBackupGroups.json +++ b/plugins/ProxmoxVE/v1/dataStreams/pbsBackupGroups.json @@ -24,7 +24,7 @@ { "name": "backupType", "displayName": "Backup Type", "shape": "string" }, { "name": "backupId", "displayName": "Backup ID", "shape": "string" }, { "name": "owner", "displayName": "Owner", "shape": "string" }, - { "name": "lastBackup", "displayName": "Last Backup", "shape": "timestamp" }, + { "name": "lastBackup", "displayName": "Last Backup", "shape": "date" }, { "name": "backupCount", "displayName": "Backup Count", "shape": "number" } ], "timeframes": false diff --git a/plugins/ProxmoxVE/v1/dataStreams/pbsGroupSnapshots.json b/plugins/ProxmoxVE/v1/dataStreams/pbsGroupSnapshots.json index b039caf5..2f67ba2d 100644 --- a/plugins/ProxmoxVE/v1/dataStreams/pbsGroupSnapshots.json +++ b/plugins/ProxmoxVE/v1/dataStreams/pbsGroupSnapshots.json @@ -22,7 +22,7 @@ }, "matches": { "sourceType": { "type": "oneOf", "values": ["Proxmox Backup Group"] } }, "metadata": [ - { "name": "time", "displayName": "Time", "shape": "timestamp", "role": "timestamp" }, + { "name": "time", "displayName": "Time", "shape": "date", "role": "timestamp" }, { "name": "size", "displayName": "Size", "shape": "bytes", "role": "value" }, { "name": "protected", "displayName": "Protected", "shape": "boolean" }, { "name": "verificationState", "displayName": "Verification State", "shape": "string" }, diff --git a/plugins/ProxmoxVE/v1/dataStreams/pbsMaintenanceTasks.json b/plugins/ProxmoxVE/v1/dataStreams/pbsMaintenanceTasks.json index b0dfc2bd..e50f786c 100644 --- a/plugins/ProxmoxVE/v1/dataStreams/pbsMaintenanceTasks.json +++ b/plugins/ProxmoxVE/v1/dataStreams/pbsMaintenanceTasks.json @@ -45,8 +45,8 @@ ], "metadata": [ { "name": "upid", "displayName": "UPID", "shape": "string", "visible": false }, - { "name": "startTime", "displayName": "Started", "shape": "timestamp", "role": "timestamp" }, - { "name": "endTime", "displayName": "Ended", "shape": "timestamp" }, + { "name": "startTime", "displayName": "Started", "shape": "date", "role": "timestamp" }, + { "name": "endTime", "displayName": "Ended", "shape": "date" }, { "name": "workerType", "displayName": "Task Type", "shape": "string" }, { "name": "workerId", "displayName": "Target", "shape": "string" }, { "name": "status", "displayName": "Status", "shape": "string" }, diff --git a/plugins/ProxmoxVE/v1/dataStreams/vmMetrics.json b/plugins/ProxmoxVE/v1/dataStreams/vmMetrics.json index a449f9a5..8021bf89 100644 --- a/plugins/ProxmoxVE/v1/dataStreams/vmMetrics.json +++ b/plugins/ProxmoxVE/v1/dataStreams/vmMetrics.json @@ -21,7 +21,7 @@ }, "matches": { "sourceType": { "type": "oneOf", "values": ["Proxmox VM"] } }, "metadata": [ - { "name": "time", "displayName": "Time", "shape": "timestamp", "role": "timestamp" }, + { "name": "time", "displayName": "Time", "shape": "date", "role": "timestamp" }, { "name": "cpu", "displayName": "CPU Usage", "shape": ["percent", { "asZeroToOne": true }], "role": "value" }, { "name": "mem", "displayName": "Memory Used", "shape": "bytes" }, { "name": "maxmem", "displayName": "Memory Total", "shape": "bytes" }, diff --git a/plugins/ProxmoxVE/v1/defaultContent/backupDatastoreDashboard.dash.json b/plugins/ProxmoxVE/v1/defaultContent/backupDatastoreDashboard.dash.json index a40ffd2f..e9b98a13 100644 --- a/plugins/ProxmoxVE/v1/defaultContent/backupDatastoreDashboard.dash.json +++ b/plugins/ProxmoxVE/v1/defaultContent/backupDatastoreDashboard.dash.json @@ -33,11 +33,13 @@ "variable": "{{variables.[Datastore]}}" }, "variables": ["{{variables.[Datastore]}}"], - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": true + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableTranspose": true } } } @@ -69,16 +71,26 @@ "variable": "{{variables.[Datastore]}}" }, "variables": ["{{variables.[Datastore]}}"], - "visualisation": { - "type": "data-stream-gauge", - "config": { - "data-stream-gauge": { - "value": { "type": "arr", "columns": ["used"] }, - "label": "Used", - "minimum": 0, - "maximum": 100, - "minimumColumn": "none", - "maximumColumn": "total" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "gauge", + "encoding": { + "value": { + "field": "used", + "type": "quantitative", + "title": "Used" + }, + "max": { + "field": "total", + "type": "quantitative", + "title": "Total" + } + }, + "style": { + "gaugeMin": 0, + "gaugeMax": 100, + "gaugeLabelText": "Used" } } } @@ -110,12 +122,21 @@ "variable": "{{variables.[Datastore]}}" }, "variables": ["{{variables.[Datastore]}}"], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "used", - "comparisonColumn": "none" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "used", + "type": "quantitative", + "title": "Used" + } + ] + }, + "style": { + "scalarLabelPosition": "none" } } } @@ -147,12 +168,21 @@ "variable": "{{variables.[Datastore]}}" }, "variables": ["{{variables.[Datastore]}}"], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "total", - "comparisonColumn": "none" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "total", + "type": "quantitative", + "title": "Total" + } + ] + }, + "style": { + "scalarLabelPosition": "none" } } } @@ -184,12 +214,21 @@ "variable": "{{variables.[Datastore]}}" }, "variables": ["{{variables.[Datastore]}}"], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "avail", - "comparisonColumn": "none" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "avail", + "type": "quantitative", + "title": "Available" + } + ] + }, + "style": { + "scalarLabelPosition": "none" } } } @@ -225,13 +264,21 @@ "variable": "{{variables.[Datastore]}}" }, "variables": ["{{variables.[Datastore]}}"], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "count", - "comparisonColumn": "none", - "label": "Backup Groups" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "count", + "type": "quantitative", + "title": "Count" + } + ] + }, + "style": { + "scalarLabelText": "Backup Groups" } } } @@ -264,13 +311,56 @@ "variable": "{{variables.[Datastore]}}" }, "variables": ["{{variables.[Datastore]}}"], - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false, - "columnOrder": ["name", "backupType", "owner", "lastBackup", "backupCount"], - "hiddenColumns": ["groupId", "store"] + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "name", + "title": "Name", + "renderer": { + "type": "text" + } + }, + { + "field": "backupType", + "title": "Backup Type", + "renderer": { + "type": "text" + } + }, + { + "field": "owner", + "title": "Owner", + "renderer": { + "type": "text" + } + }, + { + "field": "lastBackup", + "title": "Last Backup", + "renderer": { + "type": "date", + "relative": true + } + }, + { + "field": "backupCount", + "title": "Backup Count", + "renderer": { + "type": "text" + } + }, + { + "field": "backupId", + "title": "Backup ID", + "renderer": { + "type": "text" + } + } + ] } } } @@ -302,13 +392,67 @@ "variable": "{{variables.[Datastore]}}" }, "variables": ["{{variables.[Datastore]}}"], - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false, - "columnOrder": ["startTime", "workerType", "workerId", "status", "outcome", "endTime", "user"], - "hiddenColumns": ["upid"] + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "startTime", + "title": "Started", + "renderer": { + "type": "date" + } + }, + { + "field": "workerType", + "title": "Task Type", + "renderer": { + "type": "text" + } + }, + { + "field": "workerId", + "title": "Target", + "renderer": { + "type": "text" + } + }, + { + "field": "status", + "title": "Status", + "renderer": { + "type": "text" + } + }, + { + "field": "outcome[Expanded].rawState", + "title": "Outcome", + "renderer": { + "type": "badge", + "colors": { + "success": "#2BB660", + "error": "#DE0038", + "running": "#F59E0B" + } + } + }, + { + "field": "endTime", + "title": "Ended", + "renderer": { + "type": "date" + } + }, + { + "field": "user", + "title": "User", + "renderer": { + "type": "text" + } + } + ] } } } diff --git a/plugins/ProxmoxVE/v1/defaultContent/backupGroupDashboard.dash.json b/plugins/ProxmoxVE/v1/defaultContent/backupGroupDashboard.dash.json index 6a17c2fe..45e7eebc 100644 --- a/plugins/ProxmoxVE/v1/defaultContent/backupGroupDashboard.dash.json +++ b/plugins/ProxmoxVE/v1/defaultContent/backupGroupDashboard.dash.json @@ -33,11 +33,13 @@ "variable": "{{variables.[Backup Group]}}" }, "variables": ["{{variables.[Backup Group]}}"], - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": true + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableTranspose": true } } } @@ -73,16 +75,60 @@ "variable": "{{variables.[Backup Group]}}" }, "variables": ["{{variables.[Backup Group]}}"], - "visualisation": { - "type": "data-stream-donut-chart", - "config": { - "data-stream-donut-chart": { - "valueColumn": "count", - "labelColumn": "verificationState_uniqueValues", - "hideCenterValue": false, - "showValuesAsPercentage": false, - "legendPosition": "auto", - "legendMode": "table" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "pie", + "encoding": { + "label": { + "field": "verificationState_uniqueValues", + "type": "nominal", + "title": "Verification State" + }, + "value": { + "field": "count", + "type": "quantitative", + "aggregate": "sum", + "title": "Count" + } + }, + "style": { + "pieInnerRadius": 60, + "pieDonutCenterValue": "total", + "labelFontSize": 16, + "pieSort": "desc", + "pieLegendStyle": "table", + "mappedColors": { + "critical": "#DE0038", + "error": "#DE0038", + "failed": "#DE0038", + "failure": "#DE0038", + "down": "#DE0038", + "offline": "#DE0038", + "unhealthy": "#DE0038", + "high": "#DE0038", + "warning": "#F59E0B", + "warn": "#F59E0B", + "medium": "#F59E0B", + "moderate": "#F59E0B", + "degraded": "#F59E0B", + "partial": "#F59E0B", + "ok": "#2BB660", + "healthy": "#2BB660", + "success": "#2BB660", + "succeeded": "#2BB660", + "passed": "#2BB660", + "up": "#2BB660", + "online": "#2BB660", + "resolved": "#2BB660", + "low": "#3B82F6", + "info": "#3B82F6", + "informational": "#3B82F6", + "unknown": "#94A3B8", + "unmonitored": "#94A3B8", + "not monitored": "#94A3B8", + "paused": "#94A3B8" + } } } } @@ -115,13 +161,52 @@ "variable": "{{variables.[Backup Group]}}" }, "variables": ["{{variables.[Backup Group]}}"], - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false, - "columnOrder": ["time", "size", "protected", "verificationState", "comment"], - "hiddenColumns": ["backupGroup"] + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "time", + "title": "Time", + "renderer": { + "type": "date" + } + }, + { + "field": "size", + "title": "Size", + "renderer": { + "type": "text" + } + }, + { + "field": "protected", + "title": "Protected", + "renderer": { + "type": "boolean", + "trueLabel": "Yes", + "falseLabel": "No", + "trueColor": "inherit", + "falseColor": "inherit" + } + }, + { + "field": "verificationState", + "title": "Verification State", + "renderer": { + "type": "text" + } + }, + { + "field": "comment", + "title": "Comment", + "renderer": { + "type": "text" + } + } + ] } } } diff --git a/plugins/ProxmoxVE/v1/defaultContent/containerDashboard.dash.json b/plugins/ProxmoxVE/v1/defaultContent/containerDashboard.dash.json index cf90884f..064187be 100644 --- a/plugins/ProxmoxVE/v1/defaultContent/containerDashboard.dash.json +++ b/plugins/ProxmoxVE/v1/defaultContent/containerDashboard.dash.json @@ -34,11 +34,107 @@ "variable": "{{variables.[Container]}}" }, "variables": ["{{variables.[Container]}}"], - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": true + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "name", + "title": "Name", + "renderer": { + "type": "text" + } + }, + { + "field": "status[Expanded].rawState", + "title": "Status", + "renderer": { + "type": "badge", + "colors": { + "running": "#2BB660", + "stopped": "#DE0038", + "paused": "#F59E0B", + "unknown": "#F59E0B" + } + } + }, + { + "field": "cpu", + "title": "CPU Usage", + "renderer": { + "type": "bar", + "max": 100 + } + }, + { + "field": "cpus", + "title": "CPU Cores", + "renderer": { + "type": "text" + } + }, + { + "field": "mem", + "title": "Memory Used", + "renderer": { + "type": "text" + } + }, + { + "field": "maxmem", + "title": "Memory Total", + "renderer": { + "type": "text" + } + }, + { + "field": "swap", + "title": "Swap Used", + "renderer": { + "type": "text" + } + }, + { + "field": "maxswap", + "title": "Swap Total", + "renderer": { + "type": "text" + } + }, + { + "field": "disk", + "title": "Disk Used", + "renderer": { + "type": "text" + } + }, + { + "field": "maxdisk", + "title": "Disk Total", + "renderer": { + "type": "text" + } + }, + { + "field": "uptime", + "title": "Uptime", + "renderer": { + "type": "text" + } + }, + { + "field": "containerid", + "title": "Container ID", + "renderer": { + "type": "text" + } + } + ] + }, + "style": { + "richTableTranspose": true } } } @@ -69,15 +165,27 @@ "variable": "{{variables.[Container]}}" }, "variables": ["{{variables.[Container]}}"], - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "time", - "yAxisColumn": ["cpu"], - "seriesColumn": "none", - "showLegend": true, - "legendPosition": "bottom" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "time", + "type": "temporal", + "title": "Time" + }, + "y": { + "field": "cpu", + "type": "quantitative", + "title": "CPU Usage" + } + }, + "style": { + "legendPosition": "bottom", + "cartesianSymbol": "none", + "cartesianAreaGradient": true, + "cartesianYAxisRangeMode": "percentage" } } } @@ -108,15 +216,34 @@ "variable": "{{variables.[Container]}}" }, "variables": ["{{variables.[Container]}}"], - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "time", - "yAxisColumn": ["mem", "maxmem"], - "seriesColumn": "none", - "showLegend": true, - "legendPosition": "bottom" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "time", + "type": "temporal", + "title": "Time" + }, + "y": [ + { + "field": "mem", + "type": "quantitative", + "title": "Memory Used" + }, + { + "field": "maxmem", + "type": "quantitative", + "title": "Memory Total" + } + ] + }, + "style": { + "legendPosition": "bottom", + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "cartesianAreaGradient": true } } } @@ -147,15 +274,44 @@ "variable": "{{variables.[Container]}}" }, "variables": ["{{variables.[Container]}}"], - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "time", - "yAxisColumn": ["netin", "netout", "diskread", "diskwrite"], - "seriesColumn": "none", - "showLegend": true, - "legendPosition": "bottom" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "time", + "type": "temporal", + "title": "Time" + }, + "y": [ + { + "field": "netin", + "type": "quantitative", + "title": "Network In" + }, + { + "field": "netout", + "type": "quantitative", + "title": "Network Out" + }, + { + "field": "diskread", + "type": "quantitative", + "title": "Disk Read" + }, + { + "field": "diskwrite", + "type": "quantitative", + "title": "Disk Write" + } + ] + }, + "style": { + "legendPosition": "bottom", + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "cartesianAreaGradient": true } } } diff --git a/plugins/ProxmoxVE/v1/defaultContent/nodeDashboard.dash.json b/plugins/ProxmoxVE/v1/defaultContent/nodeDashboard.dash.json index be9aacd5..34ddb144 100644 --- a/plugins/ProxmoxVE/v1/defaultContent/nodeDashboard.dash.json +++ b/plugins/ProxmoxVE/v1/defaultContent/nodeDashboard.dash.json @@ -34,11 +34,73 @@ "variable": "{{variables.[Node]}}" }, "variables": ["{{variables.[Node]}}"], - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": true + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "cpu", + "title": "CPU Usage", + "renderer": { + "type": "bar", + "max": 100 + } + }, + { + "field": "memory.used", + "title": "Memory Used", + "renderer": { + "type": "text" + } + }, + { + "field": "memory.total", + "title": "Memory Total", + "renderer": { + "type": "text" + } + }, + { + "field": "rootfs.used", + "title": "Disk Used", + "renderer": { + "type": "text" + } + }, + { + "field": "rootfs.total", + "title": "Disk Total", + "renderer": { + "type": "text" + } + }, + { + "field": "uptime", + "title": "Uptime", + "renderer": { + "type": "text" + } + }, + { + "field": "kversion", + "title": "Kernel Version", + "renderer": { + "type": "text" + } + }, + { + "field": "pveversion", + "title": "PVE Version", + "renderer": { + "type": "text" + } + } + ] + }, + "style": { + "richTableTranspose": true } } } @@ -69,15 +131,27 @@ "variable": "{{variables.[Node]}}" }, "variables": ["{{variables.[Node]}}"], - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "time", - "yAxisColumn": ["cpu"], - "seriesColumn": "none", - "showLegend": true, - "legendPosition": "bottom" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "time", + "type": "temporal", + "title": "Time" + }, + "y": { + "field": "cpu", + "type": "quantitative", + "title": "CPU Usage" + } + }, + "style": { + "legendPosition": "bottom", + "cartesianSymbol": "none", + "cartesianAreaGradient": true, + "cartesianYAxisRangeMode": "percentage" } } } @@ -108,15 +182,34 @@ "variable": "{{variables.[Node]}}" }, "variables": ["{{variables.[Node]}}"], - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "time", - "yAxisColumn": ["memused", "memtotal"], - "seriesColumn": "none", - "showLegend": true, - "legendPosition": "bottom" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "time", + "type": "temporal", + "title": "Time" + }, + "y": [ + { + "field": "memused", + "type": "quantitative", + "title": "Memory Used" + }, + { + "field": "memtotal", + "type": "quantitative", + "title": "Memory Total" + } + ] + }, + "style": { + "legendPosition": "bottom", + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "cartesianAreaGradient": true } } } @@ -147,15 +240,34 @@ "variable": "{{variables.[Node]}}" }, "variables": ["{{variables.[Node]}}"], - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "time", - "yAxisColumn": ["netin", "netout"], - "seriesColumn": "none", - "showLegend": true, - "legendPosition": "bottom" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "time", + "type": "temporal", + "title": "Time" + }, + "y": [ + { + "field": "netin", + "type": "quantitative", + "title": "Network In" + }, + { + "field": "netout", + "type": "quantitative", + "title": "Network Out" + } + ] + }, + "style": { + "legendPosition": "bottom", + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "cartesianAreaGradient": true } } } @@ -191,16 +303,60 @@ "variable": "{{variables.[Node]}}" }, "variables": ["{{variables.[Node]}}"], - "visualisation": { - "type": "data-stream-donut-chart", - "config": { - "data-stream-donut-chart": { - "labelColumn": "Priority_uniqueValues", - "valueColumn": "count", - "hideCenterValue": false, - "showValuesAsPercentage": false, - "legendPosition": "auto", - "legendMode": "table" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "pie", + "encoding": { + "label": { + "field": "Priority_uniqueValues", + "type": "nominal", + "title": "Priority" + }, + "value": { + "field": "count", + "type": "quantitative", + "aggregate": "sum", + "title": "Count" + } + }, + "style": { + "pieInnerRadius": 60, + "pieDonutCenterValue": "total", + "labelFontSize": 16, + "pieSort": "desc", + "pieLegendStyle": "table", + "mappedColors": { + "critical": "#DE0038", + "error": "#DE0038", + "failed": "#DE0038", + "failure": "#DE0038", + "down": "#DE0038", + "offline": "#DE0038", + "unhealthy": "#DE0038", + "high": "#DE0038", + "warning": "#F59E0B", + "warn": "#F59E0B", + "medium": "#F59E0B", + "moderate": "#F59E0B", + "degraded": "#F59E0B", + "partial": "#F59E0B", + "ok": "#2BB660", + "healthy": "#2BB660", + "success": "#2BB660", + "succeeded": "#2BB660", + "passed": "#2BB660", + "up": "#2BB660", + "online": "#2BB660", + "resolved": "#2BB660", + "low": "#3B82F6", + "info": "#3B82F6", + "informational": "#3B82F6", + "unknown": "#94A3B8", + "unmonitored": "#94A3B8", + "not monitored": "#94A3B8", + "paused": "#94A3B8" + } } } } @@ -232,12 +388,55 @@ "variable": "{{variables.[Node]}}" }, "variables": ["{{variables.[Node]}}"], - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false, - "columnOrder": ["Package", "OldVersion", "Version", "Priority", "Origin", "Description"] + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "Package", + "title": "Package Name", + "renderer": { + "type": "text" + } + }, + { + "field": "OldVersion", + "title": "Current Version", + "renderer": { + "type": "text" + } + }, + { + "field": "Version", + "title": "New Version", + "renderer": { + "type": "text" + } + }, + { + "field": "Priority", + "title": "Priority", + "renderer": { + "type": "text" + } + }, + { + "field": "Origin", + "title": "Origin", + "renderer": { + "type": "text" + } + }, + { + "field": "Description", + "title": "Description", + "renderer": { + "type": "text" + } + } + ] } } } diff --git a/plugins/ProxmoxVE/v1/defaultContent/overviewDashboard.dash.json b/plugins/ProxmoxVE/v1/defaultContent/overviewDashboard.dash.json index 4dd66adf..852e23a6 100644 --- a/plugins/ProxmoxVE/v1/defaultContent/overviewDashboard.dash.json +++ b/plugins/ProxmoxVE/v1/defaultContent/overviewDashboard.dash.json @@ -28,12 +28,106 @@ "name": "clusterResources", "pluginConfigId": "{{configId}}" }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false, - "columnOrder": ["name", "sourceType", "node", "status", "cpu", "mem", "maxmem", "uptime"] + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "name", + "title": "Name", + "renderer": { + "type": "text" + } + }, + { + "field": "sourceType", + "title": "Type", + "renderer": { + "type": "text" + } + }, + { + "field": "node", + "title": "Node", + "renderer": { + "type": "text" + } + }, + { + "field": "status[Expanded].rawState", + "title": "Status", + "renderer": { + "type": "badge", + "colors": { + "running": "#2BB660", + "online": "#2BB660", + "stopped": "#DE0038", + "offline": "#DE0038", + "paused": "#F59E0B", + "unknown": "#F59E0B" + } + } + }, + { + "field": "cpu", + "title": "CPU Usage", + "renderer": { + "type": "bar", + "max": 100 + } + }, + { + "field": "mem", + "title": "Memory Used", + "renderer": { + "type": "text" + } + }, + { + "field": "maxmem", + "title": "Memory Total", + "renderer": { + "type": "text" + } + }, + { + "field": "uptime", + "title": "Uptime", + "renderer": { + "type": "text" + } + }, + { + "field": "vmid", + "title": "VM ID", + "renderer": { + "type": "text" + } + }, + { + "field": "maxcpu", + "title": "CPU Cores", + "renderer": { + "type": "text" + } + }, + { + "field": "disk", + "title": "Disk Used", + "renderer": { + "type": "text" + } + }, + { + "field": "maxdisk", + "title": "Disk Total", + "renderer": { + "type": "text" + } + } + ] } } } @@ -69,16 +163,60 @@ "aggregate": [{ "type": "count" }] } }, - "visualisation": { - "type": "data-stream-donut-chart", - "config": { - "data-stream-donut-chart": { - "valueColumn": "count", - "labelColumn": "status_uniqueValues", - "hideCenterValue": false, - "showValuesAsPercentage": false, - "legendPosition": "auto", - "legendMode": "table" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "pie", + "encoding": { + "label": { + "field": "status_uniqueValues", + "type": "nominal", + "title": "Status" + }, + "value": { + "field": "count", + "type": "quantitative", + "aggregate": "sum", + "title": "Count" + } + }, + "style": { + "pieInnerRadius": 60, + "pieDonutCenterValue": "total", + "labelFontSize": 16, + "pieSort": "desc", + "pieLegendStyle": "table", + "mappedColors": { + "critical": "#DE0038", + "error": "#DE0038", + "failed": "#DE0038", + "failure": "#DE0038", + "down": "#DE0038", + "offline": "#DE0038", + "unhealthy": "#DE0038", + "high": "#DE0038", + "warning": "#F59E0B", + "warn": "#F59E0B", + "medium": "#F59E0B", + "moderate": "#F59E0B", + "degraded": "#F59E0B", + "partial": "#F59E0B", + "ok": "#2BB660", + "healthy": "#2BB660", + "success": "#2BB660", + "succeeded": "#2BB660", + "passed": "#2BB660", + "up": "#2BB660", + "online": "#2BB660", + "resolved": "#2BB660", + "low": "#3B82F6", + "info": "#3B82F6", + "informational": "#3B82F6", + "unknown": "#94A3B8", + "unmonitored": "#94A3B8", + "not monitored": "#94A3B8", + "paused": "#94A3B8" + } } } } @@ -114,16 +252,60 @@ "aggregate": [{ "type": "count" }] } }, - "visualisation": { - "type": "data-stream-donut-chart", - "config": { - "data-stream-donut-chart": { - "valueColumn": "count", - "labelColumn": "status_uniqueValues", - "hideCenterValue": false, - "showValuesAsPercentage": false, - "legendPosition": "auto", - "legendMode": "table" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "pie", + "encoding": { + "label": { + "field": "status_uniqueValues", + "type": "nominal", + "title": "Status" + }, + "value": { + "field": "count", + "type": "quantitative", + "aggregate": "sum", + "title": "Count" + } + }, + "style": { + "pieInnerRadius": 60, + "pieDonutCenterValue": "total", + "labelFontSize": 16, + "pieSort": "desc", + "pieLegendStyle": "table", + "mappedColors": { + "critical": "#DE0038", + "error": "#DE0038", + "failed": "#DE0038", + "failure": "#DE0038", + "down": "#DE0038", + "offline": "#DE0038", + "unhealthy": "#DE0038", + "high": "#DE0038", + "warning": "#F59E0B", + "warn": "#F59E0B", + "medium": "#F59E0B", + "moderate": "#F59E0B", + "degraded": "#F59E0B", + "partial": "#F59E0B", + "ok": "#2BB660", + "healthy": "#2BB660", + "success": "#2BB660", + "succeeded": "#2BB660", + "passed": "#2BB660", + "up": "#2BB660", + "online": "#2BB660", + "resolved": "#2BB660", + "low": "#3B82F6", + "info": "#3B82F6", + "informational": "#3B82F6", + "unknown": "#94A3B8", + "unmonitored": "#94A3B8", + "not monitored": "#94A3B8", + "paused": "#94A3B8" + } } } } @@ -176,13 +358,21 @@ "scope": "{{scopes.[Backup Datastores]}}", "workspace": "{{workspaceId}}" }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "count", - "comparisonColumn": "none", - "label": "Datastores" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "count", + "type": "quantitative", + "title": "Count" + } + ] + }, + "style": { + "scalarLabelText": "Datastores" } } } @@ -212,13 +402,21 @@ "scope": "{{scopes.[Backup Groups]}}", "workspace": "{{workspaceId}}" }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "count", - "comparisonColumn": "none", - "label": "Backup Groups" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "count", + "type": "quantitative", + "title": "Count" + } + ] + }, + "style": { + "scalarLabelText": "Backup Groups" } } } @@ -249,13 +447,21 @@ "scope": "{{scopes.[Backup Datastores]}}", "workspace": "{{workspaceId}}" }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "used_sum", - "comparisonColumn": "none", - "label": "Total Backup Storage Used" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "used_sum", + "type": "quantitative", + "title": "Used (Sum)" + } + ] + }, + "style": { + "scalarLabelText": "Total Backup Storage Used" } } } @@ -286,13 +492,21 @@ "scope": "{{scopes.[Backup Datastores]}}", "workspace": "{{workspaceId}}" }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "total_sum", - "comparisonColumn": "none", - "label": "Total Backup Storage Capacity" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "total_sum", + "type": "quantitative", + "title": "Total (Sum)" + } + ] + }, + "style": { + "scalarLabelText": "Total Backup Storage Capacity" } } } @@ -321,13 +535,20 @@ "scope": "{{scopes.[Backup Datastores]}}", "workspace": "{{workspaceId}}" }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false, - "columnOrder": ["name", "comment"], - "hiddenColumns": ["id", "links", "type", "label", "sourceId", "sourceType"] + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableHiddenColumns": [ + "id", + "links", + "type", + "label", + "sourceId", + "sourceType" + ] } } } @@ -357,13 +578,23 @@ "scope": "{{scopes.[Backup Groups]}}", "workspace": "{{workspaceId}}" }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false, - "columnOrder": ["name", "owner", "lastBackup", "backupCount"], - "hiddenColumns": ["id", "links", "type", "label", "sourceId", "sourceType", "store", "backupType", "backupId"] + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableHiddenColumns": [ + "id", + "links", + "type", + "label", + "sourceId", + "sourceType", + "store", + "backupType", + "backupId" + ] } } } @@ -397,16 +628,60 @@ "scope": "{{scopes.[Backup Groups]}}", "workspace": "{{workspaceId}}" }, - "visualisation": { - "type": "data-stream-donut-chart", - "config": { - "data-stream-donut-chart": { - "valueColumn": "count", - "labelColumn": "verificationState_uniqueValues", - "hideCenterValue": false, - "showValuesAsPercentage": false, - "legendPosition": "auto", - "legendMode": "table" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "pie", + "encoding": { + "label": { + "field": "verificationState_uniqueValues", + "type": "nominal", + "title": "Verification State" + }, + "value": { + "field": "count", + "type": "quantitative", + "aggregate": "sum", + "title": "Count" + } + }, + "style": { + "pieInnerRadius": 60, + "pieDonutCenterValue": "total", + "labelFontSize": 16, + "pieSort": "desc", + "pieLegendStyle": "table", + "mappedColors": { + "critical": "#DE0038", + "error": "#DE0038", + "failed": "#DE0038", + "failure": "#DE0038", + "down": "#DE0038", + "offline": "#DE0038", + "unhealthy": "#DE0038", + "high": "#DE0038", + "warning": "#F59E0B", + "warn": "#F59E0B", + "medium": "#F59E0B", + "moderate": "#F59E0B", + "degraded": "#F59E0B", + "partial": "#F59E0B", + "ok": "#2BB660", + "healthy": "#2BB660", + "success": "#2BB660", + "succeeded": "#2BB660", + "passed": "#2BB660", + "up": "#2BB660", + "online": "#2BB660", + "resolved": "#2BB660", + "low": "#3B82F6", + "info": "#3B82F6", + "informational": "#3B82F6", + "unknown": "#94A3B8", + "unmonitored": "#94A3B8", + "not monitored": "#94A3B8", + "paused": "#94A3B8" + } } } } @@ -441,26 +716,27 @@ "scope": "{{scopes.[Backup Groups]}}", "workspace": "{{workspaceId}}" }, - "visualisation": { - "type": "data-stream-bar-chart", - "config": { - "data-stream-bar-chart": { - "xAxisData": "backupGroup_uniqueValues", - "yAxisData": ["size_sum"], - "xAxisGroup": "none", - "xAxisLabel": "", - "yAxisLabel": "Snapshot Size", - "showXAxisLabel": true, - "showYAxisLabel": true, - "showLegend": false, - "legendPosition": "bottom", - "showGrid": true, - "horizontalLayout": "vertical", - "displayMode": "actual", - "showTotals": false, - "showValue": false, - "grouping": false, - "range": { "type": "auto" } + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "bar", + "encoding": { + "x": { + "field": "backupGroup_uniqueValues", + "type": "nominal", + "title": "Backup Group" + }, + "y": { + "field": "size_sum", + "type": "quantitative", + "title": "Size (Sum)" + } + }, + "style": { + "legendPosition": "none", + "cartesianShowXAxisTitle": true, + "cartesianShowYAxisTitle": true, + "cartesianYAxisTitle": "Snapshot Size" } } } diff --git a/plugins/ProxmoxVE/v1/defaultContent/vmDashboard.dash.json b/plugins/ProxmoxVE/v1/defaultContent/vmDashboard.dash.json index c1d3ee94..588f0cf9 100644 --- a/plugins/ProxmoxVE/v1/defaultContent/vmDashboard.dash.json +++ b/plugins/ProxmoxVE/v1/defaultContent/vmDashboard.dash.json @@ -34,11 +34,107 @@ "variable": "{{variables.[VM]}}" }, "variables": ["{{variables.[VM]}}"], - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": true + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "status[Expanded].rawState", + "title": "Status", + "renderer": { + "type": "badge", + "colors": { + "running": "#2BB660", + "stopped": "#DE0038", + "paused": "#F59E0B", + "unknown": "#F59E0B" + } + } + }, + { + "field": "cpu", + "title": "CPU Usage", + "renderer": { + "type": "bar", + "max": 100 + } + }, + { + "field": "cpus", + "title": "CPU Cores", + "renderer": { + "type": "text" + } + }, + { + "field": "mem", + "title": "Memory Used", + "renderer": { + "type": "text" + } + }, + { + "field": "maxmem", + "title": "Memory Total", + "renderer": { + "type": "text" + } + }, + { + "field": "disk", + "title": "Disk Used", + "renderer": { + "type": "text" + } + }, + { + "field": "maxdisk", + "title": "Disk Total", + "renderer": { + "type": "text" + } + }, + { + "field": "uptime", + "title": "Uptime", + "renderer": { + "type": "text" + } + }, + { + "field": "name", + "title": "Name", + "renderer": { + "type": "text" + } + }, + { + "field": "vmid", + "title": "VM ID", + "renderer": { + "type": "text" + } + }, + { + "field": "netin", + "title": "Network In", + "renderer": { + "type": "text" + } + }, + { + "field": "netout", + "title": "Network Out", + "renderer": { + "type": "text" + } + } + ] + }, + "style": { + "richTableTranspose": true } } } @@ -69,15 +165,27 @@ "variable": "{{variables.[VM]}}" }, "variables": ["{{variables.[VM]}}"], - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "time", - "yAxisColumn": ["cpu"], - "seriesColumn": "none", - "showLegend": true, - "legendPosition": "bottom" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "time", + "type": "temporal", + "title": "Time" + }, + "y": { + "field": "cpu", + "type": "quantitative", + "title": "CPU Usage" + } + }, + "style": { + "legendPosition": "bottom", + "cartesianSymbol": "none", + "cartesianAreaGradient": true, + "cartesianYAxisRangeMode": "percentage" } } } @@ -108,15 +216,34 @@ "variable": "{{variables.[VM]}}" }, "variables": ["{{variables.[VM]}}"], - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "time", - "yAxisColumn": ["mem", "maxmem"], - "seriesColumn": "none", - "showLegend": true, - "legendPosition": "bottom" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "time", + "type": "temporal", + "title": "Time" + }, + "y": [ + { + "field": "mem", + "type": "quantitative", + "title": "Memory Used" + }, + { + "field": "maxmem", + "type": "quantitative", + "title": "Memory Total" + } + ] + }, + "style": { + "legendPosition": "bottom", + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "cartesianAreaGradient": true } } } @@ -147,15 +274,44 @@ "variable": "{{variables.[VM]}}" }, "variables": ["{{variables.[VM]}}"], - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "time", - "yAxisColumn": ["netin", "netout", "diskread", "diskwrite"], - "seriesColumn": "none", - "showLegend": true, - "legendPosition": "bottom" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "time", + "type": "temporal", + "title": "Time" + }, + "y": [ + { + "field": "netin", + "type": "quantitative", + "title": "Network In" + }, + { + "field": "netout", + "type": "quantitative", + "title": "Network Out" + }, + { + "field": "diskread", + "type": "quantitative", + "title": "Disk Read" + }, + { + "field": "diskwrite", + "type": "quantitative", + "title": "Disk Write" + } + ] + }, + "style": { + "legendPosition": "bottom", + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "cartesianAreaGradient": true } } } diff --git a/plugins/ProxmoxVE/v1/metadata.json b/plugins/ProxmoxVE/v1/metadata.json index 917a4b4a..96769159 100644 --- a/plugins/ProxmoxVE/v1/metadata.json +++ b/plugins/ProxmoxVE/v1/metadata.json @@ -1,7 +1,7 @@ { "name": "proxmox-ve", "displayName": "Proxmox VE", - "version": "1.3.2", + "version": "1.3.3", "author": { "name": "@iBePixel", "type": "community" }, "description": "Monitor your Proxmox VE cluster and Proxmox Backup Server — import nodes, VMs, containers, backup datastores, and backup groups, and track resource utilisation and backup health.", "category": "Infrastructure", diff --git a/plugins/Sanity/v1/defaultContent/dataset.dash.json b/plugins/Sanity/v1/defaultContent/dataset.dash.json index 7e52989e..293ee829 100644 --- a/plugins/Sanity/v1/defaultContent/dataset.dash.json +++ b/plugins/Sanity/v1/defaultContent/dataset.dash.json @@ -33,11 +33,13 @@ }, "variables": ["{{variables.[Dataset]}}"], "timeframe": "none", - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": true + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableTranspose": true } } } @@ -73,26 +75,27 @@ }, "variables": ["{{variables.[Dataset]}}"], "timeframe": "none", - "visualisation": { - "type": "data-stream-bar-chart", - "config": { - "data-stream-bar-chart": { - "xAxisData": "documentType", - "yAxisData": ["count"], - "xAxisGroup": "none", - "xAxisLabel": "", - "yAxisLabel": "Documents", - "showXAxisLabel": true, - "showYAxisLabel": true, - "showLegend": false, - "legendPosition": "bottom", - "showGrid": true, - "horizontalLayout": "vertical", - "displayMode": "actual", - "showTotals": false, - "showValue": false, - "grouping": false, - "range": { "type": "auto" } + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "bar", + "encoding": { + "x": { + "field": "documentType", + "type": "nominal", + "title": "Document Type" + }, + "y": { + "field": "count", + "type": "quantitative", + "title": "Count" + } + }, + "style": { + "legendPosition": "none", + "cartesianShowXAxisTitle": true, + "cartesianShowYAxisTitle": true, + "cartesianYAxisTitle": "Documents" } } } @@ -124,16 +127,20 @@ }, "variables": ["{{variables.[Dataset]}}"], "timeframe": "none", - "visualisation": { - "type": "data-stream-gauge", - "config": { - "data-stream-gauge": { + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "gauge", + "encoding": { "value": { - "type": "mean", - "columns": ["documentsPctOfLimit"] - }, - "minimum": 0, - "maximum": 100 + "field": "documentsPctOfLimit", + "type": "quantitative", + "title": "Documents (% of limit)" + } + }, + "style": { + "gaugeMin": 0, + "gaugeMax": 100 } } } @@ -165,16 +172,20 @@ }, "variables": ["{{variables.[Dataset]}}"], "timeframe": "none", - "visualisation": { - "type": "data-stream-gauge", - "config": { - "data-stream-gauge": { + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "gauge", + "encoding": { "value": { - "type": "mean", - "columns": ["fieldsPctOfLimit"] - }, - "minimum": 0, - "maximum": 100 + "field": "fieldsPctOfLimit", + "type": "quantitative", + "title": "Fields (% of limit)" + } + }, + "style": { + "gaugeMin": 0, + "gaugeMax": 100 } } } @@ -206,16 +217,20 @@ }, "variables": ["{{variables.[Dataset]}}"], "timeframe": "none", - "visualisation": { - "type": "data-stream-gauge", - "config": { - "data-stream-gauge": { + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "gauge", + "encoding": { "value": { - "type": "mean", - "columns": ["jsonSizePctOfLimit"] - }, - "minimum": 0, - "maximum": 100 + "field": "jsonSizePctOfLimit", + "type": "quantitative", + "title": "JSON Size (% of limit)" + } + }, + "style": { + "gaugeMin": 0, + "gaugeMax": 100 } } } @@ -247,13 +262,21 @@ }, "variables": ["{{variables.[Dataset]}}"], "timeframe": "none", - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "documents.count.value", - "comparisonColumn": "none", - "label": "documents" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "documents.count.value", + "type": "quantitative", + "title": "Documents" + } + ] + }, + "style": { + "scalarLabelText": "documents" } } } @@ -289,12 +312,11 @@ }, "variables": ["{{variables.[Dataset]}}"], "timeframe": "none", - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false - } + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {} } } } diff --git a/plugins/Sanity/v1/defaultContent/overview.dash.json b/plugins/Sanity/v1/defaultContent/overview.dash.json index 2ca43968..05b874fb 100644 --- a/plugins/Sanity/v1/defaultContent/overview.dash.json +++ b/plugins/Sanity/v1/defaultContent/overview.dash.json @@ -32,13 +32,21 @@ } }, "timeframe": "none", - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "count", - "comparisonColumn": "none", - "label": "projects" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "count", + "type": "quantitative", + "title": "Count" + } + ] + }, + "style": { + "scalarLabelText": "projects" } } } @@ -72,13 +80,21 @@ "workspace": "{{workspaceId}}" }, "timeframe": "none", - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "count", - "comparisonColumn": "none", - "label": "datasets" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "count", + "type": "quantitative", + "title": "Count" + } + ] + }, + "style": { + "scalarLabelText": "datasets" } } } @@ -117,13 +133,21 @@ "workspace": "{{workspaceId}}" }, "timeframe": "none", - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "documents.count.value_sum", - "comparisonColumn": "none", - "label": "documents" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "documents.count.value_sum", + "type": "quantitative", + "title": "Documents (Sum)" + } + ] + }, + "style": { + "scalarLabelText": "documents" } } } @@ -162,13 +186,21 @@ "workspace": "{{workspaceId}}" }, "timeframe": "none", - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "documents.jsonSizeSum.value_sum", - "comparisonColumn": "none", - "label": "JSON stored" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "documents.jsonSizeSum.value_sum", + "type": "quantitative", + "title": "JSON Size (Sum)" + } + ] + }, + "style": { + "scalarLabelText": "JSON stored" } } } @@ -194,12 +226,38 @@ "pluginConfigId": "{{configId}}" }, "timeframe": "none", - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false, - "columnOrder": ["displayName", "tokenStatus", "id"] + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "displayName", + "title": "Name", + "renderer": { + "type": "text" + } + }, + { + "field": "tokenStatus[Expanded].rawState", + "title": "Token Status", + "renderer": { + "type": "badge", + "colors": { + "configured": "#2BB660", + "missing": "#DE0038" + } + } + }, + { + "field": "id", + "title": "Project ID", + "renderer": { + "type": "text" + } + } + ] } } } @@ -233,26 +291,28 @@ "workspace": "{{workspaceId}}" }, "timeframe": "none", - "visualisation": { - "type": "data-stream-bar-chart", - "config": { - "data-stream-bar-chart": { - "xAxisData": "dataset", - "yAxisData": ["documents.count.value"], - "xAxisGroup": "none", - "xAxisLabel": "", - "yAxisLabel": "Documents", - "showXAxisLabel": true, - "showYAxisLabel": true, - "showLegend": false, - "legendPosition": "bottom", - "showGrid": true, - "horizontalLayout": "horizontal", - "displayMode": "actual", - "showTotals": false, - "showValue": false, - "grouping": false, - "range": { "type": "auto" } + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "bar", + "encoding": { + "x": { + "field": "dataset", + "type": "nominal", + "title": "Dataset" + }, + "y": { + "field": "documents.count.value", + "type": "quantitative", + "title": "Documents" + } + }, + "style": { + "legendPosition": "none", + "cartesianShowXAxisTitle": true, + "cartesianShowYAxisTitle": true, + "cartesianYAxisTitle": "Documents", + "cartesianHorizontal": true } } } @@ -285,17 +345,93 @@ "workspace": "{{workspaceId}}" }, "timeframe": "none", - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false, - "columnOrder": [ - "dataset", - "fieldsPctOfLimit", - "documentsPctOfLimit", - "jsonSizePctOfLimit", - "releasesPctOfLimit" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "dataset", + "title": "Dataset", + "renderer": { + "type": "text" + } + }, + { + "field": "fieldsPctOfLimit", + "title": "Fields (% of limit)", + "renderer": { + "type": "bar", + "max": 100 + } + }, + { + "field": "documentsPctOfLimit", + "title": "Documents (% of limit)", + "renderer": { + "type": "bar", + "max": 100 + } + }, + { + "field": "jsonSizePctOfLimit", + "title": "JSON Size (% of limit)", + "renderer": { + "type": "bar", + "max": 100 + } + }, + { + "field": "releasesPctOfLimit", + "title": "Releases (% of limit)", + "renderer": { + "type": "bar", + "max": 100 + } + }, + { + "field": "documents.count.value", + "title": "Documents", + "renderer": { + "type": "text" + } + }, + { + "field": "documents.count.limit", + "title": "Document Limit", + "renderer": { + "type": "text" + } + }, + { + "field": "fields.count.value", + "title": "Fields", + "renderer": { + "type": "text" + } + }, + { + "field": "fields.count.limit", + "title": "Field Limit", + "renderer": { + "type": "text" + } + }, + { + "field": "documents.jsonSizeSum.value", + "title": "JSON Size", + "renderer": { + "type": "text" + } + }, + { + "field": "documents.jsonSizeSum.limit", + "title": "JSON Size Limit", + "renderer": { + "type": "text" + } + } ] } } diff --git a/plugins/Sanity/v1/defaultContent/projects.dash.json b/plugins/Sanity/v1/defaultContent/projects.dash.json index 5e834f74..6564eda1 100644 --- a/plugins/Sanity/v1/defaultContent/projects.dash.json +++ b/plugins/Sanity/v1/defaultContent/projects.dash.json @@ -33,11 +33,13 @@ }, "variables": ["{{variables.[Project]}}"], "timeframe": "none", - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": true + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableTranspose": true } } } @@ -69,11 +71,48 @@ }, "variables": ["{{variables.[Project]}}"], "timeframe": "none", - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "datasetId", + "title": "Dataset", + "renderer": { + "type": "text" + } + }, + { + "field": "aclMode", + "title": "Access mode", + "renderer": { + "type": "text" + } + }, + { + "field": "createdAt", + "title": "Created At", + "renderer": { + "type": "date" + } + }, + { + "field": "createdByUserId", + "title": "Created By User Id", + "renderer": { + "type": "text" + } + }, + { + "field": "projectName", + "title": "Project Name", + "renderer": { + "type": "text" + } + } + ] } } } @@ -105,12 +144,11 @@ }, "variables": ["{{variables.[Project]}}"], "timeframe": "none", - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false - } + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {} } } } diff --git a/plugins/Sanity/v1/metadata.json b/plugins/Sanity/v1/metadata.json index 3bd9e15c..deeaaad7 100644 --- a/plugins/Sanity/v1/metadata.json +++ b/plugins/Sanity/v1/metadata.json @@ -1,7 +1,7 @@ { "name": "sanity", "displayName": "Sanity", - "version": "1.0.0", + "version": "1.0.1", "author": { "name": "@andrewmumblebee", "type": "community" diff --git a/plugins/SendGrid/v1/metadata.json b/plugins/SendGrid/v1/metadata.json index 13c55fd4..fb9632eb 100644 --- a/plugins/SendGrid/v1/metadata.json +++ b/plugins/SendGrid/v1/metadata.json @@ -1,7 +1,7 @@ { "name": "sendgrid", "displayName": "Twilio SendGrid", - "version": "1.0.1", + "version": "1.0.2", "author": { "name": "@agoodthing.org.uk", "type": "community" diff --git a/plugins/Spotify/v1/defaultContent/trendsRecentlyPlayedTracks.dash.json b/plugins/Spotify/v1/defaultContent/trendsRecentlyPlayedTracks.dash.json index 52fac00b..5c3e9e18 100644 --- a/plugins/Spotify/v1/defaultContent/trendsRecentlyPlayedTracks.dash.json +++ b/plugins/Spotify/v1/defaultContent/trendsRecentlyPlayedTracks.dash.json @@ -53,28 +53,16 @@ "{{configId}}" ], "title": "Recently Played", - "visualisation": { - "type": "data-stream-bar-chart", - "config": { - "data-stream-bar-chart": { - "xAxisGroup": "none", - "showLegend": false, - "range": { - "type": "auto" - }, - "showGrid": true, - "grouping": false, - "xAxisData": "played_at", - "displayMode": "actual", - "showTotals": false, - "yAxisLabel": "Tracks Played", - "horizontalLayout": "vertical", - "showValue": false, - "yAxisData": [], - "showYAxisLabel": true, - "xAxisLabel": "", - "legendPosition": "bottom", - "showXAxisLabel": true + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "bar", + "encoding": {}, + "style": { + "legendPosition": "none", + "cartesianShowXAxisTitle": true, + "cartesianShowYAxisTitle": true, + "cartesianYAxisTitle": "Tracks Played" } } } @@ -103,98 +91,34 @@ ], "baseTile": "data-stream-base-tile", "title": "Recently Played Tracks", - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "hiddenColumns": [ - "track.album.album_type", - "track.album.artists.0.external_urls.spotify", - "track.album.artists.0.href", - "track.album.artists.0.id", - "track.album.artists.0.name", - "track.album.artists.0.type", - "track.album.artists.0.uri", - "track.album.external_urls.spotify", - "track.album.href", - "track.album.id", - "track.album.images.0.height", - "track.album.images.0.url", - "track.album.images.0.width", - "track.album.images.1.height", - "track.album.images.1.url", - "track.album.images.1.width", - "track.album.images.2.height", - "track.album.images.2.url", - "track.album.images.2.width", - "track.album.name", - "track.album.release_date", - "track.album.release_date_precision", - "track.album.total_tracks", - "track.album.type", - "track.album.uri", - "track.artists.0.external_urls.spotify", - "track.artists.0.href", - "track.artists.0.id", - "track.artists.0.type", - "track.artists.0.uri", - "track.disc_number", - "track.duration_ms", - "track.explicit", - "track.external_ids.isrc", - "track.external_urls.spotify", - "track.href", - "track.id", - "track.is_local", - "track.popularity", - "track.preview_url", - "track.track_number", - "track.type", - "track.uri", - "context", - "track.artists.1.external_urls.spotify", - "track.artists.1.href", - "track.artists.1.id", - "track.artists.1.name", - "track.artists.1.type", - "track.artists.1.uri", - "context.external_urls.spotify", - "context.href", - "context.type", - "context.uri", - "track.album.artists.1.external_urls.spotify", - "track.album.artists.1.href", - "track.album.artists.1.id", - "track.album.artists.1.name", - "track.album.artists.1.type", - "track.album.artists.1.uri", - "track.album.artists.2.external_urls.spotify", - "track.album.artists.2.href", - "track.album.artists.2.id", - "track.album.artists.2.name", - "track.album.artists.2.type", - "track.album.artists.2.uri", - "track.artists.2.external_urls.spotify", - "track.artists.2.href", - "track.artists.2.id", - "track.artists.2.name", - "track.artists.2.type", - "track.artists.2.uri" - ], - "columnOrder": [ - "track.name", - "track.artists.0.name", - "played_at" - ], - "columnDisplayNames": { - "track.artists.0.name": "Artist", - "track.name": "Track" - }, - "resizedColumns": { - "columnWidths": { - "track.name": 268 + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "track.name", + "title": "Track", + "renderer": { + "type": "text" + } + }, + { + "field": "track.artists.0.name", + "title": "Artist", + "renderer": { + "type": "text" + } + }, + { + "field": "played_at", + "title": "Played At", + "renderer": { + "type": "text" + } } - } + ] } } } @@ -248,12 +172,21 @@ "{{configId}}" ], "title": "Average Track Length", - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "track.duration_ms_mean", - "comparisonColumn": "none" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "track.duration_ms_mean", + "type": "quantitative", + "title": "Duration Ms (Average)" + } + ] + }, + "style": { + "scalarLabelPosition": "none" } } } @@ -323,15 +256,16 @@ "{{configId}}" ], "title": "", - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": { - "type": "count" - }, - "comparisonColumn": "none", - "label": "Underground (0-25)" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [] + }, + "style": { + "scalarLabelText": "Underground (0-25)", + "scalarRowCount": true } } } @@ -378,15 +312,16 @@ "{{configId}}" ], "title": "", - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": { - "type": "count" - }, - "comparisonColumn": "none", - "label": "Niche (25-50)" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [] + }, + "style": { + "scalarLabelText": "Niche (25-50)", + "scalarRowCount": true } } } @@ -433,15 +368,16 @@ "{{configId}}" ], "title": "", - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": { - "type": "count" - }, - "comparisonColumn": "none", - "label": "Popular (50-75)" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [] + }, + "style": { + "scalarLabelText": "Popular (50-75)", + "scalarRowCount": true } } } @@ -488,15 +424,16 @@ "{{configId}}" ], "title": "", - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": { - "type": "count" - }, - "comparisonColumn": "none", - "label": "Mainstream (75-100)" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [] + }, + "style": { + "scalarLabelText": "Mainstream (75-100)", + "scalarRowCount": true } } } diff --git a/plugins/Spotify/v1/defaultContent/trendsTopItems.dash.json b/plugins/Spotify/v1/defaultContent/trendsTopItems.dash.json index b7d1f541..a05f4e84 100644 --- a/plugins/Spotify/v1/defaultContent/trendsTopItems.dash.json +++ b/plugins/Spotify/v1/defaultContent/trendsTopItems.dash.json @@ -57,16 +57,30 @@ "{{configId}}" ], "title": "Top Genres", - "visualisation": { - "type": "data-stream-donut-chart", - "config": { - "data-stream-donut-chart": { - "valueColumn": "count", - "hideCenterValue": false, - "showValuesAsPercentage": true, - "legendPosition": "auto", - "legendMode": "table", - "labelColumn": "genres.0_uniqueValues" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "pie", + "encoding": { + "label": { + "field": "genres.0_uniqueValues", + "type": "nominal", + "title": "Genres[0]" + }, + "value": { + "field": "count", + "type": "quantitative", + "aggregate": "sum", + "title": "Count" + } + }, + "style": { + "pieInnerRadius": 60, + "pieDonutCenterValue": "total", + "labelFontSize": 16, + "pieSort": "desc", + "pieLegendStyle": "table", + "pieLabels": "nameAndPercent" } } } @@ -125,16 +139,30 @@ "{{configId}}" ], "title": "Top Genres", - "visualisation": { - "type": "data-stream-donut-chart", - "config": { - "data-stream-donut-chart": { - "valueColumn": "count", - "hideCenterValue": false, - "showValuesAsPercentage": true, - "legendPosition": "auto", - "legendMode": "table", - "labelColumn": "genres.0_uniqueValues" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "pie", + "encoding": { + "label": { + "field": "genres.0_uniqueValues", + "type": "nominal", + "title": "Genres[0]" + }, + "value": { + "field": "count", + "type": "quantitative", + "aggregate": "sum", + "title": "Count" + } + }, + "style": { + "pieInnerRadius": 60, + "pieDonutCenterValue": "total", + "labelFontSize": 16, + "pieSort": "desc", + "pieLegendStyle": "table", + "pieLabels": "nameAndPercent" } } } @@ -193,16 +221,30 @@ "{{configId}}" ], "title": "Top Genres", - "visualisation": { - "type": "data-stream-donut-chart", - "config": { - "data-stream-donut-chart": { - "valueColumn": "count", - "hideCenterValue": false, - "showValuesAsPercentage": true, - "legendPosition": "auto", - "legendMode": "table", - "labelColumn": "genres.0_uniqueValues" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "pie", + "encoding": { + "label": { + "field": "genres.0_uniqueValues", + "type": "nominal", + "title": "Genres[0]" + }, + "value": { + "field": "count", + "type": "quantitative", + "aggregate": "sum", + "title": "Count" + } + }, + "style": { + "pieInnerRadius": 60, + "pieDonutCenterValue": "total", + "labelFontSize": 16, + "pieSort": "desc", + "pieLegendStyle": "table", + "pieLabels": "nameAndPercent" } } } @@ -281,16 +323,28 @@ }, "id": "datastream-sql" }, - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "seriesColumn": "none", - "yAxisLabel": "Popularity", - "xAxisColumn": "name", - "yAxisColumn": [ - "popularity" - ] + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "name", + "type": "temporal", + "title": "Name" + }, + "y": { + "field": "popularity", + "type": "quantitative", + "title": "Popularity" + } + }, + "style": { + "cartesianShowYAxisTitle": true, + "cartesianYAxisTitle": "Popularity", + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "cartesianAreaGradient": true } } } @@ -349,30 +403,27 @@ "{{configId}}" ], "title": "Playlist Track Count", - "visualisation": { - "type": "data-stream-bar-chart", - "config": { - "data-stream-bar-chart": { - "xAxisGroup": "none", - "showLegend": false, - "range": { - "type": "auto" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "bar", + "encoding": { + "x": { + "field": "name", + "type": "nominal", + "title": "Name" }, - "showGrid": true, - "grouping": false, - "xAxisData": "name", - "displayMode": "actual", - "showTotals": false, - "yAxisLabel": "", - "horizontalLayout": "vertical", - "showValue": false, - "yAxisData": [ - "tracks.total" - ], - "showYAxisLabel": true, - "xAxisLabel": "Playlist", - "legendPosition": "bottom", - "showXAxisLabel": true + "y": { + "field": "tracks.total", + "type": "quantitative", + "title": "Track Count" + } + }, + "style": { + "legendPosition": "none", + "cartesianShowXAxisTitle": true, + "cartesianXAxisTitle": "Playlist", + "cartesianShowYAxisTitle": true } } } diff --git a/plugins/Spotify/v1/metadata.json b/plugins/Spotify/v1/metadata.json index caf986a3..0106fc71 100644 --- a/plugins/Spotify/v1/metadata.json +++ b/plugins/Spotify/v1/metadata.json @@ -1,7 +1,7 @@ { "name": "spotify", "displayName": "Spotify", - "version": "1.0.3", + "version": "1.0.4", "author": { "name": "@jame2O", "type": "community" diff --git a/plugins/Steam/v1/defaultContent/userDashboard.dash.json b/plugins/Steam/v1/defaultContent/userDashboard.dash.json index 0204955b..28771688 100644 --- a/plugins/Steam/v1/defaultContent/userDashboard.dash.json +++ b/plugins/Steam/v1/defaultContent/userDashboard.dash.json @@ -26,19 +26,56 @@ "{{configId}}" ], "title": "Owned Games", - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "columnOrder": [ - "playtime_deck_forever", - "playtime_forever", - "playtime_linux_forever", - "playtime_windows_forever", - "rtime_last_played", - "name" - ], - "hiddenColumns": [] + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "playtime_deck_forever", + "title": "Playtime Deck Forever", + "renderer": { + "type": "text" + } + }, + { + "field": "playtime_forever", + "title": "Playtime Forever", + "renderer": { + "type": "text" + } + }, + { + "field": "playtime_linux_forever", + "title": "Playtime Linux Forever", + "renderer": { + "type": "text" + } + }, + { + "field": "playtime_windows_forever", + "title": "Playtime Windows Forever", + "renderer": { + "type": "text" + } + }, + { + "field": "rtime_last_played", + "title": "Rtime Last Played", + "renderer": { + "type": "date", + "relative": true + } + }, + { + "field": "name", + "title": "Name", + "renderer": { + "type": "text" + } + } + ] } } } @@ -66,16 +103,35 @@ "{{configId}}" ], "title": "Store", - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "columnOrder": [ - "appid", - "last_modified", - "name" - ], - "hiddenColumns": [] + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "appid", + "title": "Appid", + "renderer": { + "type": "text" + } + }, + { + "field": "last_modified", + "title": "Last Modified", + "renderer": { + "type": "date", + "relative": true + } + }, + { + "field": "name", + "title": "Name", + "renderer": { + "type": "text" + } + } + ] } } } @@ -113,30 +169,26 @@ "{{configId}}" ], "title": "Recently Played Games", - "visualisation": { - "type": "data-stream-bar-chart", - "config": { - "data-stream-bar-chart": { - "xAxisGroup": "none", - "showLegend": false, - "range": { - "type": "auto" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "bar", + "encoding": { + "x": { + "field": "name", + "type": "nominal", + "title": "Name" }, - "showGrid": true, - "grouping": false, - "xAxisData": "name", - "displayMode": "actual", - "showTotals": false, - "yAxisLabel": "", - "horizontalLayout": "vertical", - "showValue": false, - "yAxisData": [ - "playtime_forever" - ], - "showYAxisLabel": true, - "xAxisLabel": "", - "legendPosition": "bottom", - "showXAxisLabel": true + "y": { + "field": "playtime_forever", + "type": "quantitative", + "title": "Playtime Forever" + } + }, + "style": { + "legendPosition": "none", + "cartesianShowXAxisTitle": true, + "cartesianShowYAxisTitle": true } } } @@ -169,13 +221,22 @@ "{{configId}}" ], "title": "Game News", - "visualisation": { - "type": "data-stream-blocks", - "config": { - "data-stream-blocks": { - "linkColumn": "url", - "sublabel": "feedlabel", - "labelColumn": "title" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "statusGrid", + "encoding": { + "label": { + "field": "title", + "type": "nominal" + }, + "link": { + "field": "url", + "type": "nominal" + } + }, + "style": { + "statusGridSecondaryTemplate": "{{{{raw}}}}{{feedlabel}}{{{{/raw}}}}" } } } @@ -206,13 +267,21 @@ "{{configId}}" ], "title": "Player Count", - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "value", - "comparisonColumn": "none", - "label": "Counter-Strike 2" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "value", + "type": "quantitative", + "title": "Value" + } + ] + }, + "style": { + "scalarLabelText": "Counter-Strike 2" } } } @@ -240,18 +309,48 @@ "{{configId}}" ], "title": "Player Badges", - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "columnOrder": [ - "completion_time", - "scarcity", - "appid", - "badgeid", - "xp" - ], - "hiddenColumns": [] + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "completion_time", + "title": "Completion Time", + "renderer": { + "type": "date" + } + }, + { + "field": "scarcity", + "title": "Scarcity", + "renderer": { + "type": "text" + } + }, + { + "field": "appid", + "title": "Appid", + "renderer": { + "type": "text" + } + }, + { + "field": "badgeid", + "title": "Badgeid", + "renderer": { + "type": "text" + } + }, + { + "field": "xp", + "title": "Xp", + "renderer": { + "type": "text" + } + } + ] } } } @@ -279,13 +378,21 @@ "{{configId}}" ], "title": "Player Account Level", - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "response.player_level", - "comparisonColumn": "none", - "formatted": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "response.player_level", + "type": "quantitative", + "title": "Player Level" + } + ] + }, + "style": { + "scalarLabelPosition": "none" } } } diff --git a/plugins/Steam/v1/metadata.json b/plugins/Steam/v1/metadata.json index eedf05c4..4614af18 100644 --- a/plugins/Steam/v1/metadata.json +++ b/plugins/Steam/v1/metadata.json @@ -1,7 +1,7 @@ { "name": "steam", "displayName": "Steam", - "version": "1.0.4", + "version": "1.0.5", "author": { "name": "@kmichalski0", "type": "community" diff --git a/plugins/Trading212/v1/defaultContent/overviewDashboard.dash.json b/plugins/Trading212/v1/defaultContent/overviewDashboard.dash.json index 08870f39..c1f136e7 100644 --- a/plugins/Trading212/v1/defaultContent/overviewDashboard.dash.json +++ b/plugins/Trading212/v1/defaultContent/overviewDashboard.dash.json @@ -27,13 +27,21 @@ "name": "accountSummary", "pluginConfigId": "{{configId}}" }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "totalValue", - "comparisonColumn": "none", - "label": "Total Value" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "totalValue", + "type": "quantitative", + "title": "Total Value" + } + ] + }, + "style": { + "scalarLabelText": "Total Value" } } } @@ -59,13 +67,21 @@ "name": "accountSummary", "pluginConfigId": "{{configId}}" }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "cash.availableToTrade", - "comparisonColumn": "none", - "label": "Cash Available" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "cash.availableToTrade", + "type": "quantitative", + "title": "Cash Available" + } + ] + }, + "style": { + "scalarLabelText": "Cash Available" } } } @@ -91,13 +107,21 @@ "name": "accountSummary", "pluginConfigId": "{{configId}}" }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "investments.currentValue", - "comparisonColumn": "none", - "label": "Invested Value" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "investments.currentValue", + "type": "quantitative", + "title": "Invested Value" + } + ] + }, + "style": { + "scalarLabelText": "Invested Value" } } } @@ -123,13 +147,21 @@ "name": "accountSummary", "pluginConfigId": "{{configId}}" }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "investments.unrealizedProfitLoss", - "comparisonColumn": "none", - "label": "Unrealized P/L" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "investments.unrealizedProfitLoss", + "type": "quantitative", + "title": "Unrealized P/L" + } + ] + }, + "style": { + "scalarLabelText": "Unrealized P/L" } } } @@ -158,13 +190,21 @@ "scope": "{{scopes.[Accounts]}}", "workspace": "{{workspaceId}}" }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": true, - "columnOrder": ["name", "currency"], - "hiddenColumns": ["id", "links", "type", "label", "sourceId", "sourceType"] + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableTranspose": true, + "richTableHiddenColumns": [ + "id", + "links", + "type", + "label", + "sourceId", + "sourceType" + ] } } } @@ -191,19 +231,75 @@ "pluginConfigId": "{{configId}}", "sort": { "by": [["currentValue", "desc"]] } }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false, - "columnOrder": [ - "name", - "quantity", - "currentPrice", - "averagePricePaid", - "currentValue", - "unrealizedProfitLoss", - "createdAt" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "name", + "title": "Instrument", + "renderer": { + "type": "text" + } + }, + { + "field": "quantity", + "title": "Quantity", + "renderer": { + "type": "text" + } + }, + { + "field": "currentPrice", + "title": "Current Price", + "renderer": { + "type": "text" + } + }, + { + "field": "averagePricePaid", + "title": "Average Price Paid", + "renderer": { + "type": "text" + } + }, + { + "field": "currentValue", + "title": "Current Value", + "renderer": { + "type": "text" + } + }, + { + "field": "unrealizedProfitLoss", + "title": "Unrealized P/L", + "renderer": { + "type": "text" + } + }, + { + "field": "createdAt", + "title": "Opened", + "renderer": { + "type": "date" + } + }, + { + "field": "instrumentCurrency", + "title": "Instrument Currency", + "renderer": { + "type": "text" + } + }, + { + "field": "totalCost", + "title": "Total Cost", + "renderer": { + "type": "text" + } + } ] } } @@ -231,21 +327,96 @@ "pluginConfigId": "{{configId}}", "sort": { "by": [["createdAt", "desc"]] } }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false, - "columnOrder": [ - "name", - "side", - "type", - "status", - "quantity", - "filledQuantity", - "limitPrice", - "stopPrice", - "createdAt" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "name", + "title": "Instrument", + "renderer": { + "type": "text" + } + }, + { + "field": "side", + "title": "Side", + "renderer": { + "type": "text" + } + }, + { + "field": "type", + "title": "Order Type", + "renderer": { + "type": "text" + } + }, + { + "field": "status", + "title": "Status", + "renderer": { + "type": "text" + } + }, + { + "field": "quantity", + "title": "Quantity", + "renderer": { + "type": "text" + } + }, + { + "field": "filledQuantity", + "title": "Filled Quantity", + "renderer": { + "type": "text" + } + }, + { + "field": "limitPrice", + "title": "Limit Price", + "renderer": { + "type": "text" + } + }, + { + "field": "stopPrice", + "title": "Stop Price", + "renderer": { + "type": "text" + } + }, + { + "field": "createdAt", + "title": "Created", + "renderer": { + "type": "date" + } + }, + { + "field": "id", + "title": "Order ID", + "renderer": { + "type": "text" + } + }, + { + "field": "instrumentCurrency", + "title": "Instrument Currency", + "renderer": { + "type": "text" + } + }, + { + "field": "timeInForce", + "title": "Time In Force", + "renderer": { + "type": "text" + } + } ] } } @@ -273,20 +444,69 @@ "pluginConfigId": "{{configId}}", "sort": { "by": [["result.priceAvgValue", "desc"]] } }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false, - "columnOrder": [ - "pieName", - "status", - "progress", - "cash", - "result.priceAvgInvestedValue", - "result.priceAvgValue", - "result.priceAvgResult", - "result.priceAvgResultCoef" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "pieName", + "title": "Name", + "renderer": { + "type": "text" + } + }, + { + "field": "status", + "title": "Status", + "renderer": { + "type": "text" + } + }, + { + "field": "progress", + "title": "Progress to Goal", + "renderer": { + "type": "bar", + "max": 100 + } + }, + { + "field": "cash", + "title": "Cash", + "renderer": { + "type": "text" + } + }, + { + "field": "result.priceAvgInvestedValue", + "title": "Invested Value", + "renderer": { + "type": "text" + } + }, + { + "field": "result.priceAvgValue", + "title": "Current Value", + "renderer": { + "type": "text" + } + }, + { + "field": "result.priceAvgResult", + "title": "Result", + "renderer": { + "type": "text" + } + }, + { + "field": "result.priceAvgResultCoef", + "title": "Result (%)", + "renderer": { + "type": "text" + } + } ] } } @@ -314,21 +534,75 @@ "pluginConfigId": "{{configId}}", "sort": { "by": [["dateExecuted", "desc"]], "top": 10 } }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false, - "columnOrder": [ - "name", - "side", - "type", - "status", - "filledQuantity", - "fillPrice", - "filledValue", - "realisedProfitLoss", - "dateExecuted" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "name", + "title": "Instrument", + "renderer": { + "type": "text" + } + }, + { + "field": "side", + "title": "Side", + "renderer": { + "type": "text" + } + }, + { + "field": "type", + "title": "Order Type", + "renderer": { + "type": "text" + } + }, + { + "field": "status", + "title": "Status", + "renderer": { + "type": "text" + } + }, + { + "field": "filledQuantity", + "title": "Filled Quantity", + "renderer": { + "type": "text" + } + }, + { + "field": "fillPrice", + "title": "Fill Price", + "renderer": { + "type": "text" + } + }, + { + "field": "filledValue", + "title": "Filled Value", + "renderer": { + "type": "text" + } + }, + { + "field": "realisedProfitLoss", + "title": "Realised P/L", + "renderer": { + "type": "text" + } + }, + { + "field": "dateExecuted", + "title": "Executed", + "renderer": { + "type": "date" + } + } ] } } @@ -356,12 +630,41 @@ "pluginConfigId": "{{configId}}", "sort": { "by": [["dateTime", "desc"]], "top": 10 } }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false, - "columnOrder": ["type", "amount", "currency", "dateTime"] + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "type", + "title": "Type", + "renderer": { + "type": "text" + } + }, + { + "field": "amount", + "title": "Amount", + "renderer": { + "type": "text" + } + }, + { + "field": "currency", + "title": "Currency", + "renderer": { + "type": "text" + } + }, + { + "field": "dateTime", + "title": "Date", + "renderer": { + "type": "date" + } + } + ] } } } diff --git a/plugins/Trading212/v1/defaultContent/pieDashboard.dash.json b/plugins/Trading212/v1/defaultContent/pieDashboard.dash.json index eb2b6eab..20ae4619 100644 --- a/plugins/Trading212/v1/defaultContent/pieDashboard.dash.json +++ b/plugins/Trading212/v1/defaultContent/pieDashboard.dash.json @@ -33,13 +33,21 @@ "workspace": "{{workspaceId}}", "variable": "{{variables.[Pie]}}" }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": true, - "columnOrder": ["name", "status"], - "hiddenColumns": ["id", "links", "type", "label", "sourceId", "sourceType"] + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableTranspose": true, + "richTableHiddenColumns": [ + "id", + "links", + "type", + "label", + "sourceId", + "sourceType" + ] } } } @@ -80,25 +88,51 @@ "workspace": "{{workspaceId}}", "variable": "{{variables.[Pie]}}" }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": true, - "columnOrder": [ - "goal_max", - "dividendCashAction_uniqueValues", - "investedValue_sum", - "currentValue_sum", - "result_sum" - ], - "columnDisplayNames": { - "goal_max": "Goal", - "dividendCashAction_uniqueValues": "Dividend Cash Action", - "investedValue_sum": "Invested Value", - "currentValue_sum": "Current Value", - "result_sum": "Result" - } + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "goal_max", + "title": "Goal", + "renderer": { + "type": "text" + } + }, + { + "field": "dividendCashAction_uniqueValues", + "title": "Dividend Cash Action", + "renderer": { + "type": "text" + } + }, + { + "field": "investedValue_sum", + "title": "Invested Value", + "renderer": { + "type": "text" + } + }, + { + "field": "currentValue_sum", + "title": "Current Value", + "renderer": { + "type": "text" + } + }, + { + "field": "result_sum", + "title": "Result", + "renderer": { + "type": "text" + } + } + ] + }, + "style": { + "richTableTranspose": true } } } @@ -131,20 +165,91 @@ "workspace": "{{workspaceId}}", "variable": "{{variables.[Pie]}}" }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false, - "columnOrder": [ - "ticker", - "currentShare", - "expectedShare", - "ownedQuantity", - "investedValue", - "currentValue", - "result", - "resultCoef" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "ticker", + "title": "Ticker", + "renderer": { + "type": "text" + } + }, + { + "field": "currentShare", + "title": "Current Share", + "renderer": { + "type": "bar", + "max": 100 + } + }, + { + "field": "expectedShare", + "title": "Expected Share", + "renderer": { + "type": "bar", + "max": 100 + } + }, + { + "field": "ownedQuantity", + "title": "Owned Quantity", + "renderer": { + "type": "text" + } + }, + { + "field": "investedValue", + "title": "Invested Value", + "renderer": { + "type": "text" + } + }, + { + "field": "currentValue", + "title": "Current Value", + "renderer": { + "type": "text" + } + }, + { + "field": "result", + "title": "Result", + "renderer": { + "type": "text" + } + }, + { + "field": "resultCoef", + "title": "Result (%)", + "renderer": { + "type": "text" + } + }, + { + "field": "pieName", + "title": "Pie Name", + "renderer": { + "type": "text" + } + }, + { + "field": "goal", + "title": "Goal", + "renderer": { + "type": "text" + } + }, + { + "field": "dividendCashAction", + "title": "Dividend Cash Action", + "renderer": { + "type": "text" + } + } ] } } @@ -177,16 +282,30 @@ "workspace": "{{workspaceId}}", "variable": "{{variables.[Pie]}}" }, - "visualisation": { - "type": "data-stream-donut-chart", - "config": { - "data-stream-donut-chart": { - "valueColumn": "currentValue", - "labelColumn": "ticker", - "hideCenterValue": false, - "showValuesAsPercentage": true, - "legendPosition": "auto", - "legendMode": "table" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "pie", + "encoding": { + "label": { + "field": "ticker", + "type": "nominal", + "title": "Ticker" + }, + "value": { + "field": "currentValue", + "type": "quantitative", + "aggregate": "sum", + "title": "Current Value" + } + }, + "style": { + "pieInnerRadius": 60, + "pieDonutCenterValue": "total", + "labelFontSize": 16, + "pieSort": "desc", + "pieLegendStyle": "table", + "pieLabels": "nameAndPercent" } } } diff --git a/plugins/Trading212/v1/defaultContent/positionDashboard.dash.json b/plugins/Trading212/v1/defaultContent/positionDashboard.dash.json index db1e438d..be03230a 100644 --- a/plugins/Trading212/v1/defaultContent/positionDashboard.dash.json +++ b/plugins/Trading212/v1/defaultContent/positionDashboard.dash.json @@ -36,13 +36,21 @@ } } }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "quantity", - "comparisonColumn": "none", - "label": "Quantity" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "quantity", + "type": "quantitative", + "title": "Quantity" + } + ] + }, + "style": { + "scalarLabelText": "Quantity" } } } @@ -76,13 +84,21 @@ } } }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "currentPrice", - "comparisonColumn": "none", - "label": "Current Price" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "currentPrice", + "type": "quantitative", + "title": "Current Price" + } + ] + }, + "style": { + "scalarLabelText": "Current Price" } } } @@ -116,13 +132,21 @@ } } }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "currentValue", - "comparisonColumn": "none", - "label": "Current Value" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "currentValue", + "type": "quantitative", + "title": "Current Value" + } + ] + }, + "style": { + "scalarLabelText": "Current Value" } } } @@ -156,13 +180,21 @@ } } }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "unrealizedProfitLoss", - "comparisonColumn": "none", - "label": "Unrealized P/L" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "unrealizedProfitLoss", + "type": "quantitative", + "title": "Unrealized P/L" + } + ] + }, + "style": { + "scalarLabelText": "Unrealized P/L" } } } @@ -193,13 +225,21 @@ "workspace": "{{workspaceId}}", "variable": "{{variables.[Position]}}" }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": true, - "columnOrder": ["name", "isin", "instrumentCurrency"], - "hiddenColumns": ["id", "links", "type", "label", "sourceId", "sourceType"] + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableTranspose": true, + "richTableHiddenColumns": [ + "id", + "links", + "type", + "label", + "sourceId", + "sourceType" + ] } } } @@ -234,20 +274,96 @@ }, "sort": { "by": [["createdAt", "desc"]] } }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false, - "columnOrder": [ - "side", - "type", - "status", - "quantity", - "filledQuantity", - "limitPrice", - "stopPrice", - "createdAt" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "side", + "title": "Side", + "renderer": { + "type": "text" + } + }, + { + "field": "type", + "title": "Order Type", + "renderer": { + "type": "text" + } + }, + { + "field": "status", + "title": "Status", + "renderer": { + "type": "text" + } + }, + { + "field": "quantity", + "title": "Quantity", + "renderer": { + "type": "text" + } + }, + { + "field": "filledQuantity", + "title": "Filled Quantity", + "renderer": { + "type": "text" + } + }, + { + "field": "limitPrice", + "title": "Limit Price", + "renderer": { + "type": "text" + } + }, + { + "field": "stopPrice", + "title": "Stop Price", + "renderer": { + "type": "text" + } + }, + { + "field": "createdAt", + "title": "Created", + "renderer": { + "type": "date" + } + }, + { + "field": "id", + "title": "Order ID", + "renderer": { + "type": "text" + } + }, + { + "field": "name", + "title": "Instrument", + "renderer": { + "type": "text" + } + }, + { + "field": "instrumentCurrency", + "title": "Instrument Currency", + "renderer": { + "type": "text" + } + }, + { + "field": "timeInForce", + "title": "Time In Force", + "renderer": { + "type": "text" + } + } ] } } @@ -283,20 +399,75 @@ }, "sort": { "by": [["dateExecuted", "desc"]] } }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false, - "columnOrder": [ - "side", - "type", - "status", - "filledQuantity", - "fillPrice", - "filledValue", - "realisedProfitLoss", - "dateExecuted" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "side", + "title": "Side", + "renderer": { + "type": "text" + } + }, + { + "field": "type", + "title": "Order Type", + "renderer": { + "type": "text" + } + }, + { + "field": "status", + "title": "Status", + "renderer": { + "type": "text" + } + }, + { + "field": "filledQuantity", + "title": "Filled Quantity", + "renderer": { + "type": "text" + } + }, + { + "field": "fillPrice", + "title": "Fill Price", + "renderer": { + "type": "text" + } + }, + { + "field": "filledValue", + "title": "Filled Value", + "renderer": { + "type": "text" + } + }, + { + "field": "realisedProfitLoss", + "title": "Realised P/L", + "renderer": { + "type": "text" + } + }, + { + "field": "dateExecuted", + "title": "Executed", + "renderer": { + "type": "date" + } + }, + { + "field": "name", + "title": "Instrument", + "renderer": { + "type": "text" + } + } ] } } @@ -332,17 +503,54 @@ }, "sort": { "by": [["paidOn", "desc"]] } }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false, - "columnOrder": [ - "amount", - "grossAmountPerShare", - "quantity", - "type", - "paidOn" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "amount", + "title": "Amount", + "renderer": { + "type": "text" + } + }, + { + "field": "grossAmountPerShare", + "title": "Gross Amount Per Share", + "renderer": { + "type": "text" + } + }, + { + "field": "quantity", + "title": "Quantity", + "renderer": { + "type": "text" + } + }, + { + "field": "type", + "title": "Type", + "renderer": { + "type": "text" + } + }, + { + "field": "paidOn", + "title": "Paid On", + "renderer": { + "type": "date" + } + }, + { + "field": "instrumentName", + "title": "Instrument", + "renderer": { + "type": "text" + } + } ] } } diff --git a/plugins/Trading212/v1/metadata.json b/plugins/Trading212/v1/metadata.json index d7e269df..41904c4b 100644 --- a/plugins/Trading212/v1/metadata.json +++ b/plugins/Trading212/v1/metadata.json @@ -1,7 +1,7 @@ { "name": "trading212", "displayName": "Trading 212", - "version": "1.2.2", + "version": "1.2.3", "author": { "name": "Ryan Welan", "type": "community" diff --git a/plugins/TransportForLondon/v1/defaultContent/arrivals.dash.json b/plugins/TransportForLondon/v1/defaultContent/arrivals.dash.json index b2d2cedf..a16f5060 100644 --- a/plugins/TransportForLondon/v1/defaultContent/arrivals.dash.json +++ b/plugins/TransportForLondon/v1/defaultContent/arrivals.dash.json @@ -35,43 +35,10 @@ "version": "1.0", "visualization": { "chartType": "richTable", - "encoding": { - "columns": [ - { - "field": "timeToStation", - "title": "Time To Station", - "renderer": { - "type": "text" - } - }, - { - "field": "platformName", - "title": "Platform Name", - "renderer": { - "type": "text" - } - }, - { - "field": "towards", - "title": "Towards", - "renderer": { - "type": "text" - } - }, - { - "field": "currentLocation", - "title": "Current Location", - "renderer": { - "type": "text" - } - }, - { - "field": "expectedArrival", - "title": "Expected Arrival", - "renderer": { - "type": "text" - } - } + "encoding": {}, + "style": { + "richTableHiddenColumns": [ + "direction" ] } } diff --git a/plugins/TransportForLondon/v1/metadata.json b/plugins/TransportForLondon/v1/metadata.json index 4b691485..428fa37c 100644 --- a/plugins/TransportForLondon/v1/metadata.json +++ b/plugins/TransportForLondon/v1/metadata.json @@ -1,7 +1,7 @@ { "name": "transport-for-london", "displayName": "Transport for London (TfL)", - "version": "1.0.7", + "version": "1.0.8", "author": { "name": "@clarkd", "type": "community" diff --git a/plugins/UniFi/v1/defaultContent/Devices/accessDevice.dash.json b/plugins/UniFi/v1/defaultContent/Devices/accessDevice.dash.json index 2079c14b..a2c5ba77 100644 --- a/plugins/UniFi/v1/defaultContent/Devices/accessDevice.dash.json +++ b/plugins/UniFi/v1/defaultContent/Devices/accessDevice.dash.json @@ -19,40 +19,190 @@ }, "title": "Device Information", "variables": ["{{variables.[UniFi Access Devices]}}"], - "visualisation": { - "config": { - "data-stream-table": { - "columnOrder": [ - "name", - "id", - "status", - "state", - "adoptionTime", - "firmwareStatus", - "ip", - "isConsole", - "isManaged", - "mac", - "model", - "note", - "productLine", - "shortname", - "startupTime", - "uidb.guid", - "uidb.iconId", - "uidb.id", - "uidb.images.default", - "uidb.images.nopadding", - "uidb.images.topology", - "updateAvailable", - "version", - "state[Expanded].rawState" - ], - "hiddenColumns": [], - "transpose": true + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "name", + "title": "Name", + "renderer": { + "type": "text" + } + }, + { + "field": "id", + "title": "Id", + "renderer": { + "type": "text" + } + }, + { + "field": "status", + "title": "Status", + "renderer": { + "type": "text" + } + }, + { + "field": "state[Expanded].rawState", + "title": "State", + "renderer": { + "type": "badge", + "colors": { + "offline": "#DE0038", + "online": "#2BB660" + } + } + }, + { + "field": "adoptionTime", + "title": "Adoption Time", + "renderer": { + "type": "text" + } + }, + { + "field": "firmwareStatus", + "title": "Firmware Status", + "renderer": { + "type": "text" + } + }, + { + "field": "ip", + "title": "Ip", + "renderer": { + "type": "text" + } + }, + { + "field": "isConsole", + "title": "Is Console", + "renderer": { + "type": "text" + } + }, + { + "field": "isManaged", + "title": "Is Managed", + "renderer": { + "type": "text" + } + }, + { + "field": "mac", + "title": "Mac", + "renderer": { + "type": "text" + } + }, + { + "field": "model", + "title": "Model", + "renderer": { + "type": "text" + } + }, + { + "field": "note", + "title": "Note", + "renderer": { + "type": "text" + } + }, + { + "field": "productLine", + "title": "Product Line", + "renderer": { + "type": "text" + } + }, + { + "field": "shortname", + "title": "Shortname", + "renderer": { + "type": "text" + } + }, + { + "field": "startupTime", + "title": "Startup Time", + "renderer": { + "type": "text" + } + }, + { + "field": "uidb.guid", + "title": "Guid", + "renderer": { + "type": "text" + } + }, + { + "field": "uidb.iconId", + "title": "Icon Id", + "renderer": { + "type": "text" + } + }, + { + "field": "uidb.id", + "title": "Uidb / Id", + "renderer": { + "type": "text" + } + }, + { + "field": "uidb.images.default", + "title": "Default", + "renderer": { + "type": "text" + } + }, + { + "field": "uidb.images.nopadding", + "title": "Nopadding", + "renderer": { + "type": "text" + } + }, + { + "field": "uidb.images.topology", + "title": "Topology", + "renderer": { + "type": "text" + } + }, + { + "field": "updateAvailable", + "title": "Update Available", + "renderer": { + "type": "text" + } + }, + { + "field": "version", + "title": "Version", + "renderer": { + "type": "text" + } + }, + { + "field": "state[Expanded].rawState", + "title": "Raw State", + "renderer": { + "type": "text" + } + } + ] + }, + "style": { + "richTableTranspose": true } - }, - "type": "data-stream-table" + } } }, "h": 5, @@ -80,14 +230,23 @@ }, "title": "Model", "variables": ["{{variables.[UniFi Access Devices]}}"], - "visualisation": { - "config": { - "data-stream-scalar": { - "comparisonColumn": "none", - "value": "model" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "model", + "type": "quantitative", + "title": "Model" + } + ] + }, + "style": { + "scalarLabelPosition": "none" } - }, - "type": "data-stream-scalar" + } } }, "h": 1, @@ -115,15 +274,24 @@ }, "title": "Status", "variables": ["{{variables.[UniFi Access Devices]}}"], - "visualisation": { - "config": { - "data-stream-blocks": { - "labelColumn": "name", - "linkColumn": "none", - "stateColumn": "state" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "statusGrid", + "encoding": { + "label": { + "field": "name", + "type": "nominal" + }, + "status": { + "field": "state", + "type": "nominal" + } + }, + "style": { + "statusGridColumnsPerRow": 1 } - }, - "type": "data-stream-blocks" + } } }, "h": 3, @@ -151,14 +319,23 @@ }, "title": "Version", "variables": ["{{variables.[UniFi Access Devices]}}"], - "visualisation": { - "config": { - "data-stream-scalar": { - "comparisonColumn": "none", - "value": "version" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "version", + "type": "quantitative", + "title": "Version" + } + ] + }, + "style": { + "scalarLabelPosition": "none" } - }, - "type": "data-stream-scalar" + } } }, "h": 1, diff --git a/plugins/UniFi/v1/defaultContent/Devices/networkDevice.dash.json b/plugins/UniFi/v1/defaultContent/Devices/networkDevice.dash.json index 0aa49542..bbf74794 100644 --- a/plugins/UniFi/v1/defaultContent/Devices/networkDevice.dash.json +++ b/plugins/UniFi/v1/defaultContent/Devices/networkDevice.dash.json @@ -19,40 +19,190 @@ }, "title": "Device Information", "variables": ["{{variables.[UniFi Network Devices]}}"], - "visualisation": { - "config": { - "data-stream-table": { - "columnOrder": [ - "name", - "id", - "status", - "state", - "adoptionTime", - "firmwareStatus", - "ip", - "isConsole", - "isManaged", - "mac", - "model", - "note", - "productLine", - "shortname", - "startupTime", - "uidb.guid", - "uidb.iconId", - "uidb.id", - "uidb.images.default", - "uidb.images.nopadding", - "uidb.images.topology", - "updateAvailable", - "version", - "state[Expanded].rawState" - ], - "hiddenColumns": [], - "transpose": true + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "name", + "title": "Name", + "renderer": { + "type": "text" + } + }, + { + "field": "id", + "title": "Id", + "renderer": { + "type": "text" + } + }, + { + "field": "status", + "title": "Status", + "renderer": { + "type": "text" + } + }, + { + "field": "state[Expanded].rawState", + "title": "State", + "renderer": { + "type": "badge", + "colors": { + "offline": "#DE0038", + "online": "#2BB660" + } + } + }, + { + "field": "adoptionTime", + "title": "Adoption Time", + "renderer": { + "type": "text" + } + }, + { + "field": "firmwareStatus", + "title": "Firmware Status", + "renderer": { + "type": "text" + } + }, + { + "field": "ip", + "title": "Ip", + "renderer": { + "type": "text" + } + }, + { + "field": "isConsole", + "title": "Is Console", + "renderer": { + "type": "text" + } + }, + { + "field": "isManaged", + "title": "Is Managed", + "renderer": { + "type": "text" + } + }, + { + "field": "mac", + "title": "Mac", + "renderer": { + "type": "text" + } + }, + { + "field": "model", + "title": "Model", + "renderer": { + "type": "text" + } + }, + { + "field": "note", + "title": "Note", + "renderer": { + "type": "text" + } + }, + { + "field": "productLine", + "title": "Product Line", + "renderer": { + "type": "text" + } + }, + { + "field": "shortname", + "title": "Shortname", + "renderer": { + "type": "text" + } + }, + { + "field": "startupTime", + "title": "Startup Time", + "renderer": { + "type": "text" + } + }, + { + "field": "uidb.guid", + "title": "Guid", + "renderer": { + "type": "text" + } + }, + { + "field": "uidb.iconId", + "title": "Icon Id", + "renderer": { + "type": "text" + } + }, + { + "field": "uidb.id", + "title": "Uidb / Id", + "renderer": { + "type": "text" + } + }, + { + "field": "uidb.images.default", + "title": "Default", + "renderer": { + "type": "text" + } + }, + { + "field": "uidb.images.nopadding", + "title": "Nopadding", + "renderer": { + "type": "text" + } + }, + { + "field": "uidb.images.topology", + "title": "Topology", + "renderer": { + "type": "text" + } + }, + { + "field": "updateAvailable", + "title": "Update Available", + "renderer": { + "type": "text" + } + }, + { + "field": "version", + "title": "Version", + "renderer": { + "type": "text" + } + }, + { + "field": "state[Expanded].rawState", + "title": "Raw State", + "renderer": { + "type": "text" + } + } + ] + }, + "style": { + "richTableTranspose": true } - }, - "type": "data-stream-table" + } } }, "h": 5, @@ -80,14 +230,23 @@ }, "title": "Model", "variables": ["{{variables.[UniFi Network Devices]}}"], - "visualisation": { - "config": { - "data-stream-scalar": { - "comparisonColumn": "none", - "value": "model" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "model", + "type": "quantitative", + "title": "Model" + } + ] + }, + "style": { + "scalarLabelPosition": "none" } - }, - "type": "data-stream-scalar" + } } }, "h": 1, @@ -115,15 +274,24 @@ }, "title": "Status", "variables": ["{{variables.[UniFi Network Devices]}}"], - "visualisation": { - "config": { - "data-stream-blocks": { - "labelColumn": "name", - "linkColumn": "none", - "stateColumn": "state" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "statusGrid", + "encoding": { + "label": { + "field": "name", + "type": "nominal" + }, + "status": { + "field": "state", + "type": "nominal" + } + }, + "style": { + "statusGridColumnsPerRow": 1 } - }, - "type": "data-stream-blocks" + } } }, "h": 3, @@ -151,14 +319,23 @@ }, "title": "Version", "variables": ["{{variables.[UniFi Network Devices]}}"], - "visualisation": { - "config": { - "data-stream-scalar": { - "comparisonColumn": "none", - "value": "version" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "version", + "type": "quantitative", + "title": "Version" + } + ] + }, + "style": { + "scalarLabelPosition": "none" } - }, - "type": "data-stream-scalar" + } } }, "h": 1, diff --git a/plugins/UniFi/v1/defaultContent/Devices/protectDevice.dash.json b/plugins/UniFi/v1/defaultContent/Devices/protectDevice.dash.json index f1123010..63be285f 100644 --- a/plugins/UniFi/v1/defaultContent/Devices/protectDevice.dash.json +++ b/plugins/UniFi/v1/defaultContent/Devices/protectDevice.dash.json @@ -19,40 +19,190 @@ }, "title": "Device Information", "variables": ["{{variables.[UniFi Protect Devices]}}"], - "visualisation": { - "config": { - "data-stream-table": { - "columnOrder": [ - "name", - "id", - "status", - "state", - "adoptionTime", - "firmwareStatus", - "ip", - "isConsole", - "isManaged", - "mac", - "model", - "note", - "productLine", - "shortname", - "startupTime", - "uidb.guid", - "uidb.iconId", - "uidb.id", - "uidb.images.default", - "uidb.images.nopadding", - "uidb.images.topology", - "updateAvailable", - "version", - "state[Expanded].rawState" - ], - "hiddenColumns": [], - "transpose": true + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "name", + "title": "Name", + "renderer": { + "type": "text" + } + }, + { + "field": "id", + "title": "Id", + "renderer": { + "type": "text" + } + }, + { + "field": "status", + "title": "Status", + "renderer": { + "type": "text" + } + }, + { + "field": "state[Expanded].rawState", + "title": "State", + "renderer": { + "type": "badge", + "colors": { + "offline": "#DE0038", + "online": "#2BB660" + } + } + }, + { + "field": "adoptionTime", + "title": "Adoption Time", + "renderer": { + "type": "text" + } + }, + { + "field": "firmwareStatus", + "title": "Firmware Status", + "renderer": { + "type": "text" + } + }, + { + "field": "ip", + "title": "Ip", + "renderer": { + "type": "text" + } + }, + { + "field": "isConsole", + "title": "Is Console", + "renderer": { + "type": "text" + } + }, + { + "field": "isManaged", + "title": "Is Managed", + "renderer": { + "type": "text" + } + }, + { + "field": "mac", + "title": "Mac", + "renderer": { + "type": "text" + } + }, + { + "field": "model", + "title": "Model", + "renderer": { + "type": "text" + } + }, + { + "field": "note", + "title": "Note", + "renderer": { + "type": "text" + } + }, + { + "field": "productLine", + "title": "Product Line", + "renderer": { + "type": "text" + } + }, + { + "field": "shortname", + "title": "Shortname", + "renderer": { + "type": "text" + } + }, + { + "field": "startupTime", + "title": "Startup Time", + "renderer": { + "type": "text" + } + }, + { + "field": "uidb.guid", + "title": "Guid", + "renderer": { + "type": "text" + } + }, + { + "field": "uidb.iconId", + "title": "Icon Id", + "renderer": { + "type": "text" + } + }, + { + "field": "uidb.id", + "title": "Uidb / Id", + "renderer": { + "type": "text" + } + }, + { + "field": "uidb.images.default", + "title": "Default", + "renderer": { + "type": "text" + } + }, + { + "field": "uidb.images.nopadding", + "title": "Nopadding", + "renderer": { + "type": "text" + } + }, + { + "field": "uidb.images.topology", + "title": "Topology", + "renderer": { + "type": "text" + } + }, + { + "field": "updateAvailable", + "title": "Update Available", + "renderer": { + "type": "text" + } + }, + { + "field": "version", + "title": "Version", + "renderer": { + "type": "text" + } + }, + { + "field": "state[Expanded].rawState", + "title": "Raw State", + "renderer": { + "type": "text" + } + } + ] + }, + "style": { + "richTableTranspose": true } - }, - "type": "data-stream-table" + } } }, "h": 5, @@ -80,14 +230,23 @@ }, "title": "Model", "variables": ["{{variables.[UniFi Protect Devices]}}"], - "visualisation": { - "config": { - "data-stream-scalar": { - "comparisonColumn": "none", - "value": "model" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "model", + "type": "quantitative", + "title": "Model" + } + ] + }, + "style": { + "scalarLabelPosition": "none" } - }, - "type": "data-stream-scalar" + } } }, "h": 1, @@ -115,15 +274,24 @@ }, "title": "Status", "variables": ["{{variables.[UniFi Protect Devices]}}"], - "visualisation": { - "config": { - "data-stream-blocks": { - "labelColumn": "name", - "linkColumn": "none", - "stateColumn": "state" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "statusGrid", + "encoding": { + "label": { + "field": "name", + "type": "nominal" + }, + "status": { + "field": "state", + "type": "nominal" + } + }, + "style": { + "statusGridColumnsPerRow": 1 } - }, - "type": "data-stream-blocks" + } } }, "h": 3, @@ -151,14 +319,23 @@ }, "title": "Version", "variables": ["{{variables.[UniFi Protect Devices]}}"], - "visualisation": { - "config": { - "data-stream-scalar": { - "comparisonColumn": "none", - "value": "version" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "version", + "type": "quantitative", + "title": "Version" + } + ] + }, + "style": { + "scalarLabelPosition": "none" } - }, - "type": "data-stream-scalar" + } } }, "h": 1, diff --git a/plugins/UniFi/v1/defaultContent/siteStatus.dash.json b/plugins/UniFi/v1/defaultContent/siteStatus.dash.json index 73668d2f..40dd3fa1 100644 --- a/plugins/UniFi/v1/defaultContent/siteStatus.dash.json +++ b/plugins/UniFi/v1/defaultContent/siteStatus.dash.json @@ -14,16 +14,12 @@ }, "description": "", "title": "Hosts", - "visualisation": { - "config": { - "data-stream-blocks": { - "labelColumn": "name", - "linkColumn": "none", - "stateColumn": "state", - "sublabel": "hardware" - } - }, - "type": "data-stream-blocks" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "statusGrid", + "encoding": {} + } } }, "h": 1, @@ -45,16 +41,24 @@ "pluginConfigId": "{{configId}}" }, "title": "Devices", - "visualisation": { - "config": { - "data-stream-blocks": { - "labelColumn": "name", - "linkColumn": "none", - "stateColumn": "state", - "sublabel": "model" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "statusGrid", + "encoding": { + "label": { + "field": "name", + "type": "nominal" + }, + "status": { + "field": "status", + "type": "nominal" + } + }, + "style": { + "statusGridSecondaryTemplate": "{{{{raw}}}}{{model}}{{{{/raw}}}}" } - }, - "type": "data-stream-blocks" + } } }, "h": 7, @@ -77,16 +81,24 @@ }, "description": "", "title": "WAN Connections", - "visualisation": { - "config": { - "data-stream-blocks": { - "labelColumn": "isp", - "linkColumn": "none", - "stateColumn": "state", - "sublabel": "name" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "statusGrid", + "encoding": { + "label": { + "field": "isp", + "type": "nominal" + }, + "status": { + "field": "state", + "type": "nominal" + } + }, + "style": { + "statusGridSecondaryTemplate": "{{{{raw}}}}{{name}}{{{{/raw}}}}" } - }, - "type": "data-stream-blocks" + } } }, "h": 1, @@ -136,21 +148,57 @@ }, "description": "", "title": "WAN Issues", - "visualisation": { - "config": { - "data-stream-table": { - "columnOrder": [ - "index", - "latencyMaxMs", - "latencyAvgMs", - "count", - "highLatency", - "name" - ], - "hiddenColumns": [] + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "index", + "title": "Alert ID", + "renderer": { + "type": "text" + } + }, + { + "field": "latencyMaxMs", + "title": "Latency Max Ms", + "renderer": { + "type": "text" + } + }, + { + "field": "latencyAvgMs", + "title": "Latency Avg Ms", + "renderer": { + "type": "text" + } + }, + { + "field": "count", + "title": "Count", + "renderer": { + "type": "text" + } + }, + { + "field": "highLatency", + "title": "High Latency", + "renderer": { + "type": "text" + } + }, + { + "field": "name", + "title": "Name", + "renderer": { + "type": "text" + } + } + ] } - }, - "type": "data-stream-table" + } } }, "h": 2, @@ -173,16 +221,24 @@ }, "description": "", "title": "Sites", - "visualisation": { - "config": { - "data-stream-blocks": { - "labelColumn": "name", - "linkColumn": "none", - "stateColumn": "state", - "sublabel": "timezone" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "statusGrid", + "encoding": { + "label": { + "field": "name", + "type": "nominal" + }, + "status": { + "field": "state", + "type": "nominal" + } + }, + "style": { + "statusGridSecondaryTemplate": "{{{{raw}}}}{{timezone}}{{{{/raw}}}}" } - }, - "type": "data-stream-blocks" + } } }, "h": 1, @@ -202,14 +258,23 @@ }, "description": "", "title": "Guest Clients", - "visualisation": { - "config": { - "data-stream-scalar": { - "comparisonColumn": "none", - "value": "guestClient" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "guestClient", + "type": "quantitative", + "title": "Guest Clients" + } + ] + }, + "style": { + "scalarLabelPosition": "none" } - }, - "type": "data-stream-scalar" + } } }, "h": 1, @@ -229,14 +294,23 @@ }, "description": "", "title": "Wifi Clients", - "visualisation": { - "config": { - "data-stream-scalar": { - "comparisonColumn": "none", - "value": "wifiClient" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "wifiClient", + "type": "quantitative", + "title": "Wifi Clients" + } + ] + }, + "style": { + "scalarLabelPosition": "none" } - }, - "type": "data-stream-scalar" + } } }, "h": 1, @@ -256,14 +330,23 @@ }, "description": "", "title": "LAN Clients", - "visualisation": { - "config": { - "data-stream-scalar": { - "comparisonColumn": "none", - "value": "wiredClient" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "wiredClient", + "type": "quantitative", + "title": "LAN Clients" + } + ] + }, + "style": { + "scalarLabelPosition": "none" } - }, - "type": "data-stream-scalar" + } } }, "h": 1, @@ -283,14 +366,23 @@ }, "description": "", "title": "Gateways", - "visualisation": { - "config": { - "data-stream-scalar": { - "comparisonColumn": "none", - "value": "gatewayDevice" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "gatewayDevice", + "type": "quantitative", + "title": "Gateways" + } + ] + }, + "style": { + "scalarLabelPosition": "none" } - }, - "type": "data-stream-scalar" + } } }, "h": 1, diff --git a/plugins/UniFi/v1/metadata.json b/plugins/UniFi/v1/metadata.json index c64c4d0e..097b02d3 100644 --- a/plugins/UniFi/v1/metadata.json +++ b/plugins/UniFi/v1/metadata.json @@ -1,7 +1,7 @@ { "name": "unifi", "displayName": "UniFi", - "version": "1.0.8", + "version": "1.0.9", "author": { "name": "@adamkinniburgh", "type": "community" diff --git a/plugins/UptimeRobot/v2/defaultContent/accountOverview.dash.json b/plugins/UptimeRobot/v2/defaultContent/accountOverview.dash.json index 7e81db69..0e08bbb5 100644 --- a/plugins/UptimeRobot/v2/defaultContent/accountOverview.dash.json +++ b/plugins/UptimeRobot/v2/defaultContent/accountOverview.dash.json @@ -28,17 +28,62 @@ }, "timeframe": "none", "title": "Current State", - "visualisation": { - "config": { - "data-stream-donut-chart": { - "labelColumn": "state_uniqueValues", - "legendMode": "table", - "legendPosition": "right", - "showValuesAsPercentage": false, - "valueColumn": "state" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "pie", + "encoding": { + "label": { + "field": "state_uniqueValues", + "type": "nominal", + "title": "State" + }, + "value": { + "field": "count", + "type": "quantitative", + "aggregate": "sum", + "title": "Count" + } + }, + "style": { + "pieInnerRadius": 60, + "pieDonutCenterValue": "total", + "labelFontSize": 16, + "pieSort": "desc", + "pieLegendStyle": "table", + "mappedColors": { + "critical": "#DE0038", + "error": "#DE0038", + "failed": "#DE0038", + "failure": "#DE0038", + "down": "#DE0038", + "offline": "#DE0038", + "unhealthy": "#DE0038", + "high": "#DE0038", + "warning": "#F59E0B", + "warn": "#F59E0B", + "medium": "#F59E0B", + "moderate": "#F59E0B", + "degraded": "#F59E0B", + "partial": "#F59E0B", + "ok": "#2BB660", + "healthy": "#2BB660", + "success": "#2BB660", + "succeeded": "#2BB660", + "passed": "#2BB660", + "up": "#2BB660", + "online": "#2BB660", + "resolved": "#2BB660", + "low": "#3B82F6", + "info": "#3B82F6", + "informational": "#3B82F6", + "unknown": "#94A3B8", + "unmonitored": "#94A3B8", + "not monitored": "#94A3B8", + "paused": "#94A3B8" + } } - }, - "type": "data-stream-donut-chart" + } } }, "h": 2, @@ -75,17 +120,18 @@ }, "timeframe": "none", "title": "", - "visualisation": { - "config": { - "data-stream-scalar": { - "comparisonColumn": "none", - "label": "Monitors", - "value": { - "type": "count" - } + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [] + }, + "style": { + "scalarLabelText": "Monitors", + "scalarRowCount": true } - }, - "type": "data-stream-scalar" + } } }, "h": 2, @@ -122,29 +168,29 @@ }, "timeframe": "none", "title": "Monitors", - "visualisation": { - "config": { - "data-stream-table": { - "columnDisplayNames": { - "link": "Name" - }, - "columnOrder": [ - "link", - "sourceType" - ], - "hiddenColumns": [ - "id", - "label", - "type", - "sourceId", - "sourceName", - "links", - "name", - "monitorUrl" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "link", + "title": "Name", + "renderer": { + "type": "link" + } + }, + { + "field": "sourceType", + "title": "Source Type", + "renderer": { + "type": "text" + } + } ] } - }, - "type": "data-stream-table" + } } }, "h": 4, @@ -180,17 +226,29 @@ }, "timeframe": "none", "title": "Monitors Down", - "visualisation": { - "config": { - "data-stream-blocks": { - "columns": 1, - "labelColumn": "link", - "linkColumn": "link", - "stateColumn": "state", - "sublabel": "status" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "statusGrid", + "encoding": { + "label": { + "field": "link", + "type": "nominal" + }, + "status": { + "field": "state", + "type": "nominal" + }, + "link": { + "field": "link", + "type": "nominal" + } + }, + "style": { + "statusGridColumnsPerRow": 1, + "statusGridSecondaryTemplate": "{{{{raw}}}}{{status}}{{{{/raw}}}}" } - }, - "type": "data-stream-blocks" + } } }, "h": 4, diff --git a/plugins/UptimeRobot/v2/defaultContent/monitor.dash.json b/plugins/UptimeRobot/v2/defaultContent/monitor.dash.json index 00e7dffc..565a1aea 100644 --- a/plugins/UptimeRobot/v2/defaultContent/monitor.dash.json +++ b/plugins/UptimeRobot/v2/defaultContent/monitor.dash.json @@ -21,15 +21,28 @@ "variables": [ "{{variables.[UptimeRobot Monitor]}}" ], - "visualisation": { - "config": { - "data-stream-blocks": { - "labelColumn": "status", - "linkColumn": "link", - "stateColumn": "state" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "statusGrid", + "encoding": { + "label": { + "field": "status", + "type": "nominal" + }, + "status": { + "field": "state", + "type": "nominal" + }, + "link": { + "field": "link", + "type": "nominal" + } + }, + "style": { + "statusGridColumnsPerRow": 1 } - }, - "type": "data-stream-blocks" + } } }, "h": 2, @@ -59,30 +72,46 @@ "variables": [ "{{variables.[UptimeRobot Monitor]}}" ], - "visualisation": { - "config": { - "data-stream-table": { - "columnDisplayNames": { - "sourceType": "Type" - }, - "columnOrder": [ - "name", - "sourceId", - "monitorUrl", - "sourceType" - ], - "hiddenColumns": [ - "id", - "sourceName", - "link", - "links", - "type", - "label" - ], - "transpose": true + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "name", + "title": "Name", + "renderer": { + "type": "text" + } + }, + { + "field": "sourceId", + "title": "Source Id", + "renderer": { + "type": "text" + } + }, + { + "field": "monitorUrl", + "title": "Monitor Url", + "renderer": { + "type": "text" + } + }, + { + "field": "sourceType", + "title": "Type", + "renderer": { + "type": "text" + } + } + ] + }, + "style": { + "richTableTranspose": true } - }, - "type": "data-stream-table" + } } }, "h": 2, @@ -150,14 +179,23 @@ "variables": [ "{{variables.[UptimeRobot Monitor]}}" ], - "visualisation": { - "config": { - "data-stream-scalar": { - "comparisonColumn": "none", - "value": "duration_sum" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "duration_sum", + "type": "quantitative", + "title": "Duration (Sum)" + } + ] + }, + "style": { + "scalarLabelPosition": "none" } - }, - "type": "data-stream-scalar" + } } }, "h": 2, @@ -196,8 +234,15 @@ "variables": [ "{{variables.[UptimeRobot Monitor]}}" ], - "visualisation": { - "type": "data-stream-scalar" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": {}, + "style": { + "scalarLabelPosition": "none" + } + } } }, "h": 1, @@ -238,20 +283,34 @@ "variables": [ "{{variables.[UptimeRobot Monitor]}}" ], - "visualisation": { - "config": { - "data-stream-line-graph": { - "legendPosition": "bottom", - "seriesColumn": "friendly_name", - "showLegend": false, - "showTrendLine": true, - "showYAxisLabel": false, - "xAxisColumn": "datetime", - "yAxisColumn": "value", - "yAxisLabel": "Response time" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "datetime", + "type": "temporal", + "title": "Timestamp" + }, + "y": { + "field": "value", + "type": "quantitative", + "title": "Average Response" + }, + "series": { + "field": "friendly_name", + "type": "nominal", + "title": "Monitor" + } + }, + "style": { + "legendPosition": "none", + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "cartesianTrendLine": true } - }, - "type": "data-stream-line-graph" + } } }, "h": 3, @@ -290,8 +349,15 @@ "variables": [ "{{variables.[UptimeRobot Monitor]}}" ], - "visualisation": { - "type": "data-stream-scalar" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": {}, + "style": { + "scalarLabelPosition": "none" + } + } } }, "h": 1, @@ -332,13 +398,23 @@ "variables": [ "{{variables.[UptimeRobot Monitor]}}" ], - "visualisation": { - "config": { - "data-stream-scalar": { - "value": "value_min" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "value_min", + "type": "quantitative", + "title": "Average Response (Minimum)" + } + ] + }, + "style": { + "scalarLabelPosition": "none" } - }, - "type": "data-stream-scalar" + } } }, "h": 1, diff --git a/plugins/UptimeRobot/v2/metadata.json b/plugins/UptimeRobot/v2/metadata.json index 6e22de3b..a5727894 100644 --- a/plugins/UptimeRobot/v2/metadata.json +++ b/plugins/UptimeRobot/v2/metadata.json @@ -1,7 +1,7 @@ { "name": "UptimeRobot", "displayName": "UptimeRobot", - "version": "2.0.4", + "version": "2.0.5", "author": { "name": "@kieranlangton", "type": "community" diff --git a/plugins/VeeamBackupReplication/v1/defaultContent/Repository/status.dash.json b/plugins/VeeamBackupReplication/v1/defaultContent/Repository/status.dash.json index 57cfe400..02694538 100644 --- a/plugins/VeeamBackupReplication/v1/defaultContent/Repository/status.dash.json +++ b/plugins/VeeamBackupReplication/v1/defaultContent/Repository/status.dash.json @@ -51,10 +51,6 @@ "status": { "field": "isOnline", "type": "nominal" - }, - "link": { - "field": "name", - "type": "nominal" } }, "style": { diff --git a/plugins/VeeamBackupReplication/v1/defaultContent/overviewDashboard.dash.json b/plugins/VeeamBackupReplication/v1/defaultContent/overviewDashboard.dash.json index 9b217a14..e4fac791 100644 --- a/plugins/VeeamBackupReplication/v1/defaultContent/overviewDashboard.dash.json +++ b/plugins/VeeamBackupReplication/v1/defaultContent/overviewDashboard.dash.json @@ -426,15 +426,20 @@ "description": "", "activePluginConfigIds": ["{{configId}}"], "title": "% Free Space", - "visualisation": { - "type": "data-stream-blocks", - "config": { - "data-stream-blocks": { - "blockHeight": 70, - "linkColumn": "none", - "columns": 1, - "sublabel": "Free Space %", - "labelColumn": "name" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "statusGrid", + "encoding": { + "label": { + "field": "name", + "type": "nominal" + } + }, + "style": { + "statusGridColumnsPerRow": 1, + "statusGridSecondaryTemplate": "{{{{raw}}}}{{lookup this \"Free Space %\"}}{{{{/raw}}}}", + "statusGridMaxBlockHeight": 70 } } } diff --git a/plugins/VeeamBackupReplication/v1/metadata.json b/plugins/VeeamBackupReplication/v1/metadata.json index c0fd505f..3f14011d 100644 --- a/plugins/VeeamBackupReplication/v1/metadata.json +++ b/plugins/VeeamBackupReplication/v1/metadata.json @@ -1,7 +1,7 @@ { "name": "veeam-backup-replication", "displayName": "Veeam Backup & Replication", - "version": "1.0.3", + "version": "1.0.4", "author": { "name": "SquaredUp Labs", "type": "labs" diff --git a/plugins/Vercel/v1/defaultContent/activity.dash.json b/plugins/Vercel/v1/defaultContent/activity.dash.json index 9b27a7ab..286e7f95 100644 --- a/plugins/Vercel/v1/defaultContent/activity.dash.json +++ b/plugins/Vercel/v1/defaultContent/activity.dash.json @@ -28,23 +28,41 @@ "description": "Account events", "activePluginConfigIds": ["{{configId}}"], "title": "Recent Activity", - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "columnOrder": [ - "createdAt", - "type", - "text", - "actor" - ], - "hiddenColumns": [ - "id", - "user.username", - "user.email", - "userId" - ], - "transpose": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "createdAt", + "title": "Created", + "renderer": { + "type": "date" + } + }, + { + "field": "type", + "title": "Type", + "renderer": { + "type": "text" + } + }, + { + "field": "text", + "title": "Summary", + "renderer": { + "type": "text" + } + }, + { + "field": "actor", + "title": "Actor", + "renderer": { + "type": "text" + } + } + ] } } } @@ -78,19 +96,27 @@ "description": "Members of the configured team", "activePluginConfigIds": ["{{configId}}"], "title": "Team Roster", - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "columnOrder": ["username", "role"], - "hiddenColumns": [ - "uid", - "createdAt", - "email", - "name", - "confirmed" - ], - "transpose": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "username", + "title": "Username", + "renderer": { + "type": "text" + } + }, + { + "field": "role", + "title": "Role", + "renderer": { + "type": "text" + } + } + ] } } } @@ -119,18 +145,41 @@ "description": "Teams accessible to the configured token", "activePluginConfigIds": ["{{configId}}"], "title": "Teams", - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "columnOrder": [ - "name", - "slug", - "membership.role", - "createdAt" - ], - "hiddenColumns": ["id"], - "transpose": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "name", + "title": "Name", + "renderer": { + "type": "text" + } + }, + { + "field": "slug", + "title": "Slug", + "renderer": { + "type": "text" + } + }, + { + "field": "membership.role", + "title": "Your Role", + "renderer": { + "type": "text" + } + }, + { + "field": "createdAt", + "title": "Created", + "renderer": { + "type": "date" + } + } + ] } } } @@ -164,13 +213,26 @@ "description": "", "activePluginConfigIds": ["{{configId}}"], "title": "Daily Activity", - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "seriesColumn": "none", - "xAxisColumn": "createdAt_byDay", - "yAxisColumn": ["count"] + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "createdAt_byDay", + "type": "temporal", + "title": "Created" + }, + "y": { + "field": "count", + "type": "quantitative", + "title": "Count" + } + }, + "style": { + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "cartesianAreaGradient": true } } } diff --git a/plugins/Vercel/v1/defaultContent/deployments.dash.json b/plugins/Vercel/v1/defaultContent/deployments.dash.json index 9853fbdb..cdfbb9bf 100644 --- a/plugins/Vercel/v1/defaultContent/deployments.dash.json +++ b/plugins/Vercel/v1/defaultContent/deployments.dash.json @@ -37,63 +37,372 @@ "description": "", "activePluginConfigIds": ["{{configId}}"], "title": "Latest Builds (Top 10)", - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "columnOrder": [ - "state", - "name", - "url", - "created", - "source", - "readyState", - "readySubstate", - "type", - "creator", - "inspectorUrl", - "attribution.commitMeta.name", - "attribution.commitMeta.email", - "attribution.commitMeta.isVerified", - "attribution.gitUser.id", - "attribution.gitUser.login", - "attribution.gitUser.type", - "attribution.gitUser.provider", - "attribution.vercelUser.id", - "attribution.vercelUser.username", - "attribution.vercelUser.teamRoles.0", - "meta.githubCommitAuthorName", - "meta.githubCommitAuthorEmail", - "meta.githubCommitMessage", - "meta.githubCommitOrg", - "meta.githubCommitRef", - "meta.githubCommitRepo", - "meta.githubCommitSha", - "meta.githubDeployment", - "meta.githubOrg", - "meta.githubRepo", - "meta.githubRepoOwnerType", - "meta.githubCommitRepoId", - "meta.githubRepoId", - "meta.githubRepoVisibility", - "meta.githubHost", - "meta.githubCommitAuthorLogin", - "meta.githubCommitVerification", - "meta.repoPushedAt", - "meta.branchAlias", - "meta.lambdaRuntimeStats", - "target", - "aliasError", - "aliasAssigned", - "isRollbackCandidate", - "createdAt", - "buildingAt", - "ready", - "projectSettings.commandForIgnoringBuildStep", - "meta.githubPrId", - "state[Expanded].rawState" - ], - "hiddenColumns": ["uid", "projectId"] + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "state[Expanded].rawState", + "title": "State", + "renderer": { + "type": "badge", + "colors": { + "READY": "#2BB660", + "ERROR": "#DE0038", + "CANCELED": "#DE0038", + "BUILDING": "#F59E0B", + "QUEUED": "#F59E0B", + "INITIALIZING": "#F59E0B", + "DELETED": "#94A3B8" + } + } + }, + { + "field": "name", + "title": "Name", + "renderer": { + "type": "text" + } + }, + { + "field": "url", + "title": "URL", + "renderer": { + "type": "link" + } + }, + { + "field": "created", + "title": "Created", + "renderer": { + "type": "date" + } + }, + { + "field": "source", + "title": "Source", + "renderer": { + "type": "text" + } + }, + { + "field": "readyState", + "title": "Ready State", + "renderer": { + "type": "text" + } + }, + { + "field": "readySubstate", + "title": "Ready Substate", + "renderer": { + "type": "text" + } + }, + { + "field": "type", + "title": "Type", + "renderer": { + "type": "text" + } + }, + { + "field": "creator", + "title": "Creator", + "renderer": { + "type": "text" + } + }, + { + "field": "inspectorUrl", + "title": "Inspector URL", + "renderer": { + "type": "link" + } + }, + { + "field": "attribution.commitMeta.name", + "title": "Commit Meta / Name", + "renderer": { + "type": "text" + } + }, + { + "field": "attribution.commitMeta.email", + "title": "Email", + "renderer": { + "type": "text" + } + }, + { + "field": "attribution.commitMeta.isVerified", + "title": "Is Verified", + "renderer": { + "type": "text" + } + }, + { + "field": "attribution.gitUser.id", + "title": "Id", + "renderer": { + "type": "text" + } + }, + { + "field": "attribution.gitUser.login", + "title": "Login", + "renderer": { + "type": "text" + } + }, + { + "field": "attribution.gitUser.type", + "title": "Type", + "renderer": { + "type": "text" + } + }, + { + "field": "attribution.gitUser.provider", + "title": "Provider", + "renderer": { + "type": "text" + } + }, + { + "field": "attribution.vercelUser.id", + "title": "Id", + "renderer": { + "type": "text" + } + }, + { + "field": "attribution.vercelUser.username", + "title": "Username", + "renderer": { + "type": "text" + } + }, + { + "field": "attribution.vercelUser.teamRoles.0", + "title": "Team Roles[0]", + "renderer": { + "type": "text" + } + }, + { + "field": "meta.githubCommitAuthorName", + "title": "Github Commit Author Name", + "renderer": { + "type": "text" + } + }, + { + "field": "meta.githubCommitAuthorEmail", + "title": "Github Commit Author Email", + "renderer": { + "type": "text" + } + }, + { + "field": "meta.githubCommitMessage", + "title": "Github Commit Message", + "renderer": { + "type": "text" + } + }, + { + "field": "meta.githubCommitOrg", + "title": "Github Commit Org", + "renderer": { + "type": "text" + } + }, + { + "field": "meta.githubCommitRef", + "title": "Github Commit Ref", + "renderer": { + "type": "text" + } + }, + { + "field": "meta.githubCommitRepo", + "title": "Github Commit Repo", + "renderer": { + "type": "text" + } + }, + { + "field": "meta.githubCommitSha", + "title": "Github Commit Sha", + "renderer": { + "type": "text" + } + }, + { + "field": "meta.githubDeployment", + "title": "Github Deployment", + "renderer": { + "type": "text" + } + }, + { + "field": "meta.githubOrg", + "title": "Github Org", + "renderer": { + "type": "text" + } + }, + { + "field": "meta.githubRepo", + "title": "Github Repo", + "renderer": { + "type": "text" + } + }, + { + "field": "meta.githubRepoOwnerType", + "title": "Github Repo Owner Type", + "renderer": { + "type": "text" + } + }, + { + "field": "meta.githubCommitRepoId", + "title": "Github Commit Repo Id", + "renderer": { + "type": "text" + } + }, + { + "field": "meta.githubRepoId", + "title": "Github Repo Id", + "renderer": { + "type": "text" + } + }, + { + "field": "meta.githubRepoVisibility", + "title": "Github Repo Visibility", + "renderer": { + "type": "text" + } + }, + { + "field": "meta.githubHost", + "title": "Github Host", + "renderer": { + "type": "text" + } + }, + { + "field": "meta.githubCommitAuthorLogin", + "title": "Github Commit Author Login", + "renderer": { + "type": "text" + } + }, + { + "field": "meta.githubCommitVerification", + "title": "Github Commit Verification", + "renderer": { + "type": "text" + } + }, + { + "field": "meta.repoPushedAt", + "title": "Repo Pushed At", + "renderer": { + "type": "text" + } + }, + { + "field": "meta.branchAlias", + "title": "Branch Alias", + "renderer": { + "type": "text" + } + }, + { + "field": "meta.lambdaRuntimeStats", + "title": "Lambda Runtime Stats", + "renderer": { + "type": "text" + } + }, + { + "field": "target", + "title": "Target", + "renderer": { + "type": "text" + } + }, + { + "field": "aliasError", + "title": "Alias Error", + "renderer": { + "type": "text" + } + }, + { + "field": "aliasAssigned", + "title": "Alias Assigned", + "renderer": { + "type": "text" + } + }, + { + "field": "isRollbackCandidate", + "title": "Is Rollback Candidate", + "renderer": { + "type": "text" + } + }, + { + "field": "createdAt", + "title": "Created At", + "renderer": { + "type": "date" + } + }, + { + "field": "buildingAt", + "title": "Building At", + "renderer": { + "type": "date" + } + }, + { + "field": "ready", + "title": "Ready", + "renderer": { + "type": "date" + } + }, + { + "field": "projectSettings.commandForIgnoringBuildStep", + "title": "Command For Ignoring Build Step", + "renderer": { + "type": "text" + } + }, + { + "field": "meta.githubPrId", + "title": "Github Pr Id", + "renderer": { + "type": "text" + } + }, + { + "field": "state[Expanded].rawState", + "title": "Raw State", + "renderer": { + "type": "text" + } + } + ] } } } @@ -136,14 +445,26 @@ "description": "", "activePluginConfigIds": ["{{configId}}"], "title": "Latest Failed Builds", - "visualisation": { - "type": "data-stream-blocks", - "config": { - "data-stream-blocks": { - "stateColumn": "state", - "linkColumn": "inspectorUrl", - "sublabel": "url", - "labelColumn": "name" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "statusGrid", + "encoding": { + "label": { + "field": "name", + "type": "nominal" + }, + "status": { + "field": "state", + "type": "nominal" + }, + "link": { + "field": "inspectorUrl", + "type": "nominal" + } + }, + "style": { + "statusGridSecondaryTemplate": "{{{{raw}}}}{{url}}{{{{/raw}}}}" } } } @@ -182,41 +503,37 @@ "description": "Deployments per day, split by state", "activePluginConfigIds": ["{{configId}}"], "title": "Deployments per Day", - "visualisation": { - "type": "data-stream-bar-chart", - "config": { - "data-stream-bar-chart": { - "color": { - "type": "custom", - "customColors": [ - { - "color": "#2BB660", - "expression": "series == \"Success\"" - }, - { - "color": "#F2164D", - "expression": "series == \"Error\"" - } - ] + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "bar", + "encoding": { + "x": { + "field": "created_byDay", + "type": "temporal", + "title": "Created" }, - "xAxisGroup": "state_uniqueValues", - "showLegend": true, - "range": { - "type": "auto" + "y": { + "field": "count", + "type": "quantitative", + "title": "Count" }, - "showGrid": true, - "grouping": false, - "xAxisData": "created_byDay", - "displayMode": "actual", - "showTotals": true, - "yAxisLabel": "Deployments", - "horizontalLayout": "vertical", - "showValue": false, - "yAxisData": ["count"], - "showYAxisLabel": true, - "xAxisLabel": "", + "series": { + "field": "state_uniqueValues", + "type": "nominal", + "title": "State" + } + }, + "style": { "legendPosition": "bottom", - "showXAxisLabel": false + "cartesianShowYAxisTitle": true, + "cartesianYAxisTitle": "Deployments", + "cartesianStack": "on", + "cartesianShowStackedTotals": true, + "mappedColors": { + "Success": "#2BB660", + "Error": "#F2164D" + } } } } @@ -272,16 +589,30 @@ } ] }, - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "date", - "yAxisColumn": ["avg_build_time"], - "seriesColumn": "name", - "showLegend": true, + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "date", + "type": "temporal", + "title": "Date" + }, + "y": { + "field": "avg_build_time", + "type": "quantitative", + "title": "Avg Build Time" + }, + "series": { + "field": "name", + "type": "nominal", + "title": "Name" + } + }, + "style": { "legendPosition": "bottom", - "dataPoints": true + "cartesianYAxisRangeMode": "fit" } } } diff --git a/plugins/Vercel/v1/defaultContent/domain.dash.json b/plugins/Vercel/v1/defaultContent/domain.dash.json index 849018dc..b2f98559 100644 --- a/plugins/Vercel/v1/defaultContent/domain.dash.json +++ b/plugins/Vercel/v1/defaultContent/domain.dash.json @@ -34,16 +34,41 @@ "variable": "{{variables.[Vercel Domain]}}" }, "variables": ["{{variables.[Vercel Domain]}}"], - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": true, - "columnOrder": [ - "misconfigured", - "serviceType", - "configuredBy" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "misconfigured", + "title": "Misconfigured", + "renderer": { + "type": "boolean", + "trueLabel": "Yes", + "falseLabel": "No", + "trueColor": "inherit", + "falseColor": "inherit" + } + }, + { + "field": "serviceType", + "title": "Service Type", + "renderer": { + "type": "text" + } + }, + { + "field": "configuredBy", + "title": "Configured By", + "renderer": { + "type": "text" + } + } ] + }, + "style": { + "richTableTranspose": true } } } @@ -74,12 +99,14 @@ "variable": "{{variables.[Vercel Domain]}}" }, "variables": ["{{variables.[Vercel Domain]}}"], - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": true, - "hiddenColumns": [ + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableTranspose": true, + "richTableHiddenColumns": [ "id", "link", "links", diff --git a/plugins/Vercel/v1/defaultContent/overview.dash.json b/plugins/Vercel/v1/defaultContent/overview.dash.json index 05694b48..b348ec49 100644 --- a/plugins/Vercel/v1/defaultContent/overview.dash.json +++ b/plugins/Vercel/v1/defaultContent/overview.dash.json @@ -37,16 +37,29 @@ "description": "", "activePluginConfigIds": ["{{configId}}"], "title": "Projects by Framework", - "visualisation": { - "type": "data-stream-donut-chart", - "config": { - "data-stream-donut-chart": { - "valueColumn": "count", - "hideCenterValue": false, - "showValuesAsPercentage": false, - "legendPosition": "auto", - "legendMode": "table", - "labelColumn": "framework_uniqueValues" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "pie", + "encoding": { + "label": { + "field": "framework_uniqueValues", + "type": "nominal", + "title": "Framework" + }, + "value": { + "field": "count", + "type": "quantitative", + "aggregate": "sum", + "title": "Count" + } + }, + "style": { + "pieInnerRadius": 60, + "pieDonutCenterValue": "total", + "labelFontSize": 16, + "pieSort": "desc", + "pieLegendStyle": "table" } } } @@ -75,22 +88,42 @@ "description": "", "activePluginConfigIds": ["{{configId}}"], "title": "Projects", - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "columnOrder": [ - "name", - "framework", - "nodeVersion", - "updatedAt" - ], - "hiddenColumns": [ - "id", - "sourceType", - "createdAt" - ], - "transpose": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "name", + "title": "Name", + "renderer": { + "type": "text" + } + }, + { + "field": "framework", + "title": "Framework", + "renderer": { + "type": "text" + } + }, + { + "field": "nodeVersion", + "title": "Node Version", + "renderer": { + "type": "text" + } + }, + { + "field": "updatedAt", + "title": "Updated", + "renderer": { + "type": "date", + "relative": true + } + } + ] } } } @@ -134,13 +167,21 @@ "description": "Domains that are not verified", "activePluginConfigIds": ["{{configId}}"], "title": "Unverified Domains", - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "count", - "comparisonColumn": "none", - "label": "Unverified" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "count", + "type": "quantitative", + "title": "Count" + } + ] + }, + "style": { + "scalarLabelText": "Unverified" } } } @@ -169,24 +210,48 @@ "description": "", "activePluginConfigIds": ["{{configId}}"], "title": "Domain Inventory", - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "columnOrder": [ - "name", - "verified", - "serviceType", - "renew", - "expiresAt" - ], - "hiddenColumns": [ - "id", - "sourceType", - "boughtAt", - "createdAt" - ], - "transpose": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "name", + "title": "Domain", + "renderer": { + "type": "text" + } + }, + { + "field": "verified", + "title": "Verified", + "renderer": { + "type": "text" + } + }, + { + "field": "serviceType", + "title": "Service Type", + "renderer": { + "type": "text" + } + }, + { + "field": "renew", + "title": "Auto-renew", + "renderer": { + "type": "text" + } + }, + { + "field": "expiresAt", + "title": "Expires", + "renderer": { + "type": "date" + } + } + ] } } } diff --git a/plugins/Vercel/v1/defaultContent/project.dash.json b/plugins/Vercel/v1/defaultContent/project.dash.json index 08ec4c2d..ebc93e8d 100644 --- a/plugins/Vercel/v1/defaultContent/project.dash.json +++ b/plugins/Vercel/v1/defaultContent/project.dash.json @@ -38,15 +38,27 @@ "description": "Most recent deployment for this project", "activePluginConfigIds": ["{{configId}}"], "title": "Latest Deployment State", - "visualisation": { - "type": "data-stream-blocks", - "config": { - "data-stream-blocks": { - "stateColumn": "state", - "linkColumn": "inspectorUrl", - "sublabel": "target", - "columns": 1, - "labelColumn": "name" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "statusGrid", + "encoding": { + "label": { + "field": "name", + "type": "nominal" + }, + "status": { + "field": "state", + "type": "nominal" + }, + "link": { + "field": "inspectorUrl", + "type": "nominal" + } + }, + "style": { + "statusGridColumnsPerRow": 1, + "statusGridSecondaryTemplate": "{{{{raw}}}}{{target}}{{{{/raw}}}}" } } } @@ -94,15 +106,16 @@ "description": "Deployments in an error state for this project", "activePluginConfigIds": ["{{configId}}"], "title": "Failed Deployments", - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": { - "type": "count" - }, - "comparisonColumn": "none", - "label": "Failed" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [] + }, + "style": { + "scalarLabelText": "Failed", + "scalarRowCount": true } } } @@ -149,31 +162,64 @@ "description": "Deployments per day for this project", "activePluginConfigIds": ["{{configId}}"], "title": "Deployment Volume", - "visualisation": { - "type": "data-stream-bar-chart", - "config": { - "data-stream-bar-chart": { - "xAxisGroup": "state_uniqueValues", - "showLegend": false, - "range": { - "type": "auto" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "bar", + "encoding": { + "x": { + "field": "created_byDay", + "type": "temporal", + "title": "Created" }, - "showGrid": true, - "grouping": false, - "xAxisData": "created_byDay", - "displayMode": "actual", - "yAxisLabel": "Deployments", - "horizontalLayout": "vertical", - "yAxisData": ["count"], - "showYAxisLabel": true, - "legendPosition": "bottom", - "showXAxisLabel": false, - "showValue": false, - "xAxisLabel": "", - "color": { - "type": "default" + "y": { + "field": "count", + "type": "quantitative", + "title": "Count" }, - "showTotals": true + "series": { + "field": "state_uniqueValues", + "type": "nominal", + "title": "State" + } + }, + "style": { + "legendPosition": "none", + "cartesianShowYAxisTitle": true, + "cartesianYAxisTitle": "Deployments", + "cartesianStack": "on", + "cartesianShowStackedTotals": true, + "mappedColors": { + "critical": "#DE0038", + "error": "#DE0038", + "failed": "#DE0038", + "failure": "#DE0038", + "down": "#DE0038", + "offline": "#DE0038", + "unhealthy": "#DE0038", + "high": "#DE0038", + "warning": "#F59E0B", + "warn": "#F59E0B", + "medium": "#F59E0B", + "moderate": "#F59E0B", + "degraded": "#F59E0B", + "partial": "#F59E0B", + "ok": "#2BB660", + "healthy": "#2BB660", + "success": "#2BB660", + "succeeded": "#2BB660", + "passed": "#2BB660", + "up": "#2BB660", + "online": "#2BB660", + "resolved": "#2BB660", + "low": "#3B82F6", + "info": "#3B82F6", + "informational": "#3B82F6", + "unknown": "#94A3B8", + "unmonitored": "#94A3B8", + "not monitored": "#94A3B8", + "paused": "#94A3B8" + } } } } @@ -209,20 +255,92 @@ "description": "Deployments for this project", "activePluginConfigIds": ["{{configId}}"], "title": "Deployment History", - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "columnOrder": [ - "created", - "name", - "state", - "target", - "creator", - "inspectorUrl" - ], - "hiddenColumns": ["uid", "projectId"], - "transpose": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "created", + "title": "Created", + "renderer": { + "type": "date" + } + }, + { + "field": "name", + "title": "Name", + "renderer": { + "type": "text" + } + }, + { + "field": "state[Expanded].rawState", + "title": "State", + "renderer": { + "type": "badge", + "colors": { + "READY": "#2BB660", + "ERROR": "#DE0038", + "CANCELED": "#DE0038", + "BUILDING": "#F59E0B", + "QUEUED": "#F59E0B", + "INITIALIZING": "#F59E0B", + "DELETED": "#94A3B8" + } + } + }, + { + "field": "target", + "title": "Target", + "renderer": { + "type": "text" + } + }, + { + "field": "creator", + "title": "Creator", + "renderer": { + "type": "text" + } + }, + { + "field": "inspectorUrl", + "title": "Inspector URL", + "renderer": { + "type": "link" + } + }, + { + "field": "url", + "title": "URL", + "renderer": { + "type": "link" + } + }, + { + "field": "ready", + "title": "Ready", + "renderer": { + "type": "date" + } + }, + { + "field": "buildingAt", + "title": "Building At", + "renderer": { + "type": "date" + } + }, + { + "field": "createdAt", + "title": "Created At", + "renderer": { + "type": "date" + } + } + ] } } } @@ -254,20 +372,66 @@ "description": "", "activePluginConfigIds": ["{{configId}}"], "title": "Project Info", - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "columnOrder": [ - "name", - "framework", - "nodeVersion", - "link.repo", - "link.type", - "createdAt", - "updatedAt" - ], - "transpose": true + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "name", + "title": "Name", + "renderer": { + "type": "text" + } + }, + { + "field": "framework", + "title": "Framework", + "renderer": { + "type": "text" + } + }, + { + "field": "nodeVersion", + "title": "Node Version", + "renderer": { + "type": "text" + } + }, + { + "field": "link.repo", + "title": "Git Repo", + "renderer": { + "type": "text" + } + }, + { + "field": "link.type", + "title": "Git Provider", + "renderer": { + "type": "text" + } + }, + { + "field": "createdAt", + "title": "Created", + "renderer": { + "type": "date" + } + }, + { + "field": "updatedAt", + "title": "Updated", + "renderer": { + "type": "date", + "relative": true + } + } + ] + }, + "style": { + "richTableTranspose": true } } } @@ -296,12 +460,28 @@ "workspace": "{{workspaceId}}", "scope": "{{scopes.[Vercel Projects]}}" }, - "visualisation": { - "type": "data-stream-donut-chart", - "config": { - "data-stream-donut-chart": { - "valueColumn": "count", - "labelColumn": "action" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "pie", + "encoding": { + "label": { + "field": "action", + "type": "nominal", + "title": "Action" + }, + "value": { + "field": "count", + "type": "quantitative", + "aggregate": "sum", + "title": "Count" + } + }, + "style": { + "pieInnerRadius": 60, + "pieDonutCenterValue": "total", + "labelFontSize": 16, + "pieSort": "desc" } } }, @@ -332,18 +512,54 @@ "workspace": "{{workspaceId}}", "scope": "{{scopes.[Vercel Projects]}}" }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "hiddenColumns": ["isActive", "action_type"], - "columnOrder": [ - "action", - "count", - "host", - "startTime", - "endTime", - "public_ip" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "action", + "title": "Action", + "renderer": { + "type": "text" + } + }, + { + "field": "count", + "title": "Count", + "renderer": { + "type": "text" + } + }, + { + "field": "host", + "title": "Host", + "renderer": { + "type": "text" + } + }, + { + "field": "startTime", + "title": "Time", + "renderer": { + "type": "date" + } + }, + { + "field": "endTime", + "title": "End Time", + "renderer": { + "type": "text" + } + }, + { + "field": "public_ip", + "title": "Public IP", + "renderer": { + "type": "text" + } + } ] } } diff --git a/plugins/Vercel/v1/metadata.json b/plugins/Vercel/v1/metadata.json index bfeda2b8..714076c4 100644 --- a/plugins/Vercel/v1/metadata.json +++ b/plugins/Vercel/v1/metadata.json @@ -1,7 +1,7 @@ { "name": "vercel", "displayName": "Vercel", - "version": "1.0.0", + "version": "1.0.1", "author": { "name": "@andrewmumblebee", "type": "community" }, "description": "Monitor your Vercel projects, deployments, and domains in SquaredUp - track deployment health and history, domains, team activity, and firewall (WAF) event activity.", "category": "Cloud Platforms", diff --git a/plugins/Wargaming.net/v1/defaultContent/aircraft.dash.json b/plugins/Wargaming.net/v1/defaultContent/aircraft.dash.json index 100a8cf0..c04d7e63 100644 --- a/plugins/Wargaming.net/v1/defaultContent/aircraft.dash.json +++ b/plugins/Wargaming.net/v1/defaultContent/aircraft.dash.json @@ -32,12 +32,14 @@ "id": "datastream-properties", "name": "properties" }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": true, - "hiddenColumns": [ + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableTranspose": true, + "richTableHiddenColumns": [ "id", "link", "links", diff --git a/plugins/Wargaming.net/v1/defaultContent/clan.dash.json b/plugins/Wargaming.net/v1/defaultContent/clan.dash.json index a1e4535b..88bfe350 100644 --- a/plugins/Wargaming.net/v1/defaultContent/clan.dash.json +++ b/plugins/Wargaming.net/v1/defaultContent/clan.dash.json @@ -33,20 +33,58 @@ "name": "clanSummary", "pluginConfigId": "{{configId}}" }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": true, - "columnOrder": [ - "name", - "tag", - "membersCount", - "leaderName", - "motto", - "created" - ], - "hiddenColumns": ["description"] + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "name", + "title": "Name", + "renderer": { + "type": "text" + } + }, + { + "field": "tag", + "title": "Tag", + "renderer": { + "type": "text" + } + }, + { + "field": "membersCount", + "title": "Members", + "renderer": { + "type": "text" + } + }, + { + "field": "leaderName", + "title": "Leader", + "renderer": { + "type": "text" + } + }, + { + "field": "motto", + "title": "Motto", + "renderer": { + "type": "text" + } + }, + { + "field": "created", + "title": "Created", + "renderer": { + "type": "date" + } + } + ] + }, + "style": { + "richTableTranspose": true } } } @@ -79,13 +117,34 @@ "pluginConfigId": "{{configId}}", "sort": { "by": [["joined", "desc"]] } }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false, - "columnOrder": ["memberName", "role", "joined"], - "hiddenColumns": ["accountId"] + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "memberName", + "title": "Member Name", + "renderer": { + "type": "text" + } + }, + { + "field": "role", + "title": "Role", + "renderer": { + "type": "text" + } + }, + { + "field": "joined", + "title": "Joined", + "renderer": { + "type": "date" + } + } + ] } } } diff --git a/plugins/Wargaming.net/v1/defaultContent/overview.dash.json b/plugins/Wargaming.net/v1/defaultContent/overview.dash.json index 498be2ec..76dc6c16 100644 --- a/plugins/Wargaming.net/v1/defaultContent/overview.dash.json +++ b/plugins/Wargaming.net/v1/defaultContent/overview.dash.json @@ -31,26 +31,28 @@ }, "sort": { "by": [["tier_uniqueValues", "asc"]] } }, - "visualisation": { - "type": "data-stream-bar-chart", - "config": { - "data-stream-bar-chart": { - "xAxisData": "tier_uniqueValues", - "yAxisData": ["count"], - "xAxisGroup": "none", - "xAxisLabel": "Tier", - "yAxisLabel": "Vehicles", - "showXAxisLabel": true, - "showYAxisLabel": true, - "showLegend": false, - "legendPosition": "bottom", - "showGrid": true, - "horizontalLayout": "vertical", - "displayMode": "actual", - "showTotals": false, - "showValue": false, - "grouping": false, - "range": { "type": "auto" } + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "bar", + "encoding": { + "x": { + "field": "tier_uniqueValues", + "type": "nominal", + "title": "Tier" + }, + "y": { + "field": "count", + "type": "quantitative", + "title": "Count" + } + }, + "style": { + "legendPosition": "none", + "cartesianShowXAxisTitle": true, + "cartesianXAxisTitle": "Tier", + "cartesianShowYAxisTitle": true, + "cartesianYAxisTitle": "Vehicles" } } } @@ -80,16 +82,29 @@ "aggregate": [{ "type": "count" }] } }, - "visualisation": { - "type": "data-stream-donut-chart", - "config": { - "data-stream-donut-chart": { - "valueColumn": "count", - "labelColumn": "nation_uniqueValues", - "hideCenterValue": false, - "showValuesAsPercentage": false, - "legendPosition": "right", - "legendMode": "table" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "pie", + "encoding": { + "label": { + "field": "nation_uniqueValues", + "type": "nominal", + "title": "Nation" + }, + "value": { + "field": "count", + "type": "quantitative", + "aggregate": "sum", + "title": "Count" + } + }, + "style": { + "pieInnerRadius": 60, + "pieDonutCenterValue": "total", + "labelFontSize": 16, + "pieSort": "desc", + "pieLegendStyle": "table" } } } @@ -119,16 +134,29 @@ "aggregate": [{ "type": "count" }] } }, - "visualisation": { - "type": "data-stream-donut-chart", - "config": { - "data-stream-donut-chart": { - "valueColumn": "count", - "labelColumn": "type_uniqueValues", - "hideCenterValue": false, - "showValuesAsPercentage": false, - "legendPosition": "right", - "legendMode": "table" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "pie", + "encoding": { + "label": { + "field": "type_uniqueValues", + "type": "nominal", + "title": "Type" + }, + "value": { + "field": "count", + "type": "quantitative", + "aggregate": "sum", + "title": "Count" + } + }, + "style": { + "pieInnerRadius": 60, + "pieDonutCenterValue": "total", + "labelFontSize": 16, + "pieSort": "desc", + "pieLegendStyle": "table" } } } @@ -155,25 +183,48 @@ "pluginConfigId": "{{configId}}", "sort": { "by": [["battles", "desc"]] } }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false, - "columnOrder": [ - "nickname", - "battles", - "winRate", - "avgDamage", - "globalRating" - ], - "hiddenColumns": [ - "avgXp", - "survivalRate", - "frags", - "spotted", - "lastBattle", - "clanId" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "nickname", + "title": "Nickname", + "renderer": { + "type": "text" + } + }, + { + "field": "battles", + "title": "Battles", + "renderer": { + "type": "text" + } + }, + { + "field": "winRate", + "title": "Win Rate", + "renderer": { + "type": "bar", + "max": 100 + } + }, + { + "field": "avgDamage", + "title": "Avg. Damage", + "renderer": { + "type": "text" + } + }, + { + "field": "globalRating", + "title": "Global Rating", + "renderer": { + "type": "text" + } + } ] } } @@ -201,18 +252,41 @@ "pluginConfigId": "{{configId}}", "sort": { "by": [["membersCount", "desc"]] } }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false, - "columnOrder": [ - "name", - "tag", - "membersCount", - "leaderName" - ], - "hiddenColumns": ["motto", "created", "description"] + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "name", + "title": "Name", + "renderer": { + "type": "text" + } + }, + { + "field": "tag", + "title": "Tag", + "renderer": { + "type": "text" + } + }, + { + "field": "membersCount", + "title": "Members", + "renderer": { + "type": "text" + } + }, + { + "field": "leaderName", + "title": "Leader", + "renderer": { + "type": "text" + } + } + ] } } } @@ -265,16 +339,29 @@ "aggregate": [{ "type": "count" }] } }, - "visualisation": { - "type": "data-stream-donut-chart", - "config": { - "data-stream-donut-chart": { - "valueColumn": "count", - "labelColumn": "nation_uniqueValues", - "hideCenterValue": false, - "showValuesAsPercentage": false, - "legendPosition": "right", - "legendMode": "table" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "pie", + "encoding": { + "label": { + "field": "nation_uniqueValues", + "type": "nominal", + "title": "Nation" + }, + "value": { + "field": "count", + "type": "quantitative", + "aggregate": "sum", + "title": "Count" + } + }, + "style": { + "pieInnerRadius": 60, + "pieDonutCenterValue": "total", + "labelFontSize": 16, + "pieSort": "desc", + "pieLegendStyle": "table" } } } @@ -304,16 +391,29 @@ "aggregate": [{ "type": "count" }] } }, - "visualisation": { - "type": "data-stream-donut-chart", - "config": { - "data-stream-donut-chart": { - "valueColumn": "count", - "labelColumn": "type_uniqueValues", - "hideCenterValue": false, - "showValuesAsPercentage": false, - "legendPosition": "right", - "legendMode": "table" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "pie", + "encoding": { + "label": { + "field": "type_uniqueValues", + "type": "nominal", + "title": "Type" + }, + "value": { + "field": "count", + "type": "quantitative", + "aggregate": "sum", + "title": "Count" + } + }, + "style": { + "pieInnerRadius": 60, + "pieDonutCenterValue": "total", + "labelFontSize": 16, + "pieSort": "desc", + "pieLegendStyle": "table" } } } diff --git a/plugins/Wargaming.net/v1/defaultContent/player.dash.json b/plugins/Wargaming.net/v1/defaultContent/player.dash.json index 9cfbd27a..45dc87f4 100644 --- a/plugins/Wargaming.net/v1/defaultContent/player.dash.json +++ b/plugins/Wargaming.net/v1/defaultContent/player.dash.json @@ -56,13 +56,21 @@ "name": "playerSummary", "pluginConfigId": "{{configId}}" }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "winRate", - "comparisonColumn": "none", - "label": "Win Rate" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "winRate", + "type": "quantitative", + "title": "Win Rate" + } + ] + }, + "style": { + "scalarLabelText": "Win Rate" } } } @@ -94,13 +102,21 @@ "name": "playerSummary", "pluginConfigId": "{{configId}}" }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "battles", - "comparisonColumn": "none", - "label": "Battles" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "battles", + "type": "quantitative", + "title": "Battles" + } + ] + }, + "style": { + "scalarLabelText": "Battles" } } } @@ -132,13 +148,21 @@ "name": "playerSummary", "pluginConfigId": "{{configId}}" }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "avgDamage", - "comparisonColumn": "none", - "label": "Avg. Damage" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "avgDamage", + "type": "quantitative", + "title": "Avg. Damage" + } + ] + }, + "style": { + "scalarLabelText": "Avg. Damage" } } } @@ -170,13 +194,21 @@ "name": "playerSummary", "pluginConfigId": "{{configId}}" }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "globalRating", - "comparisonColumn": "none", - "label": "Global Rating" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "globalRating", + "type": "quantitative", + "title": "Global Rating" + } + ] + }, + "style": { + "scalarLabelText": "Global Rating" } } } @@ -207,12 +239,14 @@ "id": "datastream-properties", "name": "properties" }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": true, - "hiddenColumns": [ + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableTranspose": true, + "richTableHiddenColumns": [ "id", "link", "links", @@ -251,19 +285,49 @@ "pluginConfigId": "{{configId}}", "sort": { "by": [["battles", "desc"]] } }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false, - "columnOrder": [ - "vehicle", - "battles", - "winRate", - "avgDamage", - "markOfMastery" - ], - "hiddenColumns": ["frags", "spotted", "tankId"] + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "vehicle", + "title": "Vehicle", + "renderer": { + "type": "text" + } + }, + { + "field": "battles", + "title": "Battles", + "renderer": { + "type": "text" + } + }, + { + "field": "winRate", + "title": "Win Rate", + "renderer": { + "type": "bar", + "max": 100 + } + }, + { + "field": "avgDamage", + "title": "Avg. Damage", + "renderer": { + "type": "text" + } + }, + { + "field": "markOfMastery", + "title": "Mark of Mastery", + "renderer": { + "type": "text" + } + } + ] } } } @@ -318,13 +382,21 @@ "name": "playerWarshipsSummary", "pluginConfigId": "{{configId}}" }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "winRate", - "comparisonColumn": "none", - "label": "Win Rate" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "winRate", + "type": "quantitative", + "title": "Win Rate" + } + ] + }, + "style": { + "scalarLabelText": "Win Rate" } } } @@ -356,13 +428,21 @@ "name": "playerWarshipsSummary", "pluginConfigId": "{{configId}}" }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "battles", - "comparisonColumn": "none", - "label": "Battles" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "battles", + "type": "quantitative", + "title": "Battles" + } + ] + }, + "style": { + "scalarLabelText": "Battles" } } } @@ -394,13 +474,21 @@ "name": "playerWarshipsSummary", "pluginConfigId": "{{configId}}" }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "avgDamage", - "comparisonColumn": "none", - "label": "Avg. Damage" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "avgDamage", + "type": "quantitative", + "title": "Avg. Damage" + } + ] + }, + "style": { + "scalarLabelText": "Avg. Damage" } } } @@ -433,19 +521,57 @@ "pluginConfigId": "{{configId}}", "sort": { "by": [["battles", "desc"]] } }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false, - "columnOrder": [ - "ship", - "battles", - "winRate", - "avgDamage", - "frags" - ], - "hiddenColumns": ["shipId"] + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "ship", + "title": "Ship", + "renderer": { + "type": "text" + } + }, + { + "field": "battles", + "title": "Battles", + "renderer": { + "type": "text" + } + }, + { + "field": "winRate", + "title": "Win Rate", + "renderer": { + "type": "bar", + "max": 100 + } + }, + { + "field": "avgDamage", + "title": "Avg. Damage", + "renderer": { + "type": "text" + } + }, + { + "field": "frags", + "title": "Frags", + "renderer": { + "type": "text" + } + }, + { + "field": "lastBattle", + "title": "Last Battle", + "renderer": { + "type": "date", + "relative": true + } + } + ] } } } @@ -500,13 +626,21 @@ "name": "playerWarplanesSummary", "pluginConfigId": "{{configId}}" }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "winRate", - "comparisonColumn": "none", - "label": "Win Rate" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "winRate", + "type": "quantitative", + "title": "Win Rate" + } + ] + }, + "style": { + "scalarLabelText": "Win Rate" } } } @@ -538,13 +672,21 @@ "name": "playerWarplanesSummary", "pluginConfigId": "{{configId}}" }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "battles", - "comparisonColumn": "none", - "label": "Battles" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "battles", + "type": "quantitative", + "title": "Battles" + } + ] + }, + "style": { + "scalarLabelText": "Battles" } } } @@ -576,13 +718,21 @@ "name": "playerWarplanesSummary", "pluginConfigId": "{{configId}}" }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "avgDamage", - "comparisonColumn": "none", - "label": "Avg. Damage" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "avgDamage", + "type": "quantitative", + "title": "Avg. Damage" + } + ] + }, + "style": { + "scalarLabelText": "Avg. Damage" } } } diff --git a/plugins/Wargaming.net/v1/defaultContent/ship.dash.json b/plugins/Wargaming.net/v1/defaultContent/ship.dash.json index 4774aca9..4972ec50 100644 --- a/plugins/Wargaming.net/v1/defaultContent/ship.dash.json +++ b/plugins/Wargaming.net/v1/defaultContent/ship.dash.json @@ -32,12 +32,14 @@ "id": "datastream-properties", "name": "properties" }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": true, - "hiddenColumns": [ + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableTranspose": true, + "richTableHiddenColumns": [ "id", "link", "links", diff --git a/plugins/Wargaming.net/v1/defaultContent/vehicle.dash.json b/plugins/Wargaming.net/v1/defaultContent/vehicle.dash.json index 964e1632..379ecfc7 100644 --- a/plugins/Wargaming.net/v1/defaultContent/vehicle.dash.json +++ b/plugins/Wargaming.net/v1/defaultContent/vehicle.dash.json @@ -32,12 +32,14 @@ "id": "datastream-properties", "name": "properties" }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": true, - "hiddenColumns": [ + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableTranspose": true, + "richTableHiddenColumns": [ "id", "link", "links", diff --git a/plugins/Wargaming.net/v1/metadata.json b/plugins/Wargaming.net/v1/metadata.json index 5b6cb342..82d4be03 100644 --- a/plugins/Wargaming.net/v1/metadata.json +++ b/plugins/Wargaming.net/v1/metadata.json @@ -1,7 +1,7 @@ { "name": "wargaming", "displayName": "Wargaming.net", - "version": "1.0.0", + "version": "1.0.1", "author": { "name": "@AnEvilPenguin", "type": "community" diff --git a/plugins/WasabiWACM/v1/defaultContent/channelAccountDashboard.dash.json b/plugins/WasabiWACM/v1/defaultContent/channelAccountDashboard.dash.json index 9dfabe8d..974f5be7 100644 --- a/plugins/WasabiWACM/v1/defaultContent/channelAccountDashboard.dash.json +++ b/plugins/WasabiWACM/v1/defaultContent/channelAccountDashboard.dash.json @@ -33,12 +33,21 @@ "variable": "{{variables.[Channel Account]}}" }, "variables": ["{{variables.[Channel Account]}}"], - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": true, - "hiddenColumns": ["id", "links", "type", "label", "sourceId", "sourceType"] + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableTranspose": true, + "richTableHiddenColumns": [ + "id", + "links", + "type", + "label", + "sourceId", + "sourceType" + ] } } } diff --git a/plugins/WasabiWACM/v1/defaultContent/controlAccountDashboard.dash.json b/plugins/WasabiWACM/v1/defaultContent/controlAccountDashboard.dash.json index c40f48ee..81c6aa28 100644 --- a/plugins/WasabiWACM/v1/defaultContent/controlAccountDashboard.dash.json +++ b/plugins/WasabiWACM/v1/defaultContent/controlAccountDashboard.dash.json @@ -34,13 +34,21 @@ "variable": "{{variables.[Control Account]}}" }, "variables": ["{{variables.[Control Account]}}"], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "status", - "comparisonColumn": "none", - "label": "Status" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "status", + "type": "nominal", + "title": "Status" + } + ] + }, + "style": { + "scalarLabelText": "Status" } } } @@ -72,13 +80,21 @@ "variable": "{{variables.[Control Account]}}" }, "variables": ["{{variables.[Control Account]}}"], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "totalStorage", - "comparisonColumn": "none", - "label": "Total Storage" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "totalStorage", + "type": "quantitative", + "title": "Total Storage" + } + ] + }, + "style": { + "scalarLabelText": "Total Storage" } } } @@ -110,13 +126,21 @@ "variable": "{{variables.[Control Account]}}" }, "variables": ["{{variables.[Control Account]}}"], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "subAccountsCount", - "comparisonColumn": "none", - "label": "Sub-Accounts Count" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "subAccountsCount", + "type": "quantitative", + "title": "Sub-Accounts Count" + } + ] + }, + "style": { + "scalarLabelText": "Sub-Accounts Count" } } } @@ -148,13 +172,21 @@ "variable": "{{variables.[Control Account]}}" }, "variables": ["{{variables.[Control Account]}}"], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "channelAccountsCount", - "comparisonColumn": "none", - "label": "Channel Accounts Count" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "channelAccountsCount", + "type": "quantitative", + "title": "Channel Accounts Count" + } + ] + }, + "style": { + "scalarLabelText": "Channel Accounts Count" } } } @@ -185,12 +217,21 @@ "variable": "{{variables.[Control Account]}}" }, "variables": ["{{variables.[Control Account]}}"], - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": true, - "hiddenColumns": ["id", "links", "type", "label", "sourceId", "sourceType"] + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableTranspose": true, + "richTableHiddenColumns": [ + "id", + "links", + "type", + "label", + "sourceId", + "sourceType" + ] } } } @@ -229,18 +270,24 @@ "variable": "{{variables.[Control Account]}}" }, "variables": ["{{variables.[Control Account]}}"], - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "startTime_byDay", - "yAxisColumn": ["activeStorage_sum", "deletedStorage_sum"], - "seriesColumn": "none", - "showLegend": true, + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "startTime_byDay", + "type": "temporal", + "title": "Start Time" + } + }, + "style": { "legendPosition": "bottom", - "yAxisLabel": "Storage (TB)", - "showYAxisLabel": true, - "showTrendLine": false + "cartesianShowYAxisTitle": true, + "cartesianYAxisTitle": "Storage (TB)", + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "cartesianAreaGradient": true } } } @@ -272,23 +319,76 @@ "variable": "{{variables.[Control Account]}}" }, "variables": ["{{variables.[Control Account]}}"], - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false, - "columnOrder": [ - "name", - "region", - "activeStorage", - "deletedStorage", - "activeObjects", - "deletedObjects", - "apiCalls", - "egress", - "ingress" - ], - "hiddenColumns": ["bucketNumber", "startTime", "endTime"] + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "name", + "title": "Bucket Name", + "renderer": { + "type": "text" + } + }, + { + "field": "region", + "title": "Region", + "renderer": { + "type": "text" + } + }, + { + "field": "activeStorage", + "title": "Active Storage (TB)", + "renderer": { + "type": "text" + } + }, + { + "field": "deletedStorage", + "title": "Deleted Storage (TB)", + "renderer": { + "type": "text" + } + }, + { + "field": "activeObjects", + "title": "Active Objects", + "renderer": { + "type": "text" + } + }, + { + "field": "deletedObjects", + "title": "Deleted Objects", + "renderer": { + "type": "text" + } + }, + { + "field": "apiCalls", + "title": "API Calls", + "renderer": { + "type": "text" + } + }, + { + "field": "egress", + "title": "Egress (GB)", + "renderer": { + "type": "text" + } + }, + { + "field": "ingress", + "title": "Ingress (GB)", + "renderer": { + "type": "text" + } + } + ] } } } diff --git a/plugins/WasabiWACM/v1/defaultContent/overview.dash.json b/plugins/WasabiWACM/v1/defaultContent/overview.dash.json index 666ac56e..c9748d3a 100644 --- a/plugins/WasabiWACM/v1/defaultContent/overview.dash.json +++ b/plugins/WasabiWACM/v1/defaultContent/overview.dash.json @@ -31,13 +31,21 @@ "scope": "{{scopes.[Sub-Accounts]}}", "workspace": "{{workspaceId}}" }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "count", - "comparisonColumn": "none", - "label": "Total Sub-Accounts" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "count", + "type": "quantitative", + "title": "Count" + } + ] + }, + "style": { + "scalarLabelText": "Total Sub-Accounts" } } } @@ -67,13 +75,21 @@ "scope": "{{scopes.[Sub-Accounts]}}", "workspace": "{{workspaceId}}" }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "activeStorage_sum", - "comparisonColumn": "none", - "label": "Total Active Storage" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "activeStorage_sum", + "type": "quantitative", + "title": "Active Storage (Sum)" + } + ] + }, + "style": { + "scalarLabelText": "Total Active Storage" } } } @@ -103,13 +119,21 @@ "scope": "{{scopes.[Control Accounts]}}", "workspace": "{{workspaceId}}" }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "count", - "comparisonColumn": "none", - "label": "Total Control Accounts" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "count", + "type": "quantitative", + "title": "Count" + } + ] + }, + "style": { + "scalarLabelText": "Total Control Accounts" } } } @@ -139,13 +163,21 @@ "scope": "{{scopes.[Channel Accounts]}}", "workspace": "{{workspaceId}}" }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "count", - "comparisonColumn": "none", - "label": "Total Channel Accounts" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "count", + "type": "quantitative", + "title": "Count" + } + ] + }, + "style": { + "scalarLabelText": "Total Channel Accounts" } } } @@ -178,16 +210,60 @@ "scope": "{{scopes.[Sub-Accounts]}}", "workspace": "{{workspaceId}}" }, - "visualisation": { - "type": "data-stream-donut-chart", - "config": { - "data-stream-donut-chart": { - "valueColumn": "count", - "labelColumn": "status_uniqueValues", - "hideCenterValue": false, - "showValuesAsPercentage": false, - "legendPosition": "auto", - "legendMode": "table" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "pie", + "encoding": { + "label": { + "field": "status_uniqueValues", + "type": "nominal", + "title": "Status" + }, + "value": { + "field": "count", + "type": "quantitative", + "aggregate": "sum", + "title": "Count" + } + }, + "style": { + "pieInnerRadius": 60, + "pieDonutCenterValue": "total", + "labelFontSize": 16, + "pieSort": "desc", + "pieLegendStyle": "table", + "mappedColors": { + "critical": "#DE0038", + "error": "#DE0038", + "failed": "#DE0038", + "failure": "#DE0038", + "down": "#DE0038", + "offline": "#DE0038", + "unhealthy": "#DE0038", + "high": "#DE0038", + "warning": "#F59E0B", + "warn": "#F59E0B", + "medium": "#F59E0B", + "moderate": "#F59E0B", + "degraded": "#F59E0B", + "partial": "#F59E0B", + "ok": "#2BB660", + "healthy": "#2BB660", + "success": "#2BB660", + "succeeded": "#2BB660", + "passed": "#2BB660", + "up": "#2BB660", + "online": "#2BB660", + "resolved": "#2BB660", + "low": "#3B82F6", + "info": "#3B82F6", + "informational": "#3B82F6", + "unknown": "#94A3B8", + "unmonitored": "#94A3B8", + "not monitored": "#94A3B8", + "paused": "#94A3B8" + } } } } @@ -217,26 +293,27 @@ "scope": "{{scopes.[Sub-Accounts]}}", "workspace": "{{workspaceId}}" }, - "visualisation": { - "type": "data-stream-bar-chart", - "config": { - "data-stream-bar-chart": { - "xAxisData": "name", - "yAxisData": ["activeStorage"], - "xAxisGroup": "none", - "xAxisLabel": "", - "yAxisLabel": "Active Storage", - "showXAxisLabel": true, - "showYAxisLabel": true, - "showLegend": false, - "legendPosition": "bottom", - "showGrid": true, - "horizontalLayout": "vertical", - "displayMode": "actual", - "showTotals": false, - "showValue": false, - "grouping": false, - "range": { "type": "auto" } + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "bar", + "encoding": { + "x": { + "field": "name", + "type": "nominal", + "title": "Name" + }, + "y": { + "field": "activeStorage", + "type": "quantitative", + "title": "Active Storage" + } + }, + "style": { + "legendPosition": "none", + "cartesianShowXAxisTitle": true, + "cartesianShowYAxisTitle": true, + "cartesianYAxisTitle": "Active Storage" } } } @@ -266,21 +343,20 @@ "scope": "{{scopes.[Sub-Accounts]}}", "workspace": "{{workspaceId}}" }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false, - "columnOrder": [ - "name", - "status", - "activeStorage", - "deletedStorage", - "purchasedStorageTB", - "controlAccountName", - "channelAccountName" - ], - "hiddenColumns": ["id", "links", "type", "label", "sourceId", "sourceType"] + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableHiddenColumns": [ + "id", + "links", + "type", + "label", + "sourceId", + "sourceType" + ] } } } diff --git a/plugins/WasabiWACM/v1/defaultContent/standaloneAccountDashboard.dash.json b/plugins/WasabiWACM/v1/defaultContent/standaloneAccountDashboard.dash.json index d6a38867..af99c4dd 100644 --- a/plugins/WasabiWACM/v1/defaultContent/standaloneAccountDashboard.dash.json +++ b/plugins/WasabiWACM/v1/defaultContent/standaloneAccountDashboard.dash.json @@ -33,12 +33,21 @@ "variable": "{{variables.[Standalone Account]}}" }, "variables": ["{{variables.[Standalone Account]}}"], - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": true, - "hiddenColumns": ["id", "links", "type", "label", "sourceId", "sourceType"] + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableTranspose": true, + "richTableHiddenColumns": [ + "id", + "links", + "type", + "label", + "sourceId", + "sourceType" + ] } } } diff --git a/plugins/WasabiWACM/v1/defaultContent/subAccountDashboard.dash.json b/plugins/WasabiWACM/v1/defaultContent/subAccountDashboard.dash.json index d8324603..e637abaa 100644 --- a/plugins/WasabiWACM/v1/defaultContent/subAccountDashboard.dash.json +++ b/plugins/WasabiWACM/v1/defaultContent/subAccountDashboard.dash.json @@ -34,13 +34,21 @@ "variable": "{{variables.[Sub-Account]}}" }, "variables": ["{{variables.[Sub-Account]}}"], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "status", - "comparisonColumn": "none", - "label": "Status" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "status", + "type": "nominal", + "title": "Status" + } + ] + }, + "style": { + "scalarLabelText": "Status" } } } @@ -72,13 +80,21 @@ "variable": "{{variables.[Sub-Account]}}" }, "variables": ["{{variables.[Sub-Account]}}"], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "activeStorage", - "comparisonColumn": "none", - "label": "Active Storage" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "activeStorage", + "type": "quantitative", + "title": "Active Storage (TB)" + } + ] + }, + "style": { + "scalarLabelText": "Active Storage" } } } @@ -110,13 +126,21 @@ "variable": "{{variables.[Sub-Account]}}" }, "variables": ["{{variables.[Sub-Account]}}"], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "purchasedStorageTB", - "comparisonColumn": "none", - "label": "Purchased Storage (TB)" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "purchasedStorageTB", + "type": "quantitative", + "title": "Purchased Storage (TB)" + } + ] + }, + "style": { + "scalarLabelText": "Purchased Storage (TB)" } } } @@ -148,13 +172,21 @@ "variable": "{{variables.[Sub-Account]}}" }, "variables": ["{{variables.[Sub-Account]}}"], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "mfaEnabled", - "comparisonColumn": "none", - "label": "MFA Enabled" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "mfaEnabled", + "type": "quantitative", + "title": "Mfa Enabled" + } + ] + }, + "style": { + "scalarLabelText": "MFA Enabled" } } } @@ -185,12 +217,21 @@ "variable": "{{variables.[Sub-Account]}}" }, "variables": ["{{variables.[Sub-Account]}}"], - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": true, - "hiddenColumns": ["id", "links", "type", "label", "sourceId", "sourceType"] + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": {}, + "style": { + "richTableTranspose": true, + "richTableHiddenColumns": [ + "id", + "links", + "type", + "label", + "sourceId", + "sourceType" + ] } } } @@ -229,18 +270,24 @@ "variable": "{{variables.[Sub-Account]}}" }, "variables": ["{{variables.[Sub-Account]}}"], - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "startTime_byDay", - "yAxisColumn": ["activeStorage_sum", "deletedStorage_sum"], - "seriesColumn": "none", - "showLegend": true, + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "startTime_byDay", + "type": "temporal", + "title": "Start Time" + } + }, + "style": { "legendPosition": "bottom", - "yAxisLabel": "Storage (TB)", - "showYAxisLabel": true, - "showTrendLine": false + "cartesianShowYAxisTitle": true, + "cartesianYAxisTitle": "Storage (TB)", + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "cartesianAreaGradient": true } } } @@ -272,22 +319,69 @@ "variable": "{{variables.[Sub-Account]}}" }, "variables": ["{{variables.[Sub-Account]}}"], - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false, - "columnOrder": [ - "name", - "region", - "activeStorage", - "deletedStorage", - "activeObjects", - "apiCalls", - "egress", - "ingress" - ], - "hiddenColumns": ["bucketNumber", "startTime", "endTime", "deletedObjects"] + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "name", + "title": "Bucket Name", + "renderer": { + "type": "text" + } + }, + { + "field": "region", + "title": "Region", + "renderer": { + "type": "text" + } + }, + { + "field": "activeStorage", + "title": "Active Storage (TB)", + "renderer": { + "type": "text" + } + }, + { + "field": "deletedStorage", + "title": "Deleted Storage (TB)", + "renderer": { + "type": "text" + } + }, + { + "field": "activeObjects", + "title": "Active Objects", + "renderer": { + "type": "text" + } + }, + { + "field": "apiCalls", + "title": "API Calls", + "renderer": { + "type": "text" + } + }, + { + "field": "egress", + "title": "Egress (GB)", + "renderer": { + "type": "text" + } + }, + { + "field": "ingress", + "title": "Ingress (GB)", + "renderer": { + "type": "text" + } + } + ] } } } @@ -319,21 +413,62 @@ "variable": "{{variables.[Sub-Account]}}" }, "variables": ["{{variables.[Sub-Account]}}"], - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false, - "columnOrder": [ - "periodStart", - "periodEnd", - "activeStorageTotalCost", - "deletedStorageTotalCost", - "apiCallsTotalCost", - "ingressTotalCost", - "egressTotalCost" - ], - "hiddenColumns": ["subInvoiceId", "minimumActiveStorageTotalCost", "totalStorage", "activeStorage", "deletedStorage"] + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "periodStart", + "title": "Period Start", + "renderer": { + "type": "date" + } + }, + { + "field": "periodEnd", + "title": "Period End", + "renderer": { + "type": "date" + } + }, + { + "field": "activeStorageTotalCost", + "title": "Active Storage Cost", + "renderer": { + "type": "text" + } + }, + { + "field": "deletedStorageTotalCost", + "title": "Deleted Storage Cost", + "renderer": { + "type": "text" + } + }, + { + "field": "apiCallsTotalCost", + "title": "API Calls Cost", + "renderer": { + "type": "text" + } + }, + { + "field": "ingressTotalCost", + "title": "Ingress Cost", + "renderer": { + "type": "text" + } + }, + { + "field": "egressTotalCost", + "title": "Egress Cost", + "renderer": { + "type": "text" + } + } + ] } } } diff --git a/plugins/WasabiWACM/v1/metadata.json b/plugins/WasabiWACM/v1/metadata.json index 3b159aa7..a131d61b 100644 --- a/plugins/WasabiWACM/v1/metadata.json +++ b/plugins/WasabiWACM/v1/metadata.json @@ -1,7 +1,7 @@ { "name": "wasabi-wacm", "displayName": "Wasabi WACM", - "version": "1.0.4", + "version": "1.0.5", "author": { "name": "@arobavet", "type": "community"