You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-monitor/containers/container-insights-agent-config.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ title: Configure Container insights agent data collection | Microsoft Docs
3
3
description: This article describes how you can configure the Container insights agent to control stdout/stderr and environment variables log collection.
4
4
ms.topic: conceptual
5
5
ms.date: 08/25/2022
6
-
ms.reviewer: aul
6
+
ms.reviewer: viviandiec
7
7
---
8
8
9
9
# Configure agent data collection for Container insights
Copy file name to clipboardExpand all lines: articles/azure-monitor/containers/container-insights-analyze.md
+22-23Lines changed: 22 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,8 +2,8 @@
2
2
title: Kubernetes monitoring with Container insights | Microsoft Docs
3
3
description: This article describes how you can view and analyze the performance of a Kubernetes cluster with Container insights.
4
4
ms.topic: conceptual
5
-
ms.date: 03/26/2020
6
-
ms.reviewer: aul
5
+
ms.date: 08/29/2022
6
+
ms.reviewer: viviandiec
7
7
---
8
8
9
9
# Monitor your Kubernetes cluster performance with Container insights
@@ -24,7 +24,7 @@ The main differences in monitoring a Windows Server cluster with Container insig
24
24
25
25
To view the health status of all Kubernetes clusters deployed, select **Monitor** from the left pane in the Azure portal. Under the **Insights** section, select **Containers**.
26
26
27
-

27
+
:::image type="content" source="./media/container-insights-analyze/azmon-containers-multiview.png" alt-text="Screenshot that shows an Azure Monitor multi-cluster dashboard example." lightbox="media/container-insights-analyze/azmon-containers-multiview.png":::
28
28
29
29
You can scope the results presented in the grid to show clusters that are:
30
30
@@ -35,14 +35,13 @@ You can scope the results presented in the grid to show clusters that are:
35
35
36
36
To view clusters from a specific environment, select it from **Environment** in the upper-left corner.
37
37
38
-

