Skip to content

Commit b50e8d1

Browse files
committed
Merge branch 'main' of https://github.com/MicrosoftDocs/azure-docs-pr into cdnfreshness3
2 parents 541849b + 4bc2ff1 commit b50e8d1

File tree

11 files changed

+380
-29
lines changed

11 files changed

+380
-29
lines changed

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

Lines changed: 322 additions & 0 deletions
Large diffs are not rendered by default.

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

Lines changed: 34 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
title: Monitoring cost for Container insights | Microsoft Docs
33
description: This article describes the monitoring cost for metrics and inventory data collected by Container insights to help customers manage their usage and associated costs.
44
ms.topic: conceptual
5-
ms.custom: ignite-2022
6-
ms.date: 08/29/2022
5+
ms.date: 01/24/2023
76
ms.reviewer: viviandiec
87
---
98
# Understand monitoring costs for Container insights
@@ -24,7 +23,8 @@ The Azure Monitor pricing model is primarily based on the amount of data ingeste
2423
2524
The following types of data collected from a Kubernetes cluster with Container insights influence cost and can be customized based on your usage:
2625

27-
- Stdout and stderr container logs from every monitored container in every Kubernetes namespace in the cluster
26+
- Perf, Inventory, InsightsMetrics, and KubeEvents can be controlled through [cost optimization settings](../containers/container-insights-cost-config.md)
27+
- Stdout and stderr container logs from every monitored container in every Kubernetes namespace in the cluster via the [agent ConfigMap](../containers/container-insights-agent-config.md)
2828
- Container environment variables from every monitored container in the cluster
2929
- Completed Kubernetes jobs/pods in the cluster that don't require monitoring
3030
- Active scraping of Prometheus metrics
@@ -80,6 +80,31 @@ This workbook helps you visualize the source of your data without having to buil
8080

8181
To learn about managing rights and permissions to the workbook, review [Access control](../visualize/workbooks-overview.md#access-control).
8282

83+
### Determining the root cause of the data ingestion
84+
85+
Container Insights data primarily consists of metric counters (Perf, Inventory, InsightsMetrics, and custom metrics) and logs (ContainerLog). Based on your cluster usage and size, you may have different requirements and monitoring needs.
86+
87+
By navigating to the By Table section of the Data Usage workbook, you can see the breakdown of table sizes for Container Insights.
88+
89+
[![Screenshot that shows the By Table breakdown in Data Usage workbook.](media/container-insights-cost/data-usage-workbook-by-table.png)](media/container-insights-cost/data-usage-workbook-by-table.png#lightbox)
90+
91+
If the majority of your data comes from one of these following tables:
92+
- Perf
93+
- InsightsMetrics
94+
- ContainerInventory
95+
- ContainerNodeInventory
96+
- KubeNodeInventory
97+
- KubePodInventory
98+
- KubePVInventory
99+
- KubeServices
100+
- KubeEvents
101+
102+
You can adjust your ingestion using the [cost optimization settings](../containers/container-insights-cost-config.md) and/or migrating to the Prometheus metrics addon (../essentials/prometheus-metrics-overview.md)
103+
104+
Otherwise, the majority of your data belongs to the ContainerLog table. and you can follow the steps below to reduce your ContainerLog costs.
105+
106+
### Reducing your ContainerLog costs
107+
83108
After you finish your analysis to determine which sources are generating the data that's exceeding your requirements, you can reconfigure data collection. For more information on configuring collection of stdout, stderr, and environmental variables, see [Configure agent data collection settings](container-insights-agent-config.md).
84109

85110
The following examples show what changes you can apply to your cluster by modifying the ConfigMap file to help control cost.
@@ -123,6 +148,12 @@ The following examples show what changes you can apply to your cluster by modify
123148
124149
After you apply one or more of these changes to your ConfigMaps, apply it to your cluster with the command `kubectl apply -f <config3. map_yaml_file.yaml>`. For example, run the command `kubectl apply -f container-azm-ms-agentconfig.yaml` to open the file in your default editor to modify and then save it.
125150
151+
### Configure Basic Logs
152+
153+
You can save on data ingestion costs on ContainerLog 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 in Azure Monitor](../logs/basic-logs-configure.md). ContainerLogV2 is the configured version of Basic Logs that Container Insights uses. ContainerLogV2 includes verbose text-based log records.
154+
155+
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).
156+
126157
### Prometheus metrics scraping
127158
128159
If you use [Prometheus metric scraping](container-insights-prometheus.md), make sure that you limit the number of metrics you collect from your cluster:
@@ -131,12 +162,6 @@ If you use [Prometheus metric scraping](container-insights-prometheus.md), make
131162
- Container insights supports exclusion and inclusion lists by metric name. For example, if you're scraping **kubedns** metrics in your cluster, hundreds of them might get scraped by default. But you're most likely only interested in a subset of the metrics. Confirm that you specified a list of metrics to scrape, or exclude others except for a few to save on data ingestion volume. It's easy to enable scraping and not use many of those metrics, which will only add charges to your Log Analytics bill.
132163
- When you scrape through pod annotations, ensure you filter by namespace so that you exclude scraping of pod metrics from namespaces that you don't use. An example is the `dev-test` namespace.
133164
134-
### Configure Basic Logs
135-
136-
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 in Azure Monitor](../logs/basic-logs-configure.md). ContainerLogV2 is the configured version of Basic Logs that Container Insights uses. ContainerLogV2 includes verbose text-based log records.
137-
138-
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).
139-
140165
## Data collected from Kubernetes clusters
141166
142167
### Metric data
141 KB
Loading

