From 9d480087a06dd6fd3afea90c408f8b45c97b228f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sig=20Narv=C3=A1ez?= Date: Wed, 23 Aug 2023 16:47:23 -0700 Subject: [PATCH 01/10] Data Tiering for STAGE --- .../data_federation_config_stage.json | 41 +++++++++++++++++++ .../game_database/data_tiering/indexes.js | 1 + website/Utils/Constants.cs | 16 ++++++-- 3 files changed, 55 insertions(+), 3 deletions(-) create mode 100644 deployment/game_database/data_tiering/data_federation_config_stage.json create mode 100644 deployment/game_database/data_tiering/indexes.js diff --git a/deployment/game_database/data_tiering/data_federation_config_stage.json b/deployment/game_database/data_tiering/data_federation_config_stage.json new file mode 100644 index 0000000..1f4efd7 --- /dev/null +++ b/deployment/game_database/data_tiering/data_federation_config_stage.json @@ -0,0 +1,41 @@ +{ + "databases": [ + { + "collections": [ + { + "name": "recordings", + "dataSources": [ + { + "collection": "recordings", + "database": "Leafsteroids_stage", + "storeName": "demo" + }, + { + "datasetName": "v1$atlas$archive$demo$Leafsteroids_stage$92a6acf7-3bc8-4909-8bab-f2609ac5fe75$64e687361966474973749c52", + "storeName": "aws-dls-store-us-east-1" + } + ] + } + ], + "name": "Leafsteroids_stage", + "views": [] + } + ], + "stores": [ + { + "clusterName": "demo", + "name": "demo", + "projectId": "5ead7a92758e00636bc31452", + "provider": "atlas", + "readPreference": { + "mode": "secondaryPreferred", + "tagSets": [] + } + }, + { + "name": "aws-dls-store-us-east-1", + "provider": "dls:aws", + "region": "us-east-1" + } + ] +} \ No newline at end of file diff --git a/deployment/game_database/data_tiering/indexes.js b/deployment/game_database/data_tiering/indexes.js new file mode 100644 index 0000000..6570b5c --- /dev/null +++ b/deployment/game_database/data_tiering/indexes.js @@ -0,0 +1 @@ +db.recordings.createIndex({ DateTime: 1 }); \ No newline at end of file diff --git a/website/Utils/Constants.cs b/website/Utils/Constants.cs index 3ab8848..8c2f704 100644 --- a/website/Utils/Constants.cs +++ b/website/Utils/Constants.cs @@ -9,15 +9,25 @@ public static class Constants "https://charts.mongodb.com/charts-global_shared-jebkk/embed/dashboards"; // STAGING - //public const string AtlasChartIdEvent = "64c95022-391d-4240-8d73-b033c8e34195"; - //public const string AtlasChartIdPlayer = "64c95045-413c-4e46-8c40-f033169d4011"; - //public const string AtlasChartIdHome = "64c95059-aef7-4a35-86e8-ea27edd5b50b"; + /* + public const string AtlasChartIdEvent = "64c95022-391d-4240-8d73-b033c8e34195"; + public const string AtlasChartIdPlayer = "64c95045-413c-4e46-8c40-f033169d4011"; + public const string AtlasChartIdHome = "64c95059-aef7-4a35-86e8-ea27edd5b50b"; + */ + + // STAGING WITH DATA TIERING + /* + public const string AtlasChartIdEvent = "64e690fe-8a52-40f6-8961-487724e5d868"; + public const string AtlasChartIdPlayer = "64e69107-a6a2-4aae-828b-caf12cc17fc6"; + public const string AtlasChartIdHome = "64e691bd-8a52-47ef-827a-487724e690aa"; + */ // PRODUCTION public const string AtlasChartIdEvent = "6453fb66-c2fc-4212-8dbd-4ab8365f1ac0"; public const string AtlasChartIdPlayer = "64540ea3-f8b8-4211-8c3b-cff2506301a4"; public const string AtlasChartIdHome = "645abbc7-2258-4908-8eb4-94bbe0c6d324"; + public const string RestServiceEndpointEvents = "events"; public const string RestServiceEndpointPlayers = "players"; public const string RestServiceEndpointPlayersAutoComplete = "players/autocomplete"; From 5a1654696586646159f869c0ac4966a2aa4feca5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sig=20Narv=C3=A1ez?= Date: Wed, 23 Aug 2023 16:48:07 -0700 Subject: [PATCH 02/10] Charts with data tiering on STAGE --- ...vent Dashboard - STAGE - Federated.charts | 737 ++++++++++++++++++ ...ent Top Scores - STAGE - Federated.charts | 131 ++++ ...layer Dashboard - STAGE - Federated.charts | 687 ++++++++++++++++ 3 files changed, 1555 insertions(+) create mode 100644 deployment/atlas_charts/Leafsteroids - Event Dashboard - STAGE - Federated.charts create mode 100644 deployment/atlas_charts/Leafsteroids - Event Top Scores - STAGE - Federated.charts create mode 100644 deployment/atlas_charts/Leafsteroids - Player Dashboard - STAGE - Federated.charts diff --git a/deployment/atlas_charts/Leafsteroids - Event Dashboard - STAGE - Federated.charts b/deployment/atlas_charts/Leafsteroids - Event Dashboard - STAGE - Federated.charts new file mode 100644 index 0000000..cc4d57a --- /dev/null +++ b/deployment/atlas_charts/Leafsteroids - Event Dashboard - STAGE - Federated.charts @@ -0,0 +1,737 @@ +{ + "exportVersion": 6, + "dashboards": { + "dashboard-1": { + "description": "", + "embedding": { + "anonymousAuthEnabled": true, + "allowAllFieldsAnonymousAuth": false, + "anonymousAuthWhitelist": ["location", "Event._id"] + }, + "filters": [{ + "type": "String", + "disabled": true, + "name": "DateTime", + "settings": { + "allOthers": true, + "values": [null, "", "2023-03-22T16:54:43.0237652Z", "2023-03-22T17:26:40.5307982Z", "2023-03-22T17:42:17.8491458Z", "2023-03-22T18:09:21.1234055Z", "2023-03-22T19:01:13.8491565Z", "2023-03-22T19:07:16.827622Z", "2023-03-22T19:13:42.459265Z", "2023-03-22T19:21:19.2251935Z", "2023-03-22T19:46:03.1561755Z", "2023-03-22T19:54:08.8854326Z", "2023-03-22T20:00:17.9214215Z", "2023-03-22T22:00:45.0914022Z", "2023-03-22T22:09:38.3658714Z", "2023-03-22T22:15:28.6340605Z", "2023-03-22T22:29:40.3666591Z", "2023-03-22T23:19:39.8369564Z", "2023-03-22T23:24:59.4745029Z", "2023-03-22T23:46:44.5247699Z", "2023-03-22T23:48:41.9151363Z", "2023-03-23T00:28:57.9465764Z"] + }, + "linkedFields": [{ + "dataSourceId": "data-source-1", + "fieldPath": "DateTime" + }] + }, { + "type": "String", + "disabled": false, + "name": "location", + "settings": { + "allOthers": true, + "values": [null, ""] + }, + "linkedFields": [{ + "dataSourceId": "data-source-1", + "fieldPath": "location" + }] + }, { + "type": "String", + "disabled": false, + "name": "_id", + "settings": { + "allOthers": false, + "values": [] + }, + "linkedFields": [{ + "dataSourceId": "data-source-1", + "fieldPath": "Event._id" + }] + }, { + "type": "String", + "disabled": false, + "name": "Nickname", + "settings": { + "allOthers": false, + "values": [] + }, + "linkedFields": [{ + "dataSourceId": "data-source-1", + "fieldPath": "Player.Nickname" + }] + }], + "layout": [{ + "i": "item-1", + "w": 3, + "h": 2, + "x": 0, + "y": 0 + }, { + "i": "item-2", + "w": 1, + "h": 1, + "x": 0, + "y": 2 + }, { + "i": "item-3", + "w": 3, + "h": 3, + "x": 3, + "y": 1 + }, { + "i": "item-4", + "w": 1, + "h": 1, + "x": 0, + "y": 3 + }, { + "i": "item-5", + "w": 1, + "h": 1, + "x": 1, + "y": 2 + }, { + "i": "item-6", + "w": 1, + "h": 1, + "x": 2, + "y": 2 + }, { + "i": "item-7", + "w": 2, + "h": 1, + "x": 3, + "y": 0 + }, { + "i": "item-8", + "w": 2, + "h": 1, + "x": 1, + "y": 3 + }, { + "i": "item-9", + "w": 1, + "h": 1, + "x": 5, + "y": 0 + }], + "title": "Leafsteroids STAGE - Event Dashboard" + } + }, + "items": { + "item-5": { + "calculatedFields": [], + "channels": { + "value": { + "channelType": "aggregation", + "inferredType": "Number", + "field": "SessionStatisticsPlain.BulletsFired", + "type": "quantitative", + "aggregate": "sum" + } + }, + "chartType": "Number", + "convertedFields": [], + "customisations": { + "options": {}, + "conditionalFormatting": [], + "axes": {}, + "channels": { + "value": { + "numberFormatting": { + "enabled": true, + "value": "Default" + } + } + } + }, + "dashboardId": "dashboard-1", + "dataSourceId": "data-source-1", + "description": "", + "filters": [], + "iconValue": "number", + "interactiveFiltering": "highlight", + "itemType": "chart", + "lookupFields": [], + "meta": {}, + "missedFields": [], + "query": null, + "queryId": null, + "reductions": {}, + "sample": false, + "title": "Total Bullets Fired", + "embedding": {} + }, + "item-8": { + "calculatedFields": [], + "channels": { + "x": { + "channelType": "aggregation", + "inferredType": "Number", + "field": "SessionStatisticsPlain.PowerUpBulletDamageCollected", + "type": "quantitative", + "aggregate": "sum" + }, + "x_series_0": { + "channelType": "aggregation", + "inferredType": "Number", + "field": "SessionStatisticsPlain.PowerUpBulletSpeedCollected", + "type": "quantitative", + "aggregate": "sum" + }, + "x_series_1": { + "channelType": "aggregation", + "inferredType": "Number", + "field": "SessionStatisticsPlain.PowerUpPlayerSpeedCollected", + "type": "quantitative", + "aggregate": "sum" + } + }, + "chartType": "Grouped Bar", + "convertedFields": [], + "customisations": { + "options": {}, + "conditionalFormatting": [], + "axes": { + "x": {} + }, + "channels": { + "x": { + "labelOverride": { + "enabled": true, + "value": "Bullet Damage" + }, + "numberFormatting": { + "enabled": true, + "value": "Default" + } + }, + "x_series_0": { + "labelOverride": { + "enabled": true, + "value": "Bullet Speed" + }, + "numberFormatting": { + "enabled": true, + "value": "Default" + } + }, + "x_series_1": { + "labelOverride": { + "enabled": true, + "value": "Player Speed" + }, + "numberFormatting": { + "enabled": true, + "value": "Default" + } + } + } + }, + "dashboardId": "dashboard-1", + "dataSourceId": "data-source-1", + "description": "", + "filters": [], + "iconValue": "bar-grouped", + "interactiveFiltering": "highlight", + "itemType": "chart", + "lookupFields": [], + "meta": {}, + "missedFields": [], + "query": null, + "queryId": null, + "reductions": {}, + "sample": false, + "title": "Power Ups Collected", + "embedding": {} + }, + "item-6": { + "calculatedFields": [], + "channels": { + "value": { + "channelType": "aggregation", + "inferredType": "Number", + "field": "SessionStatisticsPlain.DamageDone", + "type": "quantitative", + "aggregate": "sum" + } + }, + "chartType": "Number", + "convertedFields": [], + "customisations": { + "options": {}, + "conditionalFormatting": [], + "axes": {}, + "channels": { + "value": { + "numberFormatting": { + "enabled": true, + "value": "Default" + } + } + } + }, + "dashboardId": "dashboard-1", + "dataSourceId": "data-source-1", + "description": "", + "filters": [], + "iconValue": "number", + "interactiveFiltering": "highlight", + "itemType": "chart", + "lookupFields": [], + "meta": {}, + "missedFields": [], + "query": null, + "queryId": null, + "reductions": {}, + "sample": false, + "title": "Total Damage", + "embedding": {} + }, + "item-9": { + "calculatedFields": [], + "channels": { + "value": { + "channelType": "aggregation", + "inferredType": "String", + "field": "Player._id", + "type": "quantitative", + "aggregate": "distinct" + } + }, + "chartType": "Number", + "convertedFields": [], + "customisations": { + "options": {}, + "conditionalFormatting": [], + "axes": {}, + "channels": { + "value": { + "numberFormatting": { + "enabled": true, + "value": "Default" + } + } + } + }, + "dashboardId": "dashboard-1", + "dataSourceId": "data-source-1", + "description": "", + "filters": [], + "iconValue": "number", + "interactiveFiltering": "highlight", + "itemType": "chart", + "lookupFields": [], + "meta": {}, + "missedFields": [], + "query": null, + "queryId": null, + "reductions": {}, + "sample": false, + "title": "# Unique Players", + "embedding": {} + }, + "item-3": { + "calculatedFields": [], + "channels": { + "group": { + "channelType": "category", + "inferredType": "String", + "field": "Player.Nickname", + "type": "nominal", + "isBinning": false + }, + "value": { + "channelType": "aggregation", + "inferredType": "Number", + "field": "SessionStatisticsPlain.Score", + "type": "quantitative", + "aggregate": "max" + } + }, + "chartType": "Data Table", + "convertedFields": [], + "customisations": { + "options": { + "totalsColumn": { + "enabled": false, + "value": null + } + }, + "conditionalFormatting": [], + "axes": {}, + "channels": { + "group": { + "labelOverride": { + "enabled": true, + "value": "Player" + } + }, + "value": { + "labelOverride": { + "enabled": true, + "value": "Score" + }, + "numberFormatting": { + "enabled": true, + "value": "Default" + } + } + } + }, + "dashboardId": "dashboard-1", + "dataSourceId": "data-source-1", + "description": "", + "filters": [], + "iconValue": "data-table", + "interactiveFiltering": "filter", + "itemType": "chart", + "lookupFields": [], + "meta": { + "sortModel": [{ + "colId": "value", + "sort": "desc" + }], + "columnWidths": { + "group": 150 + } + }, + "missedFields": [], + "query": null, + "queryId": null, + "reductions": {}, + "sample": false, + "title": "Leaderboard", + "embedding": {} + }, + "item-7": { + "calculatedFields": [], + "channels": { + "x": { + "channelType": "category", + "inferredType": "Date", + "field": "DateTime", + "type": "nominal", + "isBinning": true, + "temporalBinning": ["hours"] + }, + "y": { + "channelType": "aggregation", + "inferredType": "String", + "field": "Player.Nickname", + "type": "quantitative", + "aggregate": "count" + } + }, + "chartType": "Line", + "convertedFields": [{ + "fieldPath": "DateTime", + "convertTo": "date", + "arrayParentPaths": [] + }], + "customisations": { + "options": { + "colorDiscrete": { + "enabled": true, + "value": ["#196ee6"] + }, + "dataMarkers": { + "enabled": true, + "value": null + }, + "dataValueLabels": { + "enabled": true, + "value": null + } + }, + "conditionalFormatting": [], + "axes": { + "x": { + "categoryLabelAngle": { + "enabled": true, + "value": "vertical" + } + }, + "y": {} + }, + "channels": { + "x": { + "labelOverride": { + "enabled": true, + "value": "Time" + }, + "dateTimeFormatting": { + "enabled": true, + "value": "HH:00" + } + }, + "y": { + "numberFormatting": { + "enabled": true, + "value": "Default" + } + } + } + }, + "dashboardId": "dashboard-1", + "dataSourceId": "data-source-1", + "description": "", + "filters": [], + "iconValue": "line-discrete", + "interactiveFiltering": "filter", + "itemType": "chart", + "lookupFields": [], + "meta": {}, + "missedFields": [], + "query": null, + "queryId": null, + "reductions": {}, + "sample": false, + "title": "Player Activity", + "embedding": {} + }, + "item-2": { + "calculatedFields": [], + "channels": { + "value": { + "channelType": "aggregation", + "inferredType": "String", + "field": "_id", + "type": "quantitative", + "aggregate": "count" + } + }, + "chartType": "Number", + "convertedFields": [], + "customisations": { + "options": {}, + "conditionalFormatting": [], + "axes": {}, + "channels": { + "value": { + "numberFormatting": { + "enabled": true, + "value": "Default" + } + } + } + }, + "dashboardId": "dashboard-1", + "dataSourceId": "data-source-1", + "description": "", + "filters": [], + "iconValue": "number", + "interactiveFiltering": "highlight", + "itemType": "chart", + "lookupFields": [], + "meta": {}, + "missedFields": [], + "query": null, + "queryId": null, + "reductions": {}, + "sample": false, + "title": "Games Played", + "embedding": {} + }, + "item-4": { + "calculatedFields": [], + "channels": { + "x_series_0": { + "channelType": "aggregation", + "inferredType": "Number", + "field": "SessionStatisticsPlain.PelletsDestroyedMedium", + "type": "quantitative", + "aggregate": "sum" + }, + "x_series_1": { + "channelType": "aggregation", + "inferredType": "Number", + "field": "SessionStatisticsPlain.PelletsDestroyedSmall", + "type": "quantitative", + "aggregate": "sum" + }, + "x": { + "channelType": "aggregation", + "inferredType": "Number", + "field": "SessionStatisticsPlain.PelletsDestroyedLarge", + "type": "quantitative", + "aggregate": "sum" + } + }, + "chartType": "Grouped Bar", + "convertedFields": [], + "customisations": { + "options": {}, + "conditionalFormatting": [], + "axes": { + "x": { + "labelOverride": { + "enabled": true, + "value": "Amount" + } + } + }, + "channels": { + "x_series_0": { + "labelOverride": { + "enabled": true, + "value": "Medium" + }, + "numberFormatting": { + "enabled": true, + "value": "Default" + } + }, + "x_series_1": { + "labelOverride": { + "enabled": true, + "value": "Small" + }, + "numberFormatting": { + "enabled": true, + "value": "Default" + } + }, + "x": { + "labelOverride": { + "enabled": true, + "value": "Large" + }, + "numberFormatting": { + "enabled": true, + "value": "Default" + } + } + } + }, + "dashboardId": "dashboard-1", + "dataSourceId": "data-source-1", + "description": "", + "filters": [], + "iconValue": "bar-grouped", + "interactiveFiltering": "highlight", + "itemType": "chart", + "lookupFields": [], + "meta": {}, + "missedFields": [], + "query": null, + "queryId": null, + "reductions": {}, + "sample": false, + "title": "Pellets Destroyed", + "embedding": {} + }, + "item-1": { + "calculatedFields": [], + "channels": { + "x": { + "channelType": "category", + "inferredType": "Number", + "field": "Snapshots.PlayerPosition.X", + "type": "nominal", + "transformedType": "Number", + "isBinning": true, + "quantitativeBinning": { + "binSize": 1 + } + }, + "y": { + "channelType": "category", + "inferredType": "Number", + "field": "Snapshots.PlayerPosition.Z", + "type": "nominal", + "transformedType": "Number", + "isBinning": true, + "quantitativeBinning": { + "binSize": 1 + } + }, + "color": { + "channelType": "aggregation", + "inferredType": "String", + "field": "_id", + "type": "quantitative", + "aggregate": "count" + } + }, + "chartType": "Heatmap", + "convertedFields": [], + "customisations": { + "options": { + "colorContinuous": { + "enabled": true, + "value": { + "color": "yelloworangered", + "reverse": false + } + } + }, + "conditionalFormatting": [], + "axes": { + "x": { + "categoryLabelAngle": { + "enabled": true, + "value": "vertical" + } + } + }, + "channels": { + "x": { + "numberFormatting": { + "enabled": true, + "value": "Default" + } + }, + "y": { + "numberFormatting": { + "enabled": true, + "value": "Default" + } + }, + "color": { + "numberFormatting": { + "enabled": true, + "value": "Default" + } + } + } + }, + "dashboardId": "dashboard-1", + "dataSourceId": "data-source-1", + "description": "", + "filters": [], + "iconValue": "heatmap", + "interactiveFiltering": "highlight", + "itemType": "chart", + "lookupFields": [], + "meta": {}, + "missedFields": [], + "query": null, + "queryId": null, + "reductions": { + "x": [{ + "dimensionality": 1, + "field": "Snapshots", + "type": "Unwind array", + "arguments": [] + }], + "y": [{ + "dimensionality": 1, + "field": "Snapshots", + "type": "Unwind array", + "arguments": [] + }] + }, + "sample": false, + "title": "Heat Map: Player Location", + "embedding": {} + } + }, + "dataSources": { + "data-source-1": { + "alias": "recordings", + "collection": "recordings", + "database": "Leafsteroids_stage", + "deployment": "Leafsteroids-stage--federated", + "sourceType": "datalake" + } + }, + "queries": {} +} \ No newline at end of file diff --git a/deployment/atlas_charts/Leafsteroids - Event Top Scores - STAGE - Federated.charts b/deployment/atlas_charts/Leafsteroids - Event Top Scores - STAGE - Federated.charts new file mode 100644 index 0000000..84ce504 --- /dev/null +++ b/deployment/atlas_charts/Leafsteroids - Event Top Scores - STAGE - Federated.charts @@ -0,0 +1,131 @@ +{ + "exportVersion": 6, + "dashboards": { + "dashboard-1": { + "description": "", + "embedding": { + "anonymousAuthEnabled": true, + "allowAllFieldsAnonymousAuth": false, + "anonymousAuthWhitelist": ["location", "Event._id"] + }, + "filters": [{ + "type": "String", + "disabled": false, + "name": "location", + "settings": { + "allOthers": false, + "values": ["US-CA"] + }, + "linkedFields": [{ + "dataSourceId": "data-source-1", + "fieldPath": "location" + }] + }, { + "type": "String", + "disabled": false, + "name": "_id", + "settings": { + "allOthers": false, + "values": ["gdc-2023-sf"] + }, + "linkedFields": [{ + "dataSourceId": "data-source-1", + "fieldPath": "Event._id" + }] + }], + "layout": [{ + "i": "item-1", + "w": 2, + "h": 4, + "x": 0, + "y": 0 + }], + "title": "Leafsteroids STAGE - Event Top Scores" + } + }, + "items": { + "item-1": { + "calculatedFields": [], + "channels": { + "group": { + "channelType": "category", + "inferredType": "String", + "field": "Player.Nickname", + "type": "nominal", + "isBinning": false + }, + "value": { + "channelType": "aggregation", + "inferredType": "Number", + "field": "SessionStatisticsPlain.Score", + "type": "quantitative", + "aggregate": "max" + } + }, + "chartType": "Data Table", + "convertedFields": [], + "customisations": { + "options": { + "totalsColumn": { + "enabled": false, + "value": null + } + }, + "conditionalFormatting": [], + "axes": {}, + "channels": { + "group": { + "labelOverride": { + "enabled": true, + "value": "Player" + } + }, + "value": { + "labelOverride": { + "enabled": true, + "value": "Score" + }, + "numberFormatting": { + "enabled": true, + "value": "Default" + } + } + } + }, + "dashboardId": "dashboard-1", + "dataSourceId": "data-source-1", + "description": "", + "filters": [], + "iconValue": "data-table", + "interactiveFiltering": "filter", + "itemType": "chart", + "lookupFields": [], + "meta": { + "sortModel": [{ + "colId": "value", + "sort": "desc" + }], + "columnWidths": { + "group": 150 + } + }, + "missedFields": [], + "query": null, + "queryId": null, + "reductions": {}, + "sample": false, + "title": "Leaderboard", + "embedding": {} + } + }, + "dataSources": { + "data-source-1": { + "alias": "recordings", + "collection": "recordings", + "database": "Leafsteroids", + "deployment": "Leafsteroids-stage--federated", + "sourceType": "datalake" + } + }, + "queries": {} +} \ No newline at end of file diff --git a/deployment/atlas_charts/Leafsteroids - Player Dashboard - STAGE - Federated.charts b/deployment/atlas_charts/Leafsteroids - Player Dashboard - STAGE - Federated.charts new file mode 100644 index 0000000..111ac57 --- /dev/null +++ b/deployment/atlas_charts/Leafsteroids - Player Dashboard - STAGE - Federated.charts @@ -0,0 +1,687 @@ +{ + "exportVersion": 6, + "dashboards": { + "dashboard-1": { + "description": "", + "embedding": { + "anonymousAuthEnabled": true, + "allowAllFieldsAnonymousAuth": false, + "anonymousAuthWhitelist": ["Player.Nickname", "location", "Event._id"] + }, + "filters": [{ + "type": "String", + "disabled": false, + "name": "Nickname", + "settings": { + "allOthers": false, + "values": ["Wolffles"] + }, + "linkedFields": [{ + "dataSourceId": "data-source-1", + "fieldPath": "Player.Nickname" + }] + }, { + "type": "String", + "disabled": false, + "name": "location", + "settings": { + "allOthers": false, + "values": ["US-CA"] + }, + "linkedFields": [{ + "dataSourceId": "data-source-1", + "fieldPath": "location" + }] + }, { + "type": "String", + "disabled": false, + "name": "_id", + "settings": { + "allOthers": false, + "values": ["gdc-2023-sf"] + }, + "linkedFields": [{ + "dataSourceId": "data-source-1", + "fieldPath": "Event._id" + }] + }], + "layout": [{ + "i": "item-1", + "w": 2, + "h": 2, + "x": 0, + "y": 2 + }, { + "i": "item-2", + "w": 1, + "h": 1, + "x": 0, + "y": 4 + }, { + "i": "item-3", + "w": 2, + "h": 4, + "x": 0, + "y": 8 + }, { + "i": "item-4", + "w": 2, + "h": 1, + "x": 0, + "y": 7 + }, { + "i": "item-5", + "w": 1, + "h": 1, + "x": 1, + "y": 4 + }, { + "i": "item-6", + "w": 2, + "h": 1, + "x": 0, + "y": 5 + }, { + "i": "item-7", + "w": 2, + "h": 2, + "x": 0, + "y": 0 + }, { + "i": "item-8", + "w": 2, + "h": 1, + "x": 0, + "y": 6 + }], + "title": "Leafsteroids STAGE - Player Dashboard" + } + }, + "items": { + "item-1": { + "calculatedFields": [], + "channels": { + "x": { + "channelType": "category", + "inferredType": "Number", + "field": "Snapshots.PlayerPosition.X", + "type": "nominal", + "transformedType": "Number", + "isBinning": true, + "quantitativeBinning": { + "binSize": 1 + } + }, + "y": { + "channelType": "category", + "inferredType": "Number", + "field": "Snapshots.PlayerPosition.Z", + "type": "nominal", + "transformedType": "Number", + "isBinning": true, + "quantitativeBinning": { + "binSize": 1 + } + }, + "color": { + "channelType": "aggregation", + "inferredType": "String", + "field": "_id", + "type": "quantitative", + "aggregate": "count" + } + }, + "chartType": "Heatmap", + "convertedFields": [], + "customisations": { + "options": { + "colorContinuous": { + "enabled": true, + "value": { + "color": "yelloworangered", + "reverse": false + } + } + }, + "conditionalFormatting": [], + "axes": { + "x": { + "categoryLabelAngle": { + "enabled": true, + "value": "vertical" + } + } + }, + "channels": { + "x": { + "numberFormatting": { + "enabled": true, + "value": "Default" + } + }, + "y": { + "numberFormatting": { + "enabled": true, + "value": "Default" + } + }, + "color": { + "numberFormatting": { + "enabled": true, + "value": "Default" + } + } + } + }, + "dashboardId": "dashboard-1", + "dataSourceId": "data-source-1", + "description": "", + "filters": [], + "iconValue": "heatmap", + "interactiveFiltering": "highlight", + "itemType": "chart", + "lookupFields": [], + "meta": {}, + "missedFields": [], + "query": null, + "queryId": null, + "reductions": { + "x": [{ + "dimensionality": 1, + "field": "Snapshots", + "type": "Unwind array", + "arguments": [] + }], + "y": [{ + "dimensionality": 1, + "field": "Snapshots", + "type": "Unwind array", + "arguments": [] + }] + }, + "sample": false, + "title": "Heat Map: Player Location", + "embedding": {} + }, + "item-6": { + "calculatedFields": [], + "channels": { + "value": { + "channelType": "aggregation", + "inferredType": "Number", + "field": "SessionStatisticsPlain.DamageDone", + "type": "quantitative", + "aggregate": "sum" + } + }, + "chartType": "Number", + "convertedFields": [], + "customisations": { + "options": {}, + "conditionalFormatting": [], + "axes": {}, + "channels": { + "value": { + "numberFormatting": { + "enabled": true, + "value": "Default" + } + } + } + }, + "dashboardId": "dashboard-1", + "dataSourceId": "data-source-1", + "description": "", + "filters": [], + "iconValue": "number", + "interactiveFiltering": "highlight", + "itemType": "chart", + "lookupFields": [], + "meta": {}, + "missedFields": [], + "query": null, + "queryId": null, + "reductions": {}, + "sample": false, + "title": "Total Damage", + "embedding": {} + }, + "item-2": { + "calculatedFields": [], + "channels": { + "value": { + "channelType": "aggregation", + "inferredType": "String", + "field": "_id", + "type": "quantitative", + "aggregate": "count" + } + }, + "chartType": "Number", + "convertedFields": [], + "customisations": { + "options": {}, + "conditionalFormatting": [], + "axes": {}, + "channels": { + "value": { + "numberFormatting": { + "enabled": true, + "value": "Default" + } + } + } + }, + "dashboardId": "dashboard-1", + "dataSourceId": "data-source-1", + "description": "", + "filters": [], + "iconValue": "number", + "interactiveFiltering": "highlight", + "itemType": "chart", + "lookupFields": [], + "meta": {}, + "missedFields": [], + "query": null, + "queryId": null, + "reductions": {}, + "sample": false, + "title": "Games Played", + "embedding": {} + }, + "item-3": { + "calculatedFields": [], + "channels": { + "value": { + "channelType": "aggregation", + "inferredType": "Number", + "field": "SessionStatisticsPlain.Score", + "type": "quantitative", + "aggregate": "max" + }, + "group": { + "channelType": "category", + "inferredType": "Date", + "field": "DateTime", + "type": "nominal", + "isBinning": true, + "temporalBinning": ["year", "month", "date", "hours", "minutes"] + } + }, + "chartType": "Data Table", + "convertedFields": [], + "customisations": { + "options": { + "totalsColumn": { + "enabled": false, + "value": null + } + }, + "conditionalFormatting": [], + "axes": {}, + "channels": { + "value": { + "labelOverride": { + "enabled": true, + "value": "Score" + }, + "numberFormatting": { + "enabled": true, + "value": "Default" + } + }, + "group": { + "dateTimeFormatting": { + "enabled": true, + "value": "DD-MMM-YYYY HH:mm" + } + } + } + }, + "dashboardId": "dashboard-1", + "dataSourceId": "data-source-1", + "description": "", + "filters": [], + "iconValue": "data-table", + "interactiveFiltering": "highlight", + "itemType": "chart", + "lookupFields": [], + "meta": { + "sortModel": [{ + "colId": "value", + "sort": "desc" + }], + "columnWidths": {} + }, + "missedFields": [], + "query": null, + "queryId": null, + "reductions": {}, + "sample": false, + "title": "Game Plays", + "embedding": {} + }, + "item-5": { + "calculatedFields": [], + "channels": { + "value": { + "channelType": "aggregation", + "inferredType": "Number", + "field": "SessionStatisticsPlain.BulletsFired", + "type": "quantitative", + "aggregate": "sum" + } + }, + "chartType": "Number", + "convertedFields": [], + "customisations": { + "options": {}, + "conditionalFormatting": [], + "axes": {}, + "channels": { + "value": { + "numberFormatting": { + "enabled": true, + "value": "Default" + } + } + } + }, + "dashboardId": "dashboard-1", + "dataSourceId": "data-source-1", + "description": "", + "filters": [], + "iconValue": "number", + "interactiveFiltering": "highlight", + "itemType": "chart", + "lookupFields": [], + "meta": {}, + "missedFields": [], + "query": null, + "queryId": null, + "reductions": {}, + "sample": false, + "title": "Total Bullets Fired", + "embedding": {} + }, + "item-4": { + "calculatedFields": [], + "channels": { + "x_series_0": { + "channelType": "aggregation", + "inferredType": "Number", + "field": "SessionStatisticsPlain.PelletsDestroyedMedium", + "type": "quantitative", + "aggregate": "sum" + }, + "x_series_1": { + "channelType": "aggregation", + "inferredType": "Number", + "field": "SessionStatisticsPlain.PelletsDestroyedSmall", + "type": "quantitative", + "aggregate": "sum" + }, + "x": { + "channelType": "aggregation", + "inferredType": "Number", + "field": "SessionStatisticsPlain.PelletsDestroyedLarge", + "type": "quantitative", + "aggregate": "sum" + } + }, + "chartType": "Grouped Bar", + "convertedFields": [], + "customisations": { + "options": {}, + "conditionalFormatting": [], + "axes": { + "x": { + "labelOverride": { + "enabled": true, + "value": "Amount" + } + } + }, + "channels": { + "x_series_0": { + "labelOverride": { + "enabled": true, + "value": "Medium" + }, + "numberFormatting": { + "enabled": true, + "value": "Default" + } + }, + "x_series_1": { + "labelOverride": { + "enabled": true, + "value": "Small" + }, + "numberFormatting": { + "enabled": true, + "value": "Default" + } + }, + "x": { + "labelOverride": { + "enabled": true, + "value": "Large" + }, + "numberFormatting": { + "enabled": true, + "value": "Default" + } + } + } + }, + "dashboardId": "dashboard-1", + "dataSourceId": "data-source-1", + "description": "", + "filters": [], + "iconValue": "bar-grouped", + "interactiveFiltering": "highlight", + "itemType": "chart", + "lookupFields": [], + "meta": {}, + "missedFields": [], + "query": null, + "queryId": null, + "reductions": {}, + "sample": false, + "title": "Pellets Destroyed", + "embedding": {} + }, + "item-7": { + "calculatedFields": [], + "channels": { + "x": { + "channelType": "category", + "inferredType": "Date", + "field": "DateTime", + "type": "nominal", + "isBinning": true, + "temporalBinning": ["year", "month", "date", "hours", "minutes"] + }, + "y": { + "channelType": "aggregation", + "inferredType": "Number", + "field": "SessionStatisticsPlain.Score", + "type": "quantitative", + "aggregate": "max" + } + }, + "chartType": "Line", + "convertedFields": [{ + "fieldPath": "DateTime", + "convertTo": "date", + "arrayParentPaths": [] + }], + "customisations": { + "options": { + "colorDiscrete": { + "enabled": true, + "value": ["#196ee6"] + }, + "dataMarkers": { + "enabled": true, + "value": null + }, + "dataValueLabels": { + "enabled": true, + "value": null + } + }, + "conditionalFormatting": [], + "axes": { + "x": { + "categoryLabelAngle": { + "enabled": true, + "value": "vertical" + } + }, + "y": {} + }, + "channels": { + "x": { + "labelOverride": { + "enabled": true, + "value": "Time" + }, + "datePreset": { + "enabled": true, + "value": "Custom" + }, + "minutePreset": { + "enabled": true, + "value": "Custom" + }, + "dateTimeFormatting": { + "enabled": true, + "value": "HH:mm" + } + }, + "y": { + "labelOverride": { + "enabled": true, + "value": "Score" + }, + "numberFormatting": { + "enabled": true, + "value": "Default" + } + } + } + }, + "dashboardId": "dashboard-1", + "dataSourceId": "data-source-1", + "description": "", + "filters": [], + "iconValue": "line-discrete", + "interactiveFiltering": "highlight", + "itemType": "chart", + "lookupFields": [], + "meta": {}, + "missedFields": [], + "query": null, + "queryId": null, + "reductions": {}, + "sample": false, + "title": "Player Activity", + "embedding": {} + }, + "item-8": { + "calculatedFields": [], + "channels": { + "x": { + "channelType": "aggregation", + "inferredType": "Number", + "field": "SessionStatisticsPlain.PowerUpBulletDamageCollected", + "type": "quantitative", + "aggregate": "sum" + }, + "x_series_0": { + "channelType": "aggregation", + "inferredType": "Number", + "field": "SessionStatisticsPlain.PowerUpBulletSpeedCollected", + "type": "quantitative", + "aggregate": "sum" + }, + "x_series_1": { + "channelType": "aggregation", + "inferredType": "Number", + "field": "SessionStatisticsPlain.PowerUpPlayerSpeedCollected", + "type": "quantitative", + "aggregate": "sum" + } + }, + "chartType": "Grouped Bar", + "convertedFields": [], + "customisations": { + "options": {}, + "conditionalFormatting": [], + "axes": { + "x": {} + }, + "channels": { + "x": { + "labelOverride": { + "enabled": true, + "value": "Bullet Damage" + }, + "numberFormatting": { + "enabled": true, + "value": "Default" + } + }, + "x_series_0": { + "labelOverride": { + "enabled": true, + "value": "Bullet Speed" + }, + "numberFormatting": { + "enabled": true, + "value": "Default" + } + }, + "x_series_1": { + "labelOverride": { + "enabled": true, + "value": "Player Speed" + }, + "numberFormatting": { + "enabled": true, + "value": "Default" + } + } + } + }, + "dashboardId": "dashboard-1", + "dataSourceId": "data-source-1", + "description": "", + "filters": [], + "iconValue": "bar-grouped", + "interactiveFiltering": "highlight", + "itemType": "chart", + "lookupFields": [], + "meta": {}, + "missedFields": [], + "query": null, + "queryId": null, + "reductions": {}, + "sample": false, + "title": "Power Ups Collected", + "embedding": {} + } + }, + "dataSources": { + "data-source-1": { + "alias": "recordings", + "collection": "recordings", + "database": "Leafsteroids_stage", + "deployment": "Leafsteroids-stage--federated", + "sourceType": "datalake" + } + }, + "queries": {} +} \ No newline at end of file From c8f2febee84322694887b2d2934837c6b00e5070 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sig=20Narv=C3=A1ez?= Date: Wed, 23 Aug 2023 17:50:09 -0700 Subject: [PATCH 03/10] Online Archive config for STAGE --- .../online_archive_config_STAGE.json | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 deployment/game_database/data_tiering/online_archive_config_STAGE.json diff --git a/deployment/game_database/data_tiering/online_archive_config_STAGE.json b/deployment/game_database/data_tiering/online_archive_config_STAGE.json new file mode 100644 index 0000000..1f4efd7 --- /dev/null +++ b/deployment/game_database/data_tiering/online_archive_config_STAGE.json @@ -0,0 +1,41 @@ +{ + "databases": [ + { + "collections": [ + { + "name": "recordings", + "dataSources": [ + { + "collection": "recordings", + "database": "Leafsteroids_stage", + "storeName": "demo" + }, + { + "datasetName": "v1$atlas$archive$demo$Leafsteroids_stage$92a6acf7-3bc8-4909-8bab-f2609ac5fe75$64e687361966474973749c52", + "storeName": "aws-dls-store-us-east-1" + } + ] + } + ], + "name": "Leafsteroids_stage", + "views": [] + } + ], + "stores": [ + { + "clusterName": "demo", + "name": "demo", + "projectId": "5ead7a92758e00636bc31452", + "provider": "atlas", + "readPreference": { + "mode": "secondaryPreferred", + "tagSets": [] + } + }, + { + "name": "aws-dls-store-us-east-1", + "provider": "dls:aws", + "region": "us-east-1" + } + ] +} \ No newline at end of file From 95446444669d5a152e0af18bd5aea096808437f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sig=20Narv=C3=A1ez?= Date: Thu, 24 Aug 2023 01:12:10 -0700 Subject: [PATCH 04/10] PROD charts + Data Federation + Online Archive --- ... Event Dashboard - PROD - Federated.charts | 741 ++++++++++++++++++ ...Event Top Scores - PROD - Federated.charts | 133 ++++ ...Player Dashboard - PROD - Federated.charts | 687 ++++++++++++++++ .../data_federation_config_PROD.json | 41 + .../online_archive_config_PROD.json | 49 ++ website/Utils/Constants.cs | 7 + 6 files changed, 1658 insertions(+) create mode 100644 deployment/atlas_charts/Leafsteroids - Event Dashboard - PROD - Federated.charts create mode 100644 deployment/atlas_charts/Leafsteroids - Event Top Scores - PROD - Federated.charts create mode 100644 deployment/atlas_charts/Leafsteroids - Player Dashboard - PROD - Federated.charts create mode 100644 deployment/game_database/data_tiering/data_federation_config_PROD.json create mode 100644 deployment/game_database/data_tiering/online_archive_config_PROD.json diff --git a/deployment/atlas_charts/Leafsteroids - Event Dashboard - PROD - Federated.charts b/deployment/atlas_charts/Leafsteroids - Event Dashboard - PROD - Federated.charts new file mode 100644 index 0000000..6d65555 --- /dev/null +++ b/deployment/atlas_charts/Leafsteroids - Event Dashboard - PROD - Federated.charts @@ -0,0 +1,741 @@ +{ + "exportVersion": 6, + "dashboards": { + "dashboard-1": { + "description": "", + "embedding": { + "anonymousAuthEnabled": true, + "allowAllFieldsAnonymousAuth": false, + "anonymousAuthWhitelist": ["location", "Event._id"] + }, + "filters": [{ + "type": "String", + "disabled": true, + "name": "DateTime", + "settings": { + "allOthers": true, + "values": [null, "", "2023-03-22T16:54:43.0237652Z", "2023-03-22T17:26:40.5307982Z", "2023-03-22T17:42:17.8491458Z", "2023-03-22T18:09:21.1234055Z", "2023-03-22T19:01:13.8491565Z", "2023-03-22T19:07:16.827622Z", "2023-03-22T19:13:42.459265Z", "2023-03-22T19:21:19.2251935Z", "2023-03-22T19:46:03.1561755Z", "2023-03-22T19:54:08.8854326Z", "2023-03-22T20:00:17.9214215Z", "2023-03-22T22:00:45.0914022Z", "2023-03-22T22:09:38.3658714Z", "2023-03-22T22:15:28.6340605Z", "2023-03-22T22:29:40.3666591Z", "2023-03-22T23:19:39.8369564Z", "2023-03-22T23:24:59.4745029Z", "2023-03-22T23:46:44.5247699Z", "2023-03-22T23:48:41.9151363Z", "2023-03-23T00:28:57.9465764Z"] + }, + "linkedFields": [{ + "dataSourceId": "data-source-1", + "fieldPath": "DateTime" + }] + }, { + "type": "String", + "disabled": false, + "name": "location", + "settings": { + "allOthers": true, + "values": [null, ""] + }, + "linkedFields": [{ + "dataSourceId": "data-source-1", + "fieldPath": "location" + }] + }, { + "type": "String", + "disabled": false, + "name": "_id", + "settings": { + "allOthers": false, + "values": [] + }, + "linkedFields": [{ + "dataSourceId": "data-source-1", + "fieldPath": "Event._id" + }] + }, { + "type": "String", + "disabled": false, + "name": "Nickname", + "settings": { + "allOthers": false, + "values": [] + }, + "linkedFields": [{ + "dataSourceId": "data-source-1", + "fieldPath": "Player.Nickname" + }] + }], + "layout": [{ + "i": "item-1", + "w": 3, + "h": 2, + "x": 0, + "y": 0 + }, { + "i": "item-2", + "w": 1, + "h": 1, + "x": 0, + "y": 2 + }, { + "i": "item-3", + "w": 3, + "h": 3, + "x": 3, + "y": 1 + }, { + "i": "item-4", + "w": 1, + "h": 1, + "x": 0, + "y": 3 + }, { + "i": "item-5", + "w": 1, + "h": 1, + "x": 1, + "y": 2 + }, { + "i": "item-6", + "w": 1, + "h": 1, + "x": 2, + "y": 2 + }, { + "i": "item-7", + "w": 2, + "h": 1, + "x": 3, + "y": 0 + }, { + "i": "item-8", + "w": 2, + "h": 1, + "x": 1, + "y": 3 + }, { + "i": "item-9", + "w": 1, + "h": 1, + "x": 5, + "y": 0 + }], + "title": "Leafsteroids - Event Dashboard" + } + }, + "items": { + "item-1": { + "calculatedFields": [], + "channels": { + "x": { + "channelType": "category", + "inferredType": "Number", + "field": "Snapshots.PlayerPosition.X", + "type": "nominal", + "transformedType": "Number", + "isBinning": true, + "quantitativeBinning": { + "binSize": 1 + } + }, + "y": { + "channelType": "category", + "inferredType": "Number", + "field": "Snapshots.PlayerPosition.Z", + "type": "nominal", + "transformedType": "Number", + "isBinning": true, + "quantitativeBinning": { + "binSize": 1 + } + }, + "color": { + "channelType": "aggregation", + "inferredType": "String", + "field": "_id", + "type": "quantitative", + "aggregate": "count" + } + }, + "chartType": "Heatmap", + "convertedFields": [], + "customisations": { + "options": { + "colorContinuous": { + "enabled": true, + "value": { + "color": "yelloworangered", + "reverse": false + } + } + }, + "conditionalFormatting": [], + "axes": { + "x": { + "categoryLabelAngle": { + "enabled": true, + "value": "vertical" + } + } + }, + "channels": { + "x": { + "numberFormatting": { + "enabled": true, + "value": "Default" + } + }, + "y": { + "numberFormatting": { + "enabled": true, + "value": "Default" + } + }, + "color": { + "numberFormatting": { + "enabled": true, + "value": "Default" + } + } + } + }, + "dashboardId": "dashboard-1", + "dataSourceId": "data-source-1", + "description": "", + "filters": [], + "iconValue": "heatmap", + "interactiveFiltering": "highlight", + "itemType": "chart", + "lookupFields": [], + "meta": {}, + "missedFields": [], + "query": null, + "queryId": null, + "reductions": { + "x": [{ + "dimensionality": 1, + "field": "Snapshots", + "type": "Unwind array", + "arguments": [] + }], + "y": [{ + "dimensionality": 1, + "field": "Snapshots", + "type": "Unwind array", + "arguments": [] + }] + }, + "sample": false, + "title": "Heat Map: Player Location", + "embedding": { + "anonymousAuthEnabled": true + } + }, + "item-2": { + "calculatedFields": [], + "channels": { + "value": { + "channelType": "aggregation", + "inferredType": "String", + "field": "_id", + "type": "quantitative", + "aggregate": "count" + } + }, + "chartType": "Number", + "convertedFields": [], + "customisations": { + "options": {}, + "conditionalFormatting": [], + "axes": {}, + "channels": { + "value": { + "numberFormatting": { + "enabled": true, + "value": "Default" + } + } + } + }, + "dashboardId": "dashboard-1", + "dataSourceId": "data-source-1", + "description": "", + "filters": [], + "iconValue": "number", + "interactiveFiltering": "highlight", + "itemType": "chart", + "lookupFields": [], + "meta": {}, + "missedFields": [], + "query": null, + "queryId": null, + "reductions": {}, + "sample": false, + "title": "Games Played", + "embedding": {} + }, + "item-3": { + "calculatedFields": [], + "channels": { + "group": { + "channelType": "category", + "inferredType": "String", + "field": "Player.Nickname", + "type": "nominal", + "isBinning": false + }, + "value": { + "channelType": "aggregation", + "inferredType": "Number", + "field": "SessionStatisticsPlain.Score", + "type": "quantitative", + "aggregate": "max" + } + }, + "chartType": "Data Table", + "convertedFields": [], + "customisations": { + "options": { + "totalsColumn": { + "enabled": false, + "value": null + } + }, + "conditionalFormatting": [], + "axes": {}, + "channels": { + "group": { + "labelOverride": { + "enabled": true, + "value": "Player" + } + }, + "value": { + "labelOverride": { + "enabled": true, + "value": "Score" + }, + "numberFormatting": { + "enabled": true, + "value": "Default" + } + } + } + }, + "dashboardId": "dashboard-1", + "dataSourceId": "data-source-1", + "description": "", + "filters": [], + "iconValue": "data-table", + "interactiveFiltering": "filter", + "itemType": "chart", + "lookupFields": [], + "meta": { + "sortModel": [{ + "colId": "value", + "sort": "desc" + }], + "columnWidths": { + "group": 150 + } + }, + "missedFields": [], + "query": null, + "queryId": null, + "reductions": {}, + "sample": false, + "title": "Leaderboard", + "embedding": { + "anonymousAuthEnabled": true + } + }, + "item-4": { + "calculatedFields": [], + "channels": { + "x_series_0": { + "channelType": "aggregation", + "inferredType": "Number", + "field": "SessionStatisticsPlain.PelletsDestroyedMedium", + "type": "quantitative", + "aggregate": "sum" + }, + "x_series_1": { + "channelType": "aggregation", + "inferredType": "Number", + "field": "SessionStatisticsPlain.PelletsDestroyedSmall", + "type": "quantitative", + "aggregate": "sum" + }, + "x": { + "channelType": "aggregation", + "inferredType": "Number", + "field": "SessionStatisticsPlain.PelletsDestroyedLarge", + "type": "quantitative", + "aggregate": "sum" + } + }, + "chartType": "Grouped Bar", + "convertedFields": [], + "customisations": { + "axes": { + "x": { + "labelOverride": { + "enabled": true, + "value": "Amount" + } + } + }, + "conditionalFormatting": [], + "channels": { + "x": { + "labelOverride": { + "enabled": true, + "value": "Large" + }, + "numberFormatting": { + "enabled": true, + "value": "Default" + } + }, + "x_series_0": { + "labelOverride": { + "enabled": true, + "value": "Medium" + }, + "numberFormatting": { + "enabled": true, + "value": "Default" + } + }, + "x_series_1": { + "labelOverride": { + "enabled": true, + "value": "Small" + }, + "numberFormatting": { + "enabled": true, + "value": "Default" + } + } + }, + "options": {} + }, + "dashboardId": "dashboard-1", + "dataSourceId": "data-source-1", + "description": "", + "filters": [], + "iconValue": "bar-grouped", + "interactiveFiltering": "highlight", + "itemType": "chart", + "lookupFields": [], + "meta": {}, + "missedFields": [], + "query": null, + "queryId": null, + "reductions": {}, + "sample": false, + "title": "Pellets Destroyed", + "embedding": {} + }, + "item-5": { + "calculatedFields": [], + "channels": { + "value": { + "channelType": "aggregation", + "inferredType": "Number", + "field": "SessionStatisticsPlain.BulletsFired", + "type": "quantitative", + "aggregate": "sum" + } + }, + "chartType": "Number", + "convertedFields": [], + "customisations": { + "options": {}, + "axes": {}, + "channels": { + "value": { + "numberFormatting": { + "enabled": true, + "value": "Default" + } + } + }, + "conditionalFormatting": [] + }, + "dashboardId": "dashboard-1", + "dataSourceId": "data-source-1", + "description": "", + "filters": [], + "iconValue": "number", + "interactiveFiltering": "highlight", + "itemType": "chart", + "lookupFields": [], + "meta": {}, + "missedFields": [], + "query": null, + "queryId": null, + "reductions": {}, + "sample": false, + "title": "Total Bullets Fired", + "embedding": {} + }, + "item-6": { + "calculatedFields": [], + "channels": { + "value": { + "channelType": "aggregation", + "inferredType": "Number", + "field": "SessionStatisticsPlain.DamageDone", + "type": "quantitative", + "aggregate": "sum" + } + }, + "chartType": "Number", + "convertedFields": [], + "customisations": { + "options": {}, + "conditionalFormatting": [], + "axes": {}, + "channels": { + "value": { + "numberFormatting": { + "enabled": true, + "value": "Default" + } + } + } + }, + "dashboardId": "dashboard-1", + "dataSourceId": "data-source-1", + "description": "", + "filters": [], + "iconValue": "number", + "interactiveFiltering": "highlight", + "itemType": "chart", + "lookupFields": [], + "meta": {}, + "missedFields": [], + "query": null, + "queryId": null, + "reductions": {}, + "sample": false, + "title": "Total Damage", + "embedding": {} + }, + "item-7": { + "calculatedFields": [], + "channels": { + "x": { + "channelType": "category", + "inferredType": "Date", + "field": "DateTime", + "type": "nominal", + "isBinning": true, + "temporalBinning": ["hours"] + }, + "y": { + "channelType": "aggregation", + "inferredType": "String", + "field": "Player.Nickname", + "type": "quantitative", + "aggregate": "count" + } + }, + "chartType": "Line", + "convertedFields": [{ + "fieldPath": "DateTime", + "convertTo": "date", + "arrayParentPaths": [] + }], + "customisations": { + "options": { + "colorDiscrete": { + "enabled": true, + "value": ["#196ee6"] + }, + "dataMarkers": { + "enabled": true, + "value": null + }, + "dataValueLabels": { + "enabled": true, + "value": null + } + }, + "axes": { + "x": { + "categoryLabelAngle": { + "enabled": true, + "value": "vertical" + } + }, + "y": {} + }, + "channels": { + "x": { + "labelOverride": { + "enabled": true, + "value": "Time" + }, + "dateTimeFormatting": { + "enabled": true, + "value": "HH:00" + } + }, + "y": { + "numberFormatting": { + "enabled": true, + "value": "Default" + } + } + }, + "conditionalFormatting": [] + }, + "dashboardId": "dashboard-1", + "dataSourceId": "data-source-1", + "description": "", + "filters": [], + "iconValue": "line-discrete", + "interactiveFiltering": "filter", + "itemType": "chart", + "lookupFields": [], + "meta": {}, + "missedFields": [], + "query": null, + "queryId": null, + "reductions": {}, + "sample": false, + "title": "Player Activity", + "embedding": {} + }, + "item-8": { + "calculatedFields": [], + "channels": { + "x": { + "channelType": "aggregation", + "inferredType": "Number", + "field": "SessionStatisticsPlain.PowerUpBulletDamageCollected", + "type": "quantitative", + "aggregate": "sum" + }, + "x_series_0": { + "channelType": "aggregation", + "inferredType": "Number", + "field": "SessionStatisticsPlain.PowerUpBulletSpeedCollected", + "type": "quantitative", + "aggregate": "sum" + }, + "x_series_1": { + "channelType": "aggregation", + "inferredType": "Number", + "field": "SessionStatisticsPlain.PowerUpPlayerSpeedCollected", + "type": "quantitative", + "aggregate": "sum" + } + }, + "chartType": "Grouped Bar", + "convertedFields": [], + "customisations": { + "options": {}, + "conditionalFormatting": [], + "axes": { + "x": {} + }, + "channels": { + "x": { + "labelOverride": { + "enabled": true, + "value": "Bullet Damage" + }, + "numberFormatting": { + "enabled": true, + "value": "Default" + } + }, + "x_series_0": { + "labelOverride": { + "enabled": true, + "value": "Bullet Speed" + }, + "numberFormatting": { + "enabled": true, + "value": "Default" + } + }, + "x_series_1": { + "labelOverride": { + "enabled": true, + "value": "Player Speed" + }, + "numberFormatting": { + "enabled": true, + "value": "Default" + } + } + } + }, + "dashboardId": "dashboard-1", + "dataSourceId": "data-source-1", + "description": "", + "filters": [], + "iconValue": "bar-grouped", + "interactiveFiltering": "highlight", + "itemType": "chart", + "lookupFields": [], + "meta": {}, + "missedFields": [], + "query": null, + "queryId": null, + "reductions": {}, + "sample": false, + "title": "Power Ups Collected", + "embedding": {} + }, + "item-9": { + "calculatedFields": [], + "channels": { + "value": { + "channelType": "aggregation", + "inferredType": "String", + "field": "Player._id", + "type": "quantitative", + "aggregate": "distinct" + } + }, + "chartType": "Number", + "convertedFields": [], + "customisations": { + "options": {}, + "axes": {}, + "channels": { + "value": { + "numberFormatting": { + "enabled": true, + "value": "Default" + } + } + }, + "conditionalFormatting": [] + }, + "dashboardId": "dashboard-1", + "dataSourceId": "data-source-1", + "description": "", + "filters": [], + "iconValue": "number", + "interactiveFiltering": "highlight", + "itemType": "chart", + "lookupFields": [], + "meta": {}, + "missedFields": [], + "query": null, + "queryId": null, + "reductions": {}, + "sample": false, + "title": "# Unique Players", + "embedding": {} + } + }, + "dataSources": { + "data-source-1": { + "alias": "recordings", + "collection": "recordings", + "database": "Leafsteroids", + "deployment": "Leafsteroids--federated", + "sourceType": "datalake" + } + }, + "queries": {} +} \ No newline at end of file diff --git a/deployment/atlas_charts/Leafsteroids - Event Top Scores - PROD - Federated.charts b/deployment/atlas_charts/Leafsteroids - Event Top Scores - PROD - Federated.charts new file mode 100644 index 0000000..f84f875 --- /dev/null +++ b/deployment/atlas_charts/Leafsteroids - Event Top Scores - PROD - Federated.charts @@ -0,0 +1,133 @@ +{ + "exportVersion": 6, + "dashboards": { + "dashboard-1": { + "description": "", + "embedding": { + "anonymousAuthEnabled": true, + "allowAllFieldsAnonymousAuth": false, + "anonymousAuthWhitelist": ["location", "Event._id"] + }, + "filters": [{ + "type": "String", + "disabled": false, + "name": "location", + "settings": { + "allOthers": false, + "values": ["US-CA"] + }, + "linkedFields": [{ + "dataSourceId": "data-source-1", + "fieldPath": "location" + }] + }, { + "type": "String", + "disabled": false, + "name": "_id", + "settings": { + "allOthers": false, + "values": ["gdc-2023-sf"] + }, + "linkedFields": [{ + "dataSourceId": "data-source-1", + "fieldPath": "Event._id" + }] + }], + "layout": [{ + "i": "item-1", + "w": 2, + "h": 4, + "x": 0, + "y": 0 + }], + "title": "Leafsteroids - Event Top Scores" + } + }, + "items": { + "item-1": { + "calculatedFields": [], + "channels": { + "group": { + "channelType": "category", + "inferredType": "String", + "field": "Player.Nickname", + "type": "nominal", + "isBinning": false + }, + "value": { + "channelType": "aggregation", + "inferredType": "Number", + "field": "SessionStatisticsPlain.Score", + "type": "quantitative", + "aggregate": "max" + } + }, + "chartType": "Data Table", + "convertedFields": [], + "customisations": { + "options": { + "totalsColumn": { + "enabled": false, + "value": null + } + }, + "conditionalFormatting": [], + "axes": {}, + "channels": { + "group": { + "labelOverride": { + "enabled": true, + "value": "Player" + } + }, + "value": { + "labelOverride": { + "enabled": true, + "value": "Score" + }, + "numberFormatting": { + "enabled": true, + "value": "Default" + } + } + } + }, + "dashboardId": "dashboard-1", + "dataSourceId": "data-source-1", + "description": "", + "filters": [], + "iconValue": "data-table", + "interactiveFiltering": "filter", + "itemType": "chart", + "lookupFields": [], + "meta": { + "sortModel": [{ + "colId": "value", + "sort": "desc" + }], + "columnWidths": { + "group": 150 + } + }, + "missedFields": [], + "query": null, + "queryId": null, + "reductions": {}, + "sample": false, + "title": "Leaderboard", + "embedding": { + "anonymousAuthEnabled": true + } + } + }, + "dataSources": { + "data-source-1": { + "alias": "recordings", + "collection": "recordings", + "database": "Leafsteroids", + "deployment": "Leafsteroids--federated", + "sourceType": "datalake" + } + }, + "queries": {} +} \ No newline at end of file diff --git a/deployment/atlas_charts/Leafsteroids - Player Dashboard - PROD - Federated.charts b/deployment/atlas_charts/Leafsteroids - Player Dashboard - PROD - Federated.charts new file mode 100644 index 0000000..9cfecdf --- /dev/null +++ b/deployment/atlas_charts/Leafsteroids - Player Dashboard - PROD - Federated.charts @@ -0,0 +1,687 @@ +{ + "exportVersion": 6, + "dashboards": { + "dashboard-1": { + "description": "", + "embedding": { + "anonymousAuthEnabled": true, + "allowAllFieldsAnonymousAuth": false, + "anonymousAuthWhitelist": ["Player.Nickname", "location", "Event._id"] + }, + "filters": [{ + "type": "String", + "disabled": false, + "name": "Nickname", + "settings": { + "allOthers": false, + "values": ["Wolffles"] + }, + "linkedFields": [{ + "dataSourceId": "data-source-1", + "fieldPath": "Player.Nickname" + }] + }, { + "type": "String", + "disabled": false, + "name": "location", + "settings": { + "allOthers": false, + "values": ["US-CA"] + }, + "linkedFields": [{ + "dataSourceId": "data-source-1", + "fieldPath": "location" + }] + }, { + "type": "String", + "disabled": false, + "name": "_id", + "settings": { + "allOthers": false, + "values": ["gdc-2023-sf"] + }, + "linkedFields": [{ + "dataSourceId": "data-source-1", + "fieldPath": "Event._id" + }] + }], + "layout": [{ + "i": "item-1", + "w": 2, + "h": 2, + "x": 0, + "y": 2 + }, { + "i": "item-2", + "w": 1, + "h": 1, + "x": 0, + "y": 4 + }, { + "i": "item-3", + "w": 2, + "h": 4, + "x": 0, + "y": 8 + }, { + "i": "item-4", + "w": 2, + "h": 1, + "x": 0, + "y": 7 + }, { + "i": "item-5", + "w": 1, + "h": 1, + "x": 1, + "y": 4 + }, { + "i": "item-6", + "w": 2, + "h": 1, + "x": 0, + "y": 5 + }, { + "i": "item-7", + "w": 2, + "h": 2, + "x": 0, + "y": 0 + }, { + "i": "item-8", + "w": 2, + "h": 1, + "x": 0, + "y": 6 + }], + "title": "Leafsteroids - Player Dashboard" + } + }, + "items": { + "item-1": { + "calculatedFields": [], + "channels": { + "x": { + "channelType": "category", + "inferredType": "Number", + "field": "Snapshots.PlayerPosition.X", + "type": "nominal", + "transformedType": "Number", + "isBinning": true, + "quantitativeBinning": { + "binSize": 1 + } + }, + "y": { + "channelType": "category", + "inferredType": "Number", + "field": "Snapshots.PlayerPosition.Z", + "type": "nominal", + "transformedType": "Number", + "isBinning": true, + "quantitativeBinning": { + "binSize": 1 + } + }, + "color": { + "channelType": "aggregation", + "inferredType": "String", + "field": "_id", + "type": "quantitative", + "aggregate": "count" + } + }, + "chartType": "Heatmap", + "convertedFields": [], + "customisations": { + "options": { + "colorContinuous": { + "enabled": true, + "value": { + "color": "yelloworangered", + "reverse": false + } + } + }, + "conditionalFormatting": [], + "axes": { + "x": { + "categoryLabelAngle": { + "enabled": true, + "value": "vertical" + } + } + }, + "channels": { + "x": { + "numberFormatting": { + "enabled": true, + "value": "Default" + } + }, + "y": { + "numberFormatting": { + "enabled": true, + "value": "Default" + } + }, + "color": { + "numberFormatting": { + "enabled": true, + "value": "Default" + } + } + } + }, + "dashboardId": "dashboard-1", + "dataSourceId": "data-source-1", + "description": "", + "filters": [], + "iconValue": "heatmap", + "interactiveFiltering": "highlight", + "itemType": "chart", + "lookupFields": [], + "meta": {}, + "missedFields": [], + "query": null, + "queryId": null, + "reductions": { + "x": [{ + "dimensionality": 1, + "field": "Snapshots", + "type": "Unwind array", + "arguments": [] + }], + "y": [{ + "dimensionality": 1, + "field": "Snapshots", + "type": "Unwind array", + "arguments": [] + }] + }, + "sample": false, + "title": "Heat Map: Player Location", + "embedding": {} + }, + "item-2": { + "calculatedFields": [], + "channels": { + "value": { + "channelType": "aggregation", + "inferredType": "String", + "field": "_id", + "type": "quantitative", + "aggregate": "count" + } + }, + "chartType": "Number", + "convertedFields": [], + "customisations": { + "options": {}, + "conditionalFormatting": [], + "axes": {}, + "channels": { + "value": { + "numberFormatting": { + "enabled": true, + "value": "Default" + } + } + } + }, + "dashboardId": "dashboard-1", + "dataSourceId": "data-source-1", + "description": "", + "filters": [], + "iconValue": "number", + "interactiveFiltering": "highlight", + "itemType": "chart", + "lookupFields": [], + "meta": {}, + "missedFields": [], + "query": null, + "queryId": null, + "reductions": {}, + "sample": false, + "title": "Games Played", + "embedding": {} + }, + "item-3": { + "calculatedFields": [], + "channels": { + "value": { + "channelType": "aggregation", + "inferredType": "Number", + "field": "SessionStatisticsPlain.Score", + "type": "quantitative", + "aggregate": "max" + }, + "group": { + "channelType": "category", + "inferredType": "Date", + "field": "DateTime", + "type": "nominal", + "isBinning": true, + "temporalBinning": ["year", "month", "date", "hours", "minutes"] + } + }, + "chartType": "Data Table", + "convertedFields": [], + "customisations": { + "options": { + "totalsColumn": { + "enabled": false, + "value": null + } + }, + "conditionalFormatting": [], + "axes": {}, + "channels": { + "value": { + "labelOverride": { + "enabled": true, + "value": "Score" + }, + "numberFormatting": { + "enabled": true, + "value": "Default" + } + }, + "group": { + "dateTimeFormatting": { + "enabled": true, + "value": "DD-MMM-YYYY HH:mm" + } + } + } + }, + "dashboardId": "dashboard-1", + "dataSourceId": "data-source-1", + "description": "", + "filters": [], + "iconValue": "data-table", + "interactiveFiltering": "highlight", + "itemType": "chart", + "lookupFields": [], + "meta": { + "sortModel": [{ + "colId": "value", + "sort": "desc" + }], + "columnWidths": {} + }, + "missedFields": [], + "query": "{ DateTime: { $gt: ISODate(\"2023-03-23T09:00:00.000000Z\") } }", + "queryId": null, + "reductions": {}, + "sample": false, + "title": "Game Plays", + "embedding": {} + }, + "item-4": { + "calculatedFields": [], + "channels": { + "x_series_0": { + "channelType": "aggregation", + "inferredType": "Number", + "field": "SessionStatisticsPlain.PelletsDestroyedMedium", + "type": "quantitative", + "aggregate": "sum" + }, + "x_series_1": { + "channelType": "aggregation", + "inferredType": "Number", + "field": "SessionStatisticsPlain.PelletsDestroyedSmall", + "type": "quantitative", + "aggregate": "sum" + }, + "x": { + "channelType": "aggregation", + "inferredType": "Number", + "field": "SessionStatisticsPlain.PelletsDestroyedLarge", + "type": "quantitative", + "aggregate": "sum" + } + }, + "chartType": "Grouped Bar", + "convertedFields": [], + "customisations": { + "axes": { + "x": { + "labelOverride": { + "enabled": true, + "value": "Amount" + } + } + }, + "conditionalFormatting": [], + "channels": { + "x": { + "labelOverride": { + "enabled": true, + "value": "Large" + }, + "numberFormatting": { + "enabled": true, + "value": "Default" + } + }, + "x_series_0": { + "labelOverride": { + "enabled": true, + "value": "Medium" + }, + "numberFormatting": { + "enabled": true, + "value": "Default" + } + }, + "x_series_1": { + "labelOverride": { + "enabled": true, + "value": "Small" + }, + "numberFormatting": { + "enabled": true, + "value": "Default" + } + } + }, + "options": {} + }, + "dashboardId": "dashboard-1", + "dataSourceId": "data-source-1", + "description": "", + "filters": [], + "iconValue": "bar-grouped", + "interactiveFiltering": "highlight", + "itemType": "chart", + "lookupFields": [], + "meta": {}, + "missedFields": [], + "query": null, + "queryId": null, + "reductions": {}, + "sample": false, + "title": "Pellets Destroyed", + "embedding": {} + }, + "item-5": { + "calculatedFields": [], + "channels": { + "value": { + "channelType": "aggregation", + "inferredType": "Number", + "field": "SessionStatisticsPlain.BulletsFired", + "type": "quantitative", + "aggregate": "sum" + } + }, + "chartType": "Number", + "convertedFields": [], + "customisations": { + "options": {}, + "axes": {}, + "channels": { + "value": { + "numberFormatting": { + "enabled": true, + "value": "Default" + } + } + }, + "conditionalFormatting": [] + }, + "dashboardId": "dashboard-1", + "dataSourceId": "data-source-1", + "description": "", + "filters": [], + "iconValue": "number", + "interactiveFiltering": "highlight", + "itemType": "chart", + "lookupFields": [], + "meta": {}, + "missedFields": [], + "query": null, + "queryId": null, + "reductions": {}, + "sample": false, + "title": "Total Bullets Fired", + "embedding": {} + }, + "item-6": { + "calculatedFields": [], + "channels": { + "value": { + "channelType": "aggregation", + "inferredType": "Number", + "field": "SessionStatisticsPlain.DamageDone", + "type": "quantitative", + "aggregate": "sum" + } + }, + "chartType": "Number", + "convertedFields": [], + "customisations": { + "options": {}, + "conditionalFormatting": [], + "axes": {}, + "channels": { + "value": { + "numberFormatting": { + "enabled": true, + "value": "Default" + } + } + } + }, + "dashboardId": "dashboard-1", + "dataSourceId": "data-source-1", + "description": "", + "filters": [], + "iconValue": "number", + "interactiveFiltering": "highlight", + "itemType": "chart", + "lookupFields": [], + "meta": {}, + "missedFields": [], + "query": null, + "queryId": null, + "reductions": {}, + "sample": false, + "title": "Total Damage", + "embedding": {} + }, + "item-7": { + "calculatedFields": [], + "channels": { + "x": { + "channelType": "category", + "inferredType": "Date", + "field": "DateTime", + "type": "nominal", + "isBinning": true, + "temporalBinning": ["year", "month", "date", "hours", "minutes"] + }, + "y": { + "channelType": "aggregation", + "inferredType": "Number", + "field": "SessionStatisticsPlain.Score", + "type": "quantitative", + "aggregate": "max" + } + }, + "chartType": "Line", + "convertedFields": [{ + "fieldPath": "DateTime", + "convertTo": "date", + "arrayParentPaths": [] + }], + "customisations": { + "options": { + "colorDiscrete": { + "enabled": true, + "value": ["#196ee6"] + }, + "dataMarkers": { + "enabled": true, + "value": null + }, + "dataValueLabels": { + "enabled": true, + "value": null + } + }, + "conditionalFormatting": [], + "axes": { + "x": { + "categoryLabelAngle": { + "enabled": true, + "value": "vertical" + } + }, + "y": {} + }, + "channels": { + "x": { + "labelOverride": { + "enabled": true, + "value": "Time" + }, + "datePreset": { + "enabled": true, + "value": "Custom" + }, + "minutePreset": { + "enabled": true, + "value": "Custom" + }, + "dateTimeFormatting": { + "enabled": true, + "value": "HH:mm" + } + }, + "y": { + "labelOverride": { + "enabled": true, + "value": "Score" + }, + "numberFormatting": { + "enabled": true, + "value": "Default" + } + } + } + }, + "dashboardId": "dashboard-1", + "dataSourceId": "data-source-1", + "description": "", + "filters": [], + "iconValue": "line-discrete", + "interactiveFiltering": "highlight", + "itemType": "chart", + "lookupFields": [], + "meta": {}, + "missedFields": [], + "query": null, + "queryId": null, + "reductions": {}, + "sample": false, + "title": "Player Activity", + "embedding": {} + }, + "item-8": { + "calculatedFields": [], + "channels": { + "x": { + "channelType": "aggregation", + "inferredType": "Number", + "field": "SessionStatisticsPlain.PowerUpBulletDamageCollected", + "type": "quantitative", + "aggregate": "sum" + }, + "x_series_0": { + "channelType": "aggregation", + "inferredType": "Number", + "field": "SessionStatisticsPlain.PowerUpBulletSpeedCollected", + "type": "quantitative", + "aggregate": "sum" + }, + "x_series_1": { + "channelType": "aggregation", + "inferredType": "Number", + "field": "SessionStatisticsPlain.PowerUpPlayerSpeedCollected", + "type": "quantitative", + "aggregate": "sum" + } + }, + "chartType": "Grouped Bar", + "convertedFields": [], + "customisations": { + "options": {}, + "conditionalFormatting": [], + "axes": { + "x": {} + }, + "channels": { + "x": { + "labelOverride": { + "enabled": true, + "value": "Bullet Damage" + }, + "numberFormatting": { + "enabled": true, + "value": "Default" + } + }, + "x_series_0": { + "labelOverride": { + "enabled": true, + "value": "Bullet Speed" + }, + "numberFormatting": { + "enabled": true, + "value": "Default" + } + }, + "x_series_1": { + "labelOverride": { + "enabled": true, + "value": "Player Speed" + }, + "numberFormatting": { + "enabled": true, + "value": "Default" + } + } + } + }, + "dashboardId": "dashboard-1", + "dataSourceId": "data-source-1", + "description": "", + "filters": [], + "iconValue": "bar-grouped", + "interactiveFiltering": "highlight", + "itemType": "chart", + "lookupFields": [], + "meta": {}, + "missedFields": [], + "query": null, + "queryId": null, + "reductions": {}, + "sample": false, + "title": "Power Ups Collected", + "embedding": {} + } + }, + "dataSources": { + "data-source-1": { + "alias": "recordings", + "collection": "recordings", + "database": "Leafsteroids", + "deployment": "Leafsteroids--federated", + "sourceType": "datalake" + } + }, + "queries": {} +} \ No newline at end of file diff --git a/deployment/game_database/data_tiering/data_federation_config_PROD.json b/deployment/game_database/data_tiering/data_federation_config_PROD.json new file mode 100644 index 0000000..155f76b --- /dev/null +++ b/deployment/game_database/data_tiering/data_federation_config_PROD.json @@ -0,0 +1,41 @@ +{ + "databases": [ + { + "collections": [ + { + "name": "recordings", + "dataSources": [ + { + "collection": "recordings", + "database": "Leafsteroids", + "storeName": "demo" + }, + { + "datasetName": "v1$atlas$archive$demo$Leafsteroids$3ee18b87-dc43-4ac6-a393-44fee2aa11d2$64e6af7091174970cc3fbb4a", + "storeName": "aws-dls-store-us-east-1" + } + ] + } + ], + "name": "Leafsteroids", + "views": [] + } + ], + "stores": [ + { + "clusterName": "demo", + "name": "demo", + "projectId": "5ead7a92758e00636bc31452", + "provider": "atlas", + "readPreference": { + "mode": "secondaryPreferred", + "tagSets": [] + } + }, + { + "name": "aws-dls-store-us-east-1", + "provider": "dls:aws", + "region": "us-east-1" + } + ] +} \ No newline at end of file diff --git a/deployment/game_database/data_tiering/online_archive_config_PROD.json b/deployment/game_database/data_tiering/online_archive_config_PROD.json new file mode 100644 index 0000000..4d708a2 --- /dev/null +++ b/deployment/game_database/data_tiering/online_archive_config_PROD.json @@ -0,0 +1,49 @@ +{ + "_id": "64e6af7091174970cc3fbb4a", + "clusterName": "demo", + "collName": "recordings", + "collectionType": "STANDARD", + "criteria": { + "dateField": "DateTime", + "dateFormat": "ISODATE", + "expireAfterDays": 30, + "type": "DATE" + }, + "dataExpirationRule": { + "expireAfterDays": 1825 + }, + "dataProcessRegion": { + "cloudProvider": "AWS", + "region": "US_EAST_1" + }, + "dataSetName": "v1$atlas$archive$demo$Leafsteroids$3ee18b87-dc43-4ac6-a393-44fee2aa11d2$64e6af7091174970cc3fbb4a", + "dbName": "Leafsteroids", + "groupId": "5ead7a92758e00636bc31452", + "lastArchiveRun": { + "endDate": "2023-08-24T06:54:38Z", + "errorMessage": null, + "startDate": "2023-08-24T06:54:38Z" + }, + "partitionFields": [{ + "fieldName": "location", + "fieldType": null, + "order": 0 + }, { + "fieldName": "Event._id", + "fieldType": null, + "order": 1 + }, { + "fieldName": "DateTime", + "fieldType": null, + "order": 2 + }], + "paused": false, + "schedule": { + "endHour": 0, + "endMinute": 0, + "startHour": 18, + "startMinute": 20, + "type": "DAILY" + }, + "state": "ACTIVE" +} \ No newline at end of file diff --git a/website/Utils/Constants.cs b/website/Utils/Constants.cs index 8c2f704..42f1eef 100644 --- a/website/Utils/Constants.cs +++ b/website/Utils/Constants.cs @@ -23,9 +23,16 @@ public static class Constants */ // PRODUCTION + /* public const string AtlasChartIdEvent = "6453fb66-c2fc-4212-8dbd-4ab8365f1ac0"; public const string AtlasChartIdPlayer = "64540ea3-f8b8-4211-8c3b-cff2506301a4"; public const string AtlasChartIdHome = "645abbc7-2258-4908-8eb4-94bbe0c6d324"; + */ + + // PRODUCTION WITH DATA TIERING + public const string AtlasChartIdEvent = "64e708fe-ada2-48cd-87b6-6cfb7cfed55a"; + public const string AtlasChartIdPlayer = "64e70904-ada2-41b9-89f5-6cfb7cfed84d"; + public const string AtlasChartIdHome = "64e7090a-b528-46b7-83e7-445f8407329d"; public const string RestServiceEndpointEvents = "events"; From ba07f1b26a7a8c2c2ded59ad542a81035e549fd4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sig=20Narv=C3=A1ez?= Date: Wed, 30 Aug 2023 16:42:18 -0700 Subject: [PATCH 05/10] Fix script location for autocomplete --- website/Pages/Index.razor | 8 +------- website/Pages/_Host.cshtml | 42 ++++++++++++++++++++++---------------- 2 files changed, 25 insertions(+), 25 deletions(-) diff --git a/website/Pages/Index.razor b/website/Pages/Index.razor index c6d09f2..8ed025c 100644 --- a/website/Pages/Index.razor +++ b/website/Pages/Index.razor @@ -75,12 +75,6 @@ } - } @@ -148,7 +142,7 @@ DotEnv.Load(); var envVars = DotEnv.Read(); var atlasChartIdHome = envVars["ATLAS_CHART_ID_HOME"]; - + _chartUrl = ChartsUrl.CreateHomeUrl(atlasChartIdHome, _event!.Id!, _event.Location!); } diff --git a/website/Pages/_Host.cshtml b/website/Pages/_Host.cshtml index 4f1bf6e..18fd059 100644 --- a/website/Pages/_Host.cshtml +++ b/website/Pages/_Host.cshtml @@ -31,23 +31,29 @@ - - -
- - An error has occurred. This application may no longer respond until reloaded. - - - An unhandled exception has occurred. See browser dev tools for details. - - Reload - 🗙 -
- -@* ReSharper disable Html.PathError *@ - -@* ReSharper restore Html.PathError *@ - - + + +
+ + An error has occurred. This application may no longer respond until reloaded. + + + An unhandled exception has occurred. See browser dev tools for details. + + Reload + 🗙 +
+ + @* ReSharper disable Html.PathError *@ + + @* ReSharper restore Html.PathError *@ + + + + \ No newline at end of file From 445a898e3506f1c8065bd275f275fb6157d881a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sig=20Narv=C3=A1ez?= Date: Fri, 1 Sep 2023 19:48:26 -0700 Subject: [PATCH 06/10] Update Event Dashboard --- .../Leafsteroids - Event Dashboard.charts | 105 ++++++++++++------ 1 file changed, 71 insertions(+), 34 deletions(-) diff --git a/deployment/atlas_charts/Leafsteroids - Event Dashboard.charts b/deployment/atlas_charts/Leafsteroids - Event Dashboard.charts index 8122248..fa97e23 100644 --- a/deployment/atlas_charts/Leafsteroids - Event Dashboard.charts +++ b/deployment/atlas_charts/Leafsteroids - Event Dashboard.charts @@ -9,24 +9,12 @@ "anonymousAuthWhitelist": ["location", "Event._id"] }, "filters": [{ - "type": "String", - "disabled": true, - "name": "DateTime", - "settings": { - "allOthers": true, - "values": [null, "", "2023-03-22T16:54:43.0237652Z", "2023-03-22T17:26:40.5307982Z", "2023-03-22T17:42:17.8491458Z", "2023-03-22T18:09:21.1234055Z", "2023-03-22T19:01:13.8491565Z", "2023-03-22T19:07:16.827622Z", "2023-03-22T19:13:42.459265Z", "2023-03-22T19:21:19.2251935Z", "2023-03-22T19:46:03.1561755Z", "2023-03-22T19:54:08.8854326Z", "2023-03-22T20:00:17.9214215Z", "2023-03-22T22:00:45.0914022Z", "2023-03-22T22:09:38.3658714Z", "2023-03-22T22:15:28.6340605Z", "2023-03-22T22:29:40.3666591Z", "2023-03-22T23:19:39.8369564Z", "2023-03-22T23:24:59.4745029Z", "2023-03-22T23:46:44.5247699Z", "2023-03-22T23:48:41.9151363Z", "2023-03-23T00:28:57.9465764Z"] - }, - "linkedFields": [{ - "dataSourceId": "data-source-1", - "fieldPath": "DateTime" - }] - }, { "type": "String", "disabled": false, "name": "location", "settings": { - "allOthers": true, - "values": [null, ""] + "allOthers": false, + "values": ["US-CA"] }, "linkedFields": [{ "dataSourceId": "data-source-1", @@ -38,7 +26,7 @@ "name": "_id", "settings": { "allOthers": false, - "values": ["gdc-2023-sf"] + "values": ["mdb-internal"] }, "linkedFields": [{ "dataSourceId": "data-source-1", @@ -47,8 +35,8 @@ }], "layout": [{ "i": "item-1", - "w": 4, - "h": 3, + "w": 3, + "h": 2, "x": 0, "y": 0 }, { @@ -56,43 +44,49 @@ "w": 1, "h": 1, "x": 0, - "y": 3 + "y": 2 }, { "i": "item-3", - "w": 2, - "h": 4, - "x": 7, - "y": 0 + "w": 3, + "h": 3, + "x": 3, + "y": 1 }, { "i": "item-4", - "w": 3, + "w": 1, "h": 1, - "x": 4, - "y": 2 + "x": 0, + "y": 3 }, { "i": "item-5", "w": 1, "h": 1, "x": 1, - "y": 3 + "y": 2 }, { "i": "item-6", - "w": 2, + "w": 1, "h": 1, "x": 2, - "y": 3 + "y": 2 }, { "i": "item-7", - "w": 3, - "h": 2, - "x": 4, + "w": 2, + "h": 1, + "x": 3, "y": 0 }, { "i": "item-8", - "w": 3, + "w": 2, "h": 1, - "x": 4, + "x": 1, "y": 3 + }, { + "i": "item-9", + "w": 1, + "h": 1, + "x": 5, + "y": 0 }], "title": "Leafsteroids - Event Dashboard" } @@ -183,7 +177,7 @@ "lookupFields": [], "meta": {}, "missedFields": [], - "query": "[\n {\n $unwind: \"$Snapshots\"\n },\n {\n $project: {\n _id: 0,\n \"Snapshots.PlayerPosition\": 1\n }\n },\n {\n $match: {\n $and: [\n {\n $or: [\n {\n \"Snapshots.PlayerPosition.X\": {\n $gte: 2\n }\n },\n {\n \"Snapshots.PlayerPosition.X\": {\n $lte: -2\n }\n }\n ]\n },\n {\n $or: [\n {\n \"Snapshots.PlayerPosition.Z\": {\n $gte: 1\n }\n },\n {\n \"Snapshots.PlayerPosition.Z\": {\n $lte: 0\n }\n }\n ]\n }\n ]\n }\n }\n]", + "query": null, "queryId": null, "reductions": { "x": [{ @@ -665,6 +659,49 @@ "sample": false, "title": "Power Ups Collected", "embedding": {} + }, + "item-9": { + "calculatedFields": [], + "channels": { + "value": { + "channelType": "aggregation", + "inferredType": "String", + "field": "Player.Nickname", + "type": "quantitative", + "aggregate": "distinct" + } + }, + "chartType": "Number", + "convertedFields": [], + "customisations": { + "options": {}, + "axes": {}, + "channels": { + "value": { + "numberFormatting": { + "enabled": true, + "value": "Default" + } + } + }, + "conditionalFormatting": [] + }, + "dashboardId": "dashboard-1", + "dataSourceId": "data-source-1", + "description": "", + "filters": [], + "iconValue": "number", + "interactiveFiltering": "highlight", + "itemType": "chart", + "lookupFields": [], + "meta": {}, + "missedFields": [], + "query": null, + "queryId": null, + "reductions": {}, + "sample": false, + "title": "# Unique Players", + "embedding": {} } }, "dataSources": { From 00244fdcaa9f9cfc8aa2d45fb5b8e49a768236a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sig=20Narv=C3=A1ez?= Date: Fri, 1 Sep 2023 19:48:44 -0700 Subject: [PATCH 07/10] Federated charts --- ...roids - Event Dashboard - Federated.charts | 717 ++++++++++++++++++ ...oids - Event Top Scores - Federated.charts | 133 ++++ ...oids - Player Dashboard - Federated.charts | 687 +++++++++++++++++ 3 files changed, 1537 insertions(+) create mode 100644 deployment/atlas_charts/Leafsteroids - Event Dashboard - Federated.charts create mode 100644 deployment/atlas_charts/Leafsteroids - Event Top Scores - Federated.charts create mode 100644 deployment/atlas_charts/Leafsteroids - Player Dashboard - Federated.charts diff --git a/deployment/atlas_charts/Leafsteroids - Event Dashboard - Federated.charts b/deployment/atlas_charts/Leafsteroids - Event Dashboard - Federated.charts new file mode 100644 index 0000000..d8e69b2 --- /dev/null +++ b/deployment/atlas_charts/Leafsteroids - Event Dashboard - Federated.charts @@ -0,0 +1,717 @@ +{ + "exportVersion": 6, + "dashboards": { + "dashboard-1": { + "description": "", + "embedding": { + "anonymousAuthEnabled": true, + "allowAllFieldsAnonymousAuth": false, + "anonymousAuthWhitelist": ["location", "Event._id"] + }, + "filters": [{ + "type": "String", + "disabled": false, + "name": "location", + "settings": { + "allOthers": false, + "values": ["US-CA"] + }, + "linkedFields": [{ + "dataSourceId": "data-source-1", + "fieldPath": "location" + }] + }, { + "type": "String", + "disabled": false, + "name": "_id", + "settings": { + "allOthers": false, + "values": ["mdb-internal"] + }, + "linkedFields": [{ + "dataSourceId": "data-source-1", + "fieldPath": "Event._id" + }] + }], + "layout": [{ + "i": "item-1", + "w": 3, + "h": 2, + "x": 0, + "y": 0 + }, { + "i": "item-2", + "w": 1, + "h": 1, + "x": 0, + "y": 2 + }, { + "i": "item-3", + "w": 3, + "h": 3, + "x": 3, + "y": 1 + }, { + "i": "item-4", + "w": 1, + "h": 1, + "x": 0, + "y": 3 + }, { + "i": "item-5", + "w": 1, + "h": 1, + "x": 1, + "y": 2 + }, { + "i": "item-6", + "w": 1, + "h": 1, + "x": 2, + "y": 2 + }, { + "i": "item-7", + "w": 2, + "h": 1, + "x": 3, + "y": 0 + }, { + "i": "item-8", + "w": 2, + "h": 1, + "x": 1, + "y": 3 + }, { + "i": "item-9", + "w": 1, + "h": 1, + "x": 5, + "y": 0 + }], + "title": "Leafsteroids - Event Dashboard" + } + }, + "items": { + "item-1": { + "calculatedFields": [], + "channels": { + "x": { + "channelType": "category", + "inferredType": "Number", + "field": "Snapshots.PlayerPosition.X", + "type": "nominal", + "transformedType": "Number", + "isBinning": true, + "quantitativeBinning": { + "binSize": 1 + } + }, + "y": { + "channelType": "category", + "inferredType": "Number", + "field": "Snapshots.PlayerPosition.Z", + "type": "nominal", + "transformedType": "Number", + "isBinning": true, + "quantitativeBinning": { + "binSize": 1 + } + }, + "color": { + "channelType": "aggregation", + "inferredType": "String", + "field": "_id", + "type": "quantitative", + "aggregate": "count" + } + }, + "chartType": "Heatmap", + "convertedFields": [], + "customisations": { + "options": { + "colorContinuous": { + "enabled": true, + "value": { + "color": "yelloworangered", + "reverse": false + } + } + }, + "conditionalFormatting": [], + "axes": { + "x": { + "categoryLabelAngle": { + "enabled": true, + "value": "vertical" + } + } + }, + "channels": { + "x": { + "numberFormatting": { + "enabled": true, + "value": "Default" + } + }, + "y": { + "numberFormatting": { + "enabled": true, + "value": "Default" + } + }, + "color": { + "numberFormatting": { + "enabled": true, + "value": "Default" + } + } + } + }, + "dashboardId": "dashboard-1", + "dataSourceId": "data-source-1", + "description": "", + "filters": [], + "iconValue": "heatmap", + "interactiveFiltering": "highlight", + "itemType": "chart", + "lookupFields": [], + "meta": {}, + "missedFields": [], + "query": null, + "queryId": null, + "reductions": { + "x": [{ + "dimensionality": 1, + "field": "Snapshots", + "type": "Unwind array", + "arguments": [] + }], + "y": [{ + "dimensionality": 1, + "field": "Snapshots", + "type": "Unwind array", + "arguments": [] + }] + }, + "sample": false, + "title": "Heat Map: Player Location", + "embedding": { + "anonymousAuthEnabled": true + } + }, + "item-2": { + "calculatedFields": [], + "channels": { + "value": { + "channelType": "aggregation", + "inferredType": "String", + "field": "_id", + "type": "quantitative", + "aggregate": "count" + } + }, + "chartType": "Number", + "convertedFields": [], + "customisations": { + "options": {}, + "conditionalFormatting": [], + "axes": {}, + "channels": { + "value": { + "numberFormatting": { + "enabled": true, + "value": "Default" + } + } + } + }, + "dashboardId": "dashboard-1", + "dataSourceId": "data-source-1", + "description": "", + "filters": [], + "iconValue": "number", + "interactiveFiltering": "highlight", + "itemType": "chart", + "lookupFields": [], + "meta": {}, + "missedFields": [], + "query": null, + "queryId": null, + "reductions": {}, + "sample": false, + "title": "Games Played", + "embedding": {} + }, + "item-3": { + "calculatedFields": [], + "channels": { + "group": { + "channelType": "category", + "inferredType": "String", + "field": "Player.Nickname", + "type": "nominal", + "isBinning": false + }, + "value": { + "channelType": "aggregation", + "inferredType": "Number", + "field": "SessionStatisticsPlain.Score", + "type": "quantitative", + "aggregate": "max" + } + }, + "chartType": "Data Table", + "convertedFields": [], + "customisations": { + "options": { + "totalsColumn": { + "enabled": false, + "value": null + } + }, + "conditionalFormatting": [], + "axes": {}, + "channels": { + "group": { + "labelOverride": { + "enabled": true, + "value": "Player" + } + }, + "value": { + "labelOverride": { + "enabled": true, + "value": "Score" + }, + "numberFormatting": { + "enabled": true, + "value": "Default" + } + } + } + }, + "dashboardId": "dashboard-1", + "dataSourceId": "data-source-1", + "description": "", + "filters": [], + "iconValue": "data-table", + "interactiveFiltering": "filter", + "itemType": "chart", + "lookupFields": [], + "meta": { + "sortModel": [{ + "colId": "value", + "sort": "desc" + }], + "columnWidths": { + "group": 150 + } + }, + "missedFields": [], + "query": null, + "queryId": null, + "reductions": {}, + "sample": false, + "title": "Leaderboard", + "embedding": { + "anonymousAuthEnabled": true + } + }, + "item-4": { + "calculatedFields": [], + "channels": { + "x_series_0": { + "channelType": "aggregation", + "inferredType": "Number", + "field": "SessionStatisticsPlain.PelletsDestroyedMedium", + "type": "quantitative", + "aggregate": "sum" + }, + "x_series_1": { + "channelType": "aggregation", + "inferredType": "Number", + "field": "SessionStatisticsPlain.PelletsDestroyedSmall", + "type": "quantitative", + "aggregate": "sum" + }, + "x": { + "channelType": "aggregation", + "inferredType": "Number", + "field": "SessionStatisticsPlain.PelletsDestroyedLarge", + "type": "quantitative", + "aggregate": "sum" + } + }, + "chartType": "Grouped Bar", + "convertedFields": [], + "customisations": { + "axes": { + "x": { + "labelOverride": { + "enabled": true, + "value": "Amount" + } + } + }, + "conditionalFormatting": [], + "channels": { + "x": { + "labelOverride": { + "enabled": true, + "value": "Large" + }, + "numberFormatting": { + "enabled": true, + "value": "Default" + } + }, + "x_series_0": { + "labelOverride": { + "enabled": true, + "value": "Medium" + }, + "numberFormatting": { + "enabled": true, + "value": "Default" + } + }, + "x_series_1": { + "labelOverride": { + "enabled": true, + "value": "Small" + }, + "numberFormatting": { + "enabled": true, + "value": "Default" + } + } + }, + "options": {} + }, + "dashboardId": "dashboard-1", + "dataSourceId": "data-source-1", + "description": "", + "filters": [], + "iconValue": "bar-grouped", + "interactiveFiltering": "highlight", + "itemType": "chart", + "lookupFields": [], + "meta": {}, + "missedFields": [], + "query": null, + "queryId": null, + "reductions": {}, + "sample": false, + "title": "Pellets Destroyed", + "embedding": {} + }, + "item-5": { + "calculatedFields": [], + "channels": { + "value": { + "channelType": "aggregation", + "inferredType": "Number", + "field": "SessionStatisticsPlain.BulletsFired", + "type": "quantitative", + "aggregate": "sum" + } + }, + "chartType": "Number", + "convertedFields": [], + "customisations": { + "options": {}, + "axes": {}, + "channels": { + "value": { + "numberFormatting": { + "enabled": true, + "value": "Default" + } + } + }, + "conditionalFormatting": [] + }, + "dashboardId": "dashboard-1", + "dataSourceId": "data-source-1", + "description": "", + "filters": [], + "iconValue": "number", + "interactiveFiltering": "highlight", + "itemType": "chart", + "lookupFields": [], + "meta": {}, + "missedFields": [], + "query": null, + "queryId": null, + "reductions": {}, + "sample": false, + "title": "Total Bullets Fired", + "embedding": {} + }, + "item-6": { + "calculatedFields": [], + "channels": { + "value": { + "channelType": "aggregation", + "inferredType": "Number", + "field": "SessionStatisticsPlain.DamageDone", + "type": "quantitative", + "aggregate": "sum" + } + }, + "chartType": "Number", + "convertedFields": [], + "customisations": { + "options": {}, + "conditionalFormatting": [], + "axes": {}, + "channels": { + "value": { + "numberFormatting": { + "enabled": true, + "value": "Default" + } + } + } + }, + "dashboardId": "dashboard-1", + "dataSourceId": "data-source-1", + "description": "", + "filters": [], + "iconValue": "number", + "interactiveFiltering": "highlight", + "itemType": "chart", + "lookupFields": [], + "meta": {}, + "missedFields": [], + "query": null, + "queryId": null, + "reductions": {}, + "sample": false, + "title": "Total Damage", + "embedding": {} + }, + "item-7": { + "calculatedFields": [], + "channels": { + "x": { + "channelType": "category", + "inferredType": "Date", + "field": "DateTime", + "type": "nominal", + "isBinning": true, + "temporalBinning": ["hours"] + }, + "y": { + "channelType": "aggregation", + "inferredType": "String", + "field": "Player.Nickname", + "type": "quantitative", + "aggregate": "count" + } + }, + "chartType": "Line", + "convertedFields": [{ + "fieldPath": "DateTime", + "convertTo": "date", + "arrayParentPaths": [] + }], + "customisations": { + "options": { + "colorDiscrete": { + "enabled": true, + "value": ["#196ee6"] + }, + "dataMarkers": { + "enabled": true, + "value": null + }, + "dataValueLabels": { + "enabled": true, + "value": null + } + }, + "axes": { + "x": { + "categoryLabelAngle": { + "enabled": true, + "value": "vertical" + } + }, + "y": {} + }, + "channels": { + "x": { + "labelOverride": { + "enabled": true, + "value": "Time" + }, + "dateTimeFormatting": { + "enabled": true, + "value": "HH:00" + } + }, + "y": { + "numberFormatting": { + "enabled": true, + "value": "Default" + } + } + }, + "conditionalFormatting": [] + }, + "dashboardId": "dashboard-1", + "dataSourceId": "data-source-1", + "description": "", + "filters": [], + "iconValue": "line-discrete", + "interactiveFiltering": "filter", + "itemType": "chart", + "lookupFields": [], + "meta": {}, + "missedFields": [], + "query": null, + "queryId": null, + "reductions": {}, + "sample": false, + "title": "Player Activity", + "embedding": {} + }, + "item-8": { + "calculatedFields": [], + "channels": { + "x": { + "channelType": "aggregation", + "inferredType": "Number", + "field": "SessionStatisticsPlain.PowerUpBulletDamageCollected", + "type": "quantitative", + "aggregate": "sum" + }, + "x_series_0": { + "channelType": "aggregation", + "inferredType": "Number", + "field": "SessionStatisticsPlain.PowerUpBulletSpeedCollected", + "type": "quantitative", + "aggregate": "sum" + }, + "x_series_1": { + "channelType": "aggregation", + "inferredType": "Number", + "field": "SessionStatisticsPlain.PowerUpPlayerSpeedCollected", + "type": "quantitative", + "aggregate": "sum" + } + }, + "chartType": "Grouped Bar", + "convertedFields": [], + "customisations": { + "options": {}, + "conditionalFormatting": [], + "axes": { + "x": {} + }, + "channels": { + "x": { + "labelOverride": { + "enabled": true, + "value": "Bullet Damage" + }, + "numberFormatting": { + "enabled": true, + "value": "Default" + } + }, + "x_series_0": { + "labelOverride": { + "enabled": true, + "value": "Bullet Speed" + }, + "numberFormatting": { + "enabled": true, + "value": "Default" + } + }, + "x_series_1": { + "labelOverride": { + "enabled": true, + "value": "Player Speed" + }, + "numberFormatting": { + "enabled": true, + "value": "Default" + } + } + } + }, + "dashboardId": "dashboard-1", + "dataSourceId": "data-source-1", + "description": "", + "filters": [], + "iconValue": "bar-grouped", + "interactiveFiltering": "highlight", + "itemType": "chart", + "lookupFields": [], + "meta": {}, + "missedFields": [], + "query": null, + "queryId": null, + "reductions": {}, + "sample": false, + "title": "Power Ups Collected", + "embedding": {} + }, + "item-9": { + "calculatedFields": [], + "channels": { + "value": { + "channelType": "aggregation", + "inferredType": "String", + "field": "Player.Nickname", + "type": "quantitative", + "aggregate": "distinct" + } + }, + "chartType": "Number", + "convertedFields": [], + "customisations": { + "options": {}, + "axes": {}, + "channels": { + "value": { + "numberFormatting": { + "enabled": true, + "value": "Default" + } + } + }, + "conditionalFormatting": [] + }, + "dashboardId": "dashboard-1", + "dataSourceId": "data-source-1", + "description": "", + "filters": [], + "iconValue": "number", + "interactiveFiltering": "highlight", + "itemType": "chart", + "lookupFields": [], + "meta": {}, + "missedFields": [], + "query": null, + "queryId": null, + "reductions": {}, + "sample": false, + "title": "# Unique Players", + "embedding": {} + } + }, + "dataSources": { + "data-source-1": { + "alias": "recordings", + "collection": "recordings", + "database": "Leafsteroids", + "deployment": "Leafsteroids--federated", + "sourceType": "datalake" + } + }, + "queries": {} +} \ No newline at end of file diff --git a/deployment/atlas_charts/Leafsteroids - Event Top Scores - Federated.charts b/deployment/atlas_charts/Leafsteroids - Event Top Scores - Federated.charts new file mode 100644 index 0000000..f84f875 --- /dev/null +++ b/deployment/atlas_charts/Leafsteroids - Event Top Scores - Federated.charts @@ -0,0 +1,133 @@ +{ + "exportVersion": 6, + "dashboards": { + "dashboard-1": { + "description": "", + "embedding": { + "anonymousAuthEnabled": true, + "allowAllFieldsAnonymousAuth": false, + "anonymousAuthWhitelist": ["location", "Event._id"] + }, + "filters": [{ + "type": "String", + "disabled": false, + "name": "location", + "settings": { + "allOthers": false, + "values": ["US-CA"] + }, + "linkedFields": [{ + "dataSourceId": "data-source-1", + "fieldPath": "location" + }] + }, { + "type": "String", + "disabled": false, + "name": "_id", + "settings": { + "allOthers": false, + "values": ["gdc-2023-sf"] + }, + "linkedFields": [{ + "dataSourceId": "data-source-1", + "fieldPath": "Event._id" + }] + }], + "layout": [{ + "i": "item-1", + "w": 2, + "h": 4, + "x": 0, + "y": 0 + }], + "title": "Leafsteroids - Event Top Scores" + } + }, + "items": { + "item-1": { + "calculatedFields": [], + "channels": { + "group": { + "channelType": "category", + "inferredType": "String", + "field": "Player.Nickname", + "type": "nominal", + "isBinning": false + }, + "value": { + "channelType": "aggregation", + "inferredType": "Number", + "field": "SessionStatisticsPlain.Score", + "type": "quantitative", + "aggregate": "max" + } + }, + "chartType": "Data Table", + "convertedFields": [], + "customisations": { + "options": { + "totalsColumn": { + "enabled": false, + "value": null + } + }, + "conditionalFormatting": [], + "axes": {}, + "channels": { + "group": { + "labelOverride": { + "enabled": true, + "value": "Player" + } + }, + "value": { + "labelOverride": { + "enabled": true, + "value": "Score" + }, + "numberFormatting": { + "enabled": true, + "value": "Default" + } + } + } + }, + "dashboardId": "dashboard-1", + "dataSourceId": "data-source-1", + "description": "", + "filters": [], + "iconValue": "data-table", + "interactiveFiltering": "filter", + "itemType": "chart", + "lookupFields": [], + "meta": { + "sortModel": [{ + "colId": "value", + "sort": "desc" + }], + "columnWidths": { + "group": 150 + } + }, + "missedFields": [], + "query": null, + "queryId": null, + "reductions": {}, + "sample": false, + "title": "Leaderboard", + "embedding": { + "anonymousAuthEnabled": true + } + } + }, + "dataSources": { + "data-source-1": { + "alias": "recordings", + "collection": "recordings", + "database": "Leafsteroids", + "deployment": "Leafsteroids--federated", + "sourceType": "datalake" + } + }, + "queries": {} +} \ No newline at end of file diff --git a/deployment/atlas_charts/Leafsteroids - Player Dashboard - Federated.charts b/deployment/atlas_charts/Leafsteroids - Player Dashboard - Federated.charts new file mode 100644 index 0000000..9cfecdf --- /dev/null +++ b/deployment/atlas_charts/Leafsteroids - Player Dashboard - Federated.charts @@ -0,0 +1,687 @@ +{ + "exportVersion": 6, + "dashboards": { + "dashboard-1": { + "description": "", + "embedding": { + "anonymousAuthEnabled": true, + "allowAllFieldsAnonymousAuth": false, + "anonymousAuthWhitelist": ["Player.Nickname", "location", "Event._id"] + }, + "filters": [{ + "type": "String", + "disabled": false, + "name": "Nickname", + "settings": { + "allOthers": false, + "values": ["Wolffles"] + }, + "linkedFields": [{ + "dataSourceId": "data-source-1", + "fieldPath": "Player.Nickname" + }] + }, { + "type": "String", + "disabled": false, + "name": "location", + "settings": { + "allOthers": false, + "values": ["US-CA"] + }, + "linkedFields": [{ + "dataSourceId": "data-source-1", + "fieldPath": "location" + }] + }, { + "type": "String", + "disabled": false, + "name": "_id", + "settings": { + "allOthers": false, + "values": ["gdc-2023-sf"] + }, + "linkedFields": [{ + "dataSourceId": "data-source-1", + "fieldPath": "Event._id" + }] + }], + "layout": [{ + "i": "item-1", + "w": 2, + "h": 2, + "x": 0, + "y": 2 + }, { + "i": "item-2", + "w": 1, + "h": 1, + "x": 0, + "y": 4 + }, { + "i": "item-3", + "w": 2, + "h": 4, + "x": 0, + "y": 8 + }, { + "i": "item-4", + "w": 2, + "h": 1, + "x": 0, + "y": 7 + }, { + "i": "item-5", + "w": 1, + "h": 1, + "x": 1, + "y": 4 + }, { + "i": "item-6", + "w": 2, + "h": 1, + "x": 0, + "y": 5 + }, { + "i": "item-7", + "w": 2, + "h": 2, + "x": 0, + "y": 0 + }, { + "i": "item-8", + "w": 2, + "h": 1, + "x": 0, + "y": 6 + }], + "title": "Leafsteroids - Player Dashboard" + } + }, + "items": { + "item-1": { + "calculatedFields": [], + "channels": { + "x": { + "channelType": "category", + "inferredType": "Number", + "field": "Snapshots.PlayerPosition.X", + "type": "nominal", + "transformedType": "Number", + "isBinning": true, + "quantitativeBinning": { + "binSize": 1 + } + }, + "y": { + "channelType": "category", + "inferredType": "Number", + "field": "Snapshots.PlayerPosition.Z", + "type": "nominal", + "transformedType": "Number", + "isBinning": true, + "quantitativeBinning": { + "binSize": 1 + } + }, + "color": { + "channelType": "aggregation", + "inferredType": "String", + "field": "_id", + "type": "quantitative", + "aggregate": "count" + } + }, + "chartType": "Heatmap", + "convertedFields": [], + "customisations": { + "options": { + "colorContinuous": { + "enabled": true, + "value": { + "color": "yelloworangered", + "reverse": false + } + } + }, + "conditionalFormatting": [], + "axes": { + "x": { + "categoryLabelAngle": { + "enabled": true, + "value": "vertical" + } + } + }, + "channels": { + "x": { + "numberFormatting": { + "enabled": true, + "value": "Default" + } + }, + "y": { + "numberFormatting": { + "enabled": true, + "value": "Default" + } + }, + "color": { + "numberFormatting": { + "enabled": true, + "value": "Default" + } + } + } + }, + "dashboardId": "dashboard-1", + "dataSourceId": "data-source-1", + "description": "", + "filters": [], + "iconValue": "heatmap", + "interactiveFiltering": "highlight", + "itemType": "chart", + "lookupFields": [], + "meta": {}, + "missedFields": [], + "query": null, + "queryId": null, + "reductions": { + "x": [{ + "dimensionality": 1, + "field": "Snapshots", + "type": "Unwind array", + "arguments": [] + }], + "y": [{ + "dimensionality": 1, + "field": "Snapshots", + "type": "Unwind array", + "arguments": [] + }] + }, + "sample": false, + "title": "Heat Map: Player Location", + "embedding": {} + }, + "item-2": { + "calculatedFields": [], + "channels": { + "value": { + "channelType": "aggregation", + "inferredType": "String", + "field": "_id", + "type": "quantitative", + "aggregate": "count" + } + }, + "chartType": "Number", + "convertedFields": [], + "customisations": { + "options": {}, + "conditionalFormatting": [], + "axes": {}, + "channels": { + "value": { + "numberFormatting": { + "enabled": true, + "value": "Default" + } + } + } + }, + "dashboardId": "dashboard-1", + "dataSourceId": "data-source-1", + "description": "", + "filters": [], + "iconValue": "number", + "interactiveFiltering": "highlight", + "itemType": "chart", + "lookupFields": [], + "meta": {}, + "missedFields": [], + "query": null, + "queryId": null, + "reductions": {}, + "sample": false, + "title": "Games Played", + "embedding": {} + }, + "item-3": { + "calculatedFields": [], + "channels": { + "value": { + "channelType": "aggregation", + "inferredType": "Number", + "field": "SessionStatisticsPlain.Score", + "type": "quantitative", + "aggregate": "max" + }, + "group": { + "channelType": "category", + "inferredType": "Date", + "field": "DateTime", + "type": "nominal", + "isBinning": true, + "temporalBinning": ["year", "month", "date", "hours", "minutes"] + } + }, + "chartType": "Data Table", + "convertedFields": [], + "customisations": { + "options": { + "totalsColumn": { + "enabled": false, + "value": null + } + }, + "conditionalFormatting": [], + "axes": {}, + "channels": { + "value": { + "labelOverride": { + "enabled": true, + "value": "Score" + }, + "numberFormatting": { + "enabled": true, + "value": "Default" + } + }, + "group": { + "dateTimeFormatting": { + "enabled": true, + "value": "DD-MMM-YYYY HH:mm" + } + } + } + }, + "dashboardId": "dashboard-1", + "dataSourceId": "data-source-1", + "description": "", + "filters": [], + "iconValue": "data-table", + "interactiveFiltering": "highlight", + "itemType": "chart", + "lookupFields": [], + "meta": { + "sortModel": [{ + "colId": "value", + "sort": "desc" + }], + "columnWidths": {} + }, + "missedFields": [], + "query": "{ DateTime: { $gt: ISODate(\"2023-03-23T09:00:00.000000Z\") } }", + "queryId": null, + "reductions": {}, + "sample": false, + "title": "Game Plays", + "embedding": {} + }, + "item-4": { + "calculatedFields": [], + "channels": { + "x_series_0": { + "channelType": "aggregation", + "inferredType": "Number", + "field": "SessionStatisticsPlain.PelletsDestroyedMedium", + "type": "quantitative", + "aggregate": "sum" + }, + "x_series_1": { + "channelType": "aggregation", + "inferredType": "Number", + "field": "SessionStatisticsPlain.PelletsDestroyedSmall", + "type": "quantitative", + "aggregate": "sum" + }, + "x": { + "channelType": "aggregation", + "inferredType": "Number", + "field": "SessionStatisticsPlain.PelletsDestroyedLarge", + "type": "quantitative", + "aggregate": "sum" + } + }, + "chartType": "Grouped Bar", + "convertedFields": [], + "customisations": { + "axes": { + "x": { + "labelOverride": { + "enabled": true, + "value": "Amount" + } + } + }, + "conditionalFormatting": [], + "channels": { + "x": { + "labelOverride": { + "enabled": true, + "value": "Large" + }, + "numberFormatting": { + "enabled": true, + "value": "Default" + } + }, + "x_series_0": { + "labelOverride": { + "enabled": true, + "value": "Medium" + }, + "numberFormatting": { + "enabled": true, + "value": "Default" + } + }, + "x_series_1": { + "labelOverride": { + "enabled": true, + "value": "Small" + }, + "numberFormatting": { + "enabled": true, + "value": "Default" + } + } + }, + "options": {} + }, + "dashboardId": "dashboard-1", + "dataSourceId": "data-source-1", + "description": "", + "filters": [], + "iconValue": "bar-grouped", + "interactiveFiltering": "highlight", + "itemType": "chart", + "lookupFields": [], + "meta": {}, + "missedFields": [], + "query": null, + "queryId": null, + "reductions": {}, + "sample": false, + "title": "Pellets Destroyed", + "embedding": {} + }, + "item-5": { + "calculatedFields": [], + "channels": { + "value": { + "channelType": "aggregation", + "inferredType": "Number", + "field": "SessionStatisticsPlain.BulletsFired", + "type": "quantitative", + "aggregate": "sum" + } + }, + "chartType": "Number", + "convertedFields": [], + "customisations": { + "options": {}, + "axes": {}, + "channels": { + "value": { + "numberFormatting": { + "enabled": true, + "value": "Default" + } + } + }, + "conditionalFormatting": [] + }, + "dashboardId": "dashboard-1", + "dataSourceId": "data-source-1", + "description": "", + "filters": [], + "iconValue": "number", + "interactiveFiltering": "highlight", + "itemType": "chart", + "lookupFields": [], + "meta": {}, + "missedFields": [], + "query": null, + "queryId": null, + "reductions": {}, + "sample": false, + "title": "Total Bullets Fired", + "embedding": {} + }, + "item-6": { + "calculatedFields": [], + "channels": { + "value": { + "channelType": "aggregation", + "inferredType": "Number", + "field": "SessionStatisticsPlain.DamageDone", + "type": "quantitative", + "aggregate": "sum" + } + }, + "chartType": "Number", + "convertedFields": [], + "customisations": { + "options": {}, + "conditionalFormatting": [], + "axes": {}, + "channels": { + "value": { + "numberFormatting": { + "enabled": true, + "value": "Default" + } + } + } + }, + "dashboardId": "dashboard-1", + "dataSourceId": "data-source-1", + "description": "", + "filters": [], + "iconValue": "number", + "interactiveFiltering": "highlight", + "itemType": "chart", + "lookupFields": [], + "meta": {}, + "missedFields": [], + "query": null, + "queryId": null, + "reductions": {}, + "sample": false, + "title": "Total Damage", + "embedding": {} + }, + "item-7": { + "calculatedFields": [], + "channels": { + "x": { + "channelType": "category", + "inferredType": "Date", + "field": "DateTime", + "type": "nominal", + "isBinning": true, + "temporalBinning": ["year", "month", "date", "hours", "minutes"] + }, + "y": { + "channelType": "aggregation", + "inferredType": "Number", + "field": "SessionStatisticsPlain.Score", + "type": "quantitative", + "aggregate": "max" + } + }, + "chartType": "Line", + "convertedFields": [{ + "fieldPath": "DateTime", + "convertTo": "date", + "arrayParentPaths": [] + }], + "customisations": { + "options": { + "colorDiscrete": { + "enabled": true, + "value": ["#196ee6"] + }, + "dataMarkers": { + "enabled": true, + "value": null + }, + "dataValueLabels": { + "enabled": true, + "value": null + } + }, + "conditionalFormatting": [], + "axes": { + "x": { + "categoryLabelAngle": { + "enabled": true, + "value": "vertical" + } + }, + "y": {} + }, + "channels": { + "x": { + "labelOverride": { + "enabled": true, + "value": "Time" + }, + "datePreset": { + "enabled": true, + "value": "Custom" + }, + "minutePreset": { + "enabled": true, + "value": "Custom" + }, + "dateTimeFormatting": { + "enabled": true, + "value": "HH:mm" + } + }, + "y": { + "labelOverride": { + "enabled": true, + "value": "Score" + }, + "numberFormatting": { + "enabled": true, + "value": "Default" + } + } + } + }, + "dashboardId": "dashboard-1", + "dataSourceId": "data-source-1", + "description": "", + "filters": [], + "iconValue": "line-discrete", + "interactiveFiltering": "highlight", + "itemType": "chart", + "lookupFields": [], + "meta": {}, + "missedFields": [], + "query": null, + "queryId": null, + "reductions": {}, + "sample": false, + "title": "Player Activity", + "embedding": {} + }, + "item-8": { + "calculatedFields": [], + "channels": { + "x": { + "channelType": "aggregation", + "inferredType": "Number", + "field": "SessionStatisticsPlain.PowerUpBulletDamageCollected", + "type": "quantitative", + "aggregate": "sum" + }, + "x_series_0": { + "channelType": "aggregation", + "inferredType": "Number", + "field": "SessionStatisticsPlain.PowerUpBulletSpeedCollected", + "type": "quantitative", + "aggregate": "sum" + }, + "x_series_1": { + "channelType": "aggregation", + "inferredType": "Number", + "field": "SessionStatisticsPlain.PowerUpPlayerSpeedCollected", + "type": "quantitative", + "aggregate": "sum" + } + }, + "chartType": "Grouped Bar", + "convertedFields": [], + "customisations": { + "options": {}, + "conditionalFormatting": [], + "axes": { + "x": {} + }, + "channels": { + "x": { + "labelOverride": { + "enabled": true, + "value": "Bullet Damage" + }, + "numberFormatting": { + "enabled": true, + "value": "Default" + } + }, + "x_series_0": { + "labelOverride": { + "enabled": true, + "value": "Bullet Speed" + }, + "numberFormatting": { + "enabled": true, + "value": "Default" + } + }, + "x_series_1": { + "labelOverride": { + "enabled": true, + "value": "Player Speed" + }, + "numberFormatting": { + "enabled": true, + "value": "Default" + } + } + } + }, + "dashboardId": "dashboard-1", + "dataSourceId": "data-source-1", + "description": "", + "filters": [], + "iconValue": "bar-grouped", + "interactiveFiltering": "highlight", + "itemType": "chart", + "lookupFields": [], + "meta": {}, + "missedFields": [], + "query": null, + "queryId": null, + "reductions": {}, + "sample": false, + "title": "Power Ups Collected", + "embedding": {} + } + }, + "dataSources": { + "data-source-1": { + "alias": "recordings", + "collection": "recordings", + "database": "Leafsteroids", + "deployment": "Leafsteroids--federated", + "sourceType": "datalake" + } + }, + "queries": {} +} \ No newline at end of file From 20ee8735e44404cdf0d26e3066ff5c951ddc0c9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sig=20Narv=C3=A1ez?= Date: Fri, 1 Sep 2023 19:49:04 -0700 Subject: [PATCH 08/10] remove old files --- ... Event Dashboard - PROD - Federated.charts | 741 ------------------ ...vent Dashboard - STAGE - Federated.charts | 737 ----------------- ...Event Top Scores - PROD - Federated.charts | 133 ---- ...ent Top Scores - STAGE - Federated.charts | 131 ---- ...Player Dashboard - PROD - Federated.charts | 687 ---------------- ...layer Dashboard - STAGE - Federated.charts | 687 ---------------- 6 files changed, 3116 deletions(-) delete mode 100644 deployment/atlas_charts/Leafsteroids - Event Dashboard - PROD - Federated.charts delete mode 100644 deployment/atlas_charts/Leafsteroids - Event Dashboard - STAGE - Federated.charts delete mode 100644 deployment/atlas_charts/Leafsteroids - Event Top Scores - PROD - Federated.charts delete mode 100644 deployment/atlas_charts/Leafsteroids - Event Top Scores - STAGE - Federated.charts delete mode 100644 deployment/atlas_charts/Leafsteroids - Player Dashboard - PROD - Federated.charts delete mode 100644 deployment/atlas_charts/Leafsteroids - Player Dashboard - STAGE - Federated.charts diff --git a/deployment/atlas_charts/Leafsteroids - Event Dashboard - PROD - Federated.charts b/deployment/atlas_charts/Leafsteroids - Event Dashboard - PROD - Federated.charts deleted file mode 100644 index 6d65555..0000000 --- a/deployment/atlas_charts/Leafsteroids - Event Dashboard - PROD - Federated.charts +++ /dev/null @@ -1,741 +0,0 @@ -{ - "exportVersion": 6, - "dashboards": { - "dashboard-1": { - "description": "", - "embedding": { - "anonymousAuthEnabled": true, - "allowAllFieldsAnonymousAuth": false, - "anonymousAuthWhitelist": ["location", "Event._id"] - }, - "filters": [{ - "type": "String", - "disabled": true, - "name": "DateTime", - "settings": { - "allOthers": true, - "values": [null, "", "2023-03-22T16:54:43.0237652Z", "2023-03-22T17:26:40.5307982Z", "2023-03-22T17:42:17.8491458Z", "2023-03-22T18:09:21.1234055Z", "2023-03-22T19:01:13.8491565Z", "2023-03-22T19:07:16.827622Z", "2023-03-22T19:13:42.459265Z", "2023-03-22T19:21:19.2251935Z", "2023-03-22T19:46:03.1561755Z", "2023-03-22T19:54:08.8854326Z", "2023-03-22T20:00:17.9214215Z", "2023-03-22T22:00:45.0914022Z", "2023-03-22T22:09:38.3658714Z", "2023-03-22T22:15:28.6340605Z", "2023-03-22T22:29:40.3666591Z", "2023-03-22T23:19:39.8369564Z", "2023-03-22T23:24:59.4745029Z", "2023-03-22T23:46:44.5247699Z", "2023-03-22T23:48:41.9151363Z", "2023-03-23T00:28:57.9465764Z"] - }, - "linkedFields": [{ - "dataSourceId": "data-source-1", - "fieldPath": "DateTime" - }] - }, { - "type": "String", - "disabled": false, - "name": "location", - "settings": { - "allOthers": true, - "values": [null, ""] - }, - "linkedFields": [{ - "dataSourceId": "data-source-1", - "fieldPath": "location" - }] - }, { - "type": "String", - "disabled": false, - "name": "_id", - "settings": { - "allOthers": false, - "values": [] - }, - "linkedFields": [{ - "dataSourceId": "data-source-1", - "fieldPath": "Event._id" - }] - }, { - "type": "String", - "disabled": false, - "name": "Nickname", - "settings": { - "allOthers": false, - "values": [] - }, - "linkedFields": [{ - "dataSourceId": "data-source-1", - "fieldPath": "Player.Nickname" - }] - }], - "layout": [{ - "i": "item-1", - "w": 3, - "h": 2, - "x": 0, - "y": 0 - }, { - "i": "item-2", - "w": 1, - "h": 1, - "x": 0, - "y": 2 - }, { - "i": "item-3", - "w": 3, - "h": 3, - "x": 3, - "y": 1 - }, { - "i": "item-4", - "w": 1, - "h": 1, - "x": 0, - "y": 3 - }, { - "i": "item-5", - "w": 1, - "h": 1, - "x": 1, - "y": 2 - }, { - "i": "item-6", - "w": 1, - "h": 1, - "x": 2, - "y": 2 - }, { - "i": "item-7", - "w": 2, - "h": 1, - "x": 3, - "y": 0 - }, { - "i": "item-8", - "w": 2, - "h": 1, - "x": 1, - "y": 3 - }, { - "i": "item-9", - "w": 1, - "h": 1, - "x": 5, - "y": 0 - }], - "title": "Leafsteroids - Event Dashboard" - } - }, - "items": { - "item-1": { - "calculatedFields": [], - "channels": { - "x": { - "channelType": "category", - "inferredType": "Number", - "field": "Snapshots.PlayerPosition.X", - "type": "nominal", - "transformedType": "Number", - "isBinning": true, - "quantitativeBinning": { - "binSize": 1 - } - }, - "y": { - "channelType": "category", - "inferredType": "Number", - "field": "Snapshots.PlayerPosition.Z", - "type": "nominal", - "transformedType": "Number", - "isBinning": true, - "quantitativeBinning": { - "binSize": 1 - } - }, - "color": { - "channelType": "aggregation", - "inferredType": "String", - "field": "_id", - "type": "quantitative", - "aggregate": "count" - } - }, - "chartType": "Heatmap", - "convertedFields": [], - "customisations": { - "options": { - "colorContinuous": { - "enabled": true, - "value": { - "color": "yelloworangered", - "reverse": false - } - } - }, - "conditionalFormatting": [], - "axes": { - "x": { - "categoryLabelAngle": { - "enabled": true, - "value": "vertical" - } - } - }, - "channels": { - "x": { - "numberFormatting": { - "enabled": true, - "value": "Default" - } - }, - "y": { - "numberFormatting": { - "enabled": true, - "value": "Default" - } - }, - "color": { - "numberFormatting": { - "enabled": true, - "value": "Default" - } - } - } - }, - "dashboardId": "dashboard-1", - "dataSourceId": "data-source-1", - "description": "", - "filters": [], - "iconValue": "heatmap", - "interactiveFiltering": "highlight", - "itemType": "chart", - "lookupFields": [], - "meta": {}, - "missedFields": [], - "query": null, - "queryId": null, - "reductions": { - "x": [{ - "dimensionality": 1, - "field": "Snapshots", - "type": "Unwind array", - "arguments": [] - }], - "y": [{ - "dimensionality": 1, - "field": "Snapshots", - "type": "Unwind array", - "arguments": [] - }] - }, - "sample": false, - "title": "Heat Map: Player Location", - "embedding": { - "anonymousAuthEnabled": true - } - }, - "item-2": { - "calculatedFields": [], - "channels": { - "value": { - "channelType": "aggregation", - "inferredType": "String", - "field": "_id", - "type": "quantitative", - "aggregate": "count" - } - }, - "chartType": "Number", - "convertedFields": [], - "customisations": { - "options": {}, - "conditionalFormatting": [], - "axes": {}, - "channels": { - "value": { - "numberFormatting": { - "enabled": true, - "value": "Default" - } - } - } - }, - "dashboardId": "dashboard-1", - "dataSourceId": "data-source-1", - "description": "", - "filters": [], - "iconValue": "number", - "interactiveFiltering": "highlight", - "itemType": "chart", - "lookupFields": [], - "meta": {}, - "missedFields": [], - "query": null, - "queryId": null, - "reductions": {}, - "sample": false, - "title": "Games Played", - "embedding": {} - }, - "item-3": { - "calculatedFields": [], - "channels": { - "group": { - "channelType": "category", - "inferredType": "String", - "field": "Player.Nickname", - "type": "nominal", - "isBinning": false - }, - "value": { - "channelType": "aggregation", - "inferredType": "Number", - "field": "SessionStatisticsPlain.Score", - "type": "quantitative", - "aggregate": "max" - } - }, - "chartType": "Data Table", - "convertedFields": [], - "customisations": { - "options": { - "totalsColumn": { - "enabled": false, - "value": null - } - }, - "conditionalFormatting": [], - "axes": {}, - "channels": { - "group": { - "labelOverride": { - "enabled": true, - "value": "Player" - } - }, - "value": { - "labelOverride": { - "enabled": true, - "value": "Score" - }, - "numberFormatting": { - "enabled": true, - "value": "Default" - } - } - } - }, - "dashboardId": "dashboard-1", - "dataSourceId": "data-source-1", - "description": "", - "filters": [], - "iconValue": "data-table", - "interactiveFiltering": "filter", - "itemType": "chart", - "lookupFields": [], - "meta": { - "sortModel": [{ - "colId": "value", - "sort": "desc" - }], - "columnWidths": { - "group": 150 - } - }, - "missedFields": [], - "query": null, - "queryId": null, - "reductions": {}, - "sample": false, - "title": "Leaderboard", - "embedding": { - "anonymousAuthEnabled": true - } - }, - "item-4": { - "calculatedFields": [], - "channels": { - "x_series_0": { - "channelType": "aggregation", - "inferredType": "Number", - "field": "SessionStatisticsPlain.PelletsDestroyedMedium", - "type": "quantitative", - "aggregate": "sum" - }, - "x_series_1": { - "channelType": "aggregation", - "inferredType": "Number", - "field": "SessionStatisticsPlain.PelletsDestroyedSmall", - "type": "quantitative", - "aggregate": "sum" - }, - "x": { - "channelType": "aggregation", - "inferredType": "Number", - "field": "SessionStatisticsPlain.PelletsDestroyedLarge", - "type": "quantitative", - "aggregate": "sum" - } - }, - "chartType": "Grouped Bar", - "convertedFields": [], - "customisations": { - "axes": { - "x": { - "labelOverride": { - "enabled": true, - "value": "Amount" - } - } - }, - "conditionalFormatting": [], - "channels": { - "x": { - "labelOverride": { - "enabled": true, - "value": "Large" - }, - "numberFormatting": { - "enabled": true, - "value": "Default" - } - }, - "x_series_0": { - "labelOverride": { - "enabled": true, - "value": "Medium" - }, - "numberFormatting": { - "enabled": true, - "value": "Default" - } - }, - "x_series_1": { - "labelOverride": { - "enabled": true, - "value": "Small" - }, - "numberFormatting": { - "enabled": true, - "value": "Default" - } - } - }, - "options": {} - }, - "dashboardId": "dashboard-1", - "dataSourceId": "data-source-1", - "description": "", - "filters": [], - "iconValue": "bar-grouped", - "interactiveFiltering": "highlight", - "itemType": "chart", - "lookupFields": [], - "meta": {}, - "missedFields": [], - "query": null, - "queryId": null, - "reductions": {}, - "sample": false, - "title": "Pellets Destroyed", - "embedding": {} - }, - "item-5": { - "calculatedFields": [], - "channels": { - "value": { - "channelType": "aggregation", - "inferredType": "Number", - "field": "SessionStatisticsPlain.BulletsFired", - "type": "quantitative", - "aggregate": "sum" - } - }, - "chartType": "Number", - "convertedFields": [], - "customisations": { - "options": {}, - "axes": {}, - "channels": { - "value": { - "numberFormatting": { - "enabled": true, - "value": "Default" - } - } - }, - "conditionalFormatting": [] - }, - "dashboardId": "dashboard-1", - "dataSourceId": "data-source-1", - "description": "", - "filters": [], - "iconValue": "number", - "interactiveFiltering": "highlight", - "itemType": "chart", - "lookupFields": [], - "meta": {}, - "missedFields": [], - "query": null, - "queryId": null, - "reductions": {}, - "sample": false, - "title": "Total Bullets Fired", - "embedding": {} - }, - "item-6": { - "calculatedFields": [], - "channels": { - "value": { - "channelType": "aggregation", - "inferredType": "Number", - "field": "SessionStatisticsPlain.DamageDone", - "type": "quantitative", - "aggregate": "sum" - } - }, - "chartType": "Number", - "convertedFields": [], - "customisations": { - "options": {}, - "conditionalFormatting": [], - "axes": {}, - "channels": { - "value": { - "numberFormatting": { - "enabled": true, - "value": "Default" - } - } - } - }, - "dashboardId": "dashboard-1", - "dataSourceId": "data-source-1", - "description": "", - "filters": [], - "iconValue": "number", - "interactiveFiltering": "highlight", - "itemType": "chart", - "lookupFields": [], - "meta": {}, - "missedFields": [], - "query": null, - "queryId": null, - "reductions": {}, - "sample": false, - "title": "Total Damage", - "embedding": {} - }, - "item-7": { - "calculatedFields": [], - "channels": { - "x": { - "channelType": "category", - "inferredType": "Date", - "field": "DateTime", - "type": "nominal", - "isBinning": true, - "temporalBinning": ["hours"] - }, - "y": { - "channelType": "aggregation", - "inferredType": "String", - "field": "Player.Nickname", - "type": "quantitative", - "aggregate": "count" - } - }, - "chartType": "Line", - "convertedFields": [{ - "fieldPath": "DateTime", - "convertTo": "date", - "arrayParentPaths": [] - }], - "customisations": { - "options": { - "colorDiscrete": { - "enabled": true, - "value": ["#196ee6"] - }, - "dataMarkers": { - "enabled": true, - "value": null - }, - "dataValueLabels": { - "enabled": true, - "value": null - } - }, - "axes": { - "x": { - "categoryLabelAngle": { - "enabled": true, - "value": "vertical" - } - }, - "y": {} - }, - "channels": { - "x": { - "labelOverride": { - "enabled": true, - "value": "Time" - }, - "dateTimeFormatting": { - "enabled": true, - "value": "HH:00" - } - }, - "y": { - "numberFormatting": { - "enabled": true, - "value": "Default" - } - } - }, - "conditionalFormatting": [] - }, - "dashboardId": "dashboard-1", - "dataSourceId": "data-source-1", - "description": "", - "filters": [], - "iconValue": "line-discrete", - "interactiveFiltering": "filter", - "itemType": "chart", - "lookupFields": [], - "meta": {}, - "missedFields": [], - "query": null, - "queryId": null, - "reductions": {}, - "sample": false, - "title": "Player Activity", - "embedding": {} - }, - "item-8": { - "calculatedFields": [], - "channels": { - "x": { - "channelType": "aggregation", - "inferredType": "Number", - "field": "SessionStatisticsPlain.PowerUpBulletDamageCollected", - "type": "quantitative", - "aggregate": "sum" - }, - "x_series_0": { - "channelType": "aggregation", - "inferredType": "Number", - "field": "SessionStatisticsPlain.PowerUpBulletSpeedCollected", - "type": "quantitative", - "aggregate": "sum" - }, - "x_series_1": { - "channelType": "aggregation", - "inferredType": "Number", - "field": "SessionStatisticsPlain.PowerUpPlayerSpeedCollected", - "type": "quantitative", - "aggregate": "sum" - } - }, - "chartType": "Grouped Bar", - "convertedFields": [], - "customisations": { - "options": {}, - "conditionalFormatting": [], - "axes": { - "x": {} - }, - "channels": { - "x": { - "labelOverride": { - "enabled": true, - "value": "Bullet Damage" - }, - "numberFormatting": { - "enabled": true, - "value": "Default" - } - }, - "x_series_0": { - "labelOverride": { - "enabled": true, - "value": "Bullet Speed" - }, - "numberFormatting": { - "enabled": true, - "value": "Default" - } - }, - "x_series_1": { - "labelOverride": { - "enabled": true, - "value": "Player Speed" - }, - "numberFormatting": { - "enabled": true, - "value": "Default" - } - } - } - }, - "dashboardId": "dashboard-1", - "dataSourceId": "data-source-1", - "description": "", - "filters": [], - "iconValue": "bar-grouped", - "interactiveFiltering": "highlight", - "itemType": "chart", - "lookupFields": [], - "meta": {}, - "missedFields": [], - "query": null, - "queryId": null, - "reductions": {}, - "sample": false, - "title": "Power Ups Collected", - "embedding": {} - }, - "item-9": { - "calculatedFields": [], - "channels": { - "value": { - "channelType": "aggregation", - "inferredType": "String", - "field": "Player._id", - "type": "quantitative", - "aggregate": "distinct" - } - }, - "chartType": "Number", - "convertedFields": [], - "customisations": { - "options": {}, - "axes": {}, - "channels": { - "value": { - "numberFormatting": { - "enabled": true, - "value": "Default" - } - } - }, - "conditionalFormatting": [] - }, - "dashboardId": "dashboard-1", - "dataSourceId": "data-source-1", - "description": "", - "filters": [], - "iconValue": "number", - "interactiveFiltering": "highlight", - "itemType": "chart", - "lookupFields": [], - "meta": {}, - "missedFields": [], - "query": null, - "queryId": null, - "reductions": {}, - "sample": false, - "title": "# Unique Players", - "embedding": {} - } - }, - "dataSources": { - "data-source-1": { - "alias": "recordings", - "collection": "recordings", - "database": "Leafsteroids", - "deployment": "Leafsteroids--federated", - "sourceType": "datalake" - } - }, - "queries": {} -} \ No newline at end of file diff --git a/deployment/atlas_charts/Leafsteroids - Event Dashboard - STAGE - Federated.charts b/deployment/atlas_charts/Leafsteroids - Event Dashboard - STAGE - Federated.charts deleted file mode 100644 index cc4d57a..0000000 --- a/deployment/atlas_charts/Leafsteroids - Event Dashboard - STAGE - Federated.charts +++ /dev/null @@ -1,737 +0,0 @@ -{ - "exportVersion": 6, - "dashboards": { - "dashboard-1": { - "description": "", - "embedding": { - "anonymousAuthEnabled": true, - "allowAllFieldsAnonymousAuth": false, - "anonymousAuthWhitelist": ["location", "Event._id"] - }, - "filters": [{ - "type": "String", - "disabled": true, - "name": "DateTime", - "settings": { - "allOthers": true, - "values": [null, "", "2023-03-22T16:54:43.0237652Z", "2023-03-22T17:26:40.5307982Z", "2023-03-22T17:42:17.8491458Z", "2023-03-22T18:09:21.1234055Z", "2023-03-22T19:01:13.8491565Z", "2023-03-22T19:07:16.827622Z", "2023-03-22T19:13:42.459265Z", "2023-03-22T19:21:19.2251935Z", "2023-03-22T19:46:03.1561755Z", "2023-03-22T19:54:08.8854326Z", "2023-03-22T20:00:17.9214215Z", "2023-03-22T22:00:45.0914022Z", "2023-03-22T22:09:38.3658714Z", "2023-03-22T22:15:28.6340605Z", "2023-03-22T22:29:40.3666591Z", "2023-03-22T23:19:39.8369564Z", "2023-03-22T23:24:59.4745029Z", "2023-03-22T23:46:44.5247699Z", "2023-03-22T23:48:41.9151363Z", "2023-03-23T00:28:57.9465764Z"] - }, - "linkedFields": [{ - "dataSourceId": "data-source-1", - "fieldPath": "DateTime" - }] - }, { - "type": "String", - "disabled": false, - "name": "location", - "settings": { - "allOthers": true, - "values": [null, ""] - }, - "linkedFields": [{ - "dataSourceId": "data-source-1", - "fieldPath": "location" - }] - }, { - "type": "String", - "disabled": false, - "name": "_id", - "settings": { - "allOthers": false, - "values": [] - }, - "linkedFields": [{ - "dataSourceId": "data-source-1", - "fieldPath": "Event._id" - }] - }, { - "type": "String", - "disabled": false, - "name": "Nickname", - "settings": { - "allOthers": false, - "values": [] - }, - "linkedFields": [{ - "dataSourceId": "data-source-1", - "fieldPath": "Player.Nickname" - }] - }], - "layout": [{ - "i": "item-1", - "w": 3, - "h": 2, - "x": 0, - "y": 0 - }, { - "i": "item-2", - "w": 1, - "h": 1, - "x": 0, - "y": 2 - }, { - "i": "item-3", - "w": 3, - "h": 3, - "x": 3, - "y": 1 - }, { - "i": "item-4", - "w": 1, - "h": 1, - "x": 0, - "y": 3 - }, { - "i": "item-5", - "w": 1, - "h": 1, - "x": 1, - "y": 2 - }, { - "i": "item-6", - "w": 1, - "h": 1, - "x": 2, - "y": 2 - }, { - "i": "item-7", - "w": 2, - "h": 1, - "x": 3, - "y": 0 - }, { - "i": "item-8", - "w": 2, - "h": 1, - "x": 1, - "y": 3 - }, { - "i": "item-9", - "w": 1, - "h": 1, - "x": 5, - "y": 0 - }], - "title": "Leafsteroids STAGE - Event Dashboard" - } - }, - "items": { - "item-5": { - "calculatedFields": [], - "channels": { - "value": { - "channelType": "aggregation", - "inferredType": "Number", - "field": "SessionStatisticsPlain.BulletsFired", - "type": "quantitative", - "aggregate": "sum" - } - }, - "chartType": "Number", - "convertedFields": [], - "customisations": { - "options": {}, - "conditionalFormatting": [], - "axes": {}, - "channels": { - "value": { - "numberFormatting": { - "enabled": true, - "value": "Default" - } - } - } - }, - "dashboardId": "dashboard-1", - "dataSourceId": "data-source-1", - "description": "", - "filters": [], - "iconValue": "number", - "interactiveFiltering": "highlight", - "itemType": "chart", - "lookupFields": [], - "meta": {}, - "missedFields": [], - "query": null, - "queryId": null, - "reductions": {}, - "sample": false, - "title": "Total Bullets Fired", - "embedding": {} - }, - "item-8": { - "calculatedFields": [], - "channels": { - "x": { - "channelType": "aggregation", - "inferredType": "Number", - "field": "SessionStatisticsPlain.PowerUpBulletDamageCollected", - "type": "quantitative", - "aggregate": "sum" - }, - "x_series_0": { - "channelType": "aggregation", - "inferredType": "Number", - "field": "SessionStatisticsPlain.PowerUpBulletSpeedCollected", - "type": "quantitative", - "aggregate": "sum" - }, - "x_series_1": { - "channelType": "aggregation", - "inferredType": "Number", - "field": "SessionStatisticsPlain.PowerUpPlayerSpeedCollected", - "type": "quantitative", - "aggregate": "sum" - } - }, - "chartType": "Grouped Bar", - "convertedFields": [], - "customisations": { - "options": {}, - "conditionalFormatting": [], - "axes": { - "x": {} - }, - "channels": { - "x": { - "labelOverride": { - "enabled": true, - "value": "Bullet Damage" - }, - "numberFormatting": { - "enabled": true, - "value": "Default" - } - }, - "x_series_0": { - "labelOverride": { - "enabled": true, - "value": "Bullet Speed" - }, - "numberFormatting": { - "enabled": true, - "value": "Default" - } - }, - "x_series_1": { - "labelOverride": { - "enabled": true, - "value": "Player Speed" - }, - "numberFormatting": { - "enabled": true, - "value": "Default" - } - } - } - }, - "dashboardId": "dashboard-1", - "dataSourceId": "data-source-1", - "description": "", - "filters": [], - "iconValue": "bar-grouped", - "interactiveFiltering": "highlight", - "itemType": "chart", - "lookupFields": [], - "meta": {}, - "missedFields": [], - "query": null, - "queryId": null, - "reductions": {}, - "sample": false, - "title": "Power Ups Collected", - "embedding": {} - }, - "item-6": { - "calculatedFields": [], - "channels": { - "value": { - "channelType": "aggregation", - "inferredType": "Number", - "field": "SessionStatisticsPlain.DamageDone", - "type": "quantitative", - "aggregate": "sum" - } - }, - "chartType": "Number", - "convertedFields": [], - "customisations": { - "options": {}, - "conditionalFormatting": [], - "axes": {}, - "channels": { - "value": { - "numberFormatting": { - "enabled": true, - "value": "Default" - } - } - } - }, - "dashboardId": "dashboard-1", - "dataSourceId": "data-source-1", - "description": "", - "filters": [], - "iconValue": "number", - "interactiveFiltering": "highlight", - "itemType": "chart", - "lookupFields": [], - "meta": {}, - "missedFields": [], - "query": null, - "queryId": null, - "reductions": {}, - "sample": false, - "title": "Total Damage", - "embedding": {} - }, - "item-9": { - "calculatedFields": [], - "channels": { - "value": { - "channelType": "aggregation", - "inferredType": "String", - "field": "Player._id", - "type": "quantitative", - "aggregate": "distinct" - } - }, - "chartType": "Number", - "convertedFields": [], - "customisations": { - "options": {}, - "conditionalFormatting": [], - "axes": {}, - "channels": { - "value": { - "numberFormatting": { - "enabled": true, - "value": "Default" - } - } - } - }, - "dashboardId": "dashboard-1", - "dataSourceId": "data-source-1", - "description": "", - "filters": [], - "iconValue": "number", - "interactiveFiltering": "highlight", - "itemType": "chart", - "lookupFields": [], - "meta": {}, - "missedFields": [], - "query": null, - "queryId": null, - "reductions": {}, - "sample": false, - "title": "# Unique Players", - "embedding": {} - }, - "item-3": { - "calculatedFields": [], - "channels": { - "group": { - "channelType": "category", - "inferredType": "String", - "field": "Player.Nickname", - "type": "nominal", - "isBinning": false - }, - "value": { - "channelType": "aggregation", - "inferredType": "Number", - "field": "SessionStatisticsPlain.Score", - "type": "quantitative", - "aggregate": "max" - } - }, - "chartType": "Data Table", - "convertedFields": [], - "customisations": { - "options": { - "totalsColumn": { - "enabled": false, - "value": null - } - }, - "conditionalFormatting": [], - "axes": {}, - "channels": { - "group": { - "labelOverride": { - "enabled": true, - "value": "Player" - } - }, - "value": { - "labelOverride": { - "enabled": true, - "value": "Score" - }, - "numberFormatting": { - "enabled": true, - "value": "Default" - } - } - } - }, - "dashboardId": "dashboard-1", - "dataSourceId": "data-source-1", - "description": "", - "filters": [], - "iconValue": "data-table", - "interactiveFiltering": "filter", - "itemType": "chart", - "lookupFields": [], - "meta": { - "sortModel": [{ - "colId": "value", - "sort": "desc" - }], - "columnWidths": { - "group": 150 - } - }, - "missedFields": [], - "query": null, - "queryId": null, - "reductions": {}, - "sample": false, - "title": "Leaderboard", - "embedding": {} - }, - "item-7": { - "calculatedFields": [], - "channels": { - "x": { - "channelType": "category", - "inferredType": "Date", - "field": "DateTime", - "type": "nominal", - "isBinning": true, - "temporalBinning": ["hours"] - }, - "y": { - "channelType": "aggregation", - "inferredType": "String", - "field": "Player.Nickname", - "type": "quantitative", - "aggregate": "count" - } - }, - "chartType": "Line", - "convertedFields": [{ - "fieldPath": "DateTime", - "convertTo": "date", - "arrayParentPaths": [] - }], - "customisations": { - "options": { - "colorDiscrete": { - "enabled": true, - "value": ["#196ee6"] - }, - "dataMarkers": { - "enabled": true, - "value": null - }, - "dataValueLabels": { - "enabled": true, - "value": null - } - }, - "conditionalFormatting": [], - "axes": { - "x": { - "categoryLabelAngle": { - "enabled": true, - "value": "vertical" - } - }, - "y": {} - }, - "channels": { - "x": { - "labelOverride": { - "enabled": true, - "value": "Time" - }, - "dateTimeFormatting": { - "enabled": true, - "value": "HH:00" - } - }, - "y": { - "numberFormatting": { - "enabled": true, - "value": "Default" - } - } - } - }, - "dashboardId": "dashboard-1", - "dataSourceId": "data-source-1", - "description": "", - "filters": [], - "iconValue": "line-discrete", - "interactiveFiltering": "filter", - "itemType": "chart", - "lookupFields": [], - "meta": {}, - "missedFields": [], - "query": null, - "queryId": null, - "reductions": {}, - "sample": false, - "title": "Player Activity", - "embedding": {} - }, - "item-2": { - "calculatedFields": [], - "channels": { - "value": { - "channelType": "aggregation", - "inferredType": "String", - "field": "_id", - "type": "quantitative", - "aggregate": "count" - } - }, - "chartType": "Number", - "convertedFields": [], - "customisations": { - "options": {}, - "conditionalFormatting": [], - "axes": {}, - "channels": { - "value": { - "numberFormatting": { - "enabled": true, - "value": "Default" - } - } - } - }, - "dashboardId": "dashboard-1", - "dataSourceId": "data-source-1", - "description": "", - "filters": [], - "iconValue": "number", - "interactiveFiltering": "highlight", - "itemType": "chart", - "lookupFields": [], - "meta": {}, - "missedFields": [], - "query": null, - "queryId": null, - "reductions": {}, - "sample": false, - "title": "Games Played", - "embedding": {} - }, - "item-4": { - "calculatedFields": [], - "channels": { - "x_series_0": { - "channelType": "aggregation", - "inferredType": "Number", - "field": "SessionStatisticsPlain.PelletsDestroyedMedium", - "type": "quantitative", - "aggregate": "sum" - }, - "x_series_1": { - "channelType": "aggregation", - "inferredType": "Number", - "field": "SessionStatisticsPlain.PelletsDestroyedSmall", - "type": "quantitative", - "aggregate": "sum" - }, - "x": { - "channelType": "aggregation", - "inferredType": "Number", - "field": "SessionStatisticsPlain.PelletsDestroyedLarge", - "type": "quantitative", - "aggregate": "sum" - } - }, - "chartType": "Grouped Bar", - "convertedFields": [], - "customisations": { - "options": {}, - "conditionalFormatting": [], - "axes": { - "x": { - "labelOverride": { - "enabled": true, - "value": "Amount" - } - } - }, - "channels": { - "x_series_0": { - "labelOverride": { - "enabled": true, - "value": "Medium" - }, - "numberFormatting": { - "enabled": true, - "value": "Default" - } - }, - "x_series_1": { - "labelOverride": { - "enabled": true, - "value": "Small" - }, - "numberFormatting": { - "enabled": true, - "value": "Default" - } - }, - "x": { - "labelOverride": { - "enabled": true, - "value": "Large" - }, - "numberFormatting": { - "enabled": true, - "value": "Default" - } - } - } - }, - "dashboardId": "dashboard-1", - "dataSourceId": "data-source-1", - "description": "", - "filters": [], - "iconValue": "bar-grouped", - "interactiveFiltering": "highlight", - "itemType": "chart", - "lookupFields": [], - "meta": {}, - "missedFields": [], - "query": null, - "queryId": null, - "reductions": {}, - "sample": false, - "title": "Pellets Destroyed", - "embedding": {} - }, - "item-1": { - "calculatedFields": [], - "channels": { - "x": { - "channelType": "category", - "inferredType": "Number", - "field": "Snapshots.PlayerPosition.X", - "type": "nominal", - "transformedType": "Number", - "isBinning": true, - "quantitativeBinning": { - "binSize": 1 - } - }, - "y": { - "channelType": "category", - "inferredType": "Number", - "field": "Snapshots.PlayerPosition.Z", - "type": "nominal", - "transformedType": "Number", - "isBinning": true, - "quantitativeBinning": { - "binSize": 1 - } - }, - "color": { - "channelType": "aggregation", - "inferredType": "String", - "field": "_id", - "type": "quantitative", - "aggregate": "count" - } - }, - "chartType": "Heatmap", - "convertedFields": [], - "customisations": { - "options": { - "colorContinuous": { - "enabled": true, - "value": { - "color": "yelloworangered", - "reverse": false - } - } - }, - "conditionalFormatting": [], - "axes": { - "x": { - "categoryLabelAngle": { - "enabled": true, - "value": "vertical" - } - } - }, - "channels": { - "x": { - "numberFormatting": { - "enabled": true, - "value": "Default" - } - }, - "y": { - "numberFormatting": { - "enabled": true, - "value": "Default" - } - }, - "color": { - "numberFormatting": { - "enabled": true, - "value": "Default" - } - } - } - }, - "dashboardId": "dashboard-1", - "dataSourceId": "data-source-1", - "description": "", - "filters": [], - "iconValue": "heatmap", - "interactiveFiltering": "highlight", - "itemType": "chart", - "lookupFields": [], - "meta": {}, - "missedFields": [], - "query": null, - "queryId": null, - "reductions": { - "x": [{ - "dimensionality": 1, - "field": "Snapshots", - "type": "Unwind array", - "arguments": [] - }], - "y": [{ - "dimensionality": 1, - "field": "Snapshots", - "type": "Unwind array", - "arguments": [] - }] - }, - "sample": false, - "title": "Heat Map: Player Location", - "embedding": {} - } - }, - "dataSources": { - "data-source-1": { - "alias": "recordings", - "collection": "recordings", - "database": "Leafsteroids_stage", - "deployment": "Leafsteroids-stage--federated", - "sourceType": "datalake" - } - }, - "queries": {} -} \ No newline at end of file diff --git a/deployment/atlas_charts/Leafsteroids - Event Top Scores - PROD - Federated.charts b/deployment/atlas_charts/Leafsteroids - Event Top Scores - PROD - Federated.charts deleted file mode 100644 index f84f875..0000000 --- a/deployment/atlas_charts/Leafsteroids - Event Top Scores - PROD - Federated.charts +++ /dev/null @@ -1,133 +0,0 @@ -{ - "exportVersion": 6, - "dashboards": { - "dashboard-1": { - "description": "", - "embedding": { - "anonymousAuthEnabled": true, - "allowAllFieldsAnonymousAuth": false, - "anonymousAuthWhitelist": ["location", "Event._id"] - }, - "filters": [{ - "type": "String", - "disabled": false, - "name": "location", - "settings": { - "allOthers": false, - "values": ["US-CA"] - }, - "linkedFields": [{ - "dataSourceId": "data-source-1", - "fieldPath": "location" - }] - }, { - "type": "String", - "disabled": false, - "name": "_id", - "settings": { - "allOthers": false, - "values": ["gdc-2023-sf"] - }, - "linkedFields": [{ - "dataSourceId": "data-source-1", - "fieldPath": "Event._id" - }] - }], - "layout": [{ - "i": "item-1", - "w": 2, - "h": 4, - "x": 0, - "y": 0 - }], - "title": "Leafsteroids - Event Top Scores" - } - }, - "items": { - "item-1": { - "calculatedFields": [], - "channels": { - "group": { - "channelType": "category", - "inferredType": "String", - "field": "Player.Nickname", - "type": "nominal", - "isBinning": false - }, - "value": { - "channelType": "aggregation", - "inferredType": "Number", - "field": "SessionStatisticsPlain.Score", - "type": "quantitative", - "aggregate": "max" - } - }, - "chartType": "Data Table", - "convertedFields": [], - "customisations": { - "options": { - "totalsColumn": { - "enabled": false, - "value": null - } - }, - "conditionalFormatting": [], - "axes": {}, - "channels": { - "group": { - "labelOverride": { - "enabled": true, - "value": "Player" - } - }, - "value": { - "labelOverride": { - "enabled": true, - "value": "Score" - }, - "numberFormatting": { - "enabled": true, - "value": "Default" - } - } - } - }, - "dashboardId": "dashboard-1", - "dataSourceId": "data-source-1", - "description": "", - "filters": [], - "iconValue": "data-table", - "interactiveFiltering": "filter", - "itemType": "chart", - "lookupFields": [], - "meta": { - "sortModel": [{ - "colId": "value", - "sort": "desc" - }], - "columnWidths": { - "group": 150 - } - }, - "missedFields": [], - "query": null, - "queryId": null, - "reductions": {}, - "sample": false, - "title": "Leaderboard", - "embedding": { - "anonymousAuthEnabled": true - } - } - }, - "dataSources": { - "data-source-1": { - "alias": "recordings", - "collection": "recordings", - "database": "Leafsteroids", - "deployment": "Leafsteroids--federated", - "sourceType": "datalake" - } - }, - "queries": {} -} \ No newline at end of file diff --git a/deployment/atlas_charts/Leafsteroids - Event Top Scores - STAGE - Federated.charts b/deployment/atlas_charts/Leafsteroids - Event Top Scores - STAGE - Federated.charts deleted file mode 100644 index 84ce504..0000000 --- a/deployment/atlas_charts/Leafsteroids - Event Top Scores - STAGE - Federated.charts +++ /dev/null @@ -1,131 +0,0 @@ -{ - "exportVersion": 6, - "dashboards": { - "dashboard-1": { - "description": "", - "embedding": { - "anonymousAuthEnabled": true, - "allowAllFieldsAnonymousAuth": false, - "anonymousAuthWhitelist": ["location", "Event._id"] - }, - "filters": [{ - "type": "String", - "disabled": false, - "name": "location", - "settings": { - "allOthers": false, - "values": ["US-CA"] - }, - "linkedFields": [{ - "dataSourceId": "data-source-1", - "fieldPath": "location" - }] - }, { - "type": "String", - "disabled": false, - "name": "_id", - "settings": { - "allOthers": false, - "values": ["gdc-2023-sf"] - }, - "linkedFields": [{ - "dataSourceId": "data-source-1", - "fieldPath": "Event._id" - }] - }], - "layout": [{ - "i": "item-1", - "w": 2, - "h": 4, - "x": 0, - "y": 0 - }], - "title": "Leafsteroids STAGE - Event Top Scores" - } - }, - "items": { - "item-1": { - "calculatedFields": [], - "channels": { - "group": { - "channelType": "category", - "inferredType": "String", - "field": "Player.Nickname", - "type": "nominal", - "isBinning": false - }, - "value": { - "channelType": "aggregation", - "inferredType": "Number", - "field": "SessionStatisticsPlain.Score", - "type": "quantitative", - "aggregate": "max" - } - }, - "chartType": "Data Table", - "convertedFields": [], - "customisations": { - "options": { - "totalsColumn": { - "enabled": false, - "value": null - } - }, - "conditionalFormatting": [], - "axes": {}, - "channels": { - "group": { - "labelOverride": { - "enabled": true, - "value": "Player" - } - }, - "value": { - "labelOverride": { - "enabled": true, - "value": "Score" - }, - "numberFormatting": { - "enabled": true, - "value": "Default" - } - } - } - }, - "dashboardId": "dashboard-1", - "dataSourceId": "data-source-1", - "description": "", - "filters": [], - "iconValue": "data-table", - "interactiveFiltering": "filter", - "itemType": "chart", - "lookupFields": [], - "meta": { - "sortModel": [{ - "colId": "value", - "sort": "desc" - }], - "columnWidths": { - "group": 150 - } - }, - "missedFields": [], - "query": null, - "queryId": null, - "reductions": {}, - "sample": false, - "title": "Leaderboard", - "embedding": {} - } - }, - "dataSources": { - "data-source-1": { - "alias": "recordings", - "collection": "recordings", - "database": "Leafsteroids", - "deployment": "Leafsteroids-stage--federated", - "sourceType": "datalake" - } - }, - "queries": {} -} \ No newline at end of file diff --git a/deployment/atlas_charts/Leafsteroids - Player Dashboard - PROD - Federated.charts b/deployment/atlas_charts/Leafsteroids - Player Dashboard - PROD - Federated.charts deleted file mode 100644 index 9cfecdf..0000000 --- a/deployment/atlas_charts/Leafsteroids - Player Dashboard - PROD - Federated.charts +++ /dev/null @@ -1,687 +0,0 @@ -{ - "exportVersion": 6, - "dashboards": { - "dashboard-1": { - "description": "", - "embedding": { - "anonymousAuthEnabled": true, - "allowAllFieldsAnonymousAuth": false, - "anonymousAuthWhitelist": ["Player.Nickname", "location", "Event._id"] - }, - "filters": [{ - "type": "String", - "disabled": false, - "name": "Nickname", - "settings": { - "allOthers": false, - "values": ["Wolffles"] - }, - "linkedFields": [{ - "dataSourceId": "data-source-1", - "fieldPath": "Player.Nickname" - }] - }, { - "type": "String", - "disabled": false, - "name": "location", - "settings": { - "allOthers": false, - "values": ["US-CA"] - }, - "linkedFields": [{ - "dataSourceId": "data-source-1", - "fieldPath": "location" - }] - }, { - "type": "String", - "disabled": false, - "name": "_id", - "settings": { - "allOthers": false, - "values": ["gdc-2023-sf"] - }, - "linkedFields": [{ - "dataSourceId": "data-source-1", - "fieldPath": "Event._id" - }] - }], - "layout": [{ - "i": "item-1", - "w": 2, - "h": 2, - "x": 0, - "y": 2 - }, { - "i": "item-2", - "w": 1, - "h": 1, - "x": 0, - "y": 4 - }, { - "i": "item-3", - "w": 2, - "h": 4, - "x": 0, - "y": 8 - }, { - "i": "item-4", - "w": 2, - "h": 1, - "x": 0, - "y": 7 - }, { - "i": "item-5", - "w": 1, - "h": 1, - "x": 1, - "y": 4 - }, { - "i": "item-6", - "w": 2, - "h": 1, - "x": 0, - "y": 5 - }, { - "i": "item-7", - "w": 2, - "h": 2, - "x": 0, - "y": 0 - }, { - "i": "item-8", - "w": 2, - "h": 1, - "x": 0, - "y": 6 - }], - "title": "Leafsteroids - Player Dashboard" - } - }, - "items": { - "item-1": { - "calculatedFields": [], - "channels": { - "x": { - "channelType": "category", - "inferredType": "Number", - "field": "Snapshots.PlayerPosition.X", - "type": "nominal", - "transformedType": "Number", - "isBinning": true, - "quantitativeBinning": { - "binSize": 1 - } - }, - "y": { - "channelType": "category", - "inferredType": "Number", - "field": "Snapshots.PlayerPosition.Z", - "type": "nominal", - "transformedType": "Number", - "isBinning": true, - "quantitativeBinning": { - "binSize": 1 - } - }, - "color": { - "channelType": "aggregation", - "inferredType": "String", - "field": "_id", - "type": "quantitative", - "aggregate": "count" - } - }, - "chartType": "Heatmap", - "convertedFields": [], - "customisations": { - "options": { - "colorContinuous": { - "enabled": true, - "value": { - "color": "yelloworangered", - "reverse": false - } - } - }, - "conditionalFormatting": [], - "axes": { - "x": { - "categoryLabelAngle": { - "enabled": true, - "value": "vertical" - } - } - }, - "channels": { - "x": { - "numberFormatting": { - "enabled": true, - "value": "Default" - } - }, - "y": { - "numberFormatting": { - "enabled": true, - "value": "Default" - } - }, - "color": { - "numberFormatting": { - "enabled": true, - "value": "Default" - } - } - } - }, - "dashboardId": "dashboard-1", - "dataSourceId": "data-source-1", - "description": "", - "filters": [], - "iconValue": "heatmap", - "interactiveFiltering": "highlight", - "itemType": "chart", - "lookupFields": [], - "meta": {}, - "missedFields": [], - "query": null, - "queryId": null, - "reductions": { - "x": [{ - "dimensionality": 1, - "field": "Snapshots", - "type": "Unwind array", - "arguments": [] - }], - "y": [{ - "dimensionality": 1, - "field": "Snapshots", - "type": "Unwind array", - "arguments": [] - }] - }, - "sample": false, - "title": "Heat Map: Player Location", - "embedding": {} - }, - "item-2": { - "calculatedFields": [], - "channels": { - "value": { - "channelType": "aggregation", - "inferredType": "String", - "field": "_id", - "type": "quantitative", - "aggregate": "count" - } - }, - "chartType": "Number", - "convertedFields": [], - "customisations": { - "options": {}, - "conditionalFormatting": [], - "axes": {}, - "channels": { - "value": { - "numberFormatting": { - "enabled": true, - "value": "Default" - } - } - } - }, - "dashboardId": "dashboard-1", - "dataSourceId": "data-source-1", - "description": "", - "filters": [], - "iconValue": "number", - "interactiveFiltering": "highlight", - "itemType": "chart", - "lookupFields": [], - "meta": {}, - "missedFields": [], - "query": null, - "queryId": null, - "reductions": {}, - "sample": false, - "title": "Games Played", - "embedding": {} - }, - "item-3": { - "calculatedFields": [], - "channels": { - "value": { - "channelType": "aggregation", - "inferredType": "Number", - "field": "SessionStatisticsPlain.Score", - "type": "quantitative", - "aggregate": "max" - }, - "group": { - "channelType": "category", - "inferredType": "Date", - "field": "DateTime", - "type": "nominal", - "isBinning": true, - "temporalBinning": ["year", "month", "date", "hours", "minutes"] - } - }, - "chartType": "Data Table", - "convertedFields": [], - "customisations": { - "options": { - "totalsColumn": { - "enabled": false, - "value": null - } - }, - "conditionalFormatting": [], - "axes": {}, - "channels": { - "value": { - "labelOverride": { - "enabled": true, - "value": "Score" - }, - "numberFormatting": { - "enabled": true, - "value": "Default" - } - }, - "group": { - "dateTimeFormatting": { - "enabled": true, - "value": "DD-MMM-YYYY HH:mm" - } - } - } - }, - "dashboardId": "dashboard-1", - "dataSourceId": "data-source-1", - "description": "", - "filters": [], - "iconValue": "data-table", - "interactiveFiltering": "highlight", - "itemType": "chart", - "lookupFields": [], - "meta": { - "sortModel": [{ - "colId": "value", - "sort": "desc" - }], - "columnWidths": {} - }, - "missedFields": [], - "query": "{ DateTime: { $gt: ISODate(\"2023-03-23T09:00:00.000000Z\") } }", - "queryId": null, - "reductions": {}, - "sample": false, - "title": "Game Plays", - "embedding": {} - }, - "item-4": { - "calculatedFields": [], - "channels": { - "x_series_0": { - "channelType": "aggregation", - "inferredType": "Number", - "field": "SessionStatisticsPlain.PelletsDestroyedMedium", - "type": "quantitative", - "aggregate": "sum" - }, - "x_series_1": { - "channelType": "aggregation", - "inferredType": "Number", - "field": "SessionStatisticsPlain.PelletsDestroyedSmall", - "type": "quantitative", - "aggregate": "sum" - }, - "x": { - "channelType": "aggregation", - "inferredType": "Number", - "field": "SessionStatisticsPlain.PelletsDestroyedLarge", - "type": "quantitative", - "aggregate": "sum" - } - }, - "chartType": "Grouped Bar", - "convertedFields": [], - "customisations": { - "axes": { - "x": { - "labelOverride": { - "enabled": true, - "value": "Amount" - } - } - }, - "conditionalFormatting": [], - "channels": { - "x": { - "labelOverride": { - "enabled": true, - "value": "Large" - }, - "numberFormatting": { - "enabled": true, - "value": "Default" - } - }, - "x_series_0": { - "labelOverride": { - "enabled": true, - "value": "Medium" - }, - "numberFormatting": { - "enabled": true, - "value": "Default" - } - }, - "x_series_1": { - "labelOverride": { - "enabled": true, - "value": "Small" - }, - "numberFormatting": { - "enabled": true, - "value": "Default" - } - } - }, - "options": {} - }, - "dashboardId": "dashboard-1", - "dataSourceId": "data-source-1", - "description": "", - "filters": [], - "iconValue": "bar-grouped", - "interactiveFiltering": "highlight", - "itemType": "chart", - "lookupFields": [], - "meta": {}, - "missedFields": [], - "query": null, - "queryId": null, - "reductions": {}, - "sample": false, - "title": "Pellets Destroyed", - "embedding": {} - }, - "item-5": { - "calculatedFields": [], - "channels": { - "value": { - "channelType": "aggregation", - "inferredType": "Number", - "field": "SessionStatisticsPlain.BulletsFired", - "type": "quantitative", - "aggregate": "sum" - } - }, - "chartType": "Number", - "convertedFields": [], - "customisations": { - "options": {}, - "axes": {}, - "channels": { - "value": { - "numberFormatting": { - "enabled": true, - "value": "Default" - } - } - }, - "conditionalFormatting": [] - }, - "dashboardId": "dashboard-1", - "dataSourceId": "data-source-1", - "description": "", - "filters": [], - "iconValue": "number", - "interactiveFiltering": "highlight", - "itemType": "chart", - "lookupFields": [], - "meta": {}, - "missedFields": [], - "query": null, - "queryId": null, - "reductions": {}, - "sample": false, - "title": "Total Bullets Fired", - "embedding": {} - }, - "item-6": { - "calculatedFields": [], - "channels": { - "value": { - "channelType": "aggregation", - "inferredType": "Number", - "field": "SessionStatisticsPlain.DamageDone", - "type": "quantitative", - "aggregate": "sum" - } - }, - "chartType": "Number", - "convertedFields": [], - "customisations": { - "options": {}, - "conditionalFormatting": [], - "axes": {}, - "channels": { - "value": { - "numberFormatting": { - "enabled": true, - "value": "Default" - } - } - } - }, - "dashboardId": "dashboard-1", - "dataSourceId": "data-source-1", - "description": "", - "filters": [], - "iconValue": "number", - "interactiveFiltering": "highlight", - "itemType": "chart", - "lookupFields": [], - "meta": {}, - "missedFields": [], - "query": null, - "queryId": null, - "reductions": {}, - "sample": false, - "title": "Total Damage", - "embedding": {} - }, - "item-7": { - "calculatedFields": [], - "channels": { - "x": { - "channelType": "category", - "inferredType": "Date", - "field": "DateTime", - "type": "nominal", - "isBinning": true, - "temporalBinning": ["year", "month", "date", "hours", "minutes"] - }, - "y": { - "channelType": "aggregation", - "inferredType": "Number", - "field": "SessionStatisticsPlain.Score", - "type": "quantitative", - "aggregate": "max" - } - }, - "chartType": "Line", - "convertedFields": [{ - "fieldPath": "DateTime", - "convertTo": "date", - "arrayParentPaths": [] - }], - "customisations": { - "options": { - "colorDiscrete": { - "enabled": true, - "value": ["#196ee6"] - }, - "dataMarkers": { - "enabled": true, - "value": null - }, - "dataValueLabels": { - "enabled": true, - "value": null - } - }, - "conditionalFormatting": [], - "axes": { - "x": { - "categoryLabelAngle": { - "enabled": true, - "value": "vertical" - } - }, - "y": {} - }, - "channels": { - "x": { - "labelOverride": { - "enabled": true, - "value": "Time" - }, - "datePreset": { - "enabled": true, - "value": "Custom" - }, - "minutePreset": { - "enabled": true, - "value": "Custom" - }, - "dateTimeFormatting": { - "enabled": true, - "value": "HH:mm" - } - }, - "y": { - "labelOverride": { - "enabled": true, - "value": "Score" - }, - "numberFormatting": { - "enabled": true, - "value": "Default" - } - } - } - }, - "dashboardId": "dashboard-1", - "dataSourceId": "data-source-1", - "description": "", - "filters": [], - "iconValue": "line-discrete", - "interactiveFiltering": "highlight", - "itemType": "chart", - "lookupFields": [], - "meta": {}, - "missedFields": [], - "query": null, - "queryId": null, - "reductions": {}, - "sample": false, - "title": "Player Activity", - "embedding": {} - }, - "item-8": { - "calculatedFields": [], - "channels": { - "x": { - "channelType": "aggregation", - "inferredType": "Number", - "field": "SessionStatisticsPlain.PowerUpBulletDamageCollected", - "type": "quantitative", - "aggregate": "sum" - }, - "x_series_0": { - "channelType": "aggregation", - "inferredType": "Number", - "field": "SessionStatisticsPlain.PowerUpBulletSpeedCollected", - "type": "quantitative", - "aggregate": "sum" - }, - "x_series_1": { - "channelType": "aggregation", - "inferredType": "Number", - "field": "SessionStatisticsPlain.PowerUpPlayerSpeedCollected", - "type": "quantitative", - "aggregate": "sum" - } - }, - "chartType": "Grouped Bar", - "convertedFields": [], - "customisations": { - "options": {}, - "conditionalFormatting": [], - "axes": { - "x": {} - }, - "channels": { - "x": { - "labelOverride": { - "enabled": true, - "value": "Bullet Damage" - }, - "numberFormatting": { - "enabled": true, - "value": "Default" - } - }, - "x_series_0": { - "labelOverride": { - "enabled": true, - "value": "Bullet Speed" - }, - "numberFormatting": { - "enabled": true, - "value": "Default" - } - }, - "x_series_1": { - "labelOverride": { - "enabled": true, - "value": "Player Speed" - }, - "numberFormatting": { - "enabled": true, - "value": "Default" - } - } - } - }, - "dashboardId": "dashboard-1", - "dataSourceId": "data-source-1", - "description": "", - "filters": [], - "iconValue": "bar-grouped", - "interactiveFiltering": "highlight", - "itemType": "chart", - "lookupFields": [], - "meta": {}, - "missedFields": [], - "query": null, - "queryId": null, - "reductions": {}, - "sample": false, - "title": "Power Ups Collected", - "embedding": {} - } - }, - "dataSources": { - "data-source-1": { - "alias": "recordings", - "collection": "recordings", - "database": "Leafsteroids", - "deployment": "Leafsteroids--federated", - "sourceType": "datalake" - } - }, - "queries": {} -} \ No newline at end of file diff --git a/deployment/atlas_charts/Leafsteroids - Player Dashboard - STAGE - Federated.charts b/deployment/atlas_charts/Leafsteroids - Player Dashboard - STAGE - Federated.charts deleted file mode 100644 index 111ac57..0000000 --- a/deployment/atlas_charts/Leafsteroids - Player Dashboard - STAGE - Federated.charts +++ /dev/null @@ -1,687 +0,0 @@ -{ - "exportVersion": 6, - "dashboards": { - "dashboard-1": { - "description": "", - "embedding": { - "anonymousAuthEnabled": true, - "allowAllFieldsAnonymousAuth": false, - "anonymousAuthWhitelist": ["Player.Nickname", "location", "Event._id"] - }, - "filters": [{ - "type": "String", - "disabled": false, - "name": "Nickname", - "settings": { - "allOthers": false, - "values": ["Wolffles"] - }, - "linkedFields": [{ - "dataSourceId": "data-source-1", - "fieldPath": "Player.Nickname" - }] - }, { - "type": "String", - "disabled": false, - "name": "location", - "settings": { - "allOthers": false, - "values": ["US-CA"] - }, - "linkedFields": [{ - "dataSourceId": "data-source-1", - "fieldPath": "location" - }] - }, { - "type": "String", - "disabled": false, - "name": "_id", - "settings": { - "allOthers": false, - "values": ["gdc-2023-sf"] - }, - "linkedFields": [{ - "dataSourceId": "data-source-1", - "fieldPath": "Event._id" - }] - }], - "layout": [{ - "i": "item-1", - "w": 2, - "h": 2, - "x": 0, - "y": 2 - }, { - "i": "item-2", - "w": 1, - "h": 1, - "x": 0, - "y": 4 - }, { - "i": "item-3", - "w": 2, - "h": 4, - "x": 0, - "y": 8 - }, { - "i": "item-4", - "w": 2, - "h": 1, - "x": 0, - "y": 7 - }, { - "i": "item-5", - "w": 1, - "h": 1, - "x": 1, - "y": 4 - }, { - "i": "item-6", - "w": 2, - "h": 1, - "x": 0, - "y": 5 - }, { - "i": "item-7", - "w": 2, - "h": 2, - "x": 0, - "y": 0 - }, { - "i": "item-8", - "w": 2, - "h": 1, - "x": 0, - "y": 6 - }], - "title": "Leafsteroids STAGE - Player Dashboard" - } - }, - "items": { - "item-1": { - "calculatedFields": [], - "channels": { - "x": { - "channelType": "category", - "inferredType": "Number", - "field": "Snapshots.PlayerPosition.X", - "type": "nominal", - "transformedType": "Number", - "isBinning": true, - "quantitativeBinning": { - "binSize": 1 - } - }, - "y": { - "channelType": "category", - "inferredType": "Number", - "field": "Snapshots.PlayerPosition.Z", - "type": "nominal", - "transformedType": "Number", - "isBinning": true, - "quantitativeBinning": { - "binSize": 1 - } - }, - "color": { - "channelType": "aggregation", - "inferredType": "String", - "field": "_id", - "type": "quantitative", - "aggregate": "count" - } - }, - "chartType": "Heatmap", - "convertedFields": [], - "customisations": { - "options": { - "colorContinuous": { - "enabled": true, - "value": { - "color": "yelloworangered", - "reverse": false - } - } - }, - "conditionalFormatting": [], - "axes": { - "x": { - "categoryLabelAngle": { - "enabled": true, - "value": "vertical" - } - } - }, - "channels": { - "x": { - "numberFormatting": { - "enabled": true, - "value": "Default" - } - }, - "y": { - "numberFormatting": { - "enabled": true, - "value": "Default" - } - }, - "color": { - "numberFormatting": { - "enabled": true, - "value": "Default" - } - } - } - }, - "dashboardId": "dashboard-1", - "dataSourceId": "data-source-1", - "description": "", - "filters": [], - "iconValue": "heatmap", - "interactiveFiltering": "highlight", - "itemType": "chart", - "lookupFields": [], - "meta": {}, - "missedFields": [], - "query": null, - "queryId": null, - "reductions": { - "x": [{ - "dimensionality": 1, - "field": "Snapshots", - "type": "Unwind array", - "arguments": [] - }], - "y": [{ - "dimensionality": 1, - "field": "Snapshots", - "type": "Unwind array", - "arguments": [] - }] - }, - "sample": false, - "title": "Heat Map: Player Location", - "embedding": {} - }, - "item-6": { - "calculatedFields": [], - "channels": { - "value": { - "channelType": "aggregation", - "inferredType": "Number", - "field": "SessionStatisticsPlain.DamageDone", - "type": "quantitative", - "aggregate": "sum" - } - }, - "chartType": "Number", - "convertedFields": [], - "customisations": { - "options": {}, - "conditionalFormatting": [], - "axes": {}, - "channels": { - "value": { - "numberFormatting": { - "enabled": true, - "value": "Default" - } - } - } - }, - "dashboardId": "dashboard-1", - "dataSourceId": "data-source-1", - "description": "", - "filters": [], - "iconValue": "number", - "interactiveFiltering": "highlight", - "itemType": "chart", - "lookupFields": [], - "meta": {}, - "missedFields": [], - "query": null, - "queryId": null, - "reductions": {}, - "sample": false, - "title": "Total Damage", - "embedding": {} - }, - "item-2": { - "calculatedFields": [], - "channels": { - "value": { - "channelType": "aggregation", - "inferredType": "String", - "field": "_id", - "type": "quantitative", - "aggregate": "count" - } - }, - "chartType": "Number", - "convertedFields": [], - "customisations": { - "options": {}, - "conditionalFormatting": [], - "axes": {}, - "channels": { - "value": { - "numberFormatting": { - "enabled": true, - "value": "Default" - } - } - } - }, - "dashboardId": "dashboard-1", - "dataSourceId": "data-source-1", - "description": "", - "filters": [], - "iconValue": "number", - "interactiveFiltering": "highlight", - "itemType": "chart", - "lookupFields": [], - "meta": {}, - "missedFields": [], - "query": null, - "queryId": null, - "reductions": {}, - "sample": false, - "title": "Games Played", - "embedding": {} - }, - "item-3": { - "calculatedFields": [], - "channels": { - "value": { - "channelType": "aggregation", - "inferredType": "Number", - "field": "SessionStatisticsPlain.Score", - "type": "quantitative", - "aggregate": "max" - }, - "group": { - "channelType": "category", - "inferredType": "Date", - "field": "DateTime", - "type": "nominal", - "isBinning": true, - "temporalBinning": ["year", "month", "date", "hours", "minutes"] - } - }, - "chartType": "Data Table", - "convertedFields": [], - "customisations": { - "options": { - "totalsColumn": { - "enabled": false, - "value": null - } - }, - "conditionalFormatting": [], - "axes": {}, - "channels": { - "value": { - "labelOverride": { - "enabled": true, - "value": "Score" - }, - "numberFormatting": { - "enabled": true, - "value": "Default" - } - }, - "group": { - "dateTimeFormatting": { - "enabled": true, - "value": "DD-MMM-YYYY HH:mm" - } - } - } - }, - "dashboardId": "dashboard-1", - "dataSourceId": "data-source-1", - "description": "", - "filters": [], - "iconValue": "data-table", - "interactiveFiltering": "highlight", - "itemType": "chart", - "lookupFields": [], - "meta": { - "sortModel": [{ - "colId": "value", - "sort": "desc" - }], - "columnWidths": {} - }, - "missedFields": [], - "query": null, - "queryId": null, - "reductions": {}, - "sample": false, - "title": "Game Plays", - "embedding": {} - }, - "item-5": { - "calculatedFields": [], - "channels": { - "value": { - "channelType": "aggregation", - "inferredType": "Number", - "field": "SessionStatisticsPlain.BulletsFired", - "type": "quantitative", - "aggregate": "sum" - } - }, - "chartType": "Number", - "convertedFields": [], - "customisations": { - "options": {}, - "conditionalFormatting": [], - "axes": {}, - "channels": { - "value": { - "numberFormatting": { - "enabled": true, - "value": "Default" - } - } - } - }, - "dashboardId": "dashboard-1", - "dataSourceId": "data-source-1", - "description": "", - "filters": [], - "iconValue": "number", - "interactiveFiltering": "highlight", - "itemType": "chart", - "lookupFields": [], - "meta": {}, - "missedFields": [], - "query": null, - "queryId": null, - "reductions": {}, - "sample": false, - "title": "Total Bullets Fired", - "embedding": {} - }, - "item-4": { - "calculatedFields": [], - "channels": { - "x_series_0": { - "channelType": "aggregation", - "inferredType": "Number", - "field": "SessionStatisticsPlain.PelletsDestroyedMedium", - "type": "quantitative", - "aggregate": "sum" - }, - "x_series_1": { - "channelType": "aggregation", - "inferredType": "Number", - "field": "SessionStatisticsPlain.PelletsDestroyedSmall", - "type": "quantitative", - "aggregate": "sum" - }, - "x": { - "channelType": "aggregation", - "inferredType": "Number", - "field": "SessionStatisticsPlain.PelletsDestroyedLarge", - "type": "quantitative", - "aggregate": "sum" - } - }, - "chartType": "Grouped Bar", - "convertedFields": [], - "customisations": { - "options": {}, - "conditionalFormatting": [], - "axes": { - "x": { - "labelOverride": { - "enabled": true, - "value": "Amount" - } - } - }, - "channels": { - "x_series_0": { - "labelOverride": { - "enabled": true, - "value": "Medium" - }, - "numberFormatting": { - "enabled": true, - "value": "Default" - } - }, - "x_series_1": { - "labelOverride": { - "enabled": true, - "value": "Small" - }, - "numberFormatting": { - "enabled": true, - "value": "Default" - } - }, - "x": { - "labelOverride": { - "enabled": true, - "value": "Large" - }, - "numberFormatting": { - "enabled": true, - "value": "Default" - } - } - } - }, - "dashboardId": "dashboard-1", - "dataSourceId": "data-source-1", - "description": "", - "filters": [], - "iconValue": "bar-grouped", - "interactiveFiltering": "highlight", - "itemType": "chart", - "lookupFields": [], - "meta": {}, - "missedFields": [], - "query": null, - "queryId": null, - "reductions": {}, - "sample": false, - "title": "Pellets Destroyed", - "embedding": {} - }, - "item-7": { - "calculatedFields": [], - "channels": { - "x": { - "channelType": "category", - "inferredType": "Date", - "field": "DateTime", - "type": "nominal", - "isBinning": true, - "temporalBinning": ["year", "month", "date", "hours", "minutes"] - }, - "y": { - "channelType": "aggregation", - "inferredType": "Number", - "field": "SessionStatisticsPlain.Score", - "type": "quantitative", - "aggregate": "max" - } - }, - "chartType": "Line", - "convertedFields": [{ - "fieldPath": "DateTime", - "convertTo": "date", - "arrayParentPaths": [] - }], - "customisations": { - "options": { - "colorDiscrete": { - "enabled": true, - "value": ["#196ee6"] - }, - "dataMarkers": { - "enabled": true, - "value": null - }, - "dataValueLabels": { - "enabled": true, - "value": null - } - }, - "conditionalFormatting": [], - "axes": { - "x": { - "categoryLabelAngle": { - "enabled": true, - "value": "vertical" - } - }, - "y": {} - }, - "channels": { - "x": { - "labelOverride": { - "enabled": true, - "value": "Time" - }, - "datePreset": { - "enabled": true, - "value": "Custom" - }, - "minutePreset": { - "enabled": true, - "value": "Custom" - }, - "dateTimeFormatting": { - "enabled": true, - "value": "HH:mm" - } - }, - "y": { - "labelOverride": { - "enabled": true, - "value": "Score" - }, - "numberFormatting": { - "enabled": true, - "value": "Default" - } - } - } - }, - "dashboardId": "dashboard-1", - "dataSourceId": "data-source-1", - "description": "", - "filters": [], - "iconValue": "line-discrete", - "interactiveFiltering": "highlight", - "itemType": "chart", - "lookupFields": [], - "meta": {}, - "missedFields": [], - "query": null, - "queryId": null, - "reductions": {}, - "sample": false, - "title": "Player Activity", - "embedding": {} - }, - "item-8": { - "calculatedFields": [], - "channels": { - "x": { - "channelType": "aggregation", - "inferredType": "Number", - "field": "SessionStatisticsPlain.PowerUpBulletDamageCollected", - "type": "quantitative", - "aggregate": "sum" - }, - "x_series_0": { - "channelType": "aggregation", - "inferredType": "Number", - "field": "SessionStatisticsPlain.PowerUpBulletSpeedCollected", - "type": "quantitative", - "aggregate": "sum" - }, - "x_series_1": { - "channelType": "aggregation", - "inferredType": "Number", - "field": "SessionStatisticsPlain.PowerUpPlayerSpeedCollected", - "type": "quantitative", - "aggregate": "sum" - } - }, - "chartType": "Grouped Bar", - "convertedFields": [], - "customisations": { - "options": {}, - "conditionalFormatting": [], - "axes": { - "x": {} - }, - "channels": { - "x": { - "labelOverride": { - "enabled": true, - "value": "Bullet Damage" - }, - "numberFormatting": { - "enabled": true, - "value": "Default" - } - }, - "x_series_0": { - "labelOverride": { - "enabled": true, - "value": "Bullet Speed" - }, - "numberFormatting": { - "enabled": true, - "value": "Default" - } - }, - "x_series_1": { - "labelOverride": { - "enabled": true, - "value": "Player Speed" - }, - "numberFormatting": { - "enabled": true, - "value": "Default" - } - } - } - }, - "dashboardId": "dashboard-1", - "dataSourceId": "data-source-1", - "description": "", - "filters": [], - "iconValue": "bar-grouped", - "interactiveFiltering": "highlight", - "itemType": "chart", - "lookupFields": [], - "meta": {}, - "missedFields": [], - "query": null, - "queryId": null, - "reductions": {}, - "sample": false, - "title": "Power Ups Collected", - "embedding": {} - } - }, - "dataSources": { - "data-source-1": { - "alias": "recordings", - "collection": "recordings", - "database": "Leafsteroids_stage", - "deployment": "Leafsteroids-stage--federated", - "sourceType": "datalake" - } - }, - "queries": {} -} \ No newline at end of file From 5bc69da3b96d0183a6654afac9ce38a7d6ca4ad0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sig=20Narv=C3=A1ez?= Date: Fri, 1 Sep 2023 19:50:57 -0700 Subject: [PATCH 09/10] Online Archive - config and index --- .../data_tiering/data_federation_config.json | 41 ++++++++++++++++ .../data_tiering/online_archive_config.json | 49 +++++++++++++++++++ deployment/game_database/indexes.js | 1 + 3 files changed, 91 insertions(+) create mode 100644 deployment/game_database/data_tiering/data_federation_config.json create mode 100644 deployment/game_database/data_tiering/online_archive_config.json create mode 100644 deployment/game_database/indexes.js diff --git a/deployment/game_database/data_tiering/data_federation_config.json b/deployment/game_database/data_tiering/data_federation_config.json new file mode 100644 index 0000000..155f76b --- /dev/null +++ b/deployment/game_database/data_tiering/data_federation_config.json @@ -0,0 +1,41 @@ +{ + "databases": [ + { + "collections": [ + { + "name": "recordings", + "dataSources": [ + { + "collection": "recordings", + "database": "Leafsteroids", + "storeName": "demo" + }, + { + "datasetName": "v1$atlas$archive$demo$Leafsteroids$3ee18b87-dc43-4ac6-a393-44fee2aa11d2$64e6af7091174970cc3fbb4a", + "storeName": "aws-dls-store-us-east-1" + } + ] + } + ], + "name": "Leafsteroids", + "views": [] + } + ], + "stores": [ + { + "clusterName": "demo", + "name": "demo", + "projectId": "5ead7a92758e00636bc31452", + "provider": "atlas", + "readPreference": { + "mode": "secondaryPreferred", + "tagSets": [] + } + }, + { + "name": "aws-dls-store-us-east-1", + "provider": "dls:aws", + "region": "us-east-1" + } + ] +} \ No newline at end of file diff --git a/deployment/game_database/data_tiering/online_archive_config.json b/deployment/game_database/data_tiering/online_archive_config.json new file mode 100644 index 0000000..4d708a2 --- /dev/null +++ b/deployment/game_database/data_tiering/online_archive_config.json @@ -0,0 +1,49 @@ +{ + "_id": "64e6af7091174970cc3fbb4a", + "clusterName": "demo", + "collName": "recordings", + "collectionType": "STANDARD", + "criteria": { + "dateField": "DateTime", + "dateFormat": "ISODATE", + "expireAfterDays": 30, + "type": "DATE" + }, + "dataExpirationRule": { + "expireAfterDays": 1825 + }, + "dataProcessRegion": { + "cloudProvider": "AWS", + "region": "US_EAST_1" + }, + "dataSetName": "v1$atlas$archive$demo$Leafsteroids$3ee18b87-dc43-4ac6-a393-44fee2aa11d2$64e6af7091174970cc3fbb4a", + "dbName": "Leafsteroids", + "groupId": "5ead7a92758e00636bc31452", + "lastArchiveRun": { + "endDate": "2023-08-24T06:54:38Z", + "errorMessage": null, + "startDate": "2023-08-24T06:54:38Z" + }, + "partitionFields": [{ + "fieldName": "location", + "fieldType": null, + "order": 0 + }, { + "fieldName": "Event._id", + "fieldType": null, + "order": 1 + }, { + "fieldName": "DateTime", + "fieldType": null, + "order": 2 + }], + "paused": false, + "schedule": { + "endHour": 0, + "endMinute": 0, + "startHour": 18, + "startMinute": 20, + "type": "DAILY" + }, + "state": "ACTIVE" +} \ No newline at end of file diff --git a/deployment/game_database/indexes.js b/deployment/game_database/indexes.js new file mode 100644 index 0000000..6570b5c --- /dev/null +++ b/deployment/game_database/indexes.js @@ -0,0 +1 @@ +db.recordings.createIndex({ DateTime: 1 }); \ No newline at end of file From 1be625f2c2f55bbc49f4f7289040c0e5f19c24d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sig=20Narv=C3=A1ez?= Date: Fri, 1 Sep 2023 19:52:22 -0700 Subject: [PATCH 10/10] Remove old files --- .../data_federation_config_PROD.json | 41 ---------------- .../data_federation_config_stage.json | 41 ---------------- .../game_database/data_tiering/indexes.js | 1 - .../online_archive_config_PROD.json | 49 ------------------- .../online_archive_config_STAGE.json | 41 ---------------- 5 files changed, 173 deletions(-) delete mode 100644 deployment/game_database/data_tiering/data_federation_config_PROD.json delete mode 100644 deployment/game_database/data_tiering/data_federation_config_stage.json delete mode 100644 deployment/game_database/data_tiering/indexes.js delete mode 100644 deployment/game_database/data_tiering/online_archive_config_PROD.json delete mode 100644 deployment/game_database/data_tiering/online_archive_config_STAGE.json diff --git a/deployment/game_database/data_tiering/data_federation_config_PROD.json b/deployment/game_database/data_tiering/data_federation_config_PROD.json deleted file mode 100644 index 155f76b..0000000 --- a/deployment/game_database/data_tiering/data_federation_config_PROD.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "databases": [ - { - "collections": [ - { - "name": "recordings", - "dataSources": [ - { - "collection": "recordings", - "database": "Leafsteroids", - "storeName": "demo" - }, - { - "datasetName": "v1$atlas$archive$demo$Leafsteroids$3ee18b87-dc43-4ac6-a393-44fee2aa11d2$64e6af7091174970cc3fbb4a", - "storeName": "aws-dls-store-us-east-1" - } - ] - } - ], - "name": "Leafsteroids", - "views": [] - } - ], - "stores": [ - { - "clusterName": "demo", - "name": "demo", - "projectId": "5ead7a92758e00636bc31452", - "provider": "atlas", - "readPreference": { - "mode": "secondaryPreferred", - "tagSets": [] - } - }, - { - "name": "aws-dls-store-us-east-1", - "provider": "dls:aws", - "region": "us-east-1" - } - ] -} \ No newline at end of file diff --git a/deployment/game_database/data_tiering/data_federation_config_stage.json b/deployment/game_database/data_tiering/data_federation_config_stage.json deleted file mode 100644 index 1f4efd7..0000000 --- a/deployment/game_database/data_tiering/data_federation_config_stage.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "databases": [ - { - "collections": [ - { - "name": "recordings", - "dataSources": [ - { - "collection": "recordings", - "database": "Leafsteroids_stage", - "storeName": "demo" - }, - { - "datasetName": "v1$atlas$archive$demo$Leafsteroids_stage$92a6acf7-3bc8-4909-8bab-f2609ac5fe75$64e687361966474973749c52", - "storeName": "aws-dls-store-us-east-1" - } - ] - } - ], - "name": "Leafsteroids_stage", - "views": [] - } - ], - "stores": [ - { - "clusterName": "demo", - "name": "demo", - "projectId": "5ead7a92758e00636bc31452", - "provider": "atlas", - "readPreference": { - "mode": "secondaryPreferred", - "tagSets": [] - } - }, - { - "name": "aws-dls-store-us-east-1", - "provider": "dls:aws", - "region": "us-east-1" - } - ] -} \ No newline at end of file diff --git a/deployment/game_database/data_tiering/indexes.js b/deployment/game_database/data_tiering/indexes.js deleted file mode 100644 index 6570b5c..0000000 --- a/deployment/game_database/data_tiering/indexes.js +++ /dev/null @@ -1 +0,0 @@ -db.recordings.createIndex({ DateTime: 1 }); \ No newline at end of file diff --git a/deployment/game_database/data_tiering/online_archive_config_PROD.json b/deployment/game_database/data_tiering/online_archive_config_PROD.json deleted file mode 100644 index 4d708a2..0000000 --- a/deployment/game_database/data_tiering/online_archive_config_PROD.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "_id": "64e6af7091174970cc3fbb4a", - "clusterName": "demo", - "collName": "recordings", - "collectionType": "STANDARD", - "criteria": { - "dateField": "DateTime", - "dateFormat": "ISODATE", - "expireAfterDays": 30, - "type": "DATE" - }, - "dataExpirationRule": { - "expireAfterDays": 1825 - }, - "dataProcessRegion": { - "cloudProvider": "AWS", - "region": "US_EAST_1" - }, - "dataSetName": "v1$atlas$archive$demo$Leafsteroids$3ee18b87-dc43-4ac6-a393-44fee2aa11d2$64e6af7091174970cc3fbb4a", - "dbName": "Leafsteroids", - "groupId": "5ead7a92758e00636bc31452", - "lastArchiveRun": { - "endDate": "2023-08-24T06:54:38Z", - "errorMessage": null, - "startDate": "2023-08-24T06:54:38Z" - }, - "partitionFields": [{ - "fieldName": "location", - "fieldType": null, - "order": 0 - }, { - "fieldName": "Event._id", - "fieldType": null, - "order": 1 - }, { - "fieldName": "DateTime", - "fieldType": null, - "order": 2 - }], - "paused": false, - "schedule": { - "endHour": 0, - "endMinute": 0, - "startHour": 18, - "startMinute": 20, - "type": "DAILY" - }, - "state": "ACTIVE" -} \ No newline at end of file diff --git a/deployment/game_database/data_tiering/online_archive_config_STAGE.json b/deployment/game_database/data_tiering/online_archive_config_STAGE.json deleted file mode 100644 index 1f4efd7..0000000 --- a/deployment/game_database/data_tiering/online_archive_config_STAGE.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "databases": [ - { - "collections": [ - { - "name": "recordings", - "dataSources": [ - { - "collection": "recordings", - "database": "Leafsteroids_stage", - "storeName": "demo" - }, - { - "datasetName": "v1$atlas$archive$demo$Leafsteroids_stage$92a6acf7-3bc8-4909-8bab-f2609ac5fe75$64e687361966474973749c52", - "storeName": "aws-dls-store-us-east-1" - } - ] - } - ], - "name": "Leafsteroids_stage", - "views": [] - } - ], - "stores": [ - { - "clusterName": "demo", - "name": "demo", - "projectId": "5ead7a92758e00636bc31452", - "provider": "atlas", - "readPreference": { - "mode": "secondaryPreferred", - "tagSets": [] - } - }, - { - "name": "aws-dls-store-us-east-1", - "provider": "dls:aws", - "region": "us-east-1" - } - ] -} \ No newline at end of file