Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Azure metric graph legend

We recently saw a major downtime on one of our app service which is deployed on azure. After analyzing the logs through app insights we found something unknown in terms of what information a metric chart provides us.

azure metrics request count

As we can see there are the dotted line and solid line chart, what does that indicate at all? The time interval where we noticed this dotted line is actually when our service was not responding at all. Any clue on this how we can know what exactly went wrong at that time?

like image 215
Manish Rawat Avatar asked Apr 18 '18 14:04

Manish Rawat


People also ask

How long is metric data kept for Azure?

While platform and custom metrics are stored for 93 days, you can only query (in the Metrics tile) for a maximum of 30 days' worth of data on any single chart.

What is time granularity in Azure metrics?

Granularity. The minimum time granularity is 1 minute, but the underlying system may capture data faster depending on the metric. For example, CPU percentage for an Azure VM is captured at a time interval of 15 seconds.


1 Answers

The dotted line in Azure Metrics Explorer indicates that there was no measured value (AKA “null”) between two aggregation points. For example, if in the time selector you picked “1 minute” time granularity but the metric was reported at 12:01, 12:02, 12:04, and 12:05 (note the minute gap between second and third data points), then the dotted line is shown between 12:02 and 12:04 and the solid line connects all other data points. Also, it may be useful to know that when there is no measured value, the dotted line drops down to zero when the metrics uses “Count” and “Sum” aggregation. When the aggregation is “Average”, “Minimum” or “Maximum” the dotted line simply connects two nearest known data points.

Vitaly Gorbenko

Program Manager at Microsoft Azure Monitor team

like image 193
Vitaly Gorbenko Avatar answered Sep 28 '22 07:09

Vitaly Gorbenko