What is the unit for health check metric

Wong, YatMan 20 Reputation points
2024-02-20T22:53:14.3933333+00:00

Hi I need some help understanding how to read the health check metric.

I have this Azure function, at 10:27 the health check status with aggregation = count is 5. Aggregation = Sum is 500. And Max, Min, Avg is 100. How does 5 requests sum up to 500? 500 of what?
My guess is Azure probably ping this service 5 times at this time period. And then a successful ping result in value = 100? I found no evident in the documentation.
Some document I checked: https://learn.microsoft.com/en-us/azure/app-service/monitor-instances-health-check?tabs=dotnet
https://learn.microsoft.com/en-us/azure/azure-monitor/essentials/metrics-aggregation-explained
https://learn.microsoft.com/en-us/answers/questions/756241/what-is-the-healthcheckstatus-metric-in-azure-app

count

What is the unit for the y axis?sum

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
2,909 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,112 questions
0 comments No comments
{count} votes

Accepted answer
  1. Stanislav Zhelyazkov 21,681 Reputation points MVP
    2024-02-21T06:59:55.5433333+00:00

    Hi, The unit is percentage. In this case you should use Avg aggregation as Count and Sum will give you the number of times the health check was performed. Keep in mind that the metric has dimension for instance so when you do not split by instance whatever aggregation you choose will show the values for all instances. So avg will show the average percentage of availability for all instances, count will show the number of health checks performed for all instances. You also time granularity to configure for the chart and the lowest you can configure is every 5 minutes.

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful