SQL 响应时间的等效 PerfMon 计数器是多少?

What will be equivalent PerfMon counters for SQL Response Time?

SQL 响应时间的等效 PerfMon 计数器是多少? 请查看图片以获得更多说明。

我已经发布了资源监视器的计数器。我希望在 Grafana 中显示 SQL 响应时间 (最后一个 coulmn)的等效 PerfMon 计数器。

下面的 DMV 查询将报告自 SQL 实例上次启动以来每个文件的 IO 统计信息,并计算平均总计读取和写入响应时间。

WITH io_stats AS (
    SELECT
          mf.physical_name
        , vfs.NumberReads + vfs.NumberWrites AS NumberTotal
        , vfs.IoStallReadMS + vfs.IoStallWriteMS AS IoStallTotalMS
        , vfs.NumberReads
        , vfs.IoStallReadMS
        , vfs.NumberWrites
        , vfs.IoStallWriteMS
    FROM sys.master_files AS mf
    CROSS APPLY sys.fn_virtualfilestats(database_id, file_id) AS vfs
)
SELECT
      physical_name
    , NumberTotal
    , IoStallTotalMS
    , IoStallTotalMS / CASE WHEN NumberTotal = 0 THEN NULL ELSE NumberTotal END AS ResponseTime
    , NumberReads
    , IoStallReadMS
    , IoStallReadMS / CASE WHEN NumberReads = 0 THEN NULL ELSE NumberReads END AS ResponseTimeRead
    , NumberWrites
    , IoStallWriteMS
    , IoStallWriteMS / CASE WHEN NumberWrites = 0 THEN NULL ELSE NumberWrites END AS ResponseTimeWrite
FROM io_stats;