Queries for the ADTDataHistoryOperation table
For information on using these queries in the Azure portal, see Log Analytics tutorial. For the REST API, see Query.
Data History operation failure logs
Failed operation events logged when data history messages are sent to the time series database.
ADTDataHistoryOperation
| where ResultType == "Failure"
| take 100
Data History egress latency
Delivery latency of data history messages sent to the time series database.
ADTDataHistoryOperation
| where OperationName == "Microsoft.DigitalTwins/digitalTwinsInstances/datahistory/messages/send/action"
| summarize percentile(DurationMs, 99) by bin(TimeGenerated, 5m)