Hi,
Container Insights contains both logs and metrics from: Azure Monitor features for Kubernetes monitoring.
"Container insights is a feature of Azure Monitor that collects and analyzes container logs from Azure Kubernetes clusters or Azure Arc-enabled Kubernetes clusters and their components. You can analyze the collected data for the different components in your cluster with a collection of views and prebuilt workbooks."
"Container insights collects metric data from your cluster in addition to logs. This functionality has been replaced by Azure Monitor managed service for Prometheus. You can analyze that data using built-in dashboards in Managed Grafana and alert on them using prebuilt Prometheus alert rules.
You can continue to have Container insights collect metric data so you can use the Container insights monitoring experience. Or you can save cost by disabling this collection and using Grafana for metric analysis. See Configure data collection in Container insights using data collection rule for configuration options."
Check Configure data collection and cost optimization in Container insights using data collection rule if you want to customize what is being collected. For example you can only collect logs and not collect metrics which will result in not sending data to InsightMetrics table.
Please "Accept the answer" if the information helped you. This will help us and others in the community as well.