@Vitalii Liashuk Thanks for clarifying your question.
There are multiple options, what works best really depends on the knowledge of SQL, tools, and troubleshooting. For example, you can use Query Store reports that exist in SSMS. Query Store is a feature in SQL Server that captures a history of queries, query plans, and runtime statistics.
you can follow this document https://learn.microsoft.com/en-us/sql/relational-databases/performance/monitoring-performance-by-using-the-query-store?view=sql-server-ver15
Let me know if this helps
Regards
Geetha