Skip to content

Commit c0ed13f

Browse files
authored
fixing tone
1 parent a73a1b8 commit c0ed13f

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

articles/azure-monitor/containers/container-insights-cost-config.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -8,27 +8,27 @@ ms.reviewer: aul
88

99
# Enable cost optimization settings (preview)
1010

11-
Cost optimization settings offer users the ability to customize and control the metrics data collected through the Container Insights agent. This preview supports the data collection settings such as data collection interval and namespaces to exclude for the data collection through [Azure Monitor Data Collection Rules (DCR)](../essentials/data-collection-rule-overview.md). This can be used for controlling the volume of ingestion and reduce the monitoring costs.
11+
Cost optimization settings offer users the ability to customize and control the metrics data collected through the container insights agent. This preview supports the data collection settings such as data collection interval and namespaces to exclude for the data collection through [Azure Monitor Data Collection Rules (DCR)](../essentials/data-collection-rule-overview.md). These settings control the volume of ingestion and reduce the monitoring costs of container insights.
1212

1313
>[!NOTE]
1414
>This feature is currently in public preview. For more information, see Supplemental Terms of Use for Microsoft Azure Previews.
1515
1616

1717
## Data collection parameters
1818

19-
The container insights agent periodically checks for the data collection settings, validates, and applies the applicable settings to applicable Container Insights Log Analytics tables and Custom Metrics. The data collection settings should be applied in the subsequent configured Data collection interval.
19+
The container insights agent periodically checks for the data collection settings, validates, and applies the applicable settings to applicable container insights Log Analytics tables and Custom Metrics. The data collection settings should be applied in the subsequent configured Data collection interval.
2020

2121
The following table describes the supported data collection settings
2222

2323
| **Data collection setting** | **Allowed Values** | **Description** |
2424
| -- | --- | -- |
25-
| **interval** | \[1m, 30m] in 1m intervals | This value determines how often data is collected. The default value is 1m, where m denotes the minutes. If the value is outside the allowed range, then default value is set to be _1m_ (i.e., 60 seconds). |
26-
| **namespaceFilteringMode** | Include, Exclude, or Off | Choosing Include collects only data from the values in the namespaces field. Choosing Exclude collects data from all namespaces except for the values in the namespaces field. Off will ignore any namespace selections and collect data on all namespaces.
27-
| **namespaces** | An array of names i.e. \["kube-system", "default"] | Array of comma separated Kubernetes namespaces for which inventory and perf data will be included or excluded based on the _namespaceFilteringMode_. For example, **namespaces** = ["kube-system", "default"] with an _Include_ setting will collect only these two namespaces. With an _Exclude_ setting, the agent will collect data from all other namespaces except for _kube-system_ and _default_. With an _Off_ setting, the agent will collect data from all namespaces including _kube-system_ and _default_. Invalid and unrecognized namespaces will be ignored. |
25+
| **interval** | \[1m, 30m] in 1m intervals | This value determines how often the agent collects data. The default value is 1m, where m denotes the minutes. If the value is outside the allowed range, then this value defaults to _1m_ (60 seconds). |
26+
| **namespaceFilteringMode** | Include, Exclude, or Off | Choosing Include collects only data from the values in the namespaces field. Choosing Exclude collects data from all namespaces except for the values in the namespaces field. Off ignores any namespace selections and collect data on all namespaces.
27+
| **namespaces** | An array of names i.e. \["kube-system", "default"] | Array of comma separated Kubernetes namespaces for which inventory and perf data will be included or excluded based on the _namespaceFilteringMode_. For example, **namespaces** = ["kube-system", "default"] with an _Include_ setting collects only these two namespaces. With an _Exclude_ setting, the agent will collect data from all other namespaces except for _kube-system_ and _default_. With an _Off_ setting, the agent collects data from all namespaces including _kube-system_ and _default_. Invalid and unrecognized namespaces are ignored. |
2828

2929
## Log Analytics data collection
3030

