prometheus-community / windows_exporter

Prometheus exporter for Windows machines

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[MSSQL] Query duration stats

DarkEyeDragon opened this issue · comments

Is it possible to get the execution durations of the individual query's?

I found this article regarding it
https://learn.microsoft.com/en-us/sql/relational-databases/system-dynamic-management-views/sys-dm-exec-query-stats-transact-sql?view=sql-server-ver16
Nothing like it in the stats though. Closest i could find was windows_mssql_sqlstats_guided_plan_executions but does not seem related.

I feel like this is an important metric to have to monitor peformance.