articles/azure-monitor/profiler/profiler-troubleshooting.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ For Profiler to work properly, make sure:
9797

9898
:::image type="content" source="./media/profiler-troubleshooting/profiler-web-job-log.png" alt-text="Screenshot of the Continuous WebJob Details pane.":::
9999

100-
If Profiler still isn't working for you, you can download the log and [send it to our team](mailto:serviceprofilerhelp@microsoft.com).
100+
If Profiler still isn't working for you, you can download the log and [submit an Azure support ticket](https://azure.microsoft.com/support/).
101101

102102
#### Check the Diagnostic Services site extension' status page
103103

articles/azure-monitor/toc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -960,6 +960,8 @@ items:
960960
href: containers/container-insights-agent-config.md
961961
- name: Enable ContainerLogv2 (preview)
962962
href: containers/container-insights-logging-v2.md
963+
- name: Enable cost optimization settings (preview)
964+
href: containers/container-insights-cost-config.md
963965
- name: Monitor
964966
items:
965967
- name: Monitor performance

articles/azure-netapp-files/whats-new.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ Azure NetApp Files is updated regularly. This article provides a summary about t
2121

2222
## February 2023
2323

24+
* The `Vaults` API is deprecated starting with Azure NetApp Files REST API version 2022-09-01.
25+
26+
Enabling backup of volumes doesn't require the `Vaults` API. REST API users can use `PUT` and `PATCH` [Volumes API](/rest/api/netapp/volumes) to enable backup for a volume.
27+
2428
* [Volume user and group quotas](default-individual-user-group-quotas-introduction.md) (Preview)
2529

2630
Azure NetApp Files volumes provide flexible, large and scalable storage shares for applications and users. Storage capacity and consumption by users is only limited by the size of the volume. In some scenarios, you may want to limit this storage consumption of users and groups within the volume. With Azure NetApp Files volume user and group quotas, you can now do so. User and/or group quotas enable you to restrict the storage space that a user or group can use within a specific Azure NetApp Files volume. You can choose to set default (same for all users) or individual user quotas on all NFS, SMB, and dual protocol-enabled volumes. On all NFS-enabled volumes, you can set default (same for all users) or individual group quotas.

articles/azure-resource-manager/management/manage-resource-groups-cli.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,6 @@ ms.custom: devx-track-azurecli
1212

1313
Learn how to use Azure CLI with [Azure Resource Manager](overview.md) to manage your Azure resource groups. For managing Azure resources, see [Manage Azure resources by using Azure CLI](manage-resources-cli.md).
1414

15-
Other articles about managing resource groups:
16-
17-
- [Manage Azure resource groups by using the Azure portal](manage-resources-portal.md)
18-
- [Manage Azure resource groups by using Azure PowerShell](manage-resources-powershell.md)
19-
2015
## What is a resource group
2116