31-
The table below outlines the list of the container insights Log Analytics tables for which data collection settings are applicable.
31+
This table outlines the list of the container insights Log Analytics tables for which data collection settings are applicable.
3232

3333
>[!NOTE]
3434
>This feature configures settings for all container insights tables (excluding ContainerLog), to configure settings on the ContainerLog please update the ConfigMap listed in documentation for [agent data Collection settings](../containers/container-insights-agent-config.md)
@@ -43,7 +43,7 @@ The table below outlines the list of the container insights Log Analytics tables
4343
| KubeServices | Yes | Yes | |
4444
| KubeEvents | No | Yes | Data collection setting interval is not applicable for the Kubernetes Events |
4545
| Perf | Yes | Yes\* | \*Data collection setting namespaces is not applicable for the Kubernetes Node related metrics since the Kubernetes Node is not a namespace scoped object. |
46-
| InsightsMetrics| Yes\*\* | Yes\*\* | \*\*Data collection settings are only applicable for the metrics which collected with following namespaces: container.azm.ms/kubestate, container.azm.ms/pv and container.azm.ms/gpu |
46+
| InsightsMetrics| Yes\*\* | Yes\*\* | \*\*Data collection settings are only applicable for the metrics collecting the following namespaces: container.azm.ms/kubestate, container.azm.ms/pv and container.azm.ms/gpu |
4747

4848
## Custom Metrics
4949

@@ -55,9 +55,9 @@ The table below outlines the list of the container insights Log Analytics tables
5555
| Insights.container/persistentvolumes | Yes | Yes | |
5656

5757
## Impact on existing alerts and visualizations
58-
If you are currently using the above tables for charts or alerts, then modifying your data collection settings may degrade those experiences if you are excluding namespaces or reducing data collection frequency. Please review your existing alerts, dashboards, and workbooks using this data.
58+
If you are currently using the above tables for charts or alerts, then modifying your data collection settings may degrade those experiences. If you are excluding namespaces or reducing data collection frequency, review your existing alerts, dashboards, and workbooks using this data.
5959

60-
To scan for alerts that may be referencing these tables, please run the following Azure Resource Graph query:
60+
To scan for alerts that may be referencing these tables, run the following Azure Resource Graph query:
6161

6262
```Kusto
6363
resources
@@ -71,12 +71,12 @@ resources
7171
| order by tolower(name) asc
7272
```
7373

