Skip to content

Commit 4b93b7a

Browse files
Merge pull request #106183 from SnehaGunda/PrivateLink1
Moving metrics content
2 parents 3b2ae61 + 96683b0 commit 4b93b7a

File tree

8 files changed

+32
-28
lines changed

8 files changed

+32
-28
lines changed

articles/azure-monitor/insights/cosmosdb-insights-overview.md

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -30,34 +30,6 @@ This feature does not require you to enable or configure anything, these Azure C
3030
>[!NOTE]
3131
>There is no charge to access this feature and you will only be charged for the Azure Monitor essential features you configure or enable, as described on the [Azure Monitor pricing details](https://azure.microsoft.com/pricing/details/monitor/) page.
3232
33-
## View operation level metrics for Azure Cosmos DB
34-
35-
1. Sign in to the [Azure portal](https://portal.azure.com/).
36-
37-
1. Select **Monitor** from the left-hand navigation bar, and select **Metrics**.
38-
39-
![Metrics pane in Azure Monitor](./media/cosmosdb-insights-overview/monitor-metrics-blade.png)
40-
41-
1. From the **Metrics** pane > **Select a resource** > choose the required **subscription**, and **resource group**. For the **Resource type**, select **Azure Cosmos DB accounts**, choose one of your existing Azure Cosmos accounts, and select **Apply**.
42-
43-
![Choose a Cosmos DB account to view metrics](./media/cosmosdb-insights-overview/select-cosmosdb-account.png)
44-
45-
1. Next you can select a metric from the list of available metrics. You can select metrics specific to request units, storage, latency, availability, Cassandra, and others. To learn in detail about all the available metrics in this list, see the [Metrics by category](../../cosmos-db/monitor-cosmos-db-reference.md) article. In this example, let’s select **Request units** and **Avg** as the aggregation value.
46-
47-
In addition to these details, you can also select the **Time range** and **Time granularity** of the metrics. At max, you can view metrics for the past 30 days. After you apply the filter, a chart is displayed based on your filter. You can see the average number of request units consumed per minute for the selected period.
48-
49-
![Choose a metric from the Azure portal](./media/cosmosdb-insights-overview/metric-types.png)
50-
51-
### Add filters to metrics
52-
53-
You can also filter metrics and the chart displayed by a specific **CollectionName**, **DatabaseName**, **OperationType**, **Region**, and **StatusCode**. To filter the metrics, select **Add filter** and choose the required property such as **OperationType** and select a value such as **Query**. The graph then displays the request units consumed for the query operation for the selected period. The operations executed via Stored procedure are not logged so they are not available under the OperationType metric.
54-
55-
![Add a filter to select the metric granularity](./media/cosmosdb-insights-overview/add-metrics-filter.png)
56-
57-
You can group metrics by using the **Apply splitting** option. For example, you can group the request units per operation type and view the graph for all the operations at once as shown in the following image:
58-
59-
![Add apply splitting filter](./media/cosmosdb-insights-overview/apply-metrics-splitting.png)
60-
6133
## View utilization and performance metrics for Azure Cosmos DB
6234

6335
To view the utilization and performance of your storage accounts across all of your subscriptions, perform the following steps.
281 KB
Loading

articles/cosmos-db/monitor-cosmos-db.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,38 @@ The following sections build on this article by describing the specific data gat
3131

3232
![Azure Monitor for Cosmos DB](media/monitor-cosmos-db/azure-monitor-cosmos-db.png)
3333

34+
## View operation level metrics for Azure Cosmos DB
35+
36+
1. Sign in to the [Azure portal](https://portal.azure.com/).
37+
38+
1. Select **Monitor** from the left-hand navigation bar, and select **Metrics**.
39+
40+
![Metrics pane in Azure Monitor](./media/monitor-cosmos-db/monitor-metrics-blade.png)
41+
42+
1. From the **Metrics** pane > **Select a resource** > choose the required **subscription**, and **resource group**. For the **Resource type**, select **Azure Cosmos DB accounts**, choose one of your existing Azure Cosmos accounts, and select **Apply**.
43+
44+
![Choose a Cosmos DB account to view metrics](./media/monitor-cosmos-db/select-cosmosdb-account.png)
45+
46+
1. Next you can select a metric from the list of available metrics. You can select metrics specific to request units, storage, latency, availability, Cassandra, and others. To learn in detail about all the available metrics in this list, see the [Metrics by category](monitor-cosmos-db-reference.md) article. In this example, let’s select **Request units** and **Avg** as the aggregation value.
47+
48+
In addition to these details, you can also select the **Time range** and **Time granularity** of the metrics. At max, you can view metrics for the past 30 days. After you apply the filter, a chart is displayed based on your filter. You can see the average number of request units consumed per minute for the selected period.
49+
50+
![Choose a metric from the Azure portal](./media/monitor-cosmos-db/metric-types.png)
51+
52+
### Add filters to metrics
53+
54+
You can also filter metrics and the chart displayed by a specific **CollectionName**, **DatabaseName**, **OperationType**, **Region**, and **StatusCode**. To filter the metrics, select **Add filter** and choose the required property such as **OperationType** and select a value such as **Query**. The graph then displays the request units consumed for the query operation for the selected period. The operations executed via Stored procedure are not logged so they are not available under the OperationType metric.
55+
56+
![Add a filter to select the metric granularity](./media/monitor-cosmos-db/add-metrics-filter.png)
57+
58+
You can group metrics by using the **Apply splitting** option. For example, you can group the request units per operation type and view the graph for all the operations at once as shown in the following image:
59+
60+
![Add apply splitting filter](./media/monitor-cosmos-db/apply-metrics-splitting.png)
61+
62+
Here is another example to view the server-side latency metrics for a specific database, container, or an operation:
63+
64+
![Server-side latency metrics](./media/monitor-cosmos-db/serverside-latency-metric.png)
65+
3466
## Monitoring data collected from Azure Cosmos DB
3567

3668
Azure Cosmos DB collects the same kinds of monitoring data as other Azure resources which are described in [Monitoring data from Azure resources](../azure-monitor/insights/monitor-azure-resource.md#monitoring-data). See [Azure Cosmos DB monitoring data reference](monitor-cosmos-db-reference.md) for a detailed reference of the logs and metrics created by Azure Cosmos DB.

0 commit comments

Comments
 (0)