An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
Hi Sree Aravind M,
Thx for sharing urs issue here at Q&A portal. For AKS Container Insights, the portal Customize flow usually updates the Container Insights data collection settings, not the AKS cluster itself.
Programmatically, check the Data Collection Rule linked to the cluster and configure the Container Insights stream/settings there. In newer setups this is usually DCR/DCRA based, not an old OMS-agent setting.
If u specifically need Perf | where ObjectName == 'K8SContainer', confirm that the DCR streams include the relevant Container Insights performance data and that the cluster is using Log Analytics, not only managed Prometheus metrics.
Don’t automate portal clicks. Export/check the DCR after enabling it once manually, then reproduce that DCR/DCRA config through ARM/Bicep/REST in ur AKS deployment.
Rgds,
Alex