38
+
:::image type="content" source="./media/container-insights-analyze/clusters-multiview-environment-pill.png" alt-text="Screenshot that shows an Environment selector example." lightbox="media/container-insights-analyze/clusters-multiview-environment-pill.png":::
39
39
40
40
On the **Monitored clusters** tab, you learn the following:
41
41
42
42
- How many clusters are in a critical or unhealthy state versus how many are healthy or not reporting (referred to as an Unknown state).
43
43
- Whether all of the [Azure Kubernetes Engine (AKS Engine)](https://github.com/Azure/aks-engine) deployments are healthy.
44
44
- How many nodes and user and system pods are deployed per cluster.
45
-
- How much disk space is available and if there's a capacity issue.
46
45
47
46
The health statuses included are:
48
47
@@ -94,7 +93,7 @@ Access to Container insights is available directly from an AKS cluster by select
94
93
95
94
The default page opens and displays four line performance charts that show key performance metrics of your cluster.
96
95
97
-

96
+
:::image type="content" source="./media/container-insights-analyze/containers-cluster-perfview.png" alt-text="Screenshot that shows example performance charts on the Cluster tab." lightbox="media/container-insights-analyze/containers-cluster-perfview.png":::
98
97
99
98
The performance charts display four performance metrics:
100
99
@@ -135,7 +134,7 @@ You can [split](../essentials/metrics-charts.md#apply-splitting) a metric to vie
135
134
136
135
When you switch to the **Nodes**, **Controllers**, and **Containers** tabs, a property pane automatically displays on the right side of the page. It shows the properties of the item selected, which includes the labels you defined to organize Kubernetes objects. When a Linux node is selected, the **Local Disk Capacity** section also shows the available disk space and the percentage used for each disk presented to the node. Select the **>>** link in the pane to view or hide the pane.
137
136
138
-
As you expand the objects in the hierarchy, the properties pane updates based on the object selected. From the pane, you also can view Kubernetes container logs (stdout/stderror), events, and pod metrics by selecting the **View live data (preview)**link at the top of the pane. For more information about the configuration required to grant and control access to view this data, see [Set up the Live Data (preview)](container-insights-livedata-setup.md).
137
+
As you expand the objects in the hierarchy, the properties pane updates based on the object selected. From the pane, you also can view Kubernetes container logs (stdout/stderror), events, and pod metrics by selecting the **Live Events**tab at the top of the pane. For more information about the configuration required to grant and control access to view this data, see [Set up the Live Data (preview)](container-insights-livedata-setup.md).
139
138
140
139
While you review cluster resources, you can see this data from the container in real time. For more information about this feature, see [How to view Kubernetes logs, events, and pod metrics in real time](container-insights-livedata-overview.md).
141
140
@@ -147,23 +146,23 @@ Specifying a filter in one tab continues to be applied when you select another.
147
146
148
147
Switch to the **Nodes** tab and the row hierarchy follows the Kubernetes object model, which starts with a node in your cluster. Expand the node to view one or more pods running on the node. If more than one container is grouped to a pod, they're displayed as the last row in the hierarchy. You also can view how many non-pod-related workloads are running on the host if the host has processor or memory pressure.
149
148
150
-

149
+
:::image type="content" source="./media/container-insights-analyze/containers-nodes-view.png" alt-text="Screenshot that shows an example of the Kubernetes Node hierarchy in the performance view." lightbox="media/container-insights-analyze/containers-nodes-view.png":::
151
150
152
151
Windows Server containers that run the Windows Server 2019 OS are shown after all the Linux-based nodes in the list. When you expand a Windows Server node, you can view one or more pods and containers that run on the node. After a node is selected, the properties pane shows version information.
153
152
154
-

153
+
:::image type="content" source="./media/container-insights-analyze/nodes-view-windows.png" alt-text="Screenshot that shows an example Node hierarchy with Windows Server nodes listed." lightbox="media/container-insights-analyze/nodes-view-windows.png":::
155
154
156
155
Azure Container Instances virtual nodes that run the Linux OS are shown after the last AKS cluster node in the list. When you expand a Container Instances virtual node, you can view one or more Container Instances pods and containers that run on the node. Metrics aren't collected and reported for nodes, only for pods.
157
156
158
-

157
+
:::image type="content" source="./media/container-insights-analyze/nodes-view-aci.png" alt-text="Screenshot that shows an example Node hierarchy with Container Instances listed." lightbox="media/container-insights-analyze/nodes-view-aci.png":::
159
158
160
159
From an expanded node, you can drill down from the pod or container that runs on the node to the controller to view performance data filtered for that controller. Select the value under the **Controller** column for the specific node.
161
160
162
-

161
+
:::image type="content" source="./media/container-insights-analyze/drill-down-node-controller.png" alt-text="Screenshot that shows the drill-down from node to controller in the performance view." lightbox="media/container-insights-analyze/drill-down-node-controller.png" border="false":::
163
162
164
163
Select controllers or containers at the top of the page to review the status and resource utilization for those objects. To review memory utilization, in the **Metric** dropdown list, select **Memory RSS** or **Memory working set**. **Memory RSS** is supported only for Kubernetes version 1.8 and later. Otherwise, you view values for **Min %** as *NaN %*, which is a numeric data type value that represents an undefined or unrepresentable value.
165
164
166
-

165
+
:::image type="content" source="./media/container-insights-analyze/containers-node-metric-dropdown.png" alt-text="Screenshot that shows a Container nodes performance view." lightbox="media/container-insights-analyze/containers-node-metric-dropdown.png":::
167
166
168
167
**Memory working set** shows both the resident memory and virtual memory (cache) included and is a total of what the application is using. **Memory RSS** shows only main memory, which is nothing but the resident memory. This metric shows the actual capacity of available memory. What's the difference between resident memory and virtual memory?
169
168
@@ -172,15 +171,15 @@ Select controllers or containers at the top of the page to review the status and
172
171
173
172
By default, performance data is based on the last six hours, but you can change the window by using the **TimeRange** option at the upper left. You also can filter the results within the time range by selecting **Min**, **Avg**, **50th**, **90th**, **95th**, and **Max** in the percentile selector.
174
173
175
-

174
+
:::image type="content" source="./media/container-insights-analyze/containers-metric-percentile-filter.png" alt-text="Screenshot that shows a percentile selection for data filtering." lightbox="media/container-insights-analyze/containers-metric-percentile-filter.png":::
176
175
177
176
When you hover over the bar graph under the **Trend** column, each bar shows either CPU or memory usage, depending on which metric is selected, within a sample period of 15 minutes. After you select the trend chart through a keyboard, use the Alt+Page up key or Alt+Page down key to cycle through each bar individually. You get the same details that you would if you hovered over the bar.
178
177
179
-

178
+
:::image type="content" source="./media/container-insights-analyze/containers-metric-trend-bar-01.png" alt-text="Screenshot that shows a Trend bar chart hover-over example." lightbox="media/container-insights-analyze/containers-metric-trend-bar-01.png":::
180
179
181
-
In the next example, for the first node in the list, *aks-nodepool1-*, the value for **Containers** is 9. This value is a rollup of the total number of containers deployed.
180
+
In the next example, for the first node in the list, *aks-nodepool1-*, the value for **Containers** is 25. This value is a rollup of the total number of containers deployed.
182
181
183
-

182
+
:::image type="content" source="./media/container-insights-analyze/containers-nodes-containerstotal.png" alt-text="Screenshot that shows a rollup of containers-per-node example." lightbox="media/container-insights-analyze/containers-nodes-containerstotal.png":::
184
183
185
184
This information can help you quickly identify whether you have a proper balance of containers between nodes in your cluster.
186
185
@@ -209,19 +208,19 @@ It's calculated by *Total usage from CAdvisor* - *Usage from containerized proce
209
208
210
209
In the selector, select **Controllers**.
211
210
212
-

211
+
:::image type="content" source="./media/container-insights-analyze/containers-controllers-tab.png" alt-text="Screenshot that shows selecting Controllers.]" lightbox="media/container-insights-analyze/containers-controllers-tab.png":::
213
212
214
213
Here you can view the performance health of your controllers and Container Instances virtual node controllers or virtual node pods not connected to a controller.
215
214
216
-

215
+
:::image type="content" source="./media/container-insights-analyze/containers-controllers-view.png" alt-text="Screenshot that shows a \<Name> controllers performance view." lightbox="media/container-insights-analyze/containers-controllers-view.png":::
217
216
218
217
The row hierarchy starts with a controller. When you expand a controller, you view one or more pods. Expand a pod, and the last row displays the container grouped to the pod. From an expanded controller, you can drill down to the node it's running on to view performance data filtered for that node. Container Instances pods not connected to a controller are listed last in the list.
219
218
220
-

219
+
:::image type="content" source="./media/container-insights-analyze/controllers-view-aci.png" alt-text="Screenshot that shows an example Controllers hierarchy with Container Instances pods listed." lightbox="media/container-insights-analyze/controllers-view-aci.png":::
221
220
222
221
Select the value under the **Node** column for the specific controller.
223
222
224
-

223
+
:::image type="content" source="./media/container-insights-analyze/drill-down-controller-node.png" alt-text="Screenshot that shows an example drill-down from controller to node in the performance view." lightbox="media/container-insights-analyze/drill-down-controller-node.png" border="false":::
225
224
226
225
The information that's displayed when you view controllers is described in the following table.
227
226
@@ -250,15 +249,15 @@ The status icon displays a count based on what the pod provides. It shows the wo
250
249
251
250
In the selector, select **Containers**.
252
251
253
-

252
+
:::image type="content" source="./media/container-insights-analyze/containers-containers-tab.png" alt-text="Screenshot that shows selecting Containers." lightbox="media/container-insights-analyze/containers-containers-tab.png":::
254
253
255
254
Here you can view the performance health of your AKS and Container Instances containers.
256
255
257
-

256
+
:::image type="content" source="./media/container-insights-analyze/containers-containers-view.png" alt-text="Screenshot that shows a \<Name> containers performance view." lightbox="media/container-insights-analyze/containers-containers-view.png":::
258
257
259
258
From a container, you can drill down to a pod or node to view performance data filtered for that object. Select the value under the **Pod** or **Node** column for the specific container.
260
259
261
-

260
+
:::image type="content" source="./media/container-insights-analyze/drill-down-container-node.png" alt-text="Screenshot that shows an example drill-down from node to containers in the performance view." lightbox="media/container-insights-analyze/drill-down-controller-node.png" border="false":::
262
261
263
262
The information that's displayed when you view containers is described in the following table.
Copy file name to clipboardExpand all lines: articles/azure-monitor/containers/container-insights-cost.md
+8-2Lines changed: 8 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,8 +2,8 @@
2
2
title: Monitoring cost for Container insights | Microsoft Docs
3
3
description: This article describes the monitoring cost for metrics & inventory data collected by Container insights to help customers manage their usage and associated costs.
4
4
ms.topic: conceptual
5
-
ms.date: 05/29/2020
6
-
ms.reviewer: aul
5
+
ms.date: 08/29/2022
6
+
ms.reviewer: viviandiec
7
7
8
8
---
9
9
# Understand monitoring costs for Container insights
@@ -187,6 +187,12 @@ If you are utilizing [Prometheus metric scraping](container-insights-prometheus-
187
187
- Container insights supports exclusion & inclusion lists by metric name. For example, if you are scraping **kubedns** metrics in your cluster, there might be hundreds of them that gets scraped by default, but you are most likely only interested in a subset. Confirm you specified a list of metrics to scrape, or exclude others except a few to save on data ingestion volume. It is easy to enable scraping and not use many of those metrics, which will only add additional charges to your Log Analytics bill.
188
188
189
189
- When scraping through pod annotations, ensure you filter by namespace so that you exclude scraping of pod metrics from namespaces that you don't use (for example, **dev-test** namespace).
190
+
191
+
### Configure Basic Logs
192
+
193
+
You can save on data ingestion costs by configuring certain tables in your Log Analytics workspace that you primarily use for debugging, troubleshooting, and auditing as Basic Logs. For more information, including the limitations of Basic Logs, see [Configure Basic Logs (preview)](../best-practices-cost.md#configure-basic-logs-preview). ContainerLogV2 is the configured version of Basic Logs that Container Insights uses. ContainerLogV2 includes verbose text-based log records.
194
+
195
+
You must be on the ContainerLogV2 schema to configure Basic Logs. For more information, see [Enable the ContainerLogV2 schema (preview)](container-insights-logging-v2.md).
0 commit comments