In a previous blog post – Serverless anywhere with Kubernetes – I wrote how you could write serverless code and run it in a conta
Monitoring your subscription(s) is something very important when it comes to the cloud. Whether you’re looking at the performance, health or cost of the subscription.
In today’s blog we will go through Azure Monitor which allows you to monitor everything that you have deployed in your Azure Subscription at an infrastructure level and even application level by using Application Insights.
What can Azure Monitor pull?
- AAD tenant: Any data that’s generated in your Azure Active Directory tenant can be pulled into Azure Monitor.
- Azure Resources: Data about the operation of an Azure resource.
- Apps: This ties in with Application Insights which can pull data from any platform or programing language.
- Guest OS: This type of data is generated by the monitoring agent that’s installed inside a VM. This is cloud-agnostic and can work in any cloud or on-premises
- Subscription(s): Service Health Events, Planned Maintenance, etc.
- Containers: AKS node, cluster, container events.
- Security Events: Azure Security center <3
Data in Azure monitor is separated in two categories:
Based on what you’re looking for, you can set up monitoring dashboards to check up performance metrics on your resources or you can set up other types of dashboards that query log data. For example I have a dashboard for monitoring my WordPress blog 🙂
In the screenshot from above, you can see that I have a dashboard set up to monitor sessions and unique users. (Hence the privacy pop up from the web site) But you don’t stop here; You need data points in a 30 day time-frame? You can build a dashboard like that without a problem. Your imagination is the limit.
How can I query data?
You can query data by simply going to the Logs entry in the leftmost blade or by pressing on the Search Logs button in the Overview screen.
There you will be presented with a series of example queries which gives you a starting point and you also have a Query Explorer which gives you some useful general queries.
Those queries are populated from Log Analytics based on what imported solutions you have. If you don’t have anything then Log Management is the only one that will pop up.
That’s all with the overview. My next blog on Azure Monitor post will be more in-depth based on each solution.
Stay tuned, and have a good one!