Monitoring the desired pod count by each horizontal pod autoscaler for your application is useful to get a summarize view, that will help to understand scale out demand of each individual service. We can enable monitoring AKS cluster with Managed Grafana in Azure with Azure Monitor and Log Analytics Workspace. Let's write a query to and create Grafana chart for this purpose.
Expected Outcome
Each service scaling demand over time is shown as summary. This indicate based on load how each service in your application scale out is demanded by horizontal pod autoscaler.
We can use the query below to create the desired pod count summary panel in Grafana with Azure monitor.
The full json for Grafana panel is available in GitHub here. You can replace the id of the panel and the subscription, log analytics workspace name, resource group name etc.
If you use the json in GitHub (Modify with your panel id, subscription id etc.) and use query inspector of the panel to replace json for panel the required settings will be automatically applied.
No comments:
Post a Comment