Deployment & HPA metrics with Container insights
Starting with agent version ciprod08072020, Container insights-integrated agent now collects metrics for Deployments & HPAs.
Deployment metrics
Container insights automatically starts monitoring Deployments, by collecting the following metrics at 60 sec intervals and storing them in the InsightMetrics table:
| Metric name | Metric dimension (tags) | Description |
|---|---|---|
| kube_deployment_status_replicas_ready | container.azm.ms/clusterId, container.azm.ms/clusterName, creationTime, deployment, deploymentStrategy, k8sNamespace, spec_replicas, status_replicas_available, status_replicas_updated (status.updatedReplicas) | Total number of ready pods targeted by this deployment (status.readyReplicas). Below are dimensions of this metric.
|
HPA metrics
Container insights automatically starts monitoring HPAs, by collecting the following metrics at 60 sec intervals and storing them in the InsightMetrics table:
| Metric name | Metric dimension (tags) | Description |
|---|---|---|
| kube_hpa_status_current_replicas | container.azm.ms/clusterId, container.azm.ms/clusterName, creationTime, hpa, k8sNamespace, lastScaleTime, spec_max_replicas, spec_min_replicas, status_desired_replicas, targetKind, targetName | Current number of replicas of pods managed by this autoscaler (status.currentReplicas). Below are dimensions of this metric.
|
Deployment & HPA charts
Container insights includes pre-configured charts for the metrics listed earlier in the table as a workbook for every cluster. You can find the deployments & HPA workbook Deployments & HPA directly from an AKS cluster by selecting Workbooks from the left-hand pane, and from the View Workbooks drop-down list in the Insight.
Next steps
- Review Kube-state metrics in Kubernetes to learn more about Kube-state metrics.