Skip to content

Commit 205bfb5

Browse files
authored
Merge pull request #220601 from baanders/12-6-graph-history
ADT: Graph history
2 parents d82b3b6 + 70b599d commit 205bfb5

29 files changed

+212
-85
lines changed

articles/digital-twins/.openpublishing.redirection.digital-twins.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@
3535
"redirect_url": "/azure/digital-twins/how-to-monitor",
3636
"redirect_document_id": false
3737
},
38+
{
39+
"source_path": "how-to-use-data-history.md",
40+
"redirect_url": "/azure/digital-twins/how-to-create-data-history-connection",
41+
"redirect_document_id": true
42+
},
3843
{
3944
"source_path": "how-to-create-app-registration-portal.md",
4045
"redirect_url": "/azure/digital-twins/how-to-create-app-registration",

articles/digital-twins/TOC.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,8 @@
127127
href: how-to-create-endpoints.md
128128
- name: Create routes and filters
129129
href: how-to-create-routes.md
130-
- name: Use data history with Azure Data Explorer
131-
href: how-to-use-data-history.md
130+
- name: Create a data history connection
131+
href: how-to-create-data-history-connection.md
132132
- name: Integrate with Azure Time Series Insights
133133
href: how-to-integrate-time-series-insights.md
134134
- name: Integrate with Azure Maps

articles/digital-twins/concepts-data-explorer-plugin.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ Before querying with the plugin, you'll need to ingest your Azure Digital Twins
7878

7979
### Ingesting with data history
8080

81-
The simplest way to ingest IoT data from Azure Digital Twins into Azure Data Explorer is to use the **data history** feature. This feature allows you to set up a connection between your Azure Digital Twins instance and an Azure Data Explorer cluster, and twin property updates are automatically historized to the cluster. This is a good choice if you're using telemetry data to bring your digital twins to life. For more information about this feature, see [Data history (with Azure Data Explorer)](concepts-data-history.md).
81+
The simplest way to ingest IoT data from Azure Digital Twins into Azure Data Explorer is to use the **data history** feature. This feature allows you to set up a connection between your Azure Digital Twins instance and an Azure Data Explorer cluster, and graph updates (including twin property updates, twin lifecycle events, and relationship lifecycle events) are automatically historized to the cluster. This is a good choice if you're using telemetry data to bring your digital twins to life. For more information about this feature, see [Data history (with Azure Data Explorer)](concepts-data-history.md).
8282
8383
### Direct ingestion
8484
@@ -132,7 +132,7 @@ Once the target table is created, you can use the Azure Digital Twins plugin to
132132

133133
#### Example schema
134134

135-
Here's an example of a schema that might be used to represent shared data. The example follows the Azure Data Explorer [data history schema](concepts-data-history.md#data-schema).
135+
Here's an example of a schema that might be used to represent shared data. The example follows the Azure Data Explorer [data history schema for twin property updates](concepts-data-history.md#twin-property-updates).
136136
137137
| `TimeStamp` | `SourceTimeStamp` | `TwinId` | `ModelId` | `Name` | `Value` | `RelationshipTarget` | `RelationshipID` |
138138
| --- | --- | --- | --- | --- | --- | --- | --- |

articles/digital-twins/concepts-data-history.md

Lines changed: 99 additions & 23 deletions
Large diffs are not rendered by default.

articles/digital-twins/concepts-data-ingress-egress.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ You can also integrate Azure Digital Twins into a [Microsoft Power Platform](/po
3737

3838
You may want to send Azure Digital Twins data to other downstream services for storage or additional processing.
3939

40-
Digital twin data can be sent to most Azure services using *endpoints*. If your destination is [Azure Data Explorer](/azure/data-explorer/data-explorer-overview), you can use *data history* instead to automatically send twin property updates to an Azure Data Explorer cluster, where they are stored as historical data and can be queried as such. The rest of this section describes these capabilities in more detail.
40+
Digital twin data can be sent to most Azure services using *endpoints*. If your destination is [Azure Data Explorer](/azure/data-explorer/data-explorer-overview), you can use *data history* instead to automatically send graph updates to an Azure Data Explorer cluster, where they are stored as historical data and can be queried as such. The rest of this section describes these capabilities in more detail.
4141

4242
>[!NOTE]
4343
>Azure Digital Twins implements *at least once* delivery for data emitted to egress services.
@@ -57,7 +57,7 @@ For detailed instructions on how to send Azure Digital Twins data to Azure Maps,
5757

5858
### Data history
5959

60-
To send twin data to [Azure Data Explorer](/azure/data-explorer/data-explorer-overview), set up a [data history connection](concepts-data-history.md) that automatically historizes digital twin property updates from your Azure Digital Twins instance to an Azure Data Explorer cluster. The data history connection requires an [event hub](../event-hubs/event-hubs-about.md), but doesn't require an explicit endpoint.
60+
To send twin data to [Azure Data Explorer](/azure/data-explorer/data-explorer-overview), set up a [data history connection](concepts-data-history.md) that automatically historizes graph updates from your Azure Digital Twins instance to an Azure Data Explorer cluster. The data history connection requires an [event hub](../event-hubs/event-hubs-about.md), but doesn't require an explicit endpoint.
6161

6262
Once the data has been historized, you can query this data in Azure Data Explorer using the [Azure Digital Twins query plugin for Azure Data Explorer](concepts-data-explorer-plugin.md).
6363

articles/digital-twins/concepts-query-language.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ titleSuffix: Azure Digital Twins
55
description: Learn about the basics of the Azure Digital Twins query language.
66
author: baanders
77
ms.author: baanders # Microsoft employees only
8-
ms.date: 02/28/2022
8+
ms.date: 01/10/2023
99
ms.topic: conceptual
1010
ms.service: digital-twins
1111
ms.custom: contperf-fy21q2
@@ -48,7 +48,7 @@ When writing queries for Azure Digital Twins, keep the following considerations
4848

4949
The Azure Digital Twins query language is only for querying the **present** state of your digital twins and relationships.
5050

51-
To run queries on historized digital twin data collected over time, use the [data history](concepts-data-history.md) feature to connect your Azure Digital Twins instance to an [Azure Data Explorer](/azure/data-explorer/data-explorer-overview) cluster. This will automatically historize digital twin property updates to Azure Data Explorer, where they can be queried using the [Azure Digital Twins plugin for Azure Data Explorer](concepts-data-explorer-plugin.md).
51+
To run queries on historized twin graph data collected over time, use the [data history](concepts-data-history.md) feature to connect your Azure Digital Twins instance to an [Azure Data Explorer](/azure/data-explorer/data-explorer-overview) cluster. This will automatically historize graph updates to Azure Data Explorer, where they can be queried using the [Azure Digital Twins plugin for Azure Data Explorer](concepts-data-explorer-plugin.md).
5252

5353
## Next steps
5454

0 commit comments

Comments
 (0)