Monitoring Azure managed Instance Metrics

Sliverlight 236 Reputation points
2021-06-23T15:32:51.473+00:00

Hi,

Which is the recommended solution to monitor Azure managed Instance metrics. Performance stats for items like some of the below.

Buffer Manager: BufferCache Hit-Ratio
Buffer Manager: Page Life Expectancy
General Statistics: Logical Connections
General Statistics: User Connections

I use currently use nagios to monitor and graph so that I can review these metrics over days/weeks/months etc for our onsite managed instance and pin point any issues. I thought I had seen similar type graphs/charts in Azure as well, but I can't find them. Would you use Azure monitor etc to do this?

Thanks

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
3,645 questions
Azure SQL Database
SQL Server | Other
0 comments No comments
{count} vote

Accepted answer
  1. Alberto Morillo 34,671 Reputation points MVP Volunteer Moderator
    2021-06-25T12:22:25.86+00:00

    Here you will find how to collect performance counters on Azure Managed Instance.


2 additional answers

Sort by: Most helpful
  1. Alberto Morillo 34,671 Reputation points MVP Volunteer Moderator
    2021-06-24T16:24:08.11+00:00

    For tracking CPU usage, my suggestion is to use the following counters:

    • Processor: % Privileged Time
    • Processor: %User Time
    • System: Processor Queue Length

    For monitoring Storage Subsystem, use the performance counters outlined on this article.

    For monitoring memory usage, use the performance counters outlined on this article.

    0 comments No comments

  2. Sliverlight 236 Reputation points
    2021-06-25T09:01:50.597+00:00

    @Alberto Morillo Thank you for your reply. I already know the performance counters that I want access to. I already collect them using nagios from our VM servers running sql. Most of the performance counters you listed appear to be dependent on access to the windows server layer. However, been an Azure managed instance we don't have access to these server counters as far as I know.

    Also the sql queries will only give you stats when you run them at that time. I'm looking for a mechanism that allow constant polling of counters and then graphing them for Azure managed instance like our nagios platform allows us to do for our sql instances. It's really very helpful to troubleshoot issues when you have a historical view of metrics for the server and the respective sql instance running on that server.

    There are very limited metrics in graph form for the managed instance as listed below from Managed instance -> Metrics

    Average CPU percentage
    IO Bytes Read
    IO Bytes Written
    IO Requests Count
    Storage Space Reserved
    Storage Space Used
    Virtual Core Count

    However, none of these gives you actual stats on how the instance itself is doing health wise. There must be a way to get poll these stats and graph them.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.