15 Jul 2026
06:31 AM
- last edited on
15 Jul 2026
08:23 AM
by
MaciejNeumann
15 Jul 2026 03:24 PM - edited 15 Jul 2026 03:29 PM
Based on the currently documented capabilities, the standard Dynatrace Microsoft SQL Server extension does not provide a native drill-down from the Deadlocks graph to identify the victim and other participating SQL queries.
The available sql-server.locks.deadlocks.count metric shows the occurrence and trend of deadlocks at the SQL Server instance level. The current extension does not indicate that the extension collects or exposes the deadlock XML, participating SQL statements, session IDs, or the transaction selected as the victim.
For Dynatrace SaaS, a possible workaround is to use Custom Extensions Creator to create a custom SQL Server query that reads the xml_deadlock_report events from SQL Server’s built-in system_health Extended Events session. The query and output mapping should first be tested and validated in the target environment.
Microsoft documents that the deadlock XML contains:
victim-list: the process selected as the deadlock victim
process-list: all processes involved, including their SQL details
resource-list: the database resources involved in the deadlock
SQL Server deadlock guidance and sample query:
Dynatrace Custom Extensions Creator:
Featured Posts