How can I define a metric that shows List of Expensive Queries executed in MSSQL like this query: https://blog.sqlauthority.com/2021/03/17/sql-server-list-expensive-queries-updated-march-2021/
I want to show result of T-SQL query as a table inside Grafana dashboard... That data is not changing instantly with time like time series data model that prometheus supports (e.g. like cpu usage), and I guess using counter , gague or summary metric type is not suitable for showing result as a Grafana table, I'm wondering how can I do it with sql_exporter....
BTW, I know how to add query to *.collector.yaml file but what type of metric should I use for prometheus so that it can recognize it as a table?