この記事では、GitHub または Azure Devops リポジトリに同期した後の、Real-Time ダッシュボード項目のフォルダーとファイル構造について詳しく説明します。
フォルダー構造
ワークスペースがリポジトリに同期されると、ワークスペースの最上位フォルダーと、同期された各項目のサブフォルダーが表示されます。 各サブフォルダーは 、アイテム名で書式設定されます。アイテムの種類
ダッシュボードのフォルダー内には、次のファイルが表示されます。
- プラットフォーム: 表示名や説明など、ファブリック プラットフォームの値を定義します。
- プロパティ: アイテム固有の値を定義します。
フォルダー構造の例を次に示します。
リポジトリ
- ワークスペース A
- Item_A.KQLDashboard
- 。プラットホーム
- RealTimeDashboard-1.json
- Item_A.KQLDashboard
- ワークスペース B
- Item_B.KQLDashboard
- 。プラットホーム
- RealTimeDashboard-2.json
- Item_B.KQLDashboard
Real-Time ダッシュボードファイル
ダッシュボード フォルダーには、次のファイルが含まれています。
プラットフォーム
このファイルでは、次のスキーマを使用してリアルタイム ダッシュボードを定義します。
{ "$schema": "https://developer.microsoft.com/json-schemas/fabric/gitIntegration/platformProperties/2.0.0/schema.json", "metadata": { "type": "KQLDashboard", "displayName": "", "description": "" }, "config": { "version": "2.0", "logicalId": "" } }RealTimeDashboard.json
このファイルでは、次のスキーマを使用してリアルタイム ダッシュボードを定義します。
{ "$schema": "", "id": "", "eTag": "\"\"", "schema_version": "", "title": "", "tiles": [ { "id": "", "title": "", "visualType": "", "pageId": "", "layout": { "x": , "y": , "width": , "height": }, "queryRef": { "kind": "", "queryId": "" }, "visualOptions": { "multipleYAxes": { "base": { "id": "", "label": "", "columns": [], "yAxisMaximumValue": , "yAxisMinimumValue": , "yAxisScale": "", "horizontalLines": [] }, "additional": [], "showMultiplePanels": }, "hideLegend": , "legendLocation": "", "xColumnTitle": "", "xColumn": , "yColumns": , "seriesColumns": , "xAxisScale": "", "verticalLine": "", "crossFilterDisabled": , "drillthroughDisabled": , "crossFilter": [ { "interaction": "", "property": "", "parameterId": "", "disabled": } ], "drillthrough": [], "selectedDataOnLoad": { "all": , "limit": }, "dataPointsTooltip": { "all": , "limit": } } } ], "baseQueries": [], "parameters": [ { "kind": "", "id": "", "displayName": "", "description": "", "variableName": "", "selectionType": "", "includeAllOption": , "defaultValue": { "kind": "" }, "dataSource": { "kind": "", "columns": { "value": "" }, "queryRef": { "kind": "", "queryId": "" } }, "showOnPages": { "kind": "" }, "allIsNull": }, ], "dataSources": [ { "id": "", "name": "", "clusterUri": "", "database": "", "kind": "", "scopeId": "" } ], "pages": [ { "name": "", "id": "" } ], "queries": [ { "dataSource": { "kind": "", "dataSourceId": "" }, "text": "", "id": "", "usedVariables": [ "", "" ] } ] }