diff --git a/plugins/Cloudflare/v2/defaultContent/AI/aiGateway.dash.json b/plugins/Cloudflare/v2/defaultContent/AI/aiGateway.dash.json index c7c6ced7..db88f4da 100644 --- a/plugins/Cloudflare/v2/defaultContent/AI/aiGateway.dash.json +++ b/plugins/Cloudflare/v2/defaultContent/AI/aiGateway.dash.json @@ -53,13 +53,21 @@ "variables": [ "{{variables.[Cloudflare AI Gateway]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "count_sum", - "comparisonColumn": "none", - "label": "Requests" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "count_sum", + "type": "quantitative", + "title": "Requests (Sum)" + } + ] + }, + "style": { + "scalarLabelText": "Requests" } } } @@ -108,13 +116,21 @@ "variables": [ "{{variables.[Cloudflare AI Gateway]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "sum.totalTokens_sum", - "comparisonColumn": "none", - "label": "Total Tokens" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "sum.totalTokens_sum", + "type": "quantitative", + "title": "Total Tokens (Sum)" + } + ] + }, + "style": { + "scalarLabelText": "Total Tokens" } } } @@ -163,13 +179,21 @@ "variables": [ "{{variables.[Cloudflare AI Gateway]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "sum.cost_sum", - "comparisonColumn": "none", - "label": "Cost" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "sum.cost_sum", + "type": "quantitative", + "title": "Cost (Sum)" + } + ] + }, + "style": { + "scalarLabelText": "Cost" } } } @@ -218,13 +242,21 @@ "variables": [ "{{variables.[Cloudflare AI Gateway]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "count_sum", - "comparisonColumn": "none", - "label": "Errors" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "count_sum", + "type": "quantitative", + "title": "Errors (Sum)" + } + ] + }, + "style": { + "scalarLabelText": "Errors" } } } @@ -334,19 +366,27 @@ "variables": [ "{{variables.[Cloudflare AI Gateway]}}" ], - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "dimensions.date_byDay", - "yAxisColumn": [ - "count_sum" - ], - "seriesColumn": "none", - "showLegend": false, - "legendPosition": "bottom", - "showYAxisLabel": false, - "showTrendLine": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "dimensions.date_byDay", + "type": "temporal", + "title": "Time" + }, + "y": { + "field": "count_sum", + "type": "quantitative", + "title": "Requests (Sum)" + } + }, + "style": { + "legendPosition": "none", + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "cartesianAreaGradient": true } } } @@ -409,30 +449,24 @@ "variables": [ "{{variables.[Cloudflare AI Gateway]}}" ], - "visualisation": { - "type": "data-stream-bar-chart", - "config": { - "data-stream-bar-chart": { - "xAxisData": "breakdown_uniqueValues", - "yAxisData": [ - "count_sum" - ], - "xAxisGroup": "none", - "xAxisLabel": "", - "yAxisLabel": "", - "showXAxisLabel": false, - "showYAxisLabel": false, - "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": "breakdown_uniqueValues", + "type": "nominal", + "title": "Breakdown" + }, + "y": { + "field": "count_sum", + "type": "quantitative", + "title": "Requests (Sum)" } + }, + "style": { + "legendPosition": "none" } } } @@ -494,16 +528,29 @@ "variables": [ "{{variables.[Cloudflare AI Gateway]}}" ], - "visualisation": { - "type": "data-stream-donut-chart", - "config": { - "data-stream-donut-chart": { - "valueColumn": "count_sum", - "labelColumn": "breakdown_uniqueValues", - "hideCenterValue": false, - "showValuesAsPercentage": false, - "legendPosition": "auto", - "legendMode": "table" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "pie", + "encoding": { + "label": { + "field": "breakdown_uniqueValues", + "type": "nominal", + "title": "Breakdown" + }, + "value": { + "field": "count_sum", + "type": "quantitative", + "aggregate": "sum", + "title": "Requests (Sum)" + } + }, + "style": { + "pieInnerRadius": 60, + "pieDonutCenterValue": "total", + "labelFontSize": 16, + "pieSort": "desc", + "pieLegendStyle": "table" } } } @@ -571,20 +618,22 @@ "variables": [ "{{variables.[Cloudflare AI Gateway]}}" ], - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "dimensions.date_byDay", - "yAxisColumn": [ - "sum.tokensIn_sum", - "sum.tokensOut_sum" - ], - "seriesColumn": "none", - "showLegend": true, + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "dimensions.date_byDay", + "type": "temporal", + "title": "Time" + } + }, + "style": { "legendPosition": "bottom", - "showYAxisLabel": false, - "showTrendLine": false + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "cartesianAreaGradient": true } } } @@ -652,20 +701,22 @@ "variables": [ "{{variables.[Cloudflare AI Gateway]}}" ], - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "dimensions.date_byDay", - "yAxisColumn": [ - "quantiles.durationMsP50_mean", - "quantiles.durationMsP95_mean" - ], - "seriesColumn": "none", - "showLegend": true, + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "dimensions.date_byDay", + "type": "temporal", + "title": "Time" + } + }, + "style": { "legendPosition": "bottom", - "showYAxisLabel": false, - "showTrendLine": false + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "cartesianAreaGradient": true } } } @@ -728,30 +779,24 @@ "variables": [ "{{variables.[Cloudflare AI Gateway]}}" ], - "visualisation": { - "type": "data-stream-bar-chart", - "config": { - "data-stream-bar-chart": { - "xAxisData": "breakdown_uniqueValues", - "yAxisData": [ - "count_sum" - ], - "xAxisGroup": "none", - "xAxisLabel": "", - "yAxisLabel": "", - "showXAxisLabel": false, - "showYAxisLabel": false, - "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": "breakdown_uniqueValues", + "type": "nominal", + "title": "Breakdown" + }, + "y": { + "field": "count_sum", + "type": "quantitative", + "title": "Errors (Sum)" } + }, + "style": { + "legendPosition": "none" } } } @@ -810,16 +855,60 @@ "variables": [ "{{variables.[Cloudflare AI Gateway]}}" ], - "visualisation": { - "type": "data-stream-donut-chart", - "config": { - "data-stream-donut-chart": { - "valueColumn": "count_sum", - "labelColumn": "cacheStatus_uniqueValues", - "hideCenterValue": false, - "showValuesAsPercentage": false, - "legendPosition": "auto", - "legendMode": "table" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "pie", + "encoding": { + "label": { + "field": "cacheStatus_uniqueValues", + "type": "nominal", + "title": "Cache Status" + }, + "value": { + "field": "count_sum", + "type": "quantitative", + "aggregate": "sum", + "title": "Requests (Sum)" + } + }, + "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" + } } } } diff --git a/plugins/Cloudflare/v2/defaultContent/AI/autorag.dash.json b/plugins/Cloudflare/v2/defaultContent/AI/autorag.dash.json index b0f32b57..a7ee0658 100644 --- a/plugins/Cloudflare/v2/defaultContent/AI/autorag.dash.json +++ b/plugins/Cloudflare/v2/defaultContent/AI/autorag.dash.json @@ -53,13 +53,21 @@ "variables": [ "{{variables.[Cloudflare AutoRAG]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "count_sum", - "comparisonColumn": "none", - "label": "Search Events" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "count_sum", + "type": "quantitative", + "title": "Search Events (Sum)" + } + ] + }, + "style": { + "scalarLabelText": "Search Events" } } } @@ -108,13 +116,21 @@ "variables": [ "{{variables.[Cloudflare AutoRAG]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "sum.aiSearchCount_sum", - "comparisonColumn": "none", - "label": "AI Searches" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "sum.aiSearchCount_sum", + "type": "quantitative", + "title": "AI Searches (Sum)" + } + ] + }, + "style": { + "scalarLabelText": "AI Searches" } } } @@ -163,13 +179,21 @@ "variables": [ "{{variables.[Cloudflare AutoRAG]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "sum.searchCount_sum", - "comparisonColumn": "none", - "label": "Searches" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "sum.searchCount_sum", + "type": "quantitative", + "title": "Searches (Sum)" + } + ] + }, + "style": { + "scalarLabelText": "Searches" } } } @@ -218,13 +242,21 @@ "variables": [ "{{variables.[Cloudflare AutoRAG]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "breakdown_distinctCount", - "comparisonColumn": "none", - "label": "Embedding Models" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "breakdown_distinctCount", + "type": "quantitative", + "title": "Breakdown (distinctCount)" + } + ] + }, + "style": { + "scalarLabelText": "Embedding Models" } } } @@ -334,19 +366,27 @@ "variables": [ "{{variables.[Cloudflare AutoRAG]}}" ], - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "dimensions.date_byDay", - "yAxisColumn": [ - "count_sum" - ], - "seriesColumn": "none", - "showLegend": false, - "legendPosition": "bottom", - "showYAxisLabel": false, - "showTrendLine": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "dimensions.date_byDay", + "type": "temporal", + "title": "Time" + }, + "y": { + "field": "count_sum", + "type": "quantitative", + "title": "Search Events (Sum)" + } + }, + "style": { + "legendPosition": "none", + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "cartesianAreaGradient": true } } } @@ -408,16 +448,29 @@ "variables": [ "{{variables.[Cloudflare AutoRAG]}}" ], - "visualisation": { - "type": "data-stream-donut-chart", - "config": { - "data-stream-donut-chart": { - "valueColumn": "count_sum", - "labelColumn": "breakdown_uniqueValues", - "hideCenterValue": false, - "showValuesAsPercentage": false, - "legendPosition": "auto", - "legendMode": "table" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "pie", + "encoding": { + "label": { + "field": "breakdown_uniqueValues", + "type": "nominal", + "title": "Breakdown" + }, + "value": { + "field": "count_sum", + "type": "quantitative", + "aggregate": "sum", + "title": "Search Events (Sum)" + } + }, + "style": { + "pieInnerRadius": 60, + "pieDonutCenterValue": "total", + "labelFontSize": 16, + "pieSort": "desc", + "pieLegendStyle": "table" } } } @@ -480,30 +533,24 @@ "variables": [ "{{variables.[Cloudflare AutoRAG]}}" ], - "visualisation": { - "type": "data-stream-bar-chart", - "config": { - "data-stream-bar-chart": { - "xAxisData": "breakdown_uniqueValues", - "yAxisData": [ - "count_sum" - ], - "xAxisGroup": "none", - "xAxisLabel": "", - "yAxisLabel": "", - "showXAxisLabel": false, - "showYAxisLabel": false, - "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": "breakdown_uniqueValues", + "type": "nominal", + "title": "Breakdown" + }, + "y": { + "field": "count_sum", + "type": "quantitative", + "title": "Search Events (Sum)" } + }, + "style": { + "legendPosition": "none" } } } @@ -571,20 +618,22 @@ "variables": [ "{{variables.[Cloudflare AutoRAG]}}" ], - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "dimensions.date_byDay", - "yAxisColumn": [ - "sum.aiSearchCount_sum", - "sum.searchCount_sum" - ], - "seriesColumn": "none", - "showLegend": true, + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "dimensions.date_byDay", + "type": "temporal", + "title": "Time" + } + }, + "style": { "legendPosition": "bottom", - "showYAxisLabel": false, - "showTrendLine": false + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "cartesianAreaGradient": true } } } diff --git a/plugins/Cloudflare/v2/defaultContent/AI/vectorizeIndex.dash.json b/plugins/Cloudflare/v2/defaultContent/AI/vectorizeIndex.dash.json index 61a33755..8575f56c 100644 --- a/plugins/Cloudflare/v2/defaultContent/AI/vectorizeIndex.dash.json +++ b/plugins/Cloudflare/v2/defaultContent/AI/vectorizeIndex.dash.json @@ -50,13 +50,21 @@ "variables": [ "{{variables.[Cloudflare Vectorize Index]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "count_sum", - "comparisonColumn": "none", - "label": "Queries" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "count_sum", + "type": "quantitative", + "title": "Queries (Sum)" + } + ] + }, + "style": { + "scalarLabelText": "Queries" } } } @@ -102,13 +110,21 @@ "variables": [ "{{variables.[Cloudflare Vectorize Index]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "avg.requestDurationMs_mean", - "comparisonColumn": "none", - "label": "Avg Query Latency" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "avg.requestDurationMs_mean", + "type": "quantitative", + "title": "Avg Query Latency (Average)" + } + ] + }, + "style": { + "scalarLabelText": "Avg Query Latency" } } } @@ -154,13 +170,21 @@ "variables": [ "{{variables.[Cloudflare Vectorize Index]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "max.vectorCount_max", - "comparisonColumn": "none", - "label": "Stored Vectors" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "max.vectorCount_max", + "type": "quantitative", + "title": "Stored Vectors (Maximum)" + } + ] + }, + "style": { + "scalarLabelText": "Stored Vectors" } } } @@ -206,13 +230,21 @@ "variables": [ "{{variables.[Cloudflare Vectorize Index]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "max.storedVectorDimensions_max", - "comparisonColumn": "none", - "label": "Vector Dimensions" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "max.storedVectorDimensions_max", + "type": "quantitative", + "title": "Stored Vector Dimensions (Maximum)" + } + ] + }, + "style": { + "scalarLabelText": "Vector Dimensions" } } } @@ -319,19 +351,27 @@ "variables": [ "{{variables.[Cloudflare Vectorize Index]}}" ], - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "dimensions.date_byDay", - "yAxisColumn": [ - "count_sum" - ], - "seriesColumn": "none", - "showLegend": false, - "legendPosition": "bottom", - "showYAxisLabel": false, - "showTrendLine": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "dimensions.date_byDay", + "type": "temporal", + "title": "Time" + }, + "y": { + "field": "count_sum", + "type": "quantitative", + "title": "Queries (Sum)" + } + }, + "style": { + "legendPosition": "none", + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "cartesianAreaGradient": true } } } @@ -390,19 +430,27 @@ "variables": [ "{{variables.[Cloudflare Vectorize Index]}}" ], - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "dimensions.date_byDay", - "yAxisColumn": [ - "avg.requestDurationMs_mean" - ], - "seriesColumn": "none", - "showLegend": false, - "legendPosition": "bottom", - "showYAxisLabel": false, - "showTrendLine": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "dimensions.date_byDay", + "type": "temporal", + "title": "Time" + }, + "y": { + "field": "avg.requestDurationMs_mean", + "type": "quantitative", + "title": "Avg Query Latency (Average)" + } + }, + "style": { + "legendPosition": "none", + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "cartesianAreaGradient": true } } } @@ -461,19 +509,27 @@ "variables": [ "{{variables.[Cloudflare Vectorize Index]}}" ], - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "dimensions.date_byDay", - "yAxisColumn": [ - "max.vectorCount_max" - ], - "seriesColumn": "none", - "showLegend": false, - "legendPosition": "bottom", - "showYAxisLabel": false, - "showTrendLine": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "dimensions.date_byDay", + "type": "temporal", + "title": "Time" + }, + "y": { + "field": "max.vectorCount_max", + "type": "quantitative", + "title": "Stored Vectors (Maximum)" + } + }, + "style": { + "legendPosition": "none", + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "cartesianAreaGradient": true } } } diff --git a/plugins/Cloudflare/v2/defaultContent/Account/account.dash.json b/plugins/Cloudflare/v2/defaultContent/Account/account.dash.json index a68eb506..f05a6bde 100644 --- a/plugins/Cloudflare/v2/defaultContent/Account/account.dash.json +++ b/plugins/Cloudflare/v2/defaultContent/Account/account.dash.json @@ -48,13 +48,21 @@ "variables": [ "{{variables.[Cloudflare Account]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "count", - "comparisonColumn": "none", - "label": "Workers" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "count", + "type": "quantitative", + "title": "Count" + } + ] + }, + "style": { + "scalarLabelText": "Workers" } } } @@ -98,13 +106,21 @@ "variables": [ "{{variables.[Cloudflare Account]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "count", - "comparisonColumn": "none", - "label": "Pages Projects" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "count", + "type": "quantitative", + "title": "Count" + } + ] + }, + "style": { + "scalarLabelText": "Pages Projects" } } } @@ -148,13 +164,21 @@ "variables": [ "{{variables.[Cloudflare Account]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "count", - "comparisonColumn": "none", - "label": "Tunnels" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "count", + "type": "quantitative", + "title": "Count" + } + ] + }, + "style": { + "scalarLabelText": "Tunnels" } } } @@ -198,13 +222,21 @@ "variables": [ "{{variables.[Cloudflare Account]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "count", - "comparisonColumn": "none", - "label": "R2 Buckets" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "count", + "type": "quantitative", + "title": "Count" + } + ] + }, + "style": { + "scalarLabelText": "R2 Buckets" } } } @@ -296,15 +328,27 @@ "variables": [ "{{variables.[Cloudflare Account]}}" ], - "visualisation": { - "type": "data-stream-blocks", - "config": { - "data-stream-blocks": { - "labelColumn": "tunnelName", - "stateColumn": "status", - "sublabel": "tunnelType", - "linkColumn": "tunnelName", - "columns": 2 + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "statusGrid", + "encoding": { + "label": { + "field": "tunnelName", + "type": "nominal" + }, + "status": { + "field": "status", + "type": "nominal" + }, + "link": { + "field": "tunnelName", + "type": "nominal" + } + }, + "style": { + "statusGridColumnsPerRow": 2, + "statusGridSecondaryTemplate": "{{{{raw}}}}{{tunnelType}}{{{{/raw}}}}" } } } @@ -350,19 +394,31 @@ "variables": [ "{{variables.[Cloudflare Account]}}" ], - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "datetime", - "yAxisColumn": [ - "requests" - ], - "seriesColumn": "zoneName", - "showLegend": true, + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "datetime", + "type": "temporal", + "title": "Time" + }, + "y": { + "field": "requests", + "type": "quantitative", + "title": "Requests" + }, + "series": { + "field": "zoneName", + "type": "nominal", + "title": "Zone" + } + }, + "style": { "legendPosition": "bottom", - "showYAxisLabel": false, - "showTrendLine": false + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none" } } }, @@ -426,30 +482,25 @@ "variables": [ "{{variables.[Cloudflare Account]}}" ], - "visualisation": { - "type": "data-stream-bar-chart", - "config": { - "data-stream-bar-chart": { - "xAxisData": "breakdown_uniqueValues", - "yAxisData": [ - "requests_sum" - ], - "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": "breakdown_uniqueValues", + "type": "nominal", + "title": "Breakdown" + }, + "y": { + "field": "requests_sum", + "type": "quantitative", + "title": "Requests (Sum)" } + }, + "style": { + "legendPosition": "none", + "cartesianHorizontal": true } } }, @@ -513,30 +564,25 @@ "variables": [ "{{variables.[Cloudflare Account]}}" ], - "visualisation": { - "type": "data-stream-bar-chart", - "config": { - "data-stream-bar-chart": { - "xAxisData": "breakdown_uniqueValues", - "yAxisData": [ - "requests_sum" - ], - "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": "breakdown_uniqueValues", + "type": "nominal", + "title": "Breakdown" + }, + "y": { + "field": "requests_sum", + "type": "quantitative", + "title": "Requests (Sum)" } + }, + "style": { + "legendPosition": "none", + "cartesianHorizontal": true } } }, @@ -587,13 +633,21 @@ "variables": [ "{{variables.[Cloudflare Account]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "actionCount_sum", - "comparisonColumn": "none", - "label": "Audit Log Actions" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "actionCount_sum", + "type": "quantitative", + "title": "Action Count (Sum)" + } + ] + }, + "style": { + "scalarLabelText": "Audit Log Actions" } } } @@ -656,19 +710,27 @@ "variables": [ "{{variables.[Cloudflare Account]}}" ], - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "date_byDay", - "yAxisColumn": [ - "actionCount_sum" - ], - "seriesColumn": "none", - "showLegend": false, - "legendPosition": "bottom", - "showYAxisLabel": false, - "showTrendLine": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "date_byDay", + "type": "temporal", + "title": "Time" + }, + "y": { + "field": "actionCount_sum", + "type": "quantitative", + "title": "Action Count (Sum)" + } + }, + "style": { + "legendPosition": "none", + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "cartesianAreaGradient": true } } } @@ -732,30 +794,24 @@ "variables": [ "{{variables.[Cloudflare Account]}}" ], - "visualisation": { - "type": "data-stream-bar-chart", - "config": { - "data-stream-bar-chart": { - "xAxisData": "breakdown_uniqueValues", - "yAxisData": [ - "actionCount_sum" - ], - "xAxisGroup": "none", - "xAxisLabel": "", - "yAxisLabel": "", - "showXAxisLabel": false, - "showYAxisLabel": false, - "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": "breakdown_uniqueValues", + "type": "nominal", + "title": "Breakdown" + }, + "y": { + "field": "actionCount_sum", + "type": "quantitative", + "title": "Action Count (Sum)" } + }, + "style": { + "legendPosition": "none" } } } diff --git a/plugins/Cloudflare/v2/defaultContent/Account/accountDeveloperPlatform.dash.json b/plugins/Cloudflare/v2/defaultContent/Account/accountDeveloperPlatform.dash.json index b6ab010c..f1898279 100644 --- a/plugins/Cloudflare/v2/defaultContent/Account/accountDeveloperPlatform.dash.json +++ b/plugins/Cloudflare/v2/defaultContent/Account/accountDeveloperPlatform.dash.json @@ -54,13 +54,21 @@ "variables": [ "{{variables.[Cloudflare Account]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "requests_sum", - "comparisonColumn": "none", - "label": "AI Inference Requests" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "requests_sum", + "type": "quantitative", + "title": "Requests (Sum)" + } + ] + }, + "style": { + "scalarLabelText": "AI Inference Requests" } } } @@ -110,13 +118,21 @@ "variables": [ "{{variables.[Cloudflare Account]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "outputTokens_sum", - "comparisonColumn": "none", - "label": "AI Output Tokens" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "outputTokens_sum", + "type": "quantitative", + "title": "Output Tokens (Sum)" + } + ] + }, + "style": { + "scalarLabelText": "AI Output Tokens" } } } @@ -163,13 +179,21 @@ "variables": [ "{{variables.[Cloudflare Account]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "sum.requests_sum", - "comparisonColumn": "none", - "label": "Pages Function Requests" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "sum.requests_sum", + "type": "quantitative", + "title": "Requests (Sum)" + } + ] + }, + "style": { + "scalarLabelText": "Pages Function Requests" } } } @@ -216,13 +240,21 @@ "variables": [ "{{variables.[Cloudflare Account]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "requests_sum", - "comparisonColumn": "none", - "label": "Image Requests" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "requests_sum", + "type": "quantitative", + "title": "Requests (Sum)" + } + ] + }, + "style": { + "scalarLabelText": "Image Requests" } } } @@ -269,13 +301,21 @@ "variables": [ "{{variables.[Cloudflare Account]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "transformations_sum", - "comparisonColumn": "none", - "label": "Image Transformations" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "transformations_sum", + "type": "quantitative", + "title": "Unique Transformations (Sum)" + } + ] + }, + "style": { + "scalarLabelText": "Image Transformations" } } } @@ -339,30 +379,24 @@ "variables": [ "{{variables.[Cloudflare Account]}}" ], - "visualisation": { - "type": "data-stream-bar-chart", - "config": { - "data-stream-bar-chart": { - "xAxisData": "breakdown_uniqueValues", - "yAxisData": [ - "requests_sum" - ], - "xAxisGroup": "none", - "xAxisLabel": "", - "yAxisLabel": "", - "showXAxisLabel": false, - "showYAxisLabel": false, - "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": "breakdown_uniqueValues", + "type": "nominal", + "title": "Breakdown" + }, + "y": { + "field": "requests_sum", + "type": "quantitative", + "title": "Requests (Sum)" } + }, + "style": { + "legendPosition": "none" } } } @@ -431,20 +465,22 @@ "variables": [ "{{variables.[Cloudflare Account]}}" ], - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "date_byDay", - "yAxisColumn": [ - "inputTokens_sum", - "outputTokens_sum" - ], - "seriesColumn": "none", - "showLegend": true, + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "date_byDay", + "type": "temporal", + "title": "Time" + } + }, + "style": { "legendPosition": "bottom", - "showYAxisLabel": false, - "showTrendLine": false + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "cartesianAreaGradient": true } } } @@ -507,19 +543,27 @@ "variables": [ "{{variables.[Cloudflare Account]}}" ], - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "date_byDay", - "yAxisColumn": [ - "avgDurationMs_mean" - ], - "seriesColumn": "none", - "showLegend": false, - "legendPosition": "bottom", - "showYAxisLabel": false, - "showTrendLine": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "date_byDay", + "type": "temporal", + "title": "Time" + }, + "y": { + "field": "avgDurationMs_mean", + "type": "quantitative", + "title": "Avg Inference Time (Average)" + } + }, + "style": { + "legendPosition": "none", + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "cartesianAreaGradient": true } } } @@ -585,20 +629,22 @@ "variables": [ "{{variables.[Cloudflare Account]}}" ], - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "dimensions.datetime_byDay", - "yAxisColumn": [ - "sum.requests_sum", - "sum.errors_sum" - ], - "seriesColumn": "none", - "showLegend": true, + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "dimensions.datetime_byDay", + "type": "temporal", + "title": "Time" + } + }, + "style": { "legendPosition": "bottom", - "showYAxisLabel": false, - "showTrendLine": false + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "cartesianAreaGradient": true } } } @@ -659,30 +705,24 @@ "variables": [ "{{variables.[Cloudflare Account]}}" ], - "visualisation": { - "type": "data-stream-bar-chart", - "config": { - "data-stream-bar-chart": { - "xAxisData": "dimensions.scriptName_uniqueValues", - "yAxisData": [ - "sum.requests_sum" - ], - "xAxisGroup": "none", - "xAxisLabel": "", - "yAxisLabel": "", - "showXAxisLabel": false, - "showYAxisLabel": false, - "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": "dimensions.scriptName_uniqueValues", + "type": "nominal", + "title": "Function" + }, + "y": { + "field": "sum.requests_sum", + "type": "quantitative", + "title": "Requests (Sum)" } + }, + "style": { + "legendPosition": "none" } } } @@ -742,19 +782,27 @@ "variables": [ "{{variables.[Cloudflare Account]}}" ], - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "date_byDay", - "yAxisColumn": [ - "requests_sum" - ], - "seriesColumn": "none", - "showLegend": false, - "legendPosition": "bottom", - "showYAxisLabel": false, - "showTrendLine": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "date_byDay", + "type": "temporal", + "title": "Time" + }, + "y": { + "field": "requests_sum", + "type": "quantitative", + "title": "Requests (Sum)" + } + }, + "style": { + "legendPosition": "none", + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "cartesianAreaGradient": true } } } @@ -814,19 +862,27 @@ "variables": [ "{{variables.[Cloudflare Account]}}" ], - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "date_byDay", - "yAxisColumn": [ - "transformations_sum" - ], - "seriesColumn": "none", - "showLegend": false, - "legendPosition": "bottom", - "showYAxisLabel": false, - "showTrendLine": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "date_byDay", + "type": "temporal", + "title": "Date" + }, + "y": { + "field": "transformations_sum", + "type": "quantitative", + "title": "Unique Transformations (Sum)" + } + }, + "style": { + "legendPosition": "none", + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "cartesianAreaGradient": true } } } @@ -889,19 +945,27 @@ "variables": [ "{{variables.[Cloudflare Account]}}" ], - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "date_byDay", - "yAxisColumn": [ - "durationMs_sum" - ], - "seriesColumn": "none", - "showLegend": false, - "legendPosition": "bottom", - "showYAxisLabel": false, - "showTrendLine": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "date_byDay", + "type": "temporal", + "title": "Time" + }, + "y": { + "field": "durationMs_sum", + "type": "quantitative", + "title": "Session Duration (Sum)" + } + }, + "style": { + "legendPosition": "none", + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "cartesianAreaGradient": true } } } @@ -965,30 +1029,24 @@ "variables": [ "{{variables.[Cloudflare Account]}}" ], - "visualisation": { - "type": "data-stream-bar-chart", - "config": { - "data-stream-bar-chart": { - "xAxisData": "breakdown_uniqueValues", - "yAxisData": [ - "sessionId_distinctCount" - ], - "xAxisGroup": "none", - "xAxisLabel": "", - "yAxisLabel": "", - "showXAxisLabel": false, - "showYAxisLabel": false, - "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": "breakdown_uniqueValues", + "type": "nominal", + "title": "Breakdown" + }, + "y": { + "field": "sessionId_distinctCount", + "type": "quantitative", + "title": "Session ID (distinctCount)" } + }, + "style": { + "legendPosition": "none" } } } @@ -1039,19 +1097,27 @@ "variables": [ "{{variables.[Cloudflare Account]}}" ], - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "dimensions.datetime_byDay", - "yAxisColumn": [ - "sum.buildMinutes_sum" - ], - "seriesColumn": "none", - "showLegend": false, - "legendPosition": "bottom", - "showYAxisLabel": false, - "showTrendLine": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "dimensions.datetime_byDay", + "type": "temporal", + "title": "Time" + }, + "y": { + "field": "sum.buildMinutes_sum", + "type": "quantitative", + "title": "Build Minutes (Sum)" + } + }, + "style": { + "legendPosition": "none", + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "cartesianAreaGradient": true } } }, diff --git a/plugins/Cloudflare/v2/defaultContent/Account/accountResources.dash.json b/plugins/Cloudflare/v2/defaultContent/Account/accountResources.dash.json index 79a39495..ae978307 100644 --- a/plugins/Cloudflare/v2/defaultContent/Account/accountResources.dash.json +++ b/plugins/Cloudflare/v2/defaultContent/Account/accountResources.dash.json @@ -48,23 +48,48 @@ "variables": [ "{{variables.[Cloudflare Account]}}" ], - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false, - "columnOrder": [ - "scriptName", - "usageModel", - "handlers", - "placementMode", - "modifiedOn" - ], - "hiddenColumns": [ - "sourceId", - "accountId", - "logpush", - "createdOn" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "scriptName", + "title": "Worker", + "renderer": { + "type": "text" + } + }, + { + "field": "usageModel", + "title": "Usage Model", + "renderer": { + "type": "text" + } + }, + { + "field": "handlers", + "title": "Handlers", + "renderer": { + "type": "text" + } + }, + { + "field": "placementMode", + "title": "Placement Mode", + "renderer": { + "type": "text" + } + }, + { + "field": "modifiedOn", + "title": "Modified", + "renderer": { + "type": "date", + "relative": true + } + } ] } } @@ -109,23 +134,64 @@ "variables": [ "{{variables.[Cloudflare Account]}}" ], - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false, - "columnOrder": [ - "projectName", - "latestDeploymentStatus", - "productionBranch", - "domains", - "latestDeploymentOn" - ], - "hiddenColumns": [ - "sourceId", - "accountId", - "subdomain", - "createdOn" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "projectName", + "title": "Project", + "renderer": { + "type": "text" + } + }, + { + "field": "latestDeploymentStatus[Expanded].rawState", + "title": "Latest Deployment", + "renderer": { + "type": "badge", + "colors": { + "success": "#2BB660", + "failure": "#DE0038", + "canceled": "#DE0038", + "idle": "#F59E0B", + "active": "#F59E0B", + "queued": "#F59E0B", + "building": "#F59E0B" + } + } + }, + { + "field": "productionBranch", + "title": "Production Branch", + "renderer": { + "type": "text" + } + }, + { + "field": "domains", + "title": "Domains", + "renderer": { + "type": "text" + } + }, + { + "field": "latestDeploymentOn", + "title": "Last Deployed", + "renderer": { + "type": "date", + "relative": true + } + }, + { + "field": "primaryDomain", + "title": "Primary Domain", + "renderer": { + "type": "text" + } + } ] } } @@ -170,20 +236,40 @@ "variables": [ "{{variables.[Cloudflare Account]}}" ], - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false, - "columnOrder": [ - "bucketName", - "location", - "storageClass", - "createdOn" - ], - "hiddenColumns": [ - "sourceId", - "accountId" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "bucketName", + "title": "Bucket", + "renderer": { + "type": "text" + } + }, + { + "field": "location", + "title": "Location", + "renderer": { + "type": "text" + } + }, + { + "field": "storageClass", + "title": "Storage Class", + "renderer": { + "type": "text" + } + }, + { + "field": "createdOn", + "title": "Created", + "renderer": { + "type": "date" + } + } ] } } @@ -228,18 +314,30 @@ "variables": [ "{{variables.[Cloudflare Account]}}" ], - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false, - "columnOrder": [ - "namespaceTitle", - "supportsUrlEncoding" - ], - "hiddenColumns": [ - "sourceId", - "accountId" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "namespaceTitle", + "title": "Namespace", + "renderer": { + "type": "text" + } + }, + { + "field": "supportsUrlEncoding", + "title": "Supports URL Encoding", + "renderer": { + "type": "boolean", + "trueLabel": "Yes", + "falseLabel": "No", + "trueColor": "inherit", + "falseColor": "inherit" + } + } ] } } @@ -284,21 +382,47 @@ "variables": [ "{{variables.[Cloudflare Account]}}" ], - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false, - "columnOrder": [ - "databaseName", - "numTables", - "fileSize", - "version", - "createdOn" - ], - "hiddenColumns": [ - "sourceId", - "accountId" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "databaseName", + "title": "Database", + "renderer": { + "type": "text" + } + }, + { + "field": "numTables", + "title": "Tables", + "renderer": { + "type": "text" + } + }, + { + "field": "fileSize", + "title": "Size", + "renderer": { + "type": "text" + } + }, + { + "field": "version", + "title": "Version", + "renderer": { + "type": "text" + } + }, + { + "field": "createdOn", + "title": "Created", + "renderer": { + "type": "date" + } + } ] } } @@ -343,27 +467,55 @@ "variables": [ "{{variables.[Cloudflare Account]}}" ], - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false, - "columnOrder": [ - "queueName", - "primaryProducerScript", - "primaryConsumerScript", - "producers", - "consumers", - "modifiedOn" - ], - "hiddenColumns": [ - "sourceId", - "accountId", - "createdOn", - "producerScripts", - "consumerScripts", - "primaryProducerSourceId", - "primaryConsumerSourceId" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "queueName", + "title": "Queue", + "renderer": { + "type": "text" + } + }, + { + "field": "primaryProducerScript", + "title": "Primary Producer", + "renderer": { + "type": "text" + } + }, + { + "field": "primaryConsumerScript", + "title": "Primary Consumer", + "renderer": { + "type": "text" + } + }, + { + "field": "producers", + "title": "Producers", + "renderer": { + "type": "text" + } + }, + { + "field": "consumers", + "title": "Consumers", + "renderer": { + "type": "text" + } + }, + { + "field": "modifiedOn", + "title": "Modified", + "renderer": { + "type": "date", + "relative": true + } + } ] } } @@ -408,20 +560,44 @@ "variables": [ "{{variables.[Cloudflare Account]}}" ], - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false, - "columnOrder": [ - "namespaceName", - "scriptName", - "className", - "usesSqlite" - ], - "hiddenColumns": [ - "sourceId", - "accountId" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "namespaceName", + "title": "Namespace", + "renderer": { + "type": "text" + } + }, + { + "field": "scriptName", + "title": "Worker", + "renderer": { + "type": "text" + } + }, + { + "field": "className", + "title": "Class", + "renderer": { + "type": "text" + } + }, + { + "field": "usesSqlite", + "title": "SQLite Backed", + "renderer": { + "type": "boolean", + "trueLabel": "Yes", + "falseLabel": "No", + "trueColor": "inherit", + "falseColor": "inherit" + } + } ] } } @@ -466,21 +642,40 @@ "variables": [ "{{variables.[Cloudflare Account]}}" ], - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false, - "columnOrder": [ - "indexName", - "dimensions", - "metric", - "createdOn" - ], - "hiddenColumns": [ - "sourceId", - "accountId", - "modifiedOn" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "indexName", + "title": "Index", + "renderer": { + "type": "text" + } + }, + { + "field": "dimensions", + "title": "Dimensions", + "renderer": { + "type": "text" + } + }, + { + "field": "metric", + "title": "Metric", + "renderer": { + "type": "text" + } + }, + { + "field": "createdOn", + "title": "Created", + "renderer": { + "type": "date" + } + } ] } } @@ -525,21 +720,40 @@ "variables": [ "{{variables.[Cloudflare Account]}}" ], - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false, - "columnOrder": [ - "configName", - "database", - "host", - "scheme" - ], - "hiddenColumns": [ - "sourceId", - "accountId", - "cachingDisabled" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "configName", + "title": "Config", + "renderer": { + "type": "text" + } + }, + { + "field": "database", + "title": "Database", + "renderer": { + "type": "text" + } + }, + { + "field": "host", + "title": "Host", + "renderer": { + "type": "text" + } + }, + { + "field": "scheme", + "title": "Scheme", + "renderer": { + "type": "text" + } + } ] } } @@ -584,23 +798,52 @@ "variables": [ "{{variables.[Cloudflare Account]}}" ], - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false, - "columnOrder": [ - "poolName", - "enabled", - "originCount", - "minimumOrigins", - "modifiedOn" - ], - "hiddenColumns": [ - "sourceId", - "accountId", - "monitorId", - "createdOn" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "poolName", + "title": "Pool", + "renderer": { + "type": "text" + } + }, + { + "field": "enabled", + "title": "Enabled", + "renderer": { + "type": "boolean", + "trueLabel": "Yes", + "falseLabel": "No", + "trueColor": "inherit", + "falseColor": "inherit" + } + }, + { + "field": "originCount", + "title": "Origins", + "renderer": { + "type": "text" + } + }, + { + "field": "minimumOrigins", + "title": "Minimum Origins", + "renderer": { + "type": "text" + } + }, + { + "field": "modifiedOn", + "title": "Modified", + "renderer": { + "type": "date", + "relative": true + } + } ] } } @@ -645,23 +888,51 @@ "variables": [ "{{variables.[Cloudflare Account]}}" ], - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false, - "columnOrder": [ - "appName", - "appType", - "domain", - "sessionDuration", - "appLauncherVisible" - ], - "hiddenColumns": [ - "sourceId", - "accountId", - "createdOn", - "modifiedOn" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "appName", + "title": "Application", + "renderer": { + "type": "text" + } + }, + { + "field": "appType", + "title": "Type", + "renderer": { + "type": "text" + } + }, + { + "field": "domain", + "title": "Domain", + "renderer": { + "type": "text" + } + }, + { + "field": "sessionDuration", + "title": "Session Duration", + "renderer": { + "type": "text" + } + }, + { + "field": "appLauncherVisible", + "title": "In App Launcher", + "renderer": { + "type": "boolean", + "trueLabel": "Yes", + "falseLabel": "No", + "trueColor": "inherit", + "falseColor": "inherit" + } + } ] } } diff --git a/plugins/Cloudflare/v2/defaultContent/Account/accountZeroTrust.dash.json b/plugins/Cloudflare/v2/defaultContent/Account/accountZeroTrust.dash.json index b0f0fd73..d541002c 100644 --- a/plugins/Cloudflare/v2/defaultContent/Account/accountZeroTrust.dash.json +++ b/plugins/Cloudflare/v2/defaultContent/Account/accountZeroTrust.dash.json @@ -54,13 +54,21 @@ "variables": [ "{{variables.[Cloudflare Account]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "queryCount_sum", - "comparisonColumn": "none", - "label": "Gateway DNS Queries" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "queryCount_sum", + "type": "quantitative", + "title": "Query Count (Sum)" + } + ] + }, + "style": { + "scalarLabelText": "Gateway DNS Queries" } } } @@ -110,13 +118,21 @@ "variables": [ "{{variables.[Cloudflare Account]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "requests_sum", - "comparisonColumn": "none", - "label": "Gateway HTTP Requests" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "requests_sum", + "type": "quantitative", + "title": "Requests (Sum)" + } + ] + }, + "style": { + "scalarLabelText": "Gateway HTTP Requests" } } } @@ -166,13 +182,21 @@ "variables": [ "{{variables.[Cloudflare Account]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "sessionCount_sum", - "comparisonColumn": "none", - "label": "Gateway Network Sessions" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "sessionCount_sum", + "type": "quantitative", + "title": "Session Count (Sum)" + } + ] + }, + "style": { + "scalarLabelText": "Gateway Network Sessions" } } } @@ -236,16 +260,29 @@ "variables": [ "{{variables.[Cloudflare Account]}}" ], - "visualisation": { - "type": "data-stream-donut-chart", - "config": { - "data-stream-donut-chart": { - "valueColumn": "queryCount_sum", - "labelColumn": "breakdown_uniqueValues", - "hideCenterValue": false, - "showValuesAsPercentage": false, - "legendPosition": "auto", - "legendMode": "table" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "pie", + "encoding": { + "label": { + "field": "breakdown_uniqueValues", + "type": "nominal", + "title": "Breakdown" + }, + "value": { + "field": "queryCount_sum", + "type": "quantitative", + "aggregate": "sum", + "title": "Query Count (Sum)" + } + }, + "style": { + "pieInnerRadius": 60, + "pieDonutCenterValue": "total", + "labelFontSize": 16, + "pieSort": "desc", + "pieLegendStyle": "table" } } } @@ -309,30 +346,24 @@ "variables": [ "{{variables.[Cloudflare Account]}}" ], - "visualisation": { - "type": "data-stream-bar-chart", - "config": { - "data-stream-bar-chart": { - "xAxisData": "breakdown_uniqueValues", - "yAxisData": [ - "queryCount_sum" - ], - "xAxisGroup": "none", - "xAxisLabel": "", - "yAxisLabel": "", - "showXAxisLabel": false, - "showYAxisLabel": false, - "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": "breakdown_uniqueValues", + "type": "nominal", + "title": "Breakdown" + }, + "y": { + "field": "queryCount_sum", + "type": "quantitative", + "title": "Query Count (Sum)" } + }, + "style": { + "legendPosition": "none" } } } @@ -395,19 +426,27 @@ "variables": [ "{{variables.[Cloudflare Account]}}" ], - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "date_byDay", - "yAxisColumn": [ - "requests_sum" - ], - "seriesColumn": "none", - "showLegend": false, - "legendPosition": "bottom", - "showYAxisLabel": false, - "showTrendLine": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "date_byDay", + "type": "temporal", + "title": "Time" + }, + "y": { + "field": "requests_sum", + "type": "quantitative", + "title": "Requests (Sum)" + } + }, + "style": { + "legendPosition": "none", + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "cartesianAreaGradient": true } } } @@ -471,16 +510,29 @@ "variables": [ "{{variables.[Cloudflare Account]}}" ], - "visualisation": { - "type": "data-stream-donut-chart", - "config": { - "data-stream-donut-chart": { - "valueColumn": "requests_sum", - "labelColumn": "breakdown_uniqueValues", - "hideCenterValue": false, - "showValuesAsPercentage": false, - "legendPosition": "auto", - "legendMode": "table" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "pie", + "encoding": { + "label": { + "field": "breakdown_uniqueValues", + "type": "nominal", + "title": "Breakdown" + }, + "value": { + "field": "requests_sum", + "type": "quantitative", + "aggregate": "sum", + "title": "Requests (Sum)" + } + }, + "style": { + "pieInnerRadius": 60, + "pieDonutCenterValue": "total", + "labelFontSize": 16, + "pieSort": "desc", + "pieLegendStyle": "table" } } } @@ -544,30 +596,24 @@ "variables": [ "{{variables.[Cloudflare Account]}}" ], - "visualisation": { - "type": "data-stream-bar-chart", - "config": { - "data-stream-bar-chart": { - "xAxisData": "breakdown_uniqueValues", - "yAxisData": [ - "requests_sum" - ], - "xAxisGroup": "none", - "xAxisLabel": "", - "yAxisLabel": "", - "showXAxisLabel": false, - "showYAxisLabel": false, - "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": "breakdown_uniqueValues", + "type": "nominal", + "title": "Breakdown" + }, + "y": { + "field": "requests_sum", + "type": "quantitative", + "title": "Requests (Sum)" } + }, + "style": { + "legendPosition": "none" } } } @@ -631,16 +677,29 @@ "variables": [ "{{variables.[Cloudflare Account]}}" ], - "visualisation": { - "type": "data-stream-donut-chart", - "config": { - "data-stream-donut-chart": { - "valueColumn": "sessionCount_sum", - "labelColumn": "breakdown_uniqueValues", - "hideCenterValue": false, - "showValuesAsPercentage": false, - "legendPosition": "auto", - "legendMode": "table" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "pie", + "encoding": { + "label": { + "field": "breakdown_uniqueValues", + "type": "nominal", + "title": "Breakdown" + }, + "value": { + "field": "sessionCount_sum", + "type": "quantitative", + "aggregate": "sum", + "title": "Session Count (Sum)" + } + }, + "style": { + "pieInnerRadius": 60, + "pieDonutCenterValue": "total", + "labelFontSize": 16, + "pieSort": "desc", + "pieLegendStyle": "table" } } } @@ -703,19 +762,27 @@ "variables": [ "{{variables.[Cloudflare Account]}}" ], - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "date_byDay", - "yAxisColumn": [ - "queries_sum" - ], - "seriesColumn": "none", - "showLegend": false, - "legendPosition": "bottom", - "showYAxisLabel": false, - "showTrendLine": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "date_byDay", + "type": "temporal", + "title": "Time" + }, + "y": { + "field": "queries_sum", + "type": "quantitative", + "title": "Queries (Sum)" + } + }, + "style": { + "legendPosition": "none", + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "cartesianAreaGradient": true } } } @@ -778,16 +845,29 @@ "variables": [ "{{variables.[Cloudflare Account]}}" ], - "visualisation": { - "type": "data-stream-donut-chart", - "config": { - "data-stream-donut-chart": { - "valueColumn": "queries_sum", - "labelColumn": "breakdown_uniqueValues", - "hideCenterValue": false, - "showValuesAsPercentage": false, - "legendPosition": "auto", - "legendMode": "table" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "pie", + "encoding": { + "label": { + "field": "breakdown_uniqueValues", + "type": "nominal", + "title": "Breakdown" + }, + "value": { + "field": "queries_sum", + "type": "quantitative", + "aggregate": "sum", + "title": "Queries (Sum)" + } + }, + "style": { + "pieInnerRadius": 60, + "pieDonutCenterValue": "total", + "labelFontSize": 16, + "pieSort": "desc", + "pieLegendStyle": "table" } } } diff --git a/plugins/Cloudflare/v2/defaultContent/Compute/containerApplication.dash.json b/plugins/Cloudflare/v2/defaultContent/Compute/containerApplication.dash.json index 77e29bf2..2dcf0d17 100644 --- a/plugins/Cloudflare/v2/defaultContent/Compute/containerApplication.dash.json +++ b/plugins/Cloudflare/v2/defaultContent/Compute/containerApplication.dash.json @@ -53,13 +53,21 @@ "variables": [ "{{variables.[Cloudflare Container Application]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "avgCpuUtilization_mean", - "comparisonColumn": "none", - "label": "Avg CPU Utilization" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "avgCpuUtilization_mean", + "type": "quantitative", + "title": "Avg CPU Utilization (Average)" + } + ] + }, + "style": { + "scalarLabelText": "Avg CPU Utilization" } } } @@ -108,13 +116,21 @@ "variables": [ "{{variables.[Cloudflare Container Application]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "avgMemory_mean", - "comparisonColumn": "none", - "label": "Avg Memory Usage" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "avgMemory_mean", + "type": "quantitative", + "title": "Avg Memory Usage (Average)" + } + ] + }, + "style": { + "scalarLabelText": "Avg Memory Usage" } } } @@ -163,13 +179,21 @@ "variables": [ "{{variables.[Cloudflare Container Application]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "sumRxBytes_sum", - "comparisonColumn": "none", - "label": "Bytes Received" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "sumRxBytes_sum", + "type": "quantitative", + "title": "Bytes Received (Sum)" + } + ] + }, + "style": { + "scalarLabelText": "Bytes Received" } } } @@ -218,13 +242,21 @@ "variables": [ "{{variables.[Cloudflare Container Application]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "sumTxBytes_sum", - "comparisonColumn": "none", - "label": "Bytes Transmitted" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "sumTxBytes_sum", + "type": "quantitative", + "title": "Bytes Transmitted (Sum)" + } + ] + }, + "style": { + "scalarLabelText": "Bytes Transmitted" } } } @@ -334,19 +366,27 @@ "variables": [ "{{variables.[Cloudflare Container Application]}}" ], - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "date_byDay", - "yAxisColumn": [ - "avgCpuUtilization_mean" - ], - "seriesColumn": "none", - "showLegend": false, - "legendPosition": "bottom", - "showYAxisLabel": false, - "showTrendLine": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "date_byDay", + "type": "temporal", + "title": "Time" + }, + "y": { + "field": "avgCpuUtilization_mean", + "type": "quantitative", + "title": "Avg CPU Utilization (Average)" + } + }, + "style": { + "legendPosition": "none", + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "cartesianAreaGradient": true } } } @@ -408,19 +448,27 @@ "variables": [ "{{variables.[Cloudflare Container Application]}}" ], - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "date_byDay", - "yAxisColumn": [ - "avgMemory_mean" - ], - "seriesColumn": "none", - "showLegend": false, - "legendPosition": "bottom", - "showYAxisLabel": false, - "showTrendLine": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "date_byDay", + "type": "temporal", + "title": "Time" + }, + "y": { + "field": "avgMemory_mean", + "type": "quantitative", + "title": "Avg Memory Usage (Average)" + } + }, + "style": { + "legendPosition": "none", + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "cartesianAreaGradient": true } } } @@ -488,20 +536,22 @@ "variables": [ "{{variables.[Cloudflare Container Application]}}" ], - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "date_byDay", - "yAxisColumn": [ - "sumRxBytes_sum", - "sumTxBytes_sum" - ], - "seriesColumn": "none", - "showLegend": true, + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "date_byDay", + "type": "temporal", + "title": "Time" + } + }, + "style": { "legendPosition": "bottom", - "showYAxisLabel": false, - "showTrendLine": false + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "cartesianAreaGradient": true } } } @@ -564,30 +614,24 @@ "variables": [ "{{variables.[Cloudflare Container Application]}}" ], - "visualisation": { - "type": "data-stream-bar-chart", - "config": { - "data-stream-bar-chart": { - "xAxisData": "breakdown_uniqueValues", - "yAxisData": [ - "avgCpuUtilization_mean" - ], - "xAxisGroup": "none", - "xAxisLabel": "", - "yAxisLabel": "", - "showXAxisLabel": false, - "showYAxisLabel": false, - "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": "breakdown_uniqueValues", + "type": "nominal", + "title": "Breakdown" + }, + "y": { + "field": "avgCpuUtilization_mean", + "type": "quantitative", + "title": "Avg CPU Utilization (Average)" } + }, + "style": { + "legendPosition": "none" } } } @@ -649,16 +693,29 @@ "variables": [ "{{variables.[Cloudflare Container Application]}}" ], - "visualisation": { - "type": "data-stream-donut-chart", - "config": { - "data-stream-donut-chart": { - "valueColumn": "count_sum", - "labelColumn": "breakdown_uniqueValues", - "hideCenterValue": false, - "showValuesAsPercentage": false, - "legendPosition": "auto", - "legendMode": "table" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "pie", + "encoding": { + "label": { + "field": "breakdown_uniqueValues", + "type": "nominal", + "title": "Breakdown" + }, + "value": { + "field": "count_sum", + "type": "quantitative", + "aggregate": "sum", + "title": "Samples (Sum)" + } + }, + "style": { + "pieInnerRadius": 60, + "pieDonutCenterValue": "total", + "labelFontSize": 16, + "pieSort": "desc", + "pieLegendStyle": "table" } } } diff --git a/plugins/Cloudflare/v2/defaultContent/Compute/durableObjectNamespace.dash.json b/plugins/Cloudflare/v2/defaultContent/Compute/durableObjectNamespace.dash.json index 869e46a5..c07e6f5d 100644 --- a/plugins/Cloudflare/v2/defaultContent/Compute/durableObjectNamespace.dash.json +++ b/plugins/Cloudflare/v2/defaultContent/Compute/durableObjectNamespace.dash.json @@ -50,13 +50,21 @@ "variables": [ "{{variables.[Cloudflare Durable Object Namespace]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "sum.requests_sum", - "comparisonColumn": "none", - "label": "Requests" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "sum.requests_sum", + "type": "quantitative", + "title": "Requests (Sum)" + } + ] + }, + "style": { + "scalarLabelText": "Requests" } } } @@ -102,13 +110,21 @@ "variables": [ "{{variables.[Cloudflare Durable Object Namespace]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "sum.errors_sum", - "comparisonColumn": "none", - "label": "Errors" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "sum.errors_sum", + "type": "quantitative", + "title": "Errors (Sum)" + } + ] + }, + "style": { + "scalarLabelText": "Errors" } } } @@ -154,13 +170,21 @@ "variables": [ "{{variables.[Cloudflare Durable Object Namespace]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "wallTimeP99Ms_max", - "comparisonColumn": "none", - "label": "Wall Time P99" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "wallTimeP99Ms_max", + "type": "quantitative", + "title": "Wall Time P99 (Maximum)" + } + ] + }, + "style": { + "scalarLabelText": "Wall Time P99" } } } @@ -206,13 +230,21 @@ "variables": [ "{{variables.[Cloudflare Durable Object Namespace]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "max.storedBytes_max", - "comparisonColumn": "none", - "label": "Storage Size" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "max.storedBytes_max", + "type": "quantitative", + "title": "Storage Size (Maximum)" + } + ] + }, + "style": { + "scalarLabelText": "Storage Size" } } } @@ -325,20 +357,22 @@ "variables": [ "{{variables.[Cloudflare Durable Object Namespace]}}" ], - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "dimensions.datetime_byDay", - "yAxisColumn": [ - "sum.requests_sum", - "sum.errors_sum" - ], - "seriesColumn": "none", - "showLegend": true, + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "dimensions.datetime_byDay", + "type": "temporal", + "title": "Time" + } + }, + "style": { "legendPosition": "bottom", - "showYAxisLabel": false, - "showTrendLine": false + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "cartesianAreaGradient": true } } } @@ -409,21 +443,22 @@ "variables": [ "{{variables.[Cloudflare Durable Object Namespace]}}" ], - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "dimensions.datetime_byDay", - "yAxisColumn": [ - "wallTimeP50Ms_max", - "wallTimeP90Ms_max", - "wallTimeP99Ms_max" - ], - "seriesColumn": "none", - "showLegend": true, + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "dimensions.datetime_byDay", + "type": "temporal", + "title": "Time" + } + }, + "style": { "legendPosition": "bottom", - "showYAxisLabel": false, - "showTrendLine": false + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "cartesianAreaGradient": true } } } @@ -483,16 +518,60 @@ "variables": [ "{{variables.[Cloudflare Durable Object Namespace]}}" ], - "visualisation": { - "type": "data-stream-donut-chart", - "config": { - "data-stream-donut-chart": { - "valueColumn": "sum.requests_sum", - "labelColumn": "dimensions.status_uniqueValues", - "hideCenterValue": false, - "showValuesAsPercentage": false, - "legendPosition": "auto", - "legendMode": "table" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "pie", + "encoding": { + "label": { + "field": "dimensions.status_uniqueValues", + "type": "nominal", + "title": "Status" + }, + "value": { + "field": "sum.requests_sum", + "type": "quantitative", + "aggregate": "sum", + "title": "Requests (Sum)" + } + }, + "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" + } } } } @@ -551,19 +630,27 @@ "variables": [ "{{variables.[Cloudflare Durable Object Namespace]}}" ], - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "dimensions.date_byDay", - "yAxisColumn": [ - "max.storedBytes_max" - ], - "seriesColumn": "none", - "showLegend": false, - "legendPosition": "bottom", - "showYAxisLabel": false, - "showTrendLine": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "dimensions.date_byDay", + "type": "temporal", + "title": "Time" + }, + "y": { + "field": "max.storedBytes_max", + "type": "quantitative", + "title": "Storage Size (Maximum)" + } + }, + "style": { + "legendPosition": "none", + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "cartesianAreaGradient": true } } } @@ -622,19 +709,27 @@ "variables": [ "{{variables.[Cloudflare Durable Object Namespace]}}" ], - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "dimensions.datetime_byDay", - "yAxisColumn": [ - "sum.requestBodySizeUncached_sum" - ], - "seriesColumn": "none", - "showLegend": false, - "legendPosition": "bottom", - "showYAxisLabel": false, - "showTrendLine": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "dimensions.datetime_byDay", + "type": "temporal", + "title": "Time" + }, + "y": { + "field": "sum.requestBodySizeUncached_sum", + "type": "quantitative", + "title": "Uncached Subrequest Body Size (Sum)" + } + }, + "style": { + "legendPosition": "none", + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "cartesianAreaGradient": true } } } @@ -677,20 +772,34 @@ "variables": [ "{{variables.[Cloudflare Durable Object Namespace]}}" ], - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "dimensions.datetime", - "yAxisColumn": [ - "activeTimeMs", - "cpuTimeMs" - ], - "seriesColumn": "none", - "showLegend": true, + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "dimensions.datetime", + "type": "temporal", + "title": "Time" + }, + "y": [ + { + "field": "activeTimeMs", + "type": "quantitative", + "title": "Active Time" + }, + { + "field": "cpuTimeMs", + "type": "quantitative", + "title": "CPU Time" + } + ] + }, + "style": { "legendPosition": "bottom", - "showYAxisLabel": false, - "showTrendLine": false + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "cartesianAreaGradient": true } } } @@ -733,19 +842,27 @@ "variables": [ "{{variables.[Cloudflare Durable Object Namespace]}}" ], - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "dimensions.datetime", - "yAxisColumn": [ - "max.memoryUsageBytes" - ], - "seriesColumn": "none", - "showLegend": false, - "legendPosition": "bottom", - "showYAxisLabel": false, - "showTrendLine": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "dimensions.datetime", + "type": "temporal", + "title": "Time" + }, + "y": { + "field": "max.memoryUsageBytes", + "type": "quantitative", + "title": "Peak Memory" + } + }, + "style": { + "legendPosition": "none", + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "cartesianAreaGradient": true } } } @@ -788,20 +905,34 @@ "variables": [ "{{variables.[Cloudflare Durable Object Namespace]}}" ], - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "dimensions.datetime", - "yAxisColumn": [ - "sum.rowsRead", - "sum.rowsWritten" - ], - "seriesColumn": "none", - "showLegend": true, + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "dimensions.datetime", + "type": "temporal", + "title": "Time" + }, + "y": [ + { + "field": "sum.rowsRead", + "type": "quantitative", + "title": "Rows Read" + }, + { + "field": "sum.rowsWritten", + "type": "quantitative", + "title": "Rows Written" + } + ] + }, + "style": { "legendPosition": "bottom", - "showYAxisLabel": false, - "showTrendLine": false + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "cartesianAreaGradient": true } } } @@ -844,21 +975,39 @@ "variables": [ "{{variables.[Cloudflare Durable Object Namespace]}}" ], - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "dimensions.datetime", - "yAxisColumn": [ - "sum.exceededCpuErrors", - "sum.exceededMemoryErrors", - "sum.fatalInternalErrors" - ], - "seriesColumn": "none", - "showLegend": true, + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "dimensions.datetime", + "type": "temporal", + "title": "Time" + }, + "y": [ + { + "field": "sum.exceededCpuErrors", + "type": "quantitative", + "title": "CPU Limit Errors" + }, + { + "field": "sum.exceededMemoryErrors", + "type": "quantitative", + "title": "Memory Limit Errors" + }, + { + "field": "sum.fatalInternalErrors", + "type": "quantitative", + "title": "Internal Errors" + } + ] + }, + "style": { "legendPosition": "bottom", - "showYAxisLabel": false, - "showTrendLine": false + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "cartesianAreaGradient": true } } } diff --git a/plugins/Cloudflare/v2/defaultContent/Compute/pagesProject.dash.json b/plugins/Cloudflare/v2/defaultContent/Compute/pagesProject.dash.json index 1a0fa291..df3db83e 100644 --- a/plugins/Cloudflare/v2/defaultContent/Compute/pagesProject.dash.json +++ b/plugins/Cloudflare/v2/defaultContent/Compute/pagesProject.dash.json @@ -97,15 +97,27 @@ "variables": [ "{{variables.[Cloudflare Pages Project]}}" ], - "visualisation": { - "type": "data-stream-blocks", - "config": { - "data-stream-blocks": { - "labelColumn": "short_id", - "stateColumn": "status", - "sublabel": "branch", - "linkColumn": "none", - "columns": 4 + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "statusGrid", + "encoding": { + "label": { + "field": "short_id", + "type": "nominal" + }, + "status": { + "field": "status", + "type": "nominal" + }, + "link": { + "field": "url", + "type": "nominal" + } + }, + "style": { + "statusGridColumnsPerRow": 4, + "statusGridSecondaryTemplate": "{{{{raw}}}}{{branch}}{{{{/raw}}}}" } } } @@ -162,16 +174,60 @@ "variables": [ "{{variables.[Cloudflare Pages Project]}}" ], - "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" + } } } } @@ -228,16 +284,29 @@ "variables": [ "{{variables.[Cloudflare Pages Project]}}" ], - "visualisation": { - "type": "data-stream-donut-chart", - "config": { - "data-stream-donut-chart": { - "valueColumn": "count", - "labelColumn": "environment_uniqueValues", - "hideCenterValue": false, - "showValuesAsPercentage": false, - "legendPosition": "auto", - "legendMode": "table" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "pie", + "encoding": { + "label": { + "field": "environment_uniqueValues", + "type": "nominal", + "title": "Environment" + }, + "value": { + "field": "count", + "type": "quantitative", + "aggregate": "sum", + "title": "Count" + } + }, + "style": { + "pieInnerRadius": 60, + "pieDonutCenterValue": "total", + "labelFontSize": 16, + "pieSort": "desc", + "pieLegendStyle": "table" } } } @@ -281,23 +350,71 @@ "variables": [ "{{variables.[Cloudflare Pages Project]}}" ], - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false, - "columnOrder": [ - "created_on", - "short_id", - "environment", - "status", - "branch", - "commitMessage", - "url" - ], - "hiddenColumns": [ - "stage", - "commit" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "created_on", + "title": "Created", + "renderer": { + "type": "date" + } + }, + { + "field": "short_id", + "title": "Deployment", + "renderer": { + "type": "text" + } + }, + { + "field": "environment", + "title": "Environment", + "renderer": { + "type": "text" + } + }, + { + "field": "status[Expanded].rawState", + "title": "Status", + "renderer": { + "type": "badge", + "colors": { + "success": "#2BB660", + "failure": "#DE0038", + "canceled": "#DE0038", + "skipped": "#F59E0B", + "active": "#F59E0B", + "building": "#F59E0B", + "queued": "#F59E0B", + "idle": "#94A3B8" + } + } + }, + { + "field": "branch", + "title": "Branch", + "renderer": { + "type": "text" + } + }, + { + "field": "commitMessage", + "title": "Commit Message", + "renderer": { + "type": "text" + } + }, + { + "field": "url", + "title": "URL", + "renderer": { + "type": "link" + } + } ] } } diff --git a/plugins/Cloudflare/v2/defaultContent/Compute/pipeline.dash.json b/plugins/Cloudflare/v2/defaultContent/Compute/pipeline.dash.json index 70980886..d1a2ab52 100644 --- a/plugins/Cloudflare/v2/defaultContent/Compute/pipeline.dash.json +++ b/plugins/Cloudflare/v2/defaultContent/Compute/pipeline.dash.json @@ -50,13 +50,21 @@ "variables": [ "{{variables.[Cloudflare Pipeline]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "sum.ingestedRecords_sum", - "comparisonColumn": "none", - "label": "Records Ingested" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "sum.ingestedRecords_sum", + "type": "quantitative", + "title": "Records Ingested (Sum)" + } + ] + }, + "style": { + "scalarLabelText": "Records Ingested" } } } @@ -102,13 +110,21 @@ "variables": [ "{{variables.[Cloudflare Pipeline]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "sum.ingestedBytes_sum", - "comparisonColumn": "none", - "label": "Bytes Ingested" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "sum.ingestedBytes_sum", + "type": "quantitative", + "title": "Bytes Ingested (Sum)" + } + ] + }, + "style": { + "scalarLabelText": "Bytes Ingested" } } } @@ -154,13 +170,21 @@ "variables": [ "{{variables.[Cloudflare Pipeline]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "count_sum", - "comparisonColumn": "none", - "label": "Ingestion Operations" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "count_sum", + "type": "quantitative", + "title": "Ingestion Operations (Sum)" + } + ] + }, + "style": { + "scalarLabelText": "Ingestion Operations" } } } @@ -206,13 +230,21 @@ "variables": [ "{{variables.[Cloudflare Pipeline]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "sum.ingestedRecords_max", - "comparisonColumn": "none", - "label": "Peak Daily Records" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "sum.ingestedRecords_max", + "type": "quantitative", + "title": "Records Ingested (Maximum)" + } + ] + }, + "style": { + "scalarLabelText": "Peak Daily Records" } } } @@ -319,19 +351,27 @@ "variables": [ "{{variables.[Cloudflare Pipeline]}}" ], - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "dimensions.date_byDay", - "yAxisColumn": [ - "sum.ingestedRecords_sum" - ], - "seriesColumn": "none", - "showLegend": false, - "legendPosition": "bottom", - "showYAxisLabel": false, - "showTrendLine": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "dimensions.date_byDay", + "type": "temporal", + "title": "Time" + }, + "y": { + "field": "sum.ingestedRecords_sum", + "type": "quantitative", + "title": "Records Ingested (Sum)" + } + }, + "style": { + "legendPosition": "none", + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "cartesianAreaGradient": true } } } @@ -390,19 +430,27 @@ "variables": [ "{{variables.[Cloudflare Pipeline]}}" ], - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "dimensions.date_byDay", - "yAxisColumn": [ - "sum.ingestedBytes_sum" - ], - "seriesColumn": "none", - "showLegend": false, - "legendPosition": "bottom", - "showYAxisLabel": false, - "showTrendLine": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "dimensions.date_byDay", + "type": "temporal", + "title": "Time" + }, + "y": { + "field": "sum.ingestedBytes_sum", + "type": "quantitative", + "title": "Bytes Ingested (Sum)" + } + }, + "style": { + "legendPosition": "none", + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "cartesianAreaGradient": true } } } @@ -461,19 +509,27 @@ "variables": [ "{{variables.[Cloudflare Pipeline]}}" ], - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "dimensions.date_byDay", - "yAxisColumn": [ - "count_sum" - ], - "seriesColumn": "none", - "showLegend": false, - "legendPosition": "bottom", - "showYAxisLabel": false, - "showTrendLine": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "dimensions.date_byDay", + "type": "temporal", + "title": "Time" + }, + "y": { + "field": "count_sum", + "type": "quantitative", + "title": "Ingestion Operations (Sum)" + } + }, + "style": { + "legendPosition": "none", + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "cartesianAreaGradient": true } } } diff --git a/plugins/Cloudflare/v2/defaultContent/Compute/queue.dash.json b/plugins/Cloudflare/v2/defaultContent/Compute/queue.dash.json index 7e7220f0..281e77ad 100644 --- a/plugins/Cloudflare/v2/defaultContent/Compute/queue.dash.json +++ b/plugins/Cloudflare/v2/defaultContent/Compute/queue.dash.json @@ -50,13 +50,21 @@ "variables": [ "{{variables.[Cloudflare Queue]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "count_sum", - "comparisonColumn": "none", - "label": "Message Operations" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "count_sum", + "type": "quantitative", + "title": "Operations (Sum)" + } + ] + }, + "style": { + "scalarLabelText": "Message Operations" } } } @@ -102,13 +110,21 @@ "variables": [ "{{variables.[Cloudflare Queue]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "sum.billableOperations_sum", - "comparisonColumn": "none", - "label": "Billable Operations" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "sum.billableOperations_sum", + "type": "quantitative", + "title": "Billable Operations (Sum)" + } + ] + }, + "style": { + "scalarLabelText": "Billable Operations" } } } @@ -154,13 +170,21 @@ "variables": [ "{{variables.[Cloudflare Queue]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "sum.bytes_sum", - "comparisonColumn": "none", - "label": "Bytes Processed" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "sum.bytes_sum", + "type": "quantitative", + "title": "Bytes (Sum)" + } + ] + }, + "style": { + "scalarLabelText": "Bytes Processed" } } } @@ -206,13 +230,21 @@ "variables": [ "{{variables.[Cloudflare Queue]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "avg.messages_mean", - "comparisonColumn": "none", - "label": "Average Backlog" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "avg.messages_mean", + "type": "quantitative", + "title": "Messages Backlogged (Average)" + } + ] + }, + "style": { + "scalarLabelText": "Average Backlog" } } } @@ -319,19 +351,27 @@ "variables": [ "{{variables.[Cloudflare Queue]}}" ], - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "dimensions.datetimeHour_byHour", - "yAxisColumn": [ - "avg.messages_mean" - ], - "seriesColumn": "none", - "showLegend": false, - "legendPosition": "bottom", - "showYAxisLabel": false, - "showTrendLine": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "dimensions.datetimeHour_byHour", + "type": "temporal", + "title": "Time" + }, + "y": { + "field": "avg.messages_mean", + "type": "quantitative", + "title": "Messages Backlogged (Average)" + } + }, + "style": { + "legendPosition": "none", + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "cartesianAreaGradient": true } } } @@ -390,16 +430,29 @@ "variables": [ "{{variables.[Cloudflare Queue]}}" ], - "visualisation": { - "type": "data-stream-donut-chart", - "config": { - "data-stream-donut-chart": { - "valueColumn": "count_sum", - "labelColumn": "dimensions.actionType_uniqueValues", - "hideCenterValue": false, - "showValuesAsPercentage": false, - "legendPosition": "auto", - "legendMode": "table" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "pie", + "encoding": { + "label": { + "field": "dimensions.actionType_uniqueValues", + "type": "nominal", + "title": "Operation" + }, + "value": { + "field": "count_sum", + "type": "quantitative", + "aggregate": "sum", + "title": "Operations (Sum)" + } + }, + "style": { + "pieInnerRadius": 60, + "pieDonutCenterValue": "total", + "labelFontSize": 16, + "pieSort": "desc", + "pieLegendStyle": "table" } } } @@ -458,16 +511,60 @@ "variables": [ "{{variables.[Cloudflare Queue]}}" ], - "visualisation": { - "type": "data-stream-donut-chart", - "config": { - "data-stream-donut-chart": { - "valueColumn": "count_sum", - "labelColumn": "dimensions.outcome_uniqueValues", - "hideCenterValue": false, - "showValuesAsPercentage": false, - "legendPosition": "auto", - "legendMode": "table" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "pie", + "encoding": { + "label": { + "field": "dimensions.outcome_uniqueValues", + "type": "nominal", + "title": "Outcome" + }, + "value": { + "field": "count_sum", + "type": "quantitative", + "aggregate": "sum", + "title": "Operations (Sum)" + } + }, + "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" + } } } } @@ -526,19 +623,27 @@ "variables": [ "{{variables.[Cloudflare Queue]}}" ], - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "dimensions.datetimeHour_byHour", - "yAxisColumn": [ - "avg.lagTime_mean" - ], - "seriesColumn": "none", - "showLegend": false, - "legendPosition": "bottom", - "showYAxisLabel": false, - "showTrendLine": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "dimensions.datetimeHour_byHour", + "type": "temporal", + "title": "Time" + }, + "y": { + "field": "avg.lagTime_mean", + "type": "quantitative", + "title": "Lag Time (Average)" + } + }, + "style": { + "legendPosition": "none", + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "cartesianAreaGradient": true } } } @@ -597,19 +702,27 @@ "variables": [ "{{variables.[Cloudflare Queue]}}" ], - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "dimensions.datetime_byHour", - "yAxisColumn": [ - "avg.concurrency_mean" - ], - "seriesColumn": "none", - "showLegend": false, - "legendPosition": "bottom", - "showYAxisLabel": false, - "showTrendLine": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "dimensions.datetime_byHour", + "type": "temporal", + "title": "Time" + }, + "y": { + "field": "avg.concurrency_mean", + "type": "quantitative", + "title": "Avg Consumer Concurrency (Average)" + } + }, + "style": { + "legendPosition": "none", + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "cartesianAreaGradient": true } } } @@ -652,19 +765,27 @@ "variables": [ "{{variables.[Cloudflare Queue]}}" ], - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "dimensions.datetime", - "yAxisColumn": [ - "avg.messages" - ], - "seriesColumn": "none", - "showLegend": false, - "legendPosition": "bottom", - "showYAxisLabel": false, - "showTrendLine": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "dimensions.datetime", + "type": "temporal", + "title": "Time" + }, + "y": { + "field": "avg.messages", + "type": "quantitative", + "title": "Delayed Messages" + } + }, + "style": { + "legendPosition": "none", + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "cartesianAreaGradient": true } } } diff --git a/plugins/Cloudflare/v2/defaultContent/Compute/worker.dash.json b/plugins/Cloudflare/v2/defaultContent/Compute/worker.dash.json index 7a7a4170..5803bf94 100644 --- a/plugins/Cloudflare/v2/defaultContent/Compute/worker.dash.json +++ b/plugins/Cloudflare/v2/defaultContent/Compute/worker.dash.json @@ -50,13 +50,21 @@ "variables": [ "{{variables.[Cloudflare Worker]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "sum.requests_sum", - "comparisonColumn": "none", - "label": "Requests" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "sum.requests_sum", + "type": "quantitative", + "title": "Requests (Sum)" + } + ] + }, + "style": { + "scalarLabelText": "Requests" } } } @@ -102,13 +110,21 @@ "variables": [ "{{variables.[Cloudflare Worker]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "sum.errors_sum", - "comparisonColumn": "none", - "label": "Errors" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "sum.errors_sum", + "type": "quantitative", + "title": "Errors (Sum)" + } + ] + }, + "style": { + "scalarLabelText": "Errors" } } } @@ -154,13 +170,21 @@ "variables": [ "{{variables.[Cloudflare Worker]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "sum.subrequests_sum", - "comparisonColumn": "none", - "label": "Subrequests" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "sum.subrequests_sum", + "type": "quantitative", + "title": "Subrequests (Sum)" + } + ] + }, + "style": { + "scalarLabelText": "Subrequests" } } } @@ -206,13 +230,21 @@ "variables": [ "{{variables.[Cloudflare Worker]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "cpuTimeP99Ms_max", - "comparisonColumn": "none", - "label": "Peak CPU Time P99" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "cpuTimeP99Ms_max", + "type": "quantitative", + "title": "CPU Time P99 (Maximum)" + } + ] + }, + "style": { + "scalarLabelText": "Peak CPU Time P99" } } } @@ -325,20 +357,22 @@ "variables": [ "{{variables.[Cloudflare Worker]}}" ], - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "dimensions.datetime_byHour", - "yAxisColumn": [ - "sum.requests_sum", - "sum.errors_sum" - ], - "seriesColumn": "none", - "showLegend": true, + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "dimensions.datetime_byHour", + "type": "temporal", + "title": "Time" + } + }, + "style": { "legendPosition": "bottom", - "showYAxisLabel": false, - "showTrendLine": false + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "cartesianAreaGradient": true } } } @@ -403,20 +437,22 @@ "variables": [ "{{variables.[Cloudflare Worker]}}" ], - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "dimensions.datetime_byHour", - "yAxisColumn": [ - "cpuTimeP50Ms_max", - "cpuTimeP99Ms_max" - ], - "seriesColumn": "none", - "showLegend": true, + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "dimensions.datetime_byHour", + "type": "temporal", + "title": "Time" + } + }, + "style": { "legendPosition": "bottom", - "showYAxisLabel": false, - "showTrendLine": false + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "cartesianAreaGradient": true } } } @@ -475,16 +511,60 @@ "variables": [ "{{variables.[Cloudflare Worker]}}" ], - "visualisation": { - "type": "data-stream-donut-chart", - "config": { - "data-stream-donut-chart": { - "valueColumn": "sum.requests_sum", - "labelColumn": "dimensions.status_uniqueValues", - "hideCenterValue": false, - "showValuesAsPercentage": false, - "legendPosition": "auto", - "legendMode": "table" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "pie", + "encoding": { + "label": { + "field": "dimensions.status_uniqueValues", + "type": "nominal", + "title": "Status" + }, + "value": { + "field": "sum.requests_sum", + "type": "quantitative", + "aggregate": "sum", + "title": "Requests (Sum)" + } + }, + "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" + } } } } @@ -547,30 +627,25 @@ "variables": [ "{{variables.[Cloudflare Worker]}}" ], - "visualisation": { - "type": "data-stream-bar-chart", - "config": { - "data-stream-bar-chart": { - "xAxisData": "breakdown_uniqueValues", - "yAxisData": [ - "sum.subrequests_sum" - ], - "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": "breakdown_uniqueValues", + "type": "nominal", + "title": "Breakdown" + }, + "y": { + "field": "sum.subrequests_sum", + "type": "quantitative", + "title": "Subrequests (Sum)" } + }, + "style": { + "legendPosition": "none", + "cartesianHorizontal": true } } } @@ -630,20 +705,22 @@ "variables": [ "{{variables.[Cloudflare Worker]}}" ], - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "dimensions.datetime_byHour", - "yAxisColumn": [ - "responseTimeP50_mean", - "responseTimeP99_mean" - ], - "seriesColumn": "none", - "showLegend": true, + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "dimensions.datetime_byHour", + "type": "temporal", + "title": "Time" + } + }, + "style": { "legendPosition": "bottom", - "showYAxisLabel": false, - "showTrendLine": false + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "cartesianAreaGradient": true } } } @@ -686,21 +763,47 @@ "variables": [ "{{variables.[Cloudflare Worker]}}" ], - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false, - "columnOrder": [ - "datetime", - "cron", - "statusState", - "cpuTime", - "scheduledDatetime" - ], - "hiddenColumns": [ - "status", - "cpuTimeUs" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "datetime", + "title": "Time", + "renderer": { + "type": "date" + } + }, + { + "field": "cron", + "title": "Schedule", + "renderer": { + "type": "text" + } + }, + { + "field": "statusState", + "title": "Outcome", + "renderer": { + "type": "status" + } + }, + { + "field": "cpuTime", + "title": "CPU Time", + "renderer": { + "type": "text" + } + }, + { + "field": "scheduledDatetime", + "title": "Scheduled for", + "renderer": { + "type": "date" + } + } ] } } @@ -748,19 +851,31 @@ "variables": [ "{{variables.[Cloudflare Worker]}}" ], - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "dimensions.datetime", - "yAxisColumn": [ - "sum.requests" - ], - "seriesColumn": "breakdown", - "showLegend": true, + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "dimensions.datetime", + "type": "temporal", + "title": "Time" + }, + "y": { + "field": "sum.requests", + "type": "quantitative", + "title": "Requests" + }, + "series": { + "field": "breakdown", + "type": "nominal", + "title": "Breakdown" + } + }, + "style": { "legendPosition": "bottom", - "showYAxisLabel": false, - "showTrendLine": false + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none" } } } @@ -803,19 +918,62 @@ "variables": [ "{{variables.[Cloudflare Worker]}}" ], - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "dimensions.datetime", - "yAxisColumn": [ - "sum.requests" - ], - "seriesColumn": "dimensions.cacheStatus", - "showLegend": true, + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "dimensions.datetime", + "type": "temporal", + "title": "Time" + }, + "y": { + "field": "sum.requests", + "type": "quantitative", + "title": "Requests" + }, + "series": { + "field": "dimensions.cacheStatus", + "type": "nominal", + "title": "Cache Status" + } + }, + "style": { "legendPosition": "bottom", - "showYAxisLabel": false, - "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" + } } } } @@ -858,19 +1016,31 @@ "variables": [ "{{variables.[Cloudflare Worker]}}" ], - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "dimensions.datetime", - "yAxisColumn": [ - "quantiles.requestDurationP50" - ], - "seriesColumn": "dimensions.placementUsed", - "showLegend": true, + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "dimensions.datetime", + "type": "temporal", + "title": "Time" + }, + "y": { + "field": "quantiles.requestDurationP50", + "type": "quantitative", + "title": "Duration P50" + }, + "series": { + "field": "dimensions.placementUsed", + "type": "nominal", + "title": "Placement Used" + } + }, + "style": { "legendPosition": "bottom", - "showYAxisLabel": false, - "showTrendLine": false + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none" } } } diff --git a/plugins/Cloudflare/v2/defaultContent/Media/realtimeApp.dash.json b/plugins/Cloudflare/v2/defaultContent/Media/realtimeApp.dash.json index ad05b110..7a11eed6 100644 --- a/plugins/Cloudflare/v2/defaultContent/Media/realtimeApp.dash.json +++ b/plugins/Cloudflare/v2/defaultContent/Media/realtimeApp.dash.json @@ -50,13 +50,21 @@ "variables": [ "{{variables.[Cloudflare Realtime App]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "sum.egressBytes_sum", - "comparisonColumn": "none", - "label": "Bytes Sent" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "sum.egressBytes_sum", + "type": "quantitative", + "title": "Bytes Sent (Sum)" + } + ] + }, + "style": { + "scalarLabelText": "Bytes Sent" } } } @@ -102,13 +110,21 @@ "variables": [ "{{variables.[Cloudflare Realtime App]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "sum.ingressBytes_sum", - "comparisonColumn": "none", - "label": "Bytes Received" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "sum.ingressBytes_sum", + "type": "quantitative", + "title": "Bytes Received (Sum)" + } + ] + }, + "style": { + "scalarLabelText": "Bytes Received" } } } @@ -154,13 +170,21 @@ "variables": [ "{{variables.[Cloudflare Realtime App]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "dimensions.trackType_distinctCount", - "comparisonColumn": "none", - "label": "Track Types" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "dimensions.trackType_distinctCount", + "type": "quantitative", + "title": "Track Type (distinctCount)" + } + ] + }, + "style": { + "scalarLabelText": "Track Types" } } } @@ -206,13 +230,21 @@ "variables": [ "{{variables.[Cloudflare Realtime App]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "sum.egressBytes_max", - "comparisonColumn": "none", - "label": "Peak Track Daily Sent" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "sum.egressBytes_max", + "type": "quantitative", + "title": "Bytes Sent (Maximum)" + } + ] + }, + "style": { + "scalarLabelText": "Peak Track Daily Sent" } } } @@ -325,20 +357,22 @@ "variables": [ "{{variables.[Cloudflare Realtime App]}}" ], - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "dimensions.date_byDay", - "yAxisColumn": [ - "sum.egressBytes_sum", - "sum.ingressBytes_sum" - ], - "seriesColumn": "none", - "showLegend": true, + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "dimensions.date_byDay", + "type": "temporal", + "title": "Time" + } + }, + "style": { "legendPosition": "bottom", - "showYAxisLabel": false, - "showTrendLine": false + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "cartesianAreaGradient": true } } } @@ -397,16 +431,29 @@ "variables": [ "{{variables.[Cloudflare Realtime App]}}" ], - "visualisation": { - "type": "data-stream-donut-chart", - "config": { - "data-stream-donut-chart": { - "valueColumn": "sum.egressBytes_sum", - "labelColumn": "dimensions.trackType_uniqueValues", - "hideCenterValue": false, - "showValuesAsPercentage": false, - "legendPosition": "auto", - "legendMode": "table" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "pie", + "encoding": { + "label": { + "field": "dimensions.trackType_uniqueValues", + "type": "nominal", + "title": "Track Type" + }, + "value": { + "field": "sum.egressBytes_sum", + "type": "quantitative", + "aggregate": "sum", + "title": "Bytes Sent (Sum)" + } + }, + "style": { + "pieInnerRadius": 60, + "pieDonutCenterValue": "total", + "labelFontSize": 16, + "pieSort": "desc", + "pieLegendStyle": "table" } } } @@ -466,30 +513,24 @@ "variables": [ "{{variables.[Cloudflare Realtime App]}}" ], - "visualisation": { - "type": "data-stream-bar-chart", - "config": { - "data-stream-bar-chart": { - "xAxisData": "dimensions.trackType_uniqueValues", - "yAxisData": [ - "sum.ingressBytes_sum" - ], - "xAxisGroup": "none", - "xAxisLabel": "", - "yAxisLabel": "", - "showXAxisLabel": false, - "showYAxisLabel": false, - "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": "dimensions.trackType_uniqueValues", + "type": "nominal", + "title": "Track Type" + }, + "y": { + "field": "sum.ingressBytes_sum", + "type": "quantitative", + "title": "Bytes Received (Sum)" } + }, + "style": { + "legendPosition": "none" } } } diff --git a/plugins/Cloudflare/v2/defaultContent/Media/streamVideo.dash.json b/plugins/Cloudflare/v2/defaultContent/Media/streamVideo.dash.json index 78e813ec..4c633fd5 100644 --- a/plugins/Cloudflare/v2/defaultContent/Media/streamVideo.dash.json +++ b/plugins/Cloudflare/v2/defaultContent/Media/streamVideo.dash.json @@ -50,13 +50,21 @@ "variables": [ "{{variables.[Cloudflare Stream Video]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "sum.minutesViewed_sum", - "comparisonColumn": "none", - "label": "Minutes Viewed" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "sum.minutesViewed_sum", + "type": "quantitative", + "title": "Minutes Viewed (Sum)" + } + ] + }, + "style": { + "scalarLabelText": "Minutes Viewed" } } } @@ -105,13 +113,21 @@ "variables": [ "{{variables.[Cloudflare Stream Video]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "sampleCount_sum", - "comparisonColumn": "none", - "label": "Playback Samples" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "sampleCount_sum", + "type": "quantitative", + "title": "Sample Count (Sum)" + } + ] + }, + "style": { + "scalarLabelText": "Playback Samples" } } } @@ -160,13 +176,21 @@ "variables": [ "{{variables.[Cloudflare Stream Video]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "avgBufferingDurationMs_mean", - "comparisonColumn": "none", - "label": "Avg Buffering" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "avgBufferingDurationMs_mean", + "type": "quantitative", + "title": "Avg Buffering Duration (Average)" + } + ] + }, + "style": { + "scalarLabelText": "Avg Buffering" } } } @@ -215,13 +239,21 @@ "variables": [ "{{variables.[Cloudflare Stream Video]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "avgStartupBufferingDurationMs_mean", - "comparisonColumn": "none", - "label": "Avg Startup Buffering" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "avgStartupBufferingDurationMs_mean", + "type": "quantitative", + "title": "Avg Startup Buffering Duration (Average)" + } + ] + }, + "style": { + "scalarLabelText": "Avg Startup Buffering" } } } @@ -328,19 +360,27 @@ "variables": [ "{{variables.[Cloudflare Stream Video]}}" ], - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "dimensions.date_byDay", - "yAxisColumn": [ - "sum.minutesViewed_sum" - ], - "seriesColumn": "none", - "showLegend": false, - "legendPosition": "bottom", - "showYAxisLabel": false, - "showTrendLine": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "dimensions.date_byDay", + "type": "temporal", + "title": "Time" + }, + "y": { + "field": "sum.minutesViewed_sum", + "type": "quantitative", + "title": "Minutes Viewed (Sum)" + } + }, + "style": { + "legendPosition": "none", + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "cartesianAreaGradient": true } } } @@ -403,30 +443,24 @@ "variables": [ "{{variables.[Cloudflare Stream Video]}}" ], - "visualisation": { - "type": "data-stream-bar-chart", - "config": { - "data-stream-bar-chart": { - "xAxisData": "breakdown_uniqueValues", - "yAxisData": [ - "avgBufferingDurationMs_mean" - ], - "xAxisGroup": "none", - "xAxisLabel": "", - "yAxisLabel": "", - "showXAxisLabel": false, - "showYAxisLabel": false, - "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": "breakdown_uniqueValues", + "type": "nominal", + "title": "Breakdown" + }, + "y": { + "field": "avgBufferingDurationMs_mean", + "type": "quantitative", + "title": "Avg Buffering Duration (Average)" } + }, + "style": { + "legendPosition": "none" } } } @@ -488,16 +522,29 @@ "variables": [ "{{variables.[Cloudflare Stream Video]}}" ], - "visualisation": { - "type": "data-stream-donut-chart", - "config": { - "data-stream-donut-chart": { - "valueColumn": "sampleCount_sum", - "labelColumn": "breakdown_uniqueValues", - "hideCenterValue": false, - "showValuesAsPercentage": false, - "legendPosition": "auto", - "legendMode": "table" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "pie", + "encoding": { + "label": { + "field": "breakdown_uniqueValues", + "type": "nominal", + "title": "Breakdown" + }, + "value": { + "field": "sampleCount_sum", + "type": "quantitative", + "aggregate": "sum", + "title": "Sample Count (Sum)" + } + }, + "style": { + "pieInnerRadius": 60, + "pieDonutCenterValue": "total", + "labelFontSize": 16, + "pieSort": "desc", + "pieLegendStyle": "table" } } } @@ -560,30 +607,24 @@ "variables": [ "{{variables.[Cloudflare Stream Video]}}" ], - "visualisation": { - "type": "data-stream-bar-chart", - "config": { - "data-stream-bar-chart": { - "xAxisData": "breakdown_uniqueValues", - "yAxisData": [ - "avgEncodedBitrate_mean" - ], - "xAxisGroup": "none", - "xAxisLabel": "", - "yAxisLabel": "", - "showXAxisLabel": false, - "showYAxisLabel": false, - "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": "breakdown_uniqueValues", + "type": "nominal", + "title": "Breakdown" + }, + "y": { + "field": "avgEncodedBitrate_mean", + "type": "quantitative", + "title": "Avg Encoded Bitrate (Average)" } + }, + "style": { + "legendPosition": "none" } } } @@ -645,19 +686,27 @@ "variables": [ "{{variables.[Cloudflare Stream Video]}}" ], - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "date_byDay", - "yAxisColumn": [ - "avgBufferingDurationMs_mean" - ], - "seriesColumn": "none", - "showLegend": false, - "legendPosition": "bottom", - "showYAxisLabel": false, - "showTrendLine": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "date_byDay", + "type": "temporal", + "title": "Time" + }, + "y": { + "field": "avgBufferingDurationMs_mean", + "type": "quantitative", + "title": "Avg Buffering Duration (Average)" + } + }, + "style": { + "legendPosition": "none", + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "cartesianAreaGradient": true } } } diff --git a/plugins/Cloudflare/v2/defaultContent/Storage & Databases/d1Database.dash.json b/plugins/Cloudflare/v2/defaultContent/Storage & Databases/d1Database.dash.json index e3b6edf6..47750860 100644 --- a/plugins/Cloudflare/v2/defaultContent/Storage & Databases/d1Database.dash.json +++ b/plugins/Cloudflare/v2/defaultContent/Storage & Databases/d1Database.dash.json @@ -50,13 +50,21 @@ "variables": [ "{{variables.[Cloudflare D1 Database]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "sum.readQueries_sum", - "comparisonColumn": "none", - "label": "Read Queries" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "sum.readQueries_sum", + "type": "quantitative", + "title": "Read Queries (Sum)" + } + ] + }, + "style": { + "scalarLabelText": "Read Queries" } } } @@ -102,13 +110,21 @@ "variables": [ "{{variables.[Cloudflare D1 Database]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "sum.writeQueries_sum", - "comparisonColumn": "none", - "label": "Write Queries" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "sum.writeQueries_sum", + "type": "quantitative", + "title": "Write Queries (Sum)" + } + ] + }, + "style": { + "scalarLabelText": "Write Queries" } } } @@ -154,13 +170,21 @@ "variables": [ "{{variables.[Cloudflare D1 Database]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "sum.rowsRead_sum", - "comparisonColumn": "none", - "label": "Rows Read" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "sum.rowsRead_sum", + "type": "quantitative", + "title": "Rows Read (Sum)" + } + ] + }, + "style": { + "scalarLabelText": "Rows Read" } } } @@ -206,13 +230,21 @@ "variables": [ "{{variables.[Cloudflare D1 Database]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "max.databaseSizeBytes_max", - "comparisonColumn": "none", - "label": "Database Size" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "max.databaseSizeBytes_max", + "type": "quantitative", + "title": "Database Size (Maximum)" + } + ] + }, + "style": { + "scalarLabelText": "Database Size" } } } @@ -325,20 +357,22 @@ "variables": [ "{{variables.[Cloudflare D1 Database]}}" ], - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "dimensions.date_byDay", - "yAxisColumn": [ - "sum.readQueries_sum", - "sum.writeQueries_sum" - ], - "seriesColumn": "none", - "showLegend": true, + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "dimensions.date_byDay", + "type": "temporal", + "title": "Time" + } + }, + "style": { "legendPosition": "bottom", - "showYAxisLabel": false, - "showTrendLine": false + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "cartesianAreaGradient": true } } } @@ -403,20 +437,22 @@ "variables": [ "{{variables.[Cloudflare D1 Database]}}" ], - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "dimensions.date_byDay", - "yAxisColumn": [ - "sum.rowsRead_sum", - "sum.rowsWritten_sum" - ], - "seriesColumn": "none", - "showLegend": true, + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "dimensions.date_byDay", + "type": "temporal", + "title": "Time" + } + }, + "style": { "legendPosition": "bottom", - "showYAxisLabel": false, - "showTrendLine": false + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "cartesianAreaGradient": true } } } @@ -487,21 +523,22 @@ "variables": [ "{{variables.[Cloudflare D1 Database]}}" ], - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "dimensions.date_byDay", - "yAxisColumn": [ - "quantiles.queryBatchTimeMsP50_max", - "quantiles.queryBatchTimeMsP90_max", - "quantiles.queryBatchTimeMsP99_max" - ], - "seriesColumn": "none", - "showLegend": true, + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "dimensions.date_byDay", + "type": "temporal", + "title": "Time" + } + }, + "style": { "legendPosition": "bottom", - "showYAxisLabel": false, - "showTrendLine": false + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "cartesianAreaGradient": true } } } @@ -560,19 +597,27 @@ "variables": [ "{{variables.[Cloudflare D1 Database]}}" ], - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "dimensions.date_byDay", - "yAxisColumn": [ - "max.databaseSizeBytes_max" - ], - "seriesColumn": "none", - "showLegend": false, - "legendPosition": "bottom", - "showYAxisLabel": false, - "showTrendLine": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "dimensions.date_byDay", + "type": "temporal", + "title": "Time" + }, + "y": { + "field": "max.databaseSizeBytes_max", + "type": "quantitative", + "title": "Database Size (Maximum)" + } + }, + "style": { + "legendPosition": "none", + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "cartesianAreaGradient": true } } } @@ -631,16 +676,29 @@ "variables": [ "{{variables.[Cloudflare D1 Database]}}" ], - "visualisation": { - "type": "data-stream-donut-chart", - "config": { - "data-stream-donut-chart": { - "valueColumn": "count_sum", - "labelColumn": "dimensions.databaseRole_uniqueValues", - "hideCenterValue": false, - "showValuesAsPercentage": false, - "legendPosition": "auto", - "legendMode": "table" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "pie", + "encoding": { + "label": { + "field": "dimensions.databaseRole_uniqueValues", + "type": "nominal", + "title": "Database Role" + }, + "value": { + "field": "count_sum", + "type": "quantitative", + "aggregate": "sum", + "title": "Query Count (Sum)" + } + }, + "style": { + "pieInnerRadius": 60, + "pieDonutCenterValue": "total", + "labelFontSize": 16, + "pieSort": "desc", + "pieLegendStyle": "table" } } } @@ -699,19 +757,27 @@ "variables": [ "{{variables.[Cloudflare D1 Database]}}" ], - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "dimensions.datetime_byDay", - "yAxisColumn": [ - "sum.rowsReturned_sum" - ], - "seriesColumn": "none", - "showLegend": false, - "legendPosition": "bottom", - "showYAxisLabel": false, - "showTrendLine": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "dimensions.datetime_byDay", + "type": "temporal", + "title": "Time" + }, + "y": { + "field": "sum.rowsReturned_sum", + "type": "quantitative", + "title": "Rows Returned (Sum)" + } + }, + "style": { + "legendPosition": "none", + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "cartesianAreaGradient": true } } } diff --git a/plugins/Cloudflare/v2/defaultContent/Storage & Databases/hyperdriveConfig.dash.json b/plugins/Cloudflare/v2/defaultContent/Storage & Databases/hyperdriveConfig.dash.json index f6d6c1ec..c0850e5e 100644 --- a/plugins/Cloudflare/v2/defaultContent/Storage & Databases/hyperdriveConfig.dash.json +++ b/plugins/Cloudflare/v2/defaultContent/Storage & Databases/hyperdriveConfig.dash.json @@ -50,13 +50,21 @@ "variables": [ "{{variables.[Cloudflare Hyperdrive Config]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "count_sum", - "comparisonColumn": "none", - "label": "Queries" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "count_sum", + "type": "quantitative", + "title": "Queries (Sum)" + } + ] + }, + "style": { + "scalarLabelText": "Queries" } } } @@ -102,13 +110,21 @@ "variables": [ "{{variables.[Cloudflare Hyperdrive Config]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "avg.queryLatency_mean", - "comparisonColumn": "none", - "label": "Avg Query Latency" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "avg.queryLatency_mean", + "type": "quantitative", + "title": "Avg Query Latency (Average)" + } + ] + }, + "style": { + "scalarLabelText": "Avg Query Latency" } } } @@ -154,13 +170,21 @@ "variables": [ "{{variables.[Cloudflare Hyperdrive Config]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "count_max", - "comparisonColumn": "none", - "label": "Peak Daily Queries" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "count_max", + "type": "quantitative", + "title": "Queries (Maximum)" + } + ] + }, + "style": { + "scalarLabelText": "Peak Daily Queries" } } } @@ -206,13 +230,21 @@ "variables": [ "{{variables.[Cloudflare Hyperdrive Config]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "avg.queryLatency_max", - "comparisonColumn": "none", - "label": "Peak Query Latency" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "avg.queryLatency_max", + "type": "quantitative", + "title": "Avg Query Latency (Maximum)" + } + ] + }, + "style": { + "scalarLabelText": "Peak Query Latency" } } } @@ -319,19 +351,27 @@ "variables": [ "{{variables.[Cloudflare Hyperdrive Config]}}" ], - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "dimensions.date_byDay", - "yAxisColumn": [ - "count_sum" - ], - "seriesColumn": "none", - "showLegend": false, - "legendPosition": "bottom", - "showYAxisLabel": false, - "showTrendLine": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "dimensions.date_byDay", + "type": "temporal", + "title": "Time" + }, + "y": { + "field": "count_sum", + "type": "quantitative", + "title": "Queries (Sum)" + } + }, + "style": { + "legendPosition": "none", + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "cartesianAreaGradient": true } } } @@ -390,19 +430,27 @@ "variables": [ "{{variables.[Cloudflare Hyperdrive Config]}}" ], - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "dimensions.date_byDay", - "yAxisColumn": [ - "avg.queryLatency_mean" - ], - "seriesColumn": "none", - "showLegend": false, - "legendPosition": "bottom", - "showYAxisLabel": false, - "showTrendLine": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "dimensions.date_byDay", + "type": "temporal", + "title": "Time" + }, + "y": { + "field": "avg.queryLatency_mean", + "type": "quantitative", + "title": "Avg Query Latency (Average)" + } + }, + "style": { + "legendPosition": "none", + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "cartesianAreaGradient": true } } } @@ -445,20 +493,34 @@ "variables": [ "{{variables.[Cloudflare Hyperdrive Config]}}" ], - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "dimensions.datetime", - "yAxisColumn": [ - "avg.currentPoolSize", - "avg.availablePoolSlots" - ], - "seriesColumn": "none", - "showLegend": true, + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "dimensions.datetime", + "type": "temporal", + "title": "Time" + }, + "y": [ + { + "field": "avg.currentPoolSize", + "type": "quantitative", + "title": "Pool Size" + }, + { + "field": "avg.availablePoolSlots", + "type": "quantitative", + "title": "Free Slots" + } + ] + }, + "style": { "legendPosition": "bottom", - "showYAxisLabel": false, - "showTrendLine": false + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "cartesianAreaGradient": true } } } @@ -501,20 +563,34 @@ "variables": [ "{{variables.[Cloudflare Hyperdrive Config]}}" ], - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "dimensions.datetime", - "yAxisColumn": [ - "avg.waitingClients", - "max.waitingClients" - ], - "seriesColumn": "none", - "showLegend": true, + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "dimensions.datetime", + "type": "temporal", + "title": "Time" + }, + "y": [ + { + "field": "avg.waitingClients", + "type": "quantitative", + "title": "Waiting Clients" + }, + { + "field": "max.waitingClients", + "type": "quantitative", + "title": "Peak Waiting Clients" + } + ] + }, + "style": { "legendPosition": "bottom", - "showYAxisLabel": false, - "showTrendLine": false + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "cartesianAreaGradient": true } } } diff --git a/plugins/Cloudflare/v2/defaultContent/Storage & Databases/kvNamespace.dash.json b/plugins/Cloudflare/v2/defaultContent/Storage & Databases/kvNamespace.dash.json index 6df7961b..9054df0e 100644 --- a/plugins/Cloudflare/v2/defaultContent/Storage & Databases/kvNamespace.dash.json +++ b/plugins/Cloudflare/v2/defaultContent/Storage & Databases/kvNamespace.dash.json @@ -50,13 +50,21 @@ "variables": [ "{{variables.[Cloudflare KV Namespace]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "sum.requests_sum", - "comparisonColumn": "none", - "label": "Requests" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "sum.requests_sum", + "type": "quantitative", + "title": "Requests (Sum)" + } + ] + }, + "style": { + "scalarLabelText": "Requests" } } } @@ -102,13 +110,21 @@ "variables": [ "{{variables.[Cloudflare KV Namespace]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "max.keyCount_max", - "comparisonColumn": "none", - "label": "Keys" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "max.keyCount_max", + "type": "quantitative", + "title": "Keys (Maximum)" + } + ] + }, + "style": { + "scalarLabelText": "Keys" } } } @@ -154,13 +170,21 @@ "variables": [ "{{variables.[Cloudflare KV Namespace]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "max.byteCount_max", - "comparisonColumn": "none", - "label": "Stored Bytes" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "max.byteCount_max", + "type": "quantitative", + "title": "Size (Maximum)" + } + ] + }, + "style": { + "scalarLabelText": "Stored Bytes" } } } @@ -206,13 +230,21 @@ "variables": [ "{{variables.[Cloudflare KV Namespace]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "quantiles.latencyMsP99_max", - "comparisonColumn": "none", - "label": "Peak Latency P99" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "quantiles.latencyMsP99_max", + "type": "quantitative", + "title": "Latency P99 (Maximum)" + } + ] + }, + "style": { + "scalarLabelText": "Peak Latency P99" } } } @@ -319,19 +351,27 @@ "variables": [ "{{variables.[Cloudflare KV Namespace]}}" ], - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "dimensions.date_byDay", - "yAxisColumn": [ - "sum.requests_sum" - ], - "seriesColumn": "none", - "showLegend": false, - "legendPosition": "bottom", - "showYAxisLabel": false, - "showTrendLine": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "dimensions.date_byDay", + "type": "temporal", + "title": "Time" + }, + "y": { + "field": "sum.requests_sum", + "type": "quantitative", + "title": "Requests (Sum)" + } + }, + "style": { + "legendPosition": "none", + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "cartesianAreaGradient": true } } } @@ -390,16 +430,29 @@ "variables": [ "{{variables.[Cloudflare KV Namespace]}}" ], - "visualisation": { - "type": "data-stream-donut-chart", - "config": { - "data-stream-donut-chart": { - "valueColumn": "sum.requests_sum", - "labelColumn": "dimensions.actionType_uniqueValues", - "hideCenterValue": false, - "showValuesAsPercentage": false, - "legendPosition": "auto", - "legendMode": "table" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "pie", + "encoding": { + "label": { + "field": "dimensions.actionType_uniqueValues", + "type": "nominal", + "title": "Operation" + }, + "value": { + "field": "sum.requests_sum", + "type": "quantitative", + "aggregate": "sum", + "title": "Requests (Sum)" + } + }, + "style": { + "pieInnerRadius": 60, + "pieDonutCenterValue": "total", + "labelFontSize": 16, + "pieSort": "desc", + "pieLegendStyle": "table" } } } @@ -470,21 +523,22 @@ "variables": [ "{{variables.[Cloudflare KV Namespace]}}" ], - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "dimensions.date_byDay", - "yAxisColumn": [ - "quantiles.latencyMsP50_max", - "quantiles.latencyMsP90_max", - "quantiles.latencyMsP99_max" - ], - "seriesColumn": "none", - "showLegend": true, + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "dimensions.date_byDay", + "type": "temporal", + "title": "Time" + } + }, + "style": { "legendPosition": "bottom", - "showYAxisLabel": false, - "showTrendLine": false + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "cartesianAreaGradient": true } } } @@ -543,19 +597,27 @@ "variables": [ "{{variables.[Cloudflare KV Namespace]}}" ], - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "dimensions.date_byDay", - "yAxisColumn": [ - "max.keyCount_max" - ], - "seriesColumn": "none", - "showLegend": false, - "legendPosition": "bottom", - "showYAxisLabel": false, - "showTrendLine": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "dimensions.date_byDay", + "type": "temporal", + "title": "Time" + }, + "y": { + "field": "max.keyCount_max", + "type": "quantitative", + "title": "Keys (Maximum)" + } + }, + "style": { + "legendPosition": "none", + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "cartesianAreaGradient": true } } } diff --git a/plugins/Cloudflare/v2/defaultContent/Storage & Databases/r2Bucket.dash.json b/plugins/Cloudflare/v2/defaultContent/Storage & Databases/r2Bucket.dash.json index 407b80cb..07107d7a 100644 --- a/plugins/Cloudflare/v2/defaultContent/Storage & Databases/r2Bucket.dash.json +++ b/plugins/Cloudflare/v2/defaultContent/Storage & Databases/r2Bucket.dash.json @@ -50,13 +50,21 @@ "variables": [ "{{variables.[Cloudflare R2 Bucket]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "sum.requests_sum", - "comparisonColumn": "none", - "label": "Requests" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "sum.requests_sum", + "type": "quantitative", + "title": "Requests (Sum)" + } + ] + }, + "style": { + "scalarLabelText": "Requests" } } } @@ -102,13 +110,21 @@ "variables": [ "{{variables.[Cloudflare R2 Bucket]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "sum.responseBytes_sum", - "comparisonColumn": "none", - "label": "Data Transferred" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "sum.responseBytes_sum", + "type": "quantitative", + "title": "Response Bytes (Sum)" + } + ] + }, + "style": { + "scalarLabelText": "Data Transferred" } } } @@ -154,13 +170,21 @@ "variables": [ "{{variables.[Cloudflare R2 Bucket]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "max.objectCount_max", - "comparisonColumn": "none", - "label": "Objects" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "max.objectCount_max", + "type": "quantitative", + "title": "Objects (Maximum)" + } + ] + }, + "style": { + "scalarLabelText": "Objects" } } } @@ -206,13 +230,21 @@ "variables": [ "{{variables.[Cloudflare R2 Bucket]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "max.payloadSize_max", - "comparisonColumn": "none", - "label": "Stored Bytes" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "max.payloadSize_max", + "type": "quantitative", + "title": "Payload Size (Maximum)" + } + ] + }, + "style": { + "scalarLabelText": "Stored Bytes" } } } @@ -319,19 +351,27 @@ "variables": [ "{{variables.[Cloudflare R2 Bucket]}}" ], - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "dimensions.datetime_byHour", - "yAxisColumn": [ - "sum.requests_sum" - ], - "seriesColumn": "none", - "showLegend": false, - "legendPosition": "bottom", - "showYAxisLabel": false, - "showTrendLine": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "dimensions.datetime_byHour", + "type": "temporal", + "title": "Time" + }, + "y": { + "field": "sum.requests_sum", + "type": "quantitative", + "title": "Requests (Sum)" + } + }, + "style": { + "legendPosition": "none", + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "cartesianAreaGradient": true } } } @@ -391,30 +431,24 @@ "variables": [ "{{variables.[Cloudflare R2 Bucket]}}" ], - "visualisation": { - "type": "data-stream-bar-chart", - "config": { - "data-stream-bar-chart": { - "xAxisData": "dimensions.actionType_uniqueValues", - "yAxisData": [ - "sum.requests_sum" - ], - "xAxisGroup": "none", - "xAxisLabel": "", - "yAxisLabel": "", - "showXAxisLabel": false, - "showYAxisLabel": false, - "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": "dimensions.actionType_uniqueValues", + "type": "nominal", + "title": "Operation" + }, + "y": { + "field": "sum.requests_sum", + "type": "quantitative", + "title": "Requests (Sum)" } + }, + "style": { + "legendPosition": "none" } } } @@ -473,16 +507,60 @@ "variables": [ "{{variables.[Cloudflare R2 Bucket]}}" ], - "visualisation": { - "type": "data-stream-donut-chart", - "config": { - "data-stream-donut-chart": { - "valueColumn": "sum.requests_sum", - "labelColumn": "dimensions.actionStatus_uniqueValues", - "hideCenterValue": false, - "showValuesAsPercentage": false, - "legendPosition": "auto", - "legendMode": "table" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "pie", + "encoding": { + "label": { + "field": "dimensions.actionStatus_uniqueValues", + "type": "nominal", + "title": "Outcome" + }, + "value": { + "field": "sum.requests_sum", + "type": "quantitative", + "aggregate": "sum", + "title": "Requests (Sum)" + } + }, + "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" + } } } } @@ -541,19 +619,27 @@ "variables": [ "{{variables.[Cloudflare R2 Bucket]}}" ], - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "dimensions.datetime_byHour", - "yAxisColumn": [ - "max.payloadSize_max" - ], - "seriesColumn": "none", - "showLegend": false, - "legendPosition": "bottom", - "showYAxisLabel": false, - "showTrendLine": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "dimensions.datetime_byHour", + "type": "temporal", + "title": "Time" + }, + "y": { + "field": "max.payloadSize_max", + "type": "quantitative", + "title": "Payload Size (Maximum)" + } + }, + "style": { + "legendPosition": "none", + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "cartesianAreaGradient": true } } } @@ -596,20 +682,22 @@ "variables": [ "{{variables.[Cloudflare R2 Bucket]}}" ], - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "dimensions.datetime", - "yAxisColumn": [ - "sum.bytesDownload", - "sum.bytesUpload" - ], - "seriesColumn": "none", - "showLegend": true, + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "dimensions.datetime", + "type": "temporal", + "title": "Time" + } + }, + "style": { "legendPosition": "bottom", - "showYAxisLabel": false, - "showTrendLine": false + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "cartesianAreaGradient": true } } } diff --git a/plugins/Cloudflare/v2/defaultContent/Zero Trust/accessApplication.dash.json b/plugins/Cloudflare/v2/defaultContent/Zero Trust/accessApplication.dash.json index 610e6381..88288882 100644 --- a/plugins/Cloudflare/v2/defaultContent/Zero Trust/accessApplication.dash.json +++ b/plugins/Cloudflare/v2/defaultContent/Zero Trust/accessApplication.dash.json @@ -50,13 +50,21 @@ "variables": [ "{{variables.[Cloudflare Access Application]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "count_sum", - "comparisonColumn": "none", - "label": "Logins" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "count_sum", + "type": "quantitative", + "title": "Logins (Sum)" + } + ] + }, + "style": { + "scalarLabelText": "Logins" } } }, @@ -113,13 +121,21 @@ "variables": [ "{{variables.[Cloudflare Access Application]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "count_sum", - "comparisonColumn": "none", - "label": "Successful Logins" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "count_sum", + "type": "quantitative", + "title": "Logins (Sum)" + } + ] + }, + "style": { + "scalarLabelText": "Successful Logins" } } }, @@ -176,13 +192,21 @@ "variables": [ "{{variables.[Cloudflare Access Application]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "count_sum", - "comparisonColumn": "none", - "label": "Failed Logins" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "count_sum", + "type": "quantitative", + "title": "Logins (Sum)" + } + ] + }, + "style": { + "scalarLabelText": "Failed Logins" } } }, @@ -229,13 +253,21 @@ "variables": [ "{{variables.[Cloudflare Access Application]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "dimensions.country_distinctCount", - "comparisonColumn": "none", - "label": "Countries" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "dimensions.country_distinctCount", + "type": "quantitative", + "title": "Country (distinctCount)" + } + ] + }, + "style": { + "scalarLabelText": "Countries" } } }, @@ -343,19 +375,27 @@ "variables": [ "{{variables.[Cloudflare Access Application]}}" ], - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "dimensions.date_byDay", - "yAxisColumn": [ - "count_sum" - ], - "seriesColumn": "none", - "showLegend": false, - "legendPosition": "bottom", - "showYAxisLabel": false, - "showTrendLine": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "dimensions.date_byDay", + "type": "temporal", + "title": "Time" + }, + "y": { + "field": "count_sum", + "type": "quantitative", + "title": "Logins (Sum)" + } + }, + "style": { + "legendPosition": "none", + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "cartesianAreaGradient": true } } }, @@ -415,16 +455,29 @@ "variables": [ "{{variables.[Cloudflare Access Application]}}" ], - "visualisation": { - "type": "data-stream-donut-chart", - "config": { - "data-stream-donut-chart": { - "valueColumn": "count_sum", - "labelColumn": "dimensions.identityProvider_uniqueValues", - "hideCenterValue": false, - "showValuesAsPercentage": false, - "legendPosition": "auto", - "legendMode": "table" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "pie", + "encoding": { + "label": { + "field": "dimensions.identityProvider_uniqueValues", + "type": "nominal", + "title": "Identity Provider" + }, + "value": { + "field": "count_sum", + "type": "quantitative", + "aggregate": "sum", + "title": "Logins (Sum)" + } + }, + "style": { + "pieInnerRadius": 60, + "pieDonutCenterValue": "total", + "labelFontSize": 16, + "pieSort": "desc", + "pieLegendStyle": "table" } } }, @@ -485,30 +538,24 @@ "variables": [ "{{variables.[Cloudflare Access Application]}}" ], - "visualisation": { - "type": "data-stream-bar-chart", - "config": { - "data-stream-bar-chart": { - "xAxisData": "dimensions.country_uniqueValues", - "yAxisData": [ - "count_sum" - ], - "xAxisGroup": "none", - "xAxisLabel": "", - "yAxisLabel": "", - "showXAxisLabel": false, - "showYAxisLabel": false, - "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": "dimensions.country_uniqueValues", + "type": "nominal", + "title": "Country" + }, + "y": { + "field": "count_sum", + "type": "quantitative", + "title": "Logins (Sum)" } + }, + "style": { + "legendPosition": "none" } } }, @@ -568,16 +615,29 @@ "variables": [ "{{variables.[Cloudflare Access Application]}}" ], - "visualisation": { - "type": "data-stream-donut-chart", - "config": { - "data-stream-donut-chart": { - "valueColumn": "count_sum", - "labelColumn": "dimensions.isSuccessfulLogin_uniqueValues", - "hideCenterValue": false, - "showValuesAsPercentage": false, - "legendPosition": "auto", - "legendMode": "table" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "pie", + "encoding": { + "label": { + "field": "dimensions.isSuccessfulLogin_uniqueValues", + "type": "nominal", + "title": "Successful" + }, + "value": { + "field": "count_sum", + "type": "quantitative", + "aggregate": "sum", + "title": "Logins (Sum)" + } + }, + "style": { + "pieInnerRadius": 60, + "pieDonutCenterValue": "total", + "labelFontSize": 16, + "pieSort": "desc", + "pieLegendStyle": "table" } } }, @@ -637,16 +697,29 @@ "variables": [ "{{variables.[Cloudflare Access Application]}}" ], - "visualisation": { - "type": "data-stream-donut-chart", - "config": { - "data-stream-donut-chart": { - "valueColumn": "count_sum", - "labelColumn": "dimensions.hasWarpEnabled_uniqueValues", - "hideCenterValue": false, - "showValuesAsPercentage": false, - "legendPosition": "auto", - "legendMode": "table" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "pie", + "encoding": { + "label": { + "field": "dimensions.hasWarpEnabled_uniqueValues", + "type": "nominal", + "title": "WARP Enabled" + }, + "value": { + "field": "count_sum", + "type": "quantitative", + "aggregate": "sum", + "title": "Logins (Sum)" + } + }, + "style": { + "pieInnerRadius": 60, + "pieDonutCenterValue": "total", + "labelFontSize": 16, + "pieSort": "desc", + "pieLegendStyle": "table" } } }, diff --git a/plugins/Cloudflare/v2/defaultContent/Zero Trust/tunnel.dash.json b/plugins/Cloudflare/v2/defaultContent/Zero Trust/tunnel.dash.json index cacf907e..ee86c61c 100644 --- a/plugins/Cloudflare/v2/defaultContent/Zero Trust/tunnel.dash.json +++ b/plugins/Cloudflare/v2/defaultContent/Zero Trust/tunnel.dash.json @@ -96,13 +96,21 @@ "variables": [ "{{variables.[Cloudflare Tunnel]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "count", - "comparisonColumn": "none", - "label": "Connections" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "count", + "type": "quantitative", + "title": "Count" + } + ] + }, + "style": { + "scalarLabelText": "Connections" } } } @@ -149,13 +157,21 @@ "variables": [ "{{variables.[Cloudflare Tunnel]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "colo_name_distinctCount", - "comparisonColumn": "none", - "label": "Data Centers" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "colo_name_distinctCount", + "type": "quantitative", + "title": "Colo (distinctCount)" + } + ] + }, + "style": { + "scalarLabelText": "Data Centers" } } } @@ -213,30 +229,24 @@ "variables": [ "{{variables.[Cloudflare Tunnel]}}" ], - "visualisation": { - "type": "data-stream-bar-chart", - "config": { - "data-stream-bar-chart": { - "xAxisData": "colo_name_uniqueValues", - "yAxisData": [ - "count" - ], - "xAxisGroup": "none", - "xAxisLabel": "", - "yAxisLabel": "", - "showXAxisLabel": false, - "showYAxisLabel": false, - "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": "colo_name_uniqueValues", + "type": "nominal", + "title": "Colo" + }, + "y": { + "field": "count", + "type": "quantitative", + "title": "Count" } + }, + "style": { + "legendPosition": "none" } } } @@ -280,21 +290,58 @@ "variables": [ "{{variables.[Cloudflare Tunnel]}}" ], - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false, - "columnOrder": [ - "colo_name", - "origin_ip", - "client_version", - "arch", - "opened_at", - "is_pending_reconnect" - ], - "hiddenColumns": [ - "connectionId" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "colo_name", + "title": "Colo", + "renderer": { + "type": "text" + } + }, + { + "field": "origin_ip", + "title": "Origin IP", + "renderer": { + "type": "text" + } + }, + { + "field": "client_version", + "title": "Connector Version", + "renderer": { + "type": "text" + } + }, + { + "field": "arch", + "title": "Architecture", + "renderer": { + "type": "text" + } + }, + { + "field": "opened_at", + "title": "Opened", + "renderer": { + "type": "date" + } + }, + { + "field": "is_pending_reconnect", + "title": "Pending Reconnect", + "renderer": { + "type": "boolean", + "trueLabel": "Yes", + "falseLabel": "No", + "trueColor": "inherit", + "falseColor": "inherit" + } + } ] } } diff --git a/plugins/Cloudflare/v2/defaultContent/Zero Trust/turnstileWidget.dash.json b/plugins/Cloudflare/v2/defaultContent/Zero Trust/turnstileWidget.dash.json index 2f4dcf6a..5840e7a3 100644 --- a/plugins/Cloudflare/v2/defaultContent/Zero Trust/turnstileWidget.dash.json +++ b/plugins/Cloudflare/v2/defaultContent/Zero Trust/turnstileWidget.dash.json @@ -53,13 +53,21 @@ "variables": [ "{{variables.[Cloudflare Turnstile Widget]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "challenges_sum", - "comparisonColumn": "none", - "label": "Challenges" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "challenges_sum", + "type": "quantitative", + "title": "Challenges (Sum)" + } + ] + }, + "style": { + "scalarLabelText": "Challenges" } } } @@ -108,13 +116,21 @@ "variables": [ "{{variables.[Cloudflare Turnstile Widget]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "challenges_max", - "comparisonColumn": "none", - "label": "Peak Challenges" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "challenges_max", + "type": "quantitative", + "title": "Challenges (Maximum)" + } + ] + }, + "style": { + "scalarLabelText": "Peak Challenges" } } } @@ -163,13 +179,21 @@ "variables": [ "{{variables.[Cloudflare Turnstile Widget]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "breakdown_distinctCount", - "comparisonColumn": "none", - "label": "Event Types" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "breakdown_distinctCount", + "type": "quantitative", + "title": "Breakdown (distinctCount)" + } + ] + }, + "style": { + "scalarLabelText": "Event Types" } } } @@ -218,13 +242,21 @@ "variables": [ "{{variables.[Cloudflare Turnstile Widget]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "breakdown_distinctCount", - "comparisonColumn": "none", - "label": "Actions" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "breakdown_distinctCount", + "type": "quantitative", + "title": "Breakdown (distinctCount)" + } + ] + }, + "style": { + "scalarLabelText": "Actions" } } } @@ -334,19 +366,27 @@ "variables": [ "{{variables.[Cloudflare Turnstile Widget]}}" ], - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "date_byDay", - "yAxisColumn": [ - "challenges_sum" - ], - "seriesColumn": "none", - "showLegend": false, - "legendPosition": "bottom", - "showYAxisLabel": false, - "showTrendLine": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "date_byDay", + "type": "temporal", + "title": "Time" + }, + "y": { + "field": "challenges_sum", + "type": "quantitative", + "title": "Challenges (Sum)" + } + }, + "style": { + "legendPosition": "none", + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "cartesianAreaGradient": true } } } @@ -408,16 +448,29 @@ "variables": [ "{{variables.[Cloudflare Turnstile Widget]}}" ], - "visualisation": { - "type": "data-stream-donut-chart", - "config": { - "data-stream-donut-chart": { - "valueColumn": "challenges_sum", - "labelColumn": "breakdown_uniqueValues", - "hideCenterValue": false, - "showValuesAsPercentage": false, - "legendPosition": "auto", - "legendMode": "table" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "pie", + "encoding": { + "label": { + "field": "breakdown_uniqueValues", + "type": "nominal", + "title": "Breakdown" + }, + "value": { + "field": "challenges_sum", + "type": "quantitative", + "aggregate": "sum", + "title": "Challenges (Sum)" + } + }, + "style": { + "pieInnerRadius": 60, + "pieDonutCenterValue": "total", + "labelFontSize": 16, + "pieSort": "desc", + "pieLegendStyle": "table" } } } @@ -480,30 +533,24 @@ "variables": [ "{{variables.[Cloudflare Turnstile Widget]}}" ], - "visualisation": { - "type": "data-stream-bar-chart", - "config": { - "data-stream-bar-chart": { - "xAxisData": "breakdown_uniqueValues", - "yAxisData": [ - "challenges_sum" - ], - "xAxisGroup": "none", - "xAxisLabel": "", - "yAxisLabel": "", - "showXAxisLabel": false, - "showYAxisLabel": false, - "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": "breakdown_uniqueValues", + "type": "nominal", + "title": "Breakdown" + }, + "y": { + "field": "challenges_sum", + "type": "quantitative", + "title": "Challenges (Sum)" } + }, + "style": { + "legendPosition": "none" } } } diff --git a/plugins/Cloudflare/v2/defaultContent/Zones/loadBalancerPool.dash.json b/plugins/Cloudflare/v2/defaultContent/Zones/loadBalancerPool.dash.json index 6a39de34..8b6272f7 100644 --- a/plugins/Cloudflare/v2/defaultContent/Zones/loadBalancerPool.dash.json +++ b/plugins/Cloudflare/v2/defaultContent/Zones/loadBalancerPool.dash.json @@ -96,13 +96,21 @@ "variables": [ "{{variables.[Cloudflare Load Balancer Pool]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "count", - "comparisonColumn": "none", - "label": "Origin Checks" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "count", + "type": "quantitative", + "title": "Count" + } + ] + }, + "style": { + "scalarLabelText": "Origin Checks" } } } @@ -156,13 +164,21 @@ "variables": [ "{{variables.[Cloudflare Load Balancer Pool]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "count", - "comparisonColumn": "none", - "label": "Unhealthy Checks" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "count", + "type": "quantitative", + "title": "Count" + } + ] + }, + "style": { + "scalarLabelText": "Unhealthy Checks" } } } @@ -219,16 +235,60 @@ "variables": [ "{{variables.[Cloudflare Load Balancer Pool]}}" ], - "visualisation": { - "type": "data-stream-donut-chart", - "config": { - "data-stream-donut-chart": { - "valueColumn": "count", - "labelColumn": "healthy_uniqueValues", - "hideCenterValue": false, - "showValuesAsPercentage": false, - "legendPosition": "auto", - "legendMode": "table" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "pie", + "encoding": { + "label": { + "field": "healthy_uniqueValues", + "type": "nominal", + "title": "Healthy" + }, + "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" + } } } } @@ -286,30 +346,24 @@ "variables": [ "{{variables.[Cloudflare Load Balancer Pool]}}" ], - "visualisation": { - "type": "data-stream-bar-chart", - "config": { - "data-stream-bar-chart": { - "xAxisData": "colo_uniqueValues", - "yAxisData": [ - "count" - ], - "xAxisGroup": "none", - "xAxisLabel": "", - "yAxisLabel": "", - "showXAxisLabel": false, - "showYAxisLabel": false, - "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": "colo_uniqueValues", + "type": "nominal", + "title": "Location" + }, + "y": { + "field": "count", + "type": "quantitative", + "title": "Count" } + }, + "style": { + "legendPosition": "none" } } } @@ -353,21 +407,65 @@ "variables": [ "{{variables.[Cloudflare Load Balancer Pool]}}" ], - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false, - "columnOrder": [ - "colo", - "origin", - "healthy", - "responseCode", - "rtt", - "failureReason" - ], - "hiddenColumns": [ - "coloHealthy" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "colo", + "title": "Location", + "renderer": { + "type": "text" + } + }, + { + "field": "origin", + "title": "Origin", + "renderer": { + "type": "text" + } + }, + { + "field": "healthy", + "title": "Healthy", + "renderer": { + "type": "boolean", + "trueLabel": "Yes", + "falseLabel": "No", + "trueColor": "inherit", + "falseColor": "inherit" + } + }, + { + "field": "responseCode", + "title": "Response Code", + "renderer": { + "type": "text" + } + }, + { + "field": "rtt", + "title": "Response Time", + "renderer": { + "type": "text" + } + }, + { + "field": "failureReason", + "title": "Failure Reason", + "renderer": { + "type": "text" + } + }, + { + "field": "health", + "title": "Health", + "renderer": { + "type": "status" + } + } ] } } diff --git a/plugins/Cloudflare/v2/defaultContent/Zones/zone.dash.json b/plugins/Cloudflare/v2/defaultContent/Zones/zone.dash.json index e991ea9b..12357489 100644 --- a/plugins/Cloudflare/v2/defaultContent/Zones/zone.dash.json +++ b/plugins/Cloudflare/v2/defaultContent/Zones/zone.dash.json @@ -50,13 +50,21 @@ "variables": [ "{{variables.[Cloudflare Zone]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "sum.requests_sum", - "comparisonColumn": "none", - "label": "Requests" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "sum.requests_sum", + "type": "quantitative", + "title": "Requests (Sum)" + } + ] + }, + "style": { + "scalarLabelText": "Requests" } } } @@ -102,13 +110,21 @@ "variables": [ "{{variables.[Cloudflare Zone]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "uniq.uniques_sum", - "comparisonColumn": "none", - "label": "Unique Visitors" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "uniq.uniques_sum", + "type": "quantitative", + "title": "Unique Visitors (Sum)" + } + ] + }, + "style": { + "scalarLabelText": "Unique Visitors" } } } @@ -154,13 +170,21 @@ "variables": [ "{{variables.[Cloudflare Zone]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "sum.bytes_sum", - "comparisonColumn": "none", - "label": "Bandwidth" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "sum.bytes_sum", + "type": "quantitative", + "title": "Bytes (Sum)" + } + ] + }, + "style": { + "scalarLabelText": "Bandwidth" } } } @@ -206,13 +230,21 @@ "variables": [ "{{variables.[Cloudflare Zone]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "sum.threats_sum", - "comparisonColumn": "none", - "label": "Threats" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "sum.threats_sum", + "type": "quantitative", + "title": "Threats (Sum)" + } + ] + }, + "style": { + "scalarLabelText": "Threats" } } } @@ -240,15 +272,27 @@ "pluginConfigId": "{{configId}}" }, "timeframe": "none", - "visualisation": { - "type": "data-stream-blocks", - "config": { - "data-stream-blocks": { - "labelColumn": "name", - "stateColumn": "state", - "sublabel": "plan.name", - "linkColumn": "name", - "columns": 1 + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "statusGrid", + "encoding": { + "label": { + "field": "name", + "type": "nominal" + }, + "status": { + "field": "state", + "type": "nominal" + }, + "link": { + "field": "name", + "type": "nominal" + } + }, + "style": { + "statusGridColumnsPerRow": 1, + "statusGridSecondaryTemplate": "{{{{raw}}}}{{lookup this \"plan.name\"}}{{{{/raw}}}}" } } }, @@ -360,20 +404,34 @@ "variables": [ "{{variables.[Cloudflare Zone]}}" ], - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "dimensions.datetime", - "yAxisColumn": [ - "sum.requests", - "sum.cachedRequests" - ], - "seriesColumn": "none", - "showLegend": true, + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "dimensions.datetime", + "type": "temporal", + "title": "Time" + }, + "y": [ + { + "field": "sum.requests", + "type": "quantitative", + "title": "Requests" + }, + { + "field": "sum.cachedRequests", + "type": "quantitative", + "title": "Cached Requests" + } + ] + }, + "style": { "legendPosition": "bottom", - "showYAxisLabel": false, - "showTrendLine": false + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "cartesianAreaGradient": true } } } @@ -416,20 +474,34 @@ "variables": [ "{{variables.[Cloudflare Zone]}}" ], - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "dimensions.datetime", - "yAxisColumn": [ - "sum.bytes", - "sum.cachedBytes" - ], - "seriesColumn": "none", - "showLegend": true, + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "dimensions.datetime", + "type": "temporal", + "title": "Time" + }, + "y": [ + { + "field": "sum.bytes", + "type": "quantitative", + "title": "Bytes" + }, + { + "field": "sum.cachedBytes", + "type": "quantitative", + "title": "Cached Bytes" + } + ] + }, + "style": { "legendPosition": "bottom", - "showYAxisLabel": false, - "showTrendLine": false + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "cartesianAreaGradient": true } } } @@ -472,19 +544,27 @@ "variables": [ "{{variables.[Cloudflare Zone]}}" ], - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "dimensions.datetime", - "yAxisColumn": [ - "cacheHitRatio" - ], - "seriesColumn": "none", - "showLegend": false, - "legendPosition": "bottom", - "showYAxisLabel": false, - "showTrendLine": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "dimensions.datetime", + "type": "temporal", + "title": "Time" + }, + "y": { + "field": "cacheHitRatio", + "type": "quantitative", + "title": "Cache Hit Ratio" + } + }, + "style": { + "legendPosition": "none", + "cartesianYAxisRangeMode": "percentage", + "cartesianSymbol": "none", + "cartesianAreaGradient": true } } } @@ -528,23 +608,67 @@ "variables": [ "{{variables.[Cloudflare Zone]}}" ], - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false, - "columnOrder": [ - "hosts", - "status", - "daysUntilExpiry", - "expiresOn", - "certificateAuthority", - "type" - ], - "hiddenColumns": [ - "id", - "issuer", - "validationMethod" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "hosts", + "title": "Hosts", + "renderer": { + "type": "text" + } + }, + { + "field": "status[Expanded].rawState", + "title": "Status", + "renderer": { + "type": "badge", + "colors": { + "active": "#2BB660", + "deployed": "#2BB660", + "pending_validation": "#F59E0B", + "pending_issuance": "#F59E0B", + "pending_deployment": "#F59E0B", + "pending_expiration": "#F59E0B", + "pending_deletion": "#F59E0B", + "initializing": "#F59E0B", + "deleting": "#F59E0B", + "expired": "#DE0038", + "deleted": "#DE0038" + } + } + }, + { + "field": "daysUntilExpiry", + "title": "Days Until Expiry", + "renderer": { + "type": "text" + } + }, + { + "field": "expiresOn", + "title": "Expires", + "renderer": { + "type": "date" + } + }, + { + "field": "certificateAuthority", + "title": "Authority", + "renderer": { + "type": "text" + } + }, + { + "field": "type", + "title": "Type", + "renderer": { + "type": "text" + } + } ] } } @@ -589,28 +713,64 @@ "variables": [ "{{variables.[Cloudflare Zone]}}" ], - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false, - "columnOrder": [ - "name", - "status", - "address", - "type", - "failure_reason", - "suspended" - ], - "hiddenColumns": [ - "id", - "interval", - "timeout", - "consecutive_fails", - "consecutive_successes", - "check_regions", - "created_on", - "modified_on" + "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": { + "healthy": "#2BB660", + "unhealthy": "#DE0038", + "suspended": "#F59E0B", + "unknown": "#F59E0B" + } + } + }, + { + "field": "address", + "title": "Address", + "renderer": { + "type": "text" + } + }, + { + "field": "type", + "title": "Type", + "renderer": { + "type": "text" + } + }, + { + "field": "failure_reason", + "title": "Failure Reason", + "renderer": { + "type": "text" + } + }, + { + "field": "suspended", + "title": "Suspended", + "renderer": { + "type": "boolean", + "trueLabel": "Yes", + "falseLabel": "No", + "trueColor": "inherit", + "falseColor": "inherit" + } + } ] } } @@ -671,16 +831,60 @@ "variables": [ "{{variables.[Cloudflare Zone]}}" ], - "visualisation": { - "type": "data-stream-donut-chart", - "config": { - "data-stream-donut-chart": { - "valueColumn": "count_sum", - "labelColumn": "dimensions.healthStatus_uniqueValues", - "hideCenterValue": false, - "showValuesAsPercentage": false, - "legendPosition": "auto", - "legendMode": "table" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "pie", + "encoding": { + "label": { + "field": "dimensions.healthStatus_uniqueValues", + "type": "nominal", + "title": "Status" + }, + "value": { + "field": "count_sum", + "type": "quantitative", + "aggregate": "sum", + "title": "Event Count (Sum)" + } + }, + "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" + } } } } @@ -740,19 +944,27 @@ "variables": [ "{{variables.[Cloudflare Zone]}}" ], - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "dimensions.datetime_byHour", - "yAxisColumn": [ - "avg.rttMs_mean" - ], - "seriesColumn": "none", - "showLegend": false, - "legendPosition": "bottom", - "showYAxisLabel": false, - "showTrendLine": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "dimensions.datetime_byHour", + "type": "temporal", + "title": "Time" + }, + "y": { + "field": "avg.rttMs_mean", + "type": "quantitative", + "title": "Avg Round Trip Time (Average)" + } + }, + "style": { + "legendPosition": "none", + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "cartesianAreaGradient": true } } } diff --git a/plugins/Cloudflare/v2/defaultContent/Zones/zoneDnsEmail.dash.json b/plugins/Cloudflare/v2/defaultContent/Zones/zoneDnsEmail.dash.json index 463aa91b..602a8cb9 100644 --- a/plugins/Cloudflare/v2/defaultContent/Zones/zoneDnsEmail.dash.json +++ b/plugins/Cloudflare/v2/defaultContent/Zones/zoneDnsEmail.dash.json @@ -67,19 +67,27 @@ "variables": [ "{{variables.[Cloudflare Zone]}}" ], - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "date_byDay", - "yAxisColumn": [ - "queryCount_sum" - ], - "seriesColumn": "none", - "showLegend": false, - "legendPosition": "bottom", - "showYAxisLabel": false, - "showTrendLine": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "date_byDay", + "type": "temporal", + "title": "Time" + }, + "y": { + "field": "queryCount_sum", + "type": "quantitative", + "title": "Query Count (Sum)" + } + }, + "style": { + "legendPosition": "none", + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "cartesianAreaGradient": true } } } @@ -142,19 +150,27 @@ "variables": [ "{{variables.[Cloudflare Zone]}}" ], - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "date_byDay", - "yAxisColumn": [ - "avgResponseTimeMs_mean" - ], - "seriesColumn": "none", - "showLegend": false, - "legendPosition": "bottom", - "showYAxisLabel": false, - "showTrendLine": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "date_byDay", + "type": "temporal", + "title": "Time" + }, + "y": { + "field": "avgResponseTimeMs_mean", + "type": "quantitative", + "title": "Avg Response Time (Average)" + } + }, + "style": { + "legendPosition": "none", + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "cartesianAreaGradient": true } } } @@ -218,30 +234,24 @@ "variables": [ "{{variables.[Cloudflare Zone]}}" ], - "visualisation": { - "type": "data-stream-bar-chart", - "config": { - "data-stream-bar-chart": { - "xAxisData": "breakdown_uniqueValues", - "yAxisData": [ - "queryCount_sum" - ], - "xAxisGroup": "none", - "xAxisLabel": "", - "yAxisLabel": "", - "showXAxisLabel": false, - "showYAxisLabel": false, - "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": "breakdown_uniqueValues", + "type": "nominal", + "title": "Breakdown" + }, + "y": { + "field": "queryCount_sum", + "type": "quantitative", + "title": "Query Count (Sum)" } + }, + "style": { + "legendPosition": "none" } } } @@ -305,16 +315,29 @@ "variables": [ "{{variables.[Cloudflare Zone]}}" ], - "visualisation": { - "type": "data-stream-donut-chart", - "config": { - "data-stream-donut-chart": { - "valueColumn": "queryCount_sum", - "labelColumn": "breakdown_uniqueValues", - "hideCenterValue": false, - "showValuesAsPercentage": false, - "legendPosition": "auto", - "legendMode": "table" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "pie", + "encoding": { + "label": { + "field": "breakdown_uniqueValues", + "type": "nominal", + "title": "Breakdown" + }, + "value": { + "field": "queryCount_sum", + "type": "quantitative", + "aggregate": "sum", + "title": "Query Count (Sum)" + } + }, + "style": { + "pieInnerRadius": 60, + "pieDonutCenterValue": "total", + "labelFontSize": 16, + "pieSort": "desc", + "pieLegendStyle": "table" } } } @@ -358,24 +381,58 @@ "variables": [ "{{variables.[Cloudflare Zone]}}" ], - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false, - "columnOrder": [ - "name", - "type", - "content", - "proxied", - "ttl", - "comment" - ], - "hiddenColumns": [ - "id", - "tags", - "created_on", - "modified_on" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "name", + "title": "Name", + "renderer": { + "type": "text" + } + }, + { + "field": "type", + "title": "Type", + "renderer": { + "type": "text" + } + }, + { + "field": "content", + "title": "Content", + "renderer": { + "type": "text" + } + }, + { + "field": "proxied", + "title": "Proxied", + "renderer": { + "type": "boolean", + "trueLabel": "Yes", + "falseLabel": "No", + "trueColor": "inherit", + "falseColor": "inherit" + } + }, + { + "field": "ttl", + "title": "TTL", + "renderer": { + "type": "text" + } + }, + { + "field": "comment", + "title": "Comment", + "renderer": { + "type": "text" + } + } ] } } @@ -439,19 +496,27 @@ "variables": [ "{{variables.[Cloudflare Zone]}}" ], - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "date_byDay", - "yAxisColumn": [ - "messageCount_sum" - ], - "seriesColumn": "none", - "showLegend": false, - "legendPosition": "bottom", - "showYAxisLabel": false, - "showTrendLine": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "date_byDay", + "type": "temporal", + "title": "Time" + }, + "y": { + "field": "messageCount_sum", + "type": "quantitative", + "title": "Message Count (Sum)" + } + }, + "style": { + "legendPosition": "none", + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "cartesianAreaGradient": true } } } @@ -514,16 +579,29 @@ "variables": [ "{{variables.[Cloudflare Zone]}}" ], - "visualisation": { - "type": "data-stream-donut-chart", - "config": { - "data-stream-donut-chart": { - "valueColumn": "messageCount_sum", - "labelColumn": "breakdown_uniqueValues", - "hideCenterValue": false, - "showValuesAsPercentage": false, - "legendPosition": "auto", - "legendMode": "table" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "pie", + "encoding": { + "label": { + "field": "breakdown_uniqueValues", + "type": "nominal", + "title": "Breakdown" + }, + "value": { + "field": "messageCount_sum", + "type": "quantitative", + "aggregate": "sum", + "title": "Message Count (Sum)" + } + }, + "style": { + "pieInnerRadius": 60, + "pieDonutCenterValue": "total", + "labelFontSize": 16, + "pieSort": "desc", + "pieLegendStyle": "table" } } } @@ -586,16 +664,29 @@ "variables": [ "{{variables.[Cloudflare Zone]}}" ], - "visualisation": { - "type": "data-stream-donut-chart", - "config": { - "data-stream-donut-chart": { - "valueColumn": "messageCount_sum", - "labelColumn": "breakdown_uniqueValues", - "hideCenterValue": false, - "showValuesAsPercentage": false, - "legendPosition": "auto", - "legendMode": "table" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "pie", + "encoding": { + "label": { + "field": "breakdown_uniqueValues", + "type": "nominal", + "title": "Breakdown" + }, + "value": { + "field": "messageCount_sum", + "type": "quantitative", + "aggregate": "sum", + "title": "Message Count (Sum)" + } + }, + "style": { + "pieInnerRadius": 60, + "pieDonutCenterValue": "total", + "labelFontSize": 16, + "pieSort": "desc", + "pieLegendStyle": "table" } } } @@ -659,30 +750,24 @@ "variables": [ "{{variables.[Cloudflare Zone]}}" ], - "visualisation": { - "type": "data-stream-bar-chart", - "config": { - "data-stream-bar-chart": { - "xAxisData": "breakdown_uniqueValues", - "yAxisData": [ - "messageCount_sum" - ], - "xAxisGroup": "none", - "xAxisLabel": "", - "yAxisLabel": "", - "showXAxisLabel": false, - "showYAxisLabel": false, - "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": "breakdown_uniqueValues", + "type": "nominal", + "title": "Breakdown" + }, + "y": { + "field": "messageCount_sum", + "type": "quantitative", + "title": "Message Count (Sum)" } + }, + "style": { + "legendPosition": "none" } } } diff --git a/plugins/Cloudflare/v2/defaultContent/Zones/zoneSecurity.dash.json b/plugins/Cloudflare/v2/defaultContent/Zones/zoneSecurity.dash.json index f50b4cb6..f51424df 100644 --- a/plugins/Cloudflare/v2/defaultContent/Zones/zoneSecurity.dash.json +++ b/plugins/Cloudflare/v2/defaultContent/Zones/zoneSecurity.dash.json @@ -48,19 +48,31 @@ "{{variables.[Cloudflare Zone]}}" ], "timeframe": "last30days", - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "datetime", - "yAxisColumn": [ - "events" - ], - "seriesColumn": "zoneName", - "showLegend": false, - "legendPosition": "bottom", - "showYAxisLabel": false, - "showTrendLine": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "datetime", + "type": "temporal", + "title": "Time" + }, + "y": { + "field": "events", + "type": "quantitative", + "title": "Events" + }, + "series": { + "field": "zoneName", + "type": "nominal", + "title": "Zone" + } + }, + "style": { + "legendPosition": "none", + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none" } } } @@ -122,16 +134,29 @@ "variables": [ "{{variables.[Cloudflare Zone]}}" ], - "visualisation": { - "type": "data-stream-donut-chart", - "config": { - "data-stream-donut-chart": { - "valueColumn": "events_sum", - "labelColumn": "action_uniqueValues", - "hideCenterValue": false, - "showValuesAsPercentage": false, - "legendPosition": "auto", - "legendMode": "table" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "pie", + "encoding": { + "label": { + "field": "action_uniqueValues", + "type": "nominal", + "title": "Action" + }, + "value": { + "field": "events_sum", + "type": "quantitative", + "aggregate": "sum", + "title": "Events (Sum)" + } + }, + "style": { + "pieInnerRadius": 60, + "pieDonutCenterValue": "total", + "labelFontSize": 16, + "pieSort": "desc", + "pieLegendStyle": "table" } } } @@ -193,16 +218,29 @@ "variables": [ "{{variables.[Cloudflare Zone]}}" ], - "visualisation": { - "type": "data-stream-donut-chart", - "config": { - "data-stream-donut-chart": { - "valueColumn": "events_sum", - "labelColumn": "breakdown_uniqueValues", - "hideCenterValue": false, - "showValuesAsPercentage": false, - "legendPosition": "auto", - "legendMode": "table" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "pie", + "encoding": { + "label": { + "field": "breakdown_uniqueValues", + "type": "nominal", + "title": "Breakdown" + }, + "value": { + "field": "events_sum", + "type": "quantitative", + "aggregate": "sum", + "title": "Events (Sum)" + } + }, + "style": { + "pieInnerRadius": 60, + "pieDonutCenterValue": "total", + "labelFontSize": 16, + "pieSort": "desc", + "pieLegendStyle": "table" } } } @@ -265,30 +303,24 @@ "variables": [ "{{variables.[Cloudflare Zone]}}" ], - "visualisation": { - "type": "data-stream-bar-chart", - "config": { - "data-stream-bar-chart": { - "xAxisData": "breakdown_uniqueValues", - "yAxisData": [ - "events_sum" - ], - "xAxisGroup": "none", - "xAxisLabel": "", - "yAxisLabel": "", - "showXAxisLabel": false, - "showYAxisLabel": false, - "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": "breakdown_uniqueValues", + "type": "nominal", + "title": "Breakdown" + }, + "y": { + "field": "events_sum", + "type": "quantitative", + "title": "Events (Sum)" } + }, + "style": { + "legendPosition": "none" } } } @@ -351,30 +383,24 @@ "variables": [ "{{variables.[Cloudflare Zone]}}" ], - "visualisation": { - "type": "data-stream-bar-chart", - "config": { - "data-stream-bar-chart": { - "xAxisData": "breakdown_uniqueValues", - "yAxisData": [ - "events_sum" - ], - "xAxisGroup": "none", - "xAxisLabel": "", - "yAxisLabel": "", - "showXAxisLabel": false, - "showYAxisLabel": false, - "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": "breakdown_uniqueValues", + "type": "nominal", + "title": "Breakdown" + }, + "y": { + "field": "events_sum", + "type": "quantitative", + "title": "Events (Sum)" } + }, + "style": { + "legendPosition": "none" } } } @@ -409,29 +435,82 @@ ] } }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false, - "columnOrder": [ - "datetime", - "actionState", - "action", - "source", - "description", - "clientIP", - "clientCountryName", - "clientRequestHTTPHost", - "clientRequestPath", - "rayName" - ], - "hiddenColumns": [ - "ruleId", - "clientASNDescription", - "clientRequestHTTPMethodName", - "userAgent", - "edgeResponseStatus" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "datetime", + "title": "Time", + "renderer": { + "type": "date" + } + }, + { + "field": "actionState", + "title": "Severity", + "renderer": { + "type": "status" + } + }, + { + "field": "action", + "title": "Action", + "renderer": { + "type": "text" + } + }, + { + "field": "source", + "title": "Service", + "renderer": { + "type": "text" + } + }, + { + "field": "description", + "title": "Rule", + "renderer": { + "type": "text" + } + }, + { + "field": "clientIP", + "title": "Client IP", + "renderer": { + "type": "text" + } + }, + { + "field": "clientCountryName", + "title": "Country", + "renderer": { + "type": "text" + } + }, + { + "field": "clientRequestHTTPHost", + "title": "Host", + "renderer": { + "type": "text" + } + }, + { + "field": "clientRequestPath", + "title": "Path", + "renderer": { + "type": "text" + } + }, + { + "field": "rayName", + "title": "Ray ID", + "renderer": { + "type": "text" + } + } ] } } @@ -503,16 +582,29 @@ "variables": [ "{{variables.[Cloudflare Zone]}}" ], - "visualisation": { - "type": "data-stream-donut-chart", - "config": { - "data-stream-donut-chart": { - "valueColumn": "events_sum", - "labelColumn": "breakdown_uniqueValues", - "hideCenterValue": false, - "showValuesAsPercentage": false, - "legendPosition": "auto", - "legendMode": "table" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "pie", + "encoding": { + "label": { + "field": "breakdown_uniqueValues", + "type": "nominal", + "title": "Breakdown" + }, + "value": { + "field": "events_sum", + "type": "quantitative", + "aggregate": "sum", + "title": "Events (Sum)" + } + }, + "style": { + "pieInnerRadius": 60, + "pieDonutCenterValue": "total", + "labelFontSize": 16, + "pieSort": "desc", + "pieLegendStyle": "table" } } } diff --git a/plugins/Cloudflare/v2/defaultContent/Zones/zoneTraffic.dash.json b/plugins/Cloudflare/v2/defaultContent/Zones/zoneTraffic.dash.json index 9aa87338..0ead3a2e 100644 --- a/plugins/Cloudflare/v2/defaultContent/Zones/zoneTraffic.dash.json +++ b/plugins/Cloudflare/v2/defaultContent/Zones/zoneTraffic.dash.json @@ -51,30 +51,24 @@ "variables": [ "{{variables.[Cloudflare Zone]}}" ], - "visualisation": { - "type": "data-stream-bar-chart", - "config": { - "data-stream-bar-chart": { - "xAxisData": "breakdown", - "yAxisData": [ - "requests" - ], - "xAxisGroup": "none", - "xAxisLabel": "", - "yAxisLabel": "", - "showXAxisLabel": false, - "showYAxisLabel": false, - "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": "breakdown", + "type": "nominal", + "title": "Breakdown" + }, + "y": { + "field": "requests", + "type": "quantitative", + "title": "Requests" } + }, + "style": { + "legendPosition": "none" } } } @@ -121,16 +115,29 @@ "variables": [ "{{variables.[Cloudflare Zone]}}" ], - "visualisation": { - "type": "data-stream-donut-chart", - "config": { - "data-stream-donut-chart": { - "valueColumn": "requests", - "labelColumn": "breakdown", - "hideCenterValue": false, - "showValuesAsPercentage": false, - "legendPosition": "auto", - "legendMode": "table" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "pie", + "encoding": { + "label": { + "field": "breakdown", + "type": "nominal", + "title": "Breakdown" + }, + "value": { + "field": "requests", + "type": "quantitative", + "aggregate": "sum", + "title": "Requests" + } + }, + "style": { + "pieInnerRadius": 60, + "pieDonutCenterValue": "total", + "labelFontSize": 16, + "pieSort": "desc", + "pieLegendStyle": "table" } } } @@ -176,16 +183,29 @@ "variables": [ "{{variables.[Cloudflare Zone]}}" ], - "visualisation": { - "type": "data-stream-donut-chart", - "config": { - "data-stream-donut-chart": { - "valueColumn": "requests", - "labelColumn": "breakdown", - "hideCenterValue": false, - "showValuesAsPercentage": false, - "legendPosition": "auto", - "legendMode": "table" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "pie", + "encoding": { + "label": { + "field": "breakdown", + "type": "nominal", + "title": "Breakdown" + }, + "value": { + "field": "requests", + "type": "quantitative", + "aggregate": "sum", + "title": "Requests" + } + }, + "style": { + "pieInnerRadius": 60, + "pieDonutCenterValue": "total", + "labelFontSize": 16, + "pieSort": "desc", + "pieLegendStyle": "table" } } } @@ -231,16 +251,29 @@ "variables": [ "{{variables.[Cloudflare Zone]}}" ], - "visualisation": { - "type": "data-stream-donut-chart", - "config": { - "data-stream-donut-chart": { - "valueColumn": "requests", - "labelColumn": "breakdown", - "hideCenterValue": false, - "showValuesAsPercentage": false, - "legendPosition": "auto", - "legendMode": "table" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "pie", + "encoding": { + "label": { + "field": "breakdown", + "type": "nominal", + "title": "Breakdown" + }, + "value": { + "field": "requests", + "type": "quantitative", + "aggregate": "sum", + "title": "Requests" + } + }, + "style": { + "pieInnerRadius": 60, + "pieDonutCenterValue": "total", + "labelFontSize": 16, + "pieSort": "desc", + "pieLegendStyle": "table" } } } @@ -286,16 +319,29 @@ "variables": [ "{{variables.[Cloudflare Zone]}}" ], - "visualisation": { - "type": "data-stream-donut-chart", - "config": { - "data-stream-donut-chart": { - "valueColumn": "requests", - "labelColumn": "breakdown", - "hideCenterValue": false, - "showValuesAsPercentage": false, - "legendPosition": "auto", - "legendMode": "table" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "pie", + "encoding": { + "label": { + "field": "breakdown", + "type": "nominal", + "title": "Breakdown" + }, + "value": { + "field": "requests", + "type": "quantitative", + "aggregate": "sum", + "title": "Requests" + } + }, + "style": { + "pieInnerRadius": 60, + "pieDonutCenterValue": "total", + "labelFontSize": 16, + "pieSort": "desc", + "pieLegendStyle": "table" } } } @@ -341,16 +387,29 @@ "variables": [ "{{variables.[Cloudflare Zone]}}" ], - "visualisation": { - "type": "data-stream-donut-chart", - "config": { - "data-stream-donut-chart": { - "valueColumn": "requests", - "labelColumn": "breakdown", - "hideCenterValue": false, - "showValuesAsPercentage": false, - "legendPosition": "auto", - "legendMode": "table" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "pie", + "encoding": { + "label": { + "field": "breakdown", + "type": "nominal", + "title": "Breakdown" + }, + "value": { + "field": "requests", + "type": "quantitative", + "aggregate": "sum", + "title": "Requests" + } + }, + "style": { + "pieInnerRadius": 60, + "pieDonutCenterValue": "total", + "labelFontSize": 16, + "pieSort": "desc", + "pieLegendStyle": "table" } } } @@ -410,30 +469,24 @@ "variables": [ "{{variables.[Cloudflare Zone]}}" ], - "visualisation": { - "type": "data-stream-bar-chart", - "config": { - "data-stream-bar-chart": { - "xAxisData": "dimensions.selectedPoolName_uniqueValues", - "yAxisData": [ - "count_sum" - ], - "xAxisGroup": "none", - "xAxisLabel": "", - "yAxisLabel": "", - "showXAxisLabel": false, - "showYAxisLabel": false, - "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": "dimensions.selectedPoolName_uniqueValues", + "type": "nominal", + "title": "Pool" + }, + "y": { + "field": "count_sum", + "type": "quantitative", + "title": "Requests (Sum)" } + }, + "style": { + "legendPosition": "none" } } } @@ -493,30 +546,24 @@ "variables": [ "{{variables.[Cloudflare Zone]}}" ], - "visualisation": { - "type": "data-stream-bar-chart", - "config": { - "data-stream-bar-chart": { - "xAxisData": "dimensions.selectedOriginName_uniqueValues", - "yAxisData": [ - "count_sum" - ], - "xAxisGroup": "none", - "xAxisLabel": "", - "yAxisLabel": "", - "showXAxisLabel": false, - "showYAxisLabel": false, - "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": "dimensions.selectedOriginName_uniqueValues", + "type": "nominal", + "title": "Origin" + }, + "y": { + "field": "count_sum", + "type": "quantitative", + "title": "Requests (Sum)" } + }, + "style": { + "legendPosition": "none" } } } @@ -578,16 +625,29 @@ "variables": [ "{{variables.[Cloudflare Zone]}}" ], - "visualisation": { - "type": "data-stream-donut-chart", - "config": { - "data-stream-donut-chart": { - "valueColumn": "operationCount_sum", - "labelColumn": "breakdown_uniqueValues", - "hideCenterValue": false, - "showValuesAsPercentage": false, - "legendPosition": "auto", - "legendMode": "table" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "pie", + "encoding": { + "label": { + "field": "breakdown_uniqueValues", + "type": "nominal", + "title": "Breakdown" + }, + "value": { + "field": "operationCount_sum", + "type": "quantitative", + "aggregate": "sum", + "title": "Operation Count (Sum)" + } + }, + "style": { + "pieInnerRadius": 60, + "pieDonutCenterValue": "total", + "labelFontSize": 16, + "pieSort": "desc", + "pieLegendStyle": "table" } } } @@ -646,19 +706,27 @@ "variables": [ "{{variables.[Cloudflare Zone]}}" ], - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "dimensions.datetime_byHour", - "yAxisColumn": [ - "max.storedBytes_max" - ], - "seriesColumn": "none", - "showLegend": false, - "legendPosition": "bottom", - "showYAxisLabel": false, - "showTrendLine": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "dimensions.datetime_byHour", + "type": "temporal", + "title": "Time" + }, + "y": { + "field": "max.storedBytes_max", + "type": "quantitative", + "title": "Stored Size (Maximum)" + } + }, + "style": { + "legendPosition": "none", + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "cartesianAreaGradient": true } } } @@ -722,30 +790,24 @@ "variables": [ "{{variables.[Cloudflare Zone]}}" ], - "visualisation": { - "type": "data-stream-bar-chart", - "config": { - "data-stream-bar-chart": { - "xAxisData": "breakdown_uniqueValues", - "yAxisData": [ - "events_sum" - ], - "xAxisGroup": "none", - "xAxisLabel": "", - "yAxisLabel": "", - "showXAxisLabel": false, - "showYAxisLabel": false, - "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": "breakdown_uniqueValues", + "type": "nominal", + "title": "Breakdown" + }, + "y": { + "field": "events_sum", + "type": "quantitative", + "title": "Events (Sum)" } + }, + "style": { + "legendPosition": "none" } } } diff --git a/plugins/Cloudflare/v2/defaultContent/Zones/zoneWebPerformance.dash.json b/plugins/Cloudflare/v2/defaultContent/Zones/zoneWebPerformance.dash.json index 39374958..8b3a5e1a 100644 --- a/plugins/Cloudflare/v2/defaultContent/Zones/zoneWebPerformance.dash.json +++ b/plugins/Cloudflare/v2/defaultContent/Zones/zoneWebPerformance.dash.json @@ -51,13 +51,21 @@ "variables": [ "{{variables.[Cloudflare Zone]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "largestContentfulPaintP75_mean", - "comparisonColumn": "none", - "label": "LCP (P75)" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "largestContentfulPaintP75_mean", + "type": "quantitative", + "title": "Largest Contentful Paint (P75) (Average)" + } + ] + }, + "style": { + "scalarLabelText": "LCP (P75)" } } } @@ -104,13 +112,21 @@ "variables": [ "{{variables.[Cloudflare Zone]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "interactionToNextPaintP75_mean", - "comparisonColumn": "none", - "label": "INP (P75)" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "interactionToNextPaintP75_mean", + "type": "quantitative", + "title": "Interaction to Next Paint (P75) (Average)" + } + ] + }, + "style": { + "scalarLabelText": "INP (P75)" } } } @@ -157,13 +173,21 @@ "variables": [ "{{variables.[Cloudflare Zone]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "cumulativeLayoutShiftP75_mean", - "comparisonColumn": "none", - "label": "CLS (P75)" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "cumulativeLayoutShiftP75_mean", + "type": "quantitative", + "title": "Cumulative Layout Shift (P75) (Average)" + } + ] + }, + "style": { + "scalarLabelText": "CLS (P75)" } } } @@ -210,13 +234,21 @@ "variables": [ "{{variables.[Cloudflare Zone]}}" ], - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": "count_sum", - "comparisonColumn": "none", - "label": "RUM Samples" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [ + { + "field": "count_sum", + "type": "quantitative", + "title": "Samples (Sum)" + } + ] + }, + "style": { + "scalarLabelText": "RUM Samples" } } } @@ -282,20 +314,22 @@ "variables": [ "{{variables.[Cloudflare Zone]}}" ], - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "dimensions.date_byDay", - "yAxisColumn": [ - "largestContentfulPaintP75_mean", - "interactionToNextPaintP75_mean" - ], - "seriesColumn": "none", - "showLegend": true, + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "dimensions.date_byDay", + "type": "temporal", + "title": "Time" + } + }, + "style": { "legendPosition": "bottom", - "showYAxisLabel": false, - "showTrendLine": false + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "cartesianAreaGradient": true } } } @@ -355,19 +389,27 @@ "variables": [ "{{variables.[Cloudflare Zone]}}" ], - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "dimensions.date_byDay", - "yAxisColumn": [ - "cumulativeLayoutShiftP75_mean" - ], - "seriesColumn": "none", - "showLegend": false, - "legendPosition": "bottom", - "showYAxisLabel": false, - "showTrendLine": false + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "dimensions.date_byDay", + "type": "temporal", + "title": "Time" + }, + "y": { + "field": "cumulativeLayoutShiftP75_mean", + "type": "quantitative", + "title": "Cumulative Layout Shift (P75) (Average)" + } + }, + "style": { + "legendPosition": "none", + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "cartesianAreaGradient": true } } } @@ -436,20 +478,22 @@ "variables": [ "{{variables.[Cloudflare Zone]}}" ], - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "date_byDay", - "yAxisColumn": [ - "pageViews_sum", - "visits_sum" - ], - "seriesColumn": "none", - "showLegend": true, + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "date_byDay", + "type": "temporal", + "title": "Time" + } + }, + "style": { "legendPosition": "bottom", - "showYAxisLabel": false, - "showTrendLine": false + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "cartesianAreaGradient": true } } } @@ -513,30 +557,24 @@ "variables": [ "{{variables.[Cloudflare Zone]}}" ], - "visualisation": { - "type": "data-stream-bar-chart", - "config": { - "data-stream-bar-chart": { - "xAxisData": "breakdown_uniqueValues", - "yAxisData": [ - "pageViews_sum" - ], - "xAxisGroup": "none", - "xAxisLabel": "", - "yAxisLabel": "", - "showXAxisLabel": false, - "showYAxisLabel": false, - "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": "breakdown_uniqueValues", + "type": "nominal", + "title": "Breakdown" + }, + "y": { + "field": "pageViews_sum", + "type": "quantitative", + "title": "Page Views (Sum)" } + }, + "style": { + "legendPosition": "none" } } } @@ -600,16 +638,29 @@ "variables": [ "{{variables.[Cloudflare Zone]}}" ], - "visualisation": { - "type": "data-stream-donut-chart", - "config": { - "data-stream-donut-chart": { - "valueColumn": "pageViews_sum", - "labelColumn": "breakdown_uniqueValues", - "hideCenterValue": false, - "showValuesAsPercentage": false, - "legendPosition": "auto", - "legendMode": "table" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "pie", + "encoding": { + "label": { + "field": "breakdown_uniqueValues", + "type": "nominal", + "title": "Breakdown" + }, + "value": { + "field": "pageViews_sum", + "type": "quantitative", + "aggregate": "sum", + "title": "Page Views (Sum)" + } + }, + "style": { + "pieInnerRadius": 60, + "pieDonutCenterValue": "total", + "labelFontSize": 16, + "pieSort": "desc", + "pieLegendStyle": "table" } } } @@ -652,24 +703,54 @@ "variables": [ "{{variables.[Cloudflare Zone]}}" ], - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "dimensions.date", - "yAxisColumn": [ - "dnsTime", - "connectionTime", - "requestTime", - "responseTime", - "firstContentfulPaint", - "pageLoadTime" - ], - "seriesColumn": "none", - "showLegend": true, + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "dimensions.date", + "type": "temporal", + "title": "Time" + }, + "y": [ + { + "field": "dnsTime", + "type": "quantitative", + "title": "DNS P75" + }, + { + "field": "connectionTime", + "type": "quantitative", + "title": "Connection P75" + }, + { + "field": "requestTime", + "type": "quantitative", + "title": "Request P75" + }, + { + "field": "responseTime", + "type": "quantitative", + "title": "Response P75" + }, + { + "field": "firstContentfulPaint", + "type": "quantitative", + "title": "First Contentful Paint P75" + }, + { + "field": "pageLoadTime", + "type": "quantitative", + "title": "Page Load P75" + } + ] + }, + "style": { "legendPosition": "bottom", - "showYAxisLabel": false, - "showTrendLine": false + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none", + "cartesianAreaGradient": true } } }, diff --git a/plugins/Cloudflare/v2/defaultContent/inventory.dash.json b/plugins/Cloudflare/v2/defaultContent/inventory.dash.json index b54bc63f..7aeef24f 100644 --- a/plugins/Cloudflare/v2/defaultContent/inventory.dash.json +++ b/plugins/Cloudflare/v2/defaultContent/inventory.dash.json @@ -41,38 +41,65 @@ "scope": "{{scopes.[Cloudflare Zones]}}", "workspace": "{{workspaceId}}" }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false, - "columnOrder": [ - "name", - "status", - "planName", - "accountName", - "zoneType", - "developmentModeActive", - "activatedOn" - ], - "hiddenColumns": [ - "id", - "label", - "link", - "links", - "sourceId", - "sourceName", - "type", - "sourceType", - "accountId", - "paused", - "createdOn", - "nameServers" - ], - "rowLinkColumnName": { - "value": "link", - "label": "Link" - } + "vizSpec": { + "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" + } + } + ] + }, + "style": { + "richTableRowLinkField": "link" } } } @@ -162,19 +189,27 @@ "scope": "{{scopes.[Cloudflare Pages Projects]}}", "workspace": "{{workspaceId}}" }, - "visualisation": { - "type": "data-stream-blocks", - "config": { - "data-stream-blocks": { - "labelColumn": "name", - "stateColumn": "latestDeploymentStatus", - "sublabel": "productionBranch", - "linkColumn": "link", - "columns": 2, - "rowLinkColumnName": { - "value": "link", - "label": "Link" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "statusGrid", + "encoding": { + "label": { + "field": "name", + "type": "nominal" + }, + "status": { + "field": "latestDeploymentStatus", + "type": "nominal" + }, + "link": { + "field": "link", + "type": "nominal" } + }, + "style": { + "statusGridColumnsPerRow": 2, + "statusGridSecondaryTemplate": "{{{{raw}}}}{{productionBranch}}{{{{/raw}}}}" } } } @@ -213,19 +248,27 @@ "scope": "{{scopes.[Cloudflare Tunnels]}}", "workspace": "{{workspaceId}}" }, - "visualisation": { - "type": "data-stream-blocks", - "config": { - "data-stream-blocks": { - "labelColumn": "name", - "stateColumn": "status", - "sublabel": "tunnelType", - "linkColumn": "link", - "columns": 2, - "rowLinkColumnName": { - "value": "link", - "label": "Link" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "statusGrid", + "encoding": { + "label": { + "field": "name", + "type": "nominal" + }, + "status": { + "field": "status", + "type": "nominal" + }, + "link": { + "field": "link", + "type": "nominal" } + }, + "style": { + "statusGridColumnsPerRow": 2, + "statusGridSecondaryTemplate": "{{{{raw}}}}{{tunnelType}}{{{{/raw}}}}" } } } @@ -720,21 +763,33 @@ "scope": "{{scopes.[Cloudflare Zones]}}", "workspace": "{{workspaceId}}" }, - "visualisation": { - "type": "data-stream-table", - "config": { - "data-stream-table": { - "transpose": false, - "columnOrder": [ - "pattern", - "scriptName", - "zoneName" - ], - "hiddenColumns": [ - "sourceId", - "accountId", - "zoneId", - "workerSourceId" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "richTable", + "encoding": { + "columns": [ + { + "field": "pattern", + "title": "Route", + "renderer": { + "type": "text" + } + }, + { + "field": "scriptName", + "title": "Worker", + "renderer": { + "type": "text" + } + }, + { + "field": "zoneName", + "title": "Zone", + "renderer": { + "type": "text" + } + } ] } } diff --git a/plugins/Cloudflare/v2/defaultContent/overview.dash.json b/plugins/Cloudflare/v2/defaultContent/overview.dash.json index 5d44c65f..38a14eda 100644 --- a/plugins/Cloudflare/v2/defaultContent/overview.dash.json +++ b/plugins/Cloudflare/v2/defaultContent/overview.dash.json @@ -33,15 +33,16 @@ "scope": "{{scopes.[Cloudflare Accounts]}}", "workspace": "{{workspaceId}}" }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": { - "type": "count" - }, - "comparisonColumn": "none", - "label": "Accounts" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [] + }, + "style": { + "scalarLabelText": "Accounts", + "scalarRowCount": true } } } @@ -72,15 +73,16 @@ "scope": "{{scopes.[Cloudflare Zones]}}", "workspace": "{{workspaceId}}" }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": { - "type": "count" - }, - "comparisonColumn": "none", - "label": "Zones" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [] + }, + "style": { + "scalarLabelText": "Zones", + "scalarRowCount": true } } } @@ -111,15 +113,16 @@ "scope": "{{scopes.[Cloudflare Workers]}}", "workspace": "{{workspaceId}}" }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": { - "type": "count" - }, - "comparisonColumn": "none", - "label": "Workers" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [] + }, + "style": { + "scalarLabelText": "Workers", + "scalarRowCount": true } } } @@ -150,15 +153,16 @@ "scope": "{{scopes.[Cloudflare Pages Projects]}}", "workspace": "{{workspaceId}}" }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": { - "type": "count" - }, - "comparisonColumn": "none", - "label": "Pages Projects" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [] + }, + "style": { + "scalarLabelText": "Pages Projects", + "scalarRowCount": true } } } @@ -189,15 +193,16 @@ "scope": "{{scopes.[Cloudflare R2 Buckets]}}", "workspace": "{{workspaceId}}" }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": { - "type": "count" - }, - "comparisonColumn": "none", - "label": "R2 Buckets" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [] + }, + "style": { + "scalarLabelText": "R2 Buckets", + "scalarRowCount": true } } } @@ -228,15 +233,16 @@ "scope": "{{scopes.[Cloudflare KV Namespaces]}}", "workspace": "{{workspaceId}}" }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": { - "type": "count" - }, - "comparisonColumn": "none", - "label": "KV Namespaces" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [] + }, + "style": { + "scalarLabelText": "KV Namespaces", + "scalarRowCount": true } } } @@ -267,15 +273,16 @@ "scope": "{{scopes.[Cloudflare D1 Databases]}}", "workspace": "{{workspaceId}}" }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": { - "type": "count" - }, - "comparisonColumn": "none", - "label": "D1 Databases" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [] + }, + "style": { + "scalarLabelText": "D1 Databases", + "scalarRowCount": true } } } @@ -306,15 +313,16 @@ "scope": "{{scopes.[Cloudflare Queues]}}", "workspace": "{{workspaceId}}" }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": { - "type": "count" - }, - "comparisonColumn": "none", - "label": "Queues" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [] + }, + "style": { + "scalarLabelText": "Queues", + "scalarRowCount": true } } } @@ -345,15 +353,16 @@ "scope": "{{scopes.[Cloudflare Tunnels]}}", "workspace": "{{workspaceId}}" }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": { - "type": "count" - }, - "comparisonColumn": "none", - "label": "Tunnels" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [] + }, + "style": { + "scalarLabelText": "Tunnels", + "scalarRowCount": true } } } @@ -384,15 +393,16 @@ "scope": "{{scopes.[Cloudflare Load Balancer Pools]}}", "workspace": "{{workspaceId}}" }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": { - "type": "count" - }, - "comparisonColumn": "none", - "label": "Load Balancer Pools" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [] + }, + "style": { + "scalarLabelText": "Load Balancer Pools", + "scalarRowCount": true } } } @@ -423,15 +433,16 @@ "scope": "{{scopes.[Cloudflare Access Applications]}}", "workspace": "{{workspaceId}}" }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": { - "type": "count" - }, - "comparisonColumn": "none", - "label": "Access Applications" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [] + }, + "style": { + "scalarLabelText": "Access Applications", + "scalarRowCount": true } } } @@ -472,15 +483,16 @@ "scope": "{{scopes.[Cloudflare Zones]}}", "workspace": "{{workspaceId}}" }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": { - "type": "count" - }, - "comparisonColumn": "none", - "label": "Zones Paused" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [] + }, + "style": { + "scalarLabelText": "Zones Paused", + "scalarRowCount": true } } } @@ -511,15 +523,16 @@ "scope": "{{scopes.[Cloudflare Durable Object Namespaces]}}", "workspace": "{{workspaceId}}" }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": { - "type": "count" - }, - "comparisonColumn": "none", - "label": "Durable Object Namespaces" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [] + }, + "style": { + "scalarLabelText": "Durable Object Namespaces", + "scalarRowCount": true } } } @@ -550,15 +563,16 @@ "scope": "{{scopes.[Cloudflare Vectorize Indexes]}}", "workspace": "{{workspaceId}}" }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": { - "type": "count" - }, - "comparisonColumn": "none", - "label": "Vectorize Indexes" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [] + }, + "style": { + "scalarLabelText": "Vectorize Indexes", + "scalarRowCount": true } } } @@ -589,15 +603,16 @@ "scope": "{{scopes.[Cloudflare Hyperdrive Configs]}}", "workspace": "{{workspaceId}}" }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": { - "type": "count" - }, - "comparisonColumn": "none", - "label": "Hyperdrive Configs" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [] + }, + "style": { + "scalarLabelText": "Hyperdrive Configs", + "scalarRowCount": true } } } @@ -628,15 +643,16 @@ "scope": "{{scopes.[Cloudflare Worker Routes]}}", "workspace": "{{workspaceId}}" }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": { - "type": "count" - }, - "comparisonColumn": "none", - "label": "Worker Routes" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [] + }, + "style": { + "scalarLabelText": "Worker Routes", + "scalarRowCount": true } } } @@ -667,15 +683,16 @@ "scope": "{{scopes.[Cloudflare Worker Bindings]}}", "workspace": "{{workspaceId}}" }, - "visualisation": { - "type": "data-stream-scalar", - "config": { - "data-stream-scalar": { - "value": { - "type": "count" - }, - "comparisonColumn": "none", - "label": "Worker Bindings" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "scalar", + "encoding": { + "values": [] + }, + "style": { + "scalarLabelText": "Worker Bindings", + "scalarRowCount": true } } } @@ -715,15 +732,27 @@ "scope": "{{scopes.[Cloudflare Zones]}}", "workspace": "{{workspaceId}}" }, - "visualisation": { - "type": "data-stream-blocks", - "config": { - "data-stream-blocks": { - "labelColumn": "name", - "stateColumn": "state", - "sublabel": "plan.name", - "linkColumn": "name", - "columns": 4 + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "statusGrid", + "encoding": { + "label": { + "field": "name", + "type": "nominal" + }, + "status": { + "field": "state", + "type": "nominal" + }, + "link": { + "field": "name", + "type": "nominal" + } + }, + "style": { + "statusGridColumnsPerRow": 4, + "statusGridSecondaryTemplate": "{{{{raw}}}}{{lookup this \"plan.name\"}}{{{{/raw}}}}" } } }, @@ -779,19 +808,31 @@ "workspace": "{{workspaceId}}" }, "timeframe": "last24hours", - "visualisation": { - "type": "data-stream-line-graph", - "config": { - "data-stream-line-graph": { - "xAxisColumn": "datetime", - "yAxisColumn": [ - "requests" - ], - "seriesColumn": "zoneName", - "showLegend": true, + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "line", + "encoding": { + "x": { + "field": "datetime", + "type": "temporal", + "title": "Time" + }, + "y": { + "field": "requests", + "type": "quantitative", + "title": "Requests" + }, + "series": { + "field": "zoneName", + "type": "nominal", + "title": "Zone" + } + }, + "style": { "legendPosition": "bottom", - "showYAxisLabel": false, - "showTrendLine": false + "cartesianYAxisRangeMode": "fit", + "cartesianSymbol": "none" } } } @@ -851,30 +892,25 @@ "workspace": "{{workspaceId}}" }, "timeframe": "last24hours", - "visualisation": { - "type": "data-stream-bar-chart", - "config": { - "data-stream-bar-chart": { - "xAxisData": "zoneName_uniqueValues", - "yAxisData": [ - "requests_sum" - ], - "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": "zoneName_uniqueValues", + "type": "nominal", + "title": "Zone" + }, + "y": { + "field": "requests_sum", + "type": "quantitative", + "title": "Requests (Sum)" } + }, + "style": { + "legendPosition": "none", + "cartesianHorizontal": true } } } @@ -934,16 +970,29 @@ "workspace": "{{workspaceId}}" }, "timeframe": "last24hours", - "visualisation": { - "type": "data-stream-donut-chart", - "config": { - "data-stream-donut-chart": { - "valueColumn": "bytes_sum", - "labelColumn": "zoneName_uniqueValues", - "hideCenterValue": false, - "showValuesAsPercentage": false, - "legendPosition": "auto", - "legendMode": "table" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "pie", + "encoding": { + "label": { + "field": "zoneName_uniqueValues", + "type": "nominal", + "title": "Zone" + }, + "value": { + "field": "bytes_sum", + "type": "quantitative", + "aggregate": "sum", + "title": "Bandwidth (Sum)" + } + }, + "style": { + "pieInnerRadius": 60, + "pieDonutCenterValue": "total", + "labelFontSize": 16, + "pieSort": "desc", + "pieLegendStyle": "table" } } } @@ -995,16 +1044,60 @@ "scope": "{{scopes.[Cloudflare Zones]}}", "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" + } } } } @@ -1056,16 +1149,29 @@ "scope": "{{scopes.[Cloudflare Zones]}}", "workspace": "{{workspaceId}}" }, - "visualisation": { - "type": "data-stream-donut-chart", - "config": { - "data-stream-donut-chart": { - "valueColumn": "count", - "labelColumn": "planName_uniqueValues", - "hideCenterValue": false, - "showValuesAsPercentage": false, - "legendPosition": "auto", - "legendMode": "table" + "vizSpec": { + "version": "1.0", + "visualization": { + "chartType": "pie", + "encoding": { + "label": { + "field": "planName_uniqueValues", + "type": "nominal", + "title": "Plan Name" + }, + "value": { + "field": "count", + "type": "quantitative", + "aggregate": "sum", + "title": "Count" + } + }, + "style": { + "pieInnerRadius": 60, + "pieDonutCenterValue": "total", + "labelFontSize": 16, + "pieSort": "desc", + "pieLegendStyle": "table" } } } diff --git a/plugins/Cloudflare/v2/metadata.json b/plugins/Cloudflare/v2/metadata.json index 4f2092ba..f2d6dce0 100644 --- a/plugins/Cloudflare/v2/metadata.json +++ b/plugins/Cloudflare/v2/metadata.json @@ -1,7 +1,7 @@ { "name": "Cloudflare", "displayName": "Cloudflare", - "version": "2.0.0", + "version": "2.0.1", "author": { "name": "SquaredUp", "type": "firstParty"