Skip to content

Commit 4b745d6

Browse files
committed
Fixing monitoring doc issues
1 parent 37ab1da commit 4b745d6

File tree

4 files changed

+15
-13
lines changed

4 files changed

+15
-13
lines changed

articles/cosmos-db/cosmosdb-monitor-resource-logs.md

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -94,12 +94,12 @@ For detailed information about how to create a diagnostic setting by using the A
9494
| render timechart
9595
```
9696

97-
1. How to get partition Key statistics to evaluate skew across top 3 partitions for database account:
97+
1. How to get partition key statistics to evaluate skew across top 3 partitions for a database account:
9898

9999
```Kusto
100100
AzureDiagnostics
101101
| where ResourceProvider=="MICROSOFT.DOCUMENTDB" and Category=="PartitionKeyStatistics"
102-
| project SubscriptionId, regionName_s, databaseName_s, collectionname_s, partitionkey_s, sizeKb_s, ResourceId
102+
| project SubscriptionId, regionName_s, databaseName_s, collectionName_s, partitionKey_s, sizeKb_d, ResourceId
103103
```
104104

105105
1. How to get the request charges for expensive queries?
@@ -209,14 +209,6 @@ For detailed information about how to create a diagnostic setting by using the A
209209
| where todouble(sizeKb_d) > 800000
210210
```
211211

212-
1. How to get partition Key statistics to evaluate skew across top three partitions for database account?
213-
214-
```Kusto
215-
AzureDiagnostics
216-
| where ResourceProvider=="MICROSOFT.DOCUMENTDB" and Category=="PartitionKeyStatistics"
217-
| project SubscriptionId, regionName_s, databaseName_s, collectionName_s, partitionKey_s, sizeKb_d, ResourceId
218-
```
219-
220212
1. How to get P99 or P50 replication latencies for operations, request charge or the length of the response?
221213

222214
```Kusto

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ You can analyze metrics for Azure Cosmos DB with metrics from other Azure servic
7171
* Region
7272
* StatusCode
7373

74+
Metrics which are available to monitor are available [here](monitor-cosmos-db.md#analyzing-metric-data)
75+
7476
### View operation level metrics for Azure Cosmos DB
7577

7678
1. Sign in to the [Azure portal](https://portal.azure.com/).

articles/cosmos-db/monitor-server-side-latency.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,13 @@ ms.date: 04/07/2020
1212

1313
Azure Monitor for Azure Cosmos DB provides a metrics view to monitor your account and create dashboards. The Azure Cosmos DB metrics are collected by default, this feature does not require you to enable or configure anything explicitly. The server-side latency metric is used to view the server-side latency of an operation. Azure Cosmos DB provides SLA of less than 10 ms for point read/write operations with direct connectivity. For point read and write operations, the SLAs are calculated as detailed in the [SLA document](https://azure.microsoft.com/support/legal/sla/cosmos-db/v1_3/).
1414

15-
If you see unusually high latency for point operation such as A get or set operation with partition key and ID in direct mode
16-
Or
15+
You can monitor server-side latency if you see unusually high latency for point operation such as:
16+
17+
* A GET or a SET operation with partition key and ID in direct connectivity mode
1718
* A read or write operation or
1819
* A query
1920

20-
You can look up the diagnostic log to see the size of data returned. If you see a sustained high latency for query operation, you should look up the diagnostic log for higher [throughput or RU/s](cosmosdb-monitor-resource-logs.md#diagnostic-queries) used. Server side latency shows as the name suggests amount of time spent on the backend infrastructure before data was returned to your calling code. It is important to look at this metric to rule out any backend latency issues.
21+
You can look up the diagnostic log to see the size of the data returned. If you see a sustained high latency for query operations, you should look up the diagnostic log for higher [throughput or RU/s](cosmosdb-monitor-resource-logs.md#diagnostic-queries) used. Server side latency shows the amount of time spent on the backend infrastructure before the data was returned to the client. It is important to look at this metric to rule out any backend latency issues.
2122

2223
## View the server-side latency metric
2324

articles/cosmos-db/online-backup-and-restore.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,13 @@ When you accidentally delete or modify one or more items within a container (the
8585

8686
If you have accidentally deleted or corrupted your data, you should contact [Azure support](https://azure.microsoft.com/support/options/) within 8 hours so that the Azure Cosmos DB team can help you restore the data from the backups. This way the Azure Cosmos DB support team will have enough time to restore your account.
8787

88+
> [!NOTE]
89+
> After you restore the data, not all the source capabilities or settings are carried over to the restored account. The following settings are not carried over to the new account:
90+
91+
> * VNET access control lists
92+
> * Stored procedures, triggers and user-defined functions
93+
> * Multi-region settings
94+
8895
If you provision throughput at the database level, the backup and restore process in this case happen at the entire database level, and not at the individual containers level. In such cases, you can't select a subset of containers to restore.
8996

9097
## Migrate data to the original account

0 commit comments

Comments
 (0)