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
Azure Cosmos DB helps provide insights into your application’s performance using the Azure Monitor API. Azure Monitor for Azure Cosmos DB provides metrics view to monitor your Cassandra API Account and create dashboards.
@@ -23,75 +23,75 @@ This article walks through some common use cases and how best to use Azure Cosm
23
23
## Availability
24
24
The availability shows the percentage of successful requests over the total requests per hour. Monitor service availability for a specified Cassandra API account.
:::image type="content" source="./media/cassandra-monitor-insights/service-availability-min.png" alt-text=" Screenshot for service availability for an Azure Cosmos DB Cassandra API account.":::
27
27
28
28
29
29
## Latency
30
30
These charts below show the read and write latency observed by your Cassandra API account in the region where your account is operating. You can visualize latency across regions for a geo-replicated account. This metric doesn't represent the end-to-end request latency. Use diagnostic log for cases where you experience high latency for query operations.
31
31
32
32
The server side latency(Avg) by region also displays a sudden latency spike on the server. It can help a customer differentiate between a client side latency spike and a server-side latency spike.
33
33
34
-
:::image type="content" source="./media/cassandra-monitor-insights/avg_server_side_latency_by_region.png" alt-text="The average server side latency by region":::
34
+
:::image type="content" source="./media/cassandra-monitor-insights/avg-server-side-latency-by-region.png" alt-text="Diagram showing the average server side latency by region.":::
35
35
36
36
Also view server-side latency by different operations in a specific keyspace.
37
37
38
-
:::image type="content" source="./media/cassandra-monitor-insights/avg_ss_latency_keyspace_operation.png" alt-text="The average server side latency for a specific keyspace based on operation":::
38
+
:::image type="content" source="./media/cassandra-monitor-insights/avg-ss-latency-keyspace-operation.png" alt-text="Screenshot showing the average server side latency for a specific keyspace based on operation.":::
39
39
40
40
41
-
:::image type="content" source="./media/cassandra-monitor-insights/avg_ss_latency_region_keyspace.png" alt-text="Average server side latency for a by region and keyspace":::
41
+
:::image type="content" source="./media/cassandra-monitor-insights/avg-ss-latency-region-keyspace.png" alt-text="Screenshot showing the average server side latency for a by region and keyspace.":::
42
42
43
43
44
44
Is your application experiencing any throttling? The chart below shows the total number of requests failed with a 429-response code.
45
45
Exceeding provisioned throughput could be one of the reasons. Enable [Server Side Retry](./prevent-rate-limiting-errors.md) when your application experiences high throttling due to higher consumption of request units than what is allocated.
46
46
47
-
:::image type="content" source="./media/cassandra-monitor-insights/throttled_requests.png" alt-text="Graph showing throttled request with a defined time frame":::
47
+
:::image type="content" source="./media/cassandra-monitor-insights/throttled-requests.png" alt-text="Screenshot of graph showing throttled request with a defined time frame.":::
48
48
49
49
50
50
51
-
## System and Management Operations
51
+
## System and management operations
52
52
The system view helps show metadata requests count by primary partition. It also helps identify throttled requests. The management operation shows the account activities such as creation, deletion, key, network and replication settings. Request volume per status code over a time period.
53
53
54
-
:::image type="content" source="./media/cassandra-monitor-insights/metadata_requests_status_code.png" alt-text="Request status code based on metadata":::
54
+
:::image type="content" source="./media/cassandra-monitor-insights/metadata-requests-status-code.png" alt-text="Screenshot showing request status code based on metadata.":::
55
55
56
56
- Metric chart for account diagnostic, network and replication settings over a specified period and filtered based on a Keyspace.
:::image type="content" source="./media/cassandra-monitor-insights/diagnostic-network-replication.png" alt-text="Screenshot of diagnostic network replication for a Cassandra API account.":::
59
59
60
60
61
61
- Metric chart to view account key rotation.
62
62
63
63
You can view changes to primary or secondary password for your Cassandra API account.
64
64
65
-
:::image type="content" source="./media/cassandra-monitor-insights/cosmosdb_account_key.png" alt-text="Cosmos DB rotation key":::
65
+
:::image type="content" source="./media/cassandra-monitor-insights/cosmos-db-account-key.png" alt-text="Screenshot showing Cosmos DB rotation key for a Cassandra API account.":::
66
66
67
67
68
68
## Storage
69
69
Storage distribution for raw and index storage. Also a count of documents in the Cassandra API account.
70
70
71
-
:::image type="content" source="./media/cassandra-monitor-insights/data_index_usage.png" alt-text="Document count within a Cassandra API account":::
71
+
:::image type="content" source="./media/cassandra-monitor-insights/data-index-usage.png" alt-text="Diagram showing the document count within a Cassandra API account.":::
72
72
73
73
Maximum request units consumption for an account over a defined time period.
74
74
75
-
:::image type="content" source="./media/cassandra-monitor-insights/normalized_ru_consumption.png" alt-text="Maximum request unit consumption":::
75
+
:::image type="content" source="./media/cassandra-monitor-insights/normalized-ru-consumption.png" alt-text="Diagram showing the maximum request unit consumption.":::
76
76
77
77
78
-
## Throughput and Requests
78
+
## Throughput and requests
79
79
The Total Request Units metric displays the requests unit usage based on operation types.
80
80
81
81
These operations can be analyzed within a given time interval, defined keyspace or table.
82
82
83
-
:::image type="content" source="./media/cassandra-monitor-insights/total_cassandra_requests.png" alt-text="Screenshot image of a graph showing the total cassandra requests for an account":::
83
+
:::image type="content" source="./media/cassandra-monitor-insights/total-cassandra-requests.png" alt-text="Screenshot image of a graph showing the total cassandra requests for an account.":::
84
84
85
-
:::image type="content" source="./media/cassandra-monitor-insights/total_request_units.png" alt-text="Screenshot image of a graph showing the total request units for a cassandra account":::
85
+
:::image type="content" source="./media/cassandra-monitor-insights/total-request-units.png" alt-text="Screenshot image of a graph showing the total request units for a cassandra account.":::
86
86
87
87
The Normalized RU Consumption metric is a metric between 0% to 100% that is used to help measure the utilization of provisioned throughput on a database or container. The metric can also be used to view the utilization of individual partition key ranges on a database or container. One of the main factors of a scalable application is having a good cardinality of partition keys.
88
88
The chart below shows if your application’s high RU consumption is because of hot partition.
:::image type="content" source="./media/cassandra-monitor-insights/normalized-ru-pk-rangeid.png" alt-text="Screenshot showing normalized request unit consumption by partition key range id.":::
91
91
92
92
The chart below shows a breakdown of requests by different status code. Understand the meaning of the different codes for you [Cassandra API codes](./error-codes-solution.md)
93
93
94
-
:::image type="content" source="./media/cassandra-monitor-insights/total_request_by_status_code.png" alt-text="Screenshot image of a graph showing the total request by status code for a cassandra api account":::
94
+
:::image type="content" source="./media/cassandra-monitor-insights/total-request-by-status-code.png" alt-text="Screenshot image of a graph showing the total request by status code for a cassandra api account.":::
0 commit comments