74-
Please reference the [Limitations](./container-insights-cost-config.md#limitations) section below for information on migrating your Recommended alerts.
74+
Reference the [Limitations](./container-insights-cost-config.md#limitations) section for information on migrating your Recommended alerts.
7575

7676
## Pre-requisites
7777

7878
- AKS Cluster MUST be using either System or User Assigned Managed Identity
79-
- If the AKS Cluster is using Service Principal, it MUST be upgraded to use [Managed Identity](../../aks/use-managed-identity.md#update-an-aks-cluster-to-use-a-managed-identity)
79+
- If the AKS Cluster is using Service Principal, you must upgrade to [Managed Identity](../../aks/use-managed-identity.md#update-an-aks-cluster-to-use-a-managed-identity)
8080

8181
- Azure CLI: Minimum version required for Azure CLI is 2.45.0. Run az --version to find the version, and run az upgrade to upgrade the version. If you need to install or upgrade, see [Install Azure CLI][install-azure-cli]
8282
- For AKS clusters, aks-preview version 0.5.125 or higher
@@ -89,7 +89,7 @@ Cost presets and collection settings are available for selection in the Azure Po
8989
| --- | --- | --- | --- |
9090
| Standard | 1m | None | Not enabled |
9191
| Cost-optimized | 5m | Excludes kube-system, gatekeeper-system, azure-arc | Not enabled |
92-
| Syslog | 1m | None | Enabled by default (but can be turned off) |
92+
| Syslog | 1m | None | Enabled by default |
9393

9494
## Configuring AKS data collection settings using Azure CLI
9595

@@ -107,7 +107,7 @@ The default schema for the config file follows this format:
107107

108108
* `interval`: The frequency of data collection, the input scheme must be a number between [1, 30] followed by m to denote minutes.
109109
* `namespaceFilteringMode`: The filtering mode for the namespaces, the input must be either Include, Exclude, or Off.
110-
* `namespaces`: An array of Kubernetes namespaces as strings, to be included or excluded
110+
* `namespaces`: An array of Kubernetes namespaces as strings for inclusion or exclusion
111111

112112
Example input:
113113

@@ -156,7 +156,7 @@ az aks enable-addons -a monitoring --enable-msi-auth-for-monitoring -g <clusterR
156156
2. From the resource pane on the left, select the 'Insights' item under the 'Monitoring' section.
157157
3. If you have not previously configured Container Insights, select the 'Configure Azure Monitor' button. For clusters already onboarded to Insights, select the "Monitoring Settings" button in the toolbar
158158
4. If you are configuring Container Insights for the first time or have not migrated to using [managed identity authentication (preview)](../containers/container-insights-onboard.md#authentication), select the "Use managed identity (preview)" checkbox
159-
5. Using the dropdown, choose one of the "Cost presets", for additional configuration, you may select the "Edit profile settings"
159+
5. Using the dropdown, choose one of the "Cost presets", for more configuration, you may select the "Edit profile settings"
160160
6. Click the blue "Configure" button to finish
161161

162162

@@ -212,7 +212,7 @@ The collection settings can be modified through the input of the `dataCollection
212212
1. In the Azure portal, select the AKS hybrid cluster that you wish to monitor
213213
2. From the resource pane on the left, select the 'Insights' item under the 'Monitoring' section.
214214
3. If you have not previously configured Container Insights, select the 'Configure Azure Monitor' button. For clusters already onboarded to Insights, select the "Monitoring Settings" button in the toolbar
215-
4. Using the dropdown, choose one of the "Cost presets", for additional configuration, you may select the "Edit advanced collection settings"
215+
4. Using the dropdown, choose one of the "Cost presets", for more configuration, you may select the "Edit advanced collection settings"
216216
5. Click the blue "Configure" button to finish
217217

218218

@@ -270,7 +270,7 @@ The collection settings can be modified through the input of the `dataCollection
270270
2. From the resource pane on the left, select the 'Insights' item under the 'Monitoring' section.
271271
3. If you have not previously configured Container Insights, select the 'Configure Azure Monitor' button. For clusters already onboarded to Insights, select the "Monitoring Settings" button in the toolbar
272272
4. If you are configuring Container Insights for the first time, select the "Use managed identity (preview)" checkbox
273-
5. Using the dropdown, choose one of the "Cost presets", for additional configuration, you may select the "Edit advanced collection settings"
273+
5. Using the dropdown, choose one of the "Cost presets", for more configuration, you may select the "Edit advanced collection settings"
274274
6. Click the blue "Configure" button to finish
275275

276276

@@ -318,5 +318,5 @@ To update your data collection Settings, modify the values in parameter files an
318318

319319
## Limitations
320320

321-
- Recommended alerts will not work as expected if the Data collection interval is configured more than 1 minute interval. To continue using Recommended alerts, please migrate to the [Prometheus metrics addon](../essentials/prometheus-metrics-overview.md)
322-
- There will be gaps in Trend Line Charts of Deployments workbook if configured Data collection interval more than time granularity of the selected Time Range.
321+
- Recommended alerts will not work as intended if the Data collection interval is configured more than 1 minute interval. To continue using Recommended alerts, please migrate to the [Prometheus metrics addon](../essentials/prometheus-metrics-overview.md)
322+
- There may be gaps in Trend Line Charts of Deployments workbook if configured Data collection interval more than time granularity of the selected Time Range.

0 commit comments

Comments
 (0)