2217
A resource group is a container that holds related resources for an Azure solution. The resource group can include all the resources for the solution, or only those resources that you want to manage as a group. You decide how you want to add resources to resource groups based on what makes the most sense for your organization. Generally, add resources that share the same lifecycle to the same resource group so you can easily deploy, update, and delete them as a group.

articles/azure-resource-manager/management/manage-resource-groups-portal.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,6 @@ ms.author: jgao
1010

1111
Learn how to use the [Azure portal](https://portal.azure.com) with [Azure Resource Manager](overview.md) to manage your Azure resource groups. For managing Azure resources, see [Manage Azure resources by using the Azure portal](manage-resources-portal.md).
1212

13-
Other articles about managing resource groups:
14-
15-
- [Manage Azure resource groups by using Azure CLI](manage-resources-cli.md)
16-
- [Manage Azure resource groups by using Azure PowerShell](manage-resources-powershell.md)
17-
1813
[!INCLUDE [Handle personal data](../../../includes/gdpr-intro-sentence.md)]
1914

2015
## What is a resource group

articles/azure-resource-manager/management/manage-resource-groups-powershell.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,6 @@ ms.custom: devx-track-azurepowershell
1212

1313
Learn how to use Azure PowerShell with [Azure Resource Manager](overview.md) to manage your Azure resource groups. For managing Azure resources, see [Manage Azure resources by using Azure PowerShell](manage-resources-powershell.md).
1414

15-
Other articles about managing resource groups:
16-
17-
- [Manage Azure resource groups by using the Azure portal](manage-resources-portal.md)
18-
- [Manage Azure resource groups by using Azure CLI](manage-resources-cli.md)
19-
2015
## What is a resource group
2116

2217
A resource group is a container that holds related resources for an Azure solution. The resource group can include all the resources for the solution, or only those resources that you want to manage as a group. You decide how you want to add resources to resource groups based on what makes the most sense for your organization. Generally, add resources that share the same lifecycle to the same resource group so you can easily deploy, update, and delete them as a group.
@@ -77,7 +72,7 @@ For more information about deploying a Bicep file, see [Deploy resources with Bi
7772

7873
## Lock resource groups
7974

80-
Locking prevents other users in your organization from accidentally deleting or modifying critical resources..
75+
Locking prevents other users in your organization from accidentally deleting or modifying critical resources.
8176

8277
To prevent a resource group and its resources from being deleted, use [New-AzResourceLock](/powershell/module/az.resources/new-azresourcelock).
8378

articles/iot-hub/iot-hub-devguide-messages-d2c.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
title: Understand Azure IoT Hub message routing
3+
titleSuffix: Azure IoT Hub
34
description: This article describes how to use message routing to send device-to-cloud messages. Includes information about sending both telemetry and non-telemetry data.
45
author: kgremban
56
ms.service: iot-hub
@@ -109,6 +110,12 @@ You can configure the synthetic partition key value by specifying a template in
109110
> [!CAUTION]
110111
> If you're using the system assigned managed identity for authenticating to Cosmos DB, you must use Azure CLI or Azure PowerShell to assign the Cosmos DB Built-in Data Contributor built-in role definition to the identity. Role assignment for Cosmos DB isn't currently supported from the Azure portal. For more information about the various roles, see [Configure role-based access for Azure Cosmos DB](../cosmos-db/how-to-setup-rbac.md). To understand assigning roles via CLI, see [Manage Azure Cosmos DB SQL role resources.](/cli/azure/cosmosdb/sql/role)
111112
113+
## Route to an endpoint in another subscription
114+
115+
If the endpoint resource is in a different subscription than your IoT hub, you need to configure your IoT hub as a trusted Microsoft service before creating a custom endpoint. When you do create the custom endpoint, set the **Authentication type** to user-assigned identity.
116+
117+
For more information, see [Egress connectivity from IoT Hub to other Azure resources](./iot-hub-managed-identity.md#egress-connectivity-from-iot-hub-to-other-azure-resources).
118+
112119
## Routing queries
113120

114121
IoT Hub message routing provides a querying capability to filter the data before routing it to the endpoints. Each routing query you configure has the following properties:

0 commit comments

Comments
 (0)