Azure Monitor - Metrics Uses and Configuration

3 years ago
73

So, what can we do with metrics? 

You can use the metrics explorer to analyze metrics on a chart and compare metrics from different resources. You can pin a chart from metrics explorer to an Azure dashboard. You can also create a workbook to combine multiple sets of data in an interactive report. You can export the results of a query to Grafana to leverage dashboarding and combine with other data sources.  As we spoke about before, we can use them in alerts. We can create alert rules based on the metrics , send notifications and also call Azure automation then the value of the metric crosses a threshold. Automation is one of the key things that we can do with Metrics. You can increase or decrease the amount of resources based on the threshold that is set for a metric. You can also route metrics to logs to analyze data in Azure Monitor Metrics along with data in Azure Monitor logs. You can also save them for longer periods of time for analysis based on compliance such as HIPPA. The default storage of a metric is 93 days.   We can also stream the metrics to an Event Hub to route to external systems. With some of the command line tools we can also retrieve the metrics for further analysis. You could use PowerShell, REST API and also the CLI. For longer periods of time we can archive the information for the performance and health data. This can be used as a baseline that we can compare with the current data to find areas that we need to increase performance. Also, this data can be used for auditing , compliance and offline reporting purposes. We explore this and more in this short video.

Loading comments...