Skip to content

Commit 7ae56a0

Browse files
authored
Merge pull request #58164 from DennisLee-DennisLee/v-dele-1387770-2
1387770: Changed second 10 files of broken internal links.
2 parents 25946f7 + 378731a commit 7ae56a0

File tree

10 files changed

+540
-436
lines changed

10 files changed

+540
-436
lines changed

articles/azure-functions/functions-monitoring.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ If you write logs in your function code, their category is "Function".
188188

189189
### Log levels
190190

191-
The Azure functions logger also includes a *log level* with every log. [LogLevel](https://docs.microsoft.com/aspnet/core/api/microsoft.extensions.logging.loglevel#Microsoft_Extensions_Logging_LogLevel) is an enumeration, and the integer code indicates relative importance:
191+
The Azure functions logger also includes a *log level* with every log. [LogLevel](/dotnet/api/microsoft.extensions.logging.loglevel) is an enumeration, and the integer code indicates relative importance:
192192

193193
|LogLevel |Code|
194194
|------------|---|

articles/container-registry/container-registry-tasks-multi-step.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,20 @@ title: Automate image build, test, and patch with Azure Container Registry multi
33
description: An introduction to multi-step tasks, a feature of ACR Tasks in Azure Container Registry that provides task-based workflows for building, testing, and patching container images in the cloud.
44
services: container-registry
55
author: dlepow
6-
76
ms.service: container-registry
87
ms.topic: article
9-
ms.date: 10/29/2018
8+
ms.date: 11/15/2018
109
ms.author: danlep
1110
---
1211

1312
# Run multi-step build, test, and patch tasks in ACR Tasks
1413

15-
Multi-step tasks extend the single image build-and-push capability of ACR Tasks with multi-step, multi-container-based workflows. Use multi-step tasks to build and push several images, in series or in parallel, and run those images as commands within a single task run. Each step defines a container image build or push operation, and can also define the execution of a container. Each step in a multi-step task uses a container as its execution environment.
14+
Multi-step tasks extend the single image build-and-push capability of ACR Tasks with multi-step, multi-container-based workflows. Use multi-step tasks to build and push several images, in series or in parallel. Then run those images as commands within a single task run. Each step defines a container image build or push operation, and can also define the execution of a container. Each step in a multi-step task uses a container as its execution environment.
1615

1716
> [!IMPORTANT]
1817
> If you previously created tasks during the preview with the `az acr build-task` command, those tasks need to be re-created using the [az acr task][az-acr-task] command.
1918
20-
For example, you can run a task with steps that automate the following:
19+
For example, you can run a task with steps that automate the following logic:
2120

2221
1. Build a web application image
2322
1. Run the web application container
@@ -33,11 +32,11 @@ All steps are performed within Azure, offloading the work to Azure's compute res
3332
3433
## Common task scenarios
3534

36-
Multi-step tasks enable scenarios like the following:
35+
Multi-step tasks enable scenarios like the following logic:
3736

3837
* Build, tag, and push one or more container images, in series or in parallel.
3938
* Run and capture unit test and code coverage results.
40-
* Run and capture functional tests. ACR Tasks supports running multiple containers, executing a series of requests between them.
39+
* Run and capture functional tests. ACR Tasks supports running more than one container, executing a series of requests between them.
4140
* Perform task-based execution, including pre/post steps of a container image build.
4241
* Deploy one or more containers with your favorite deployment engine to your target environment.
4342

@@ -172,5 +171,5 @@ You can find multi-step task reference and examples here:
172171

173172
<!-- LINKS - Internal -->
174173
[az-acr-task-create]: /cli/azure/acr/task#az-acr-task-create
175-
[az-acr-run]: /cli/azure/acr/run#az-acr-run
176-
[az-acr-task]: /cli/azure/acr#az-acr-task
174+
[az-acr-run]: /cli/azure/acr#az-acr-run
175+
[az-acr-task]: /cli/azure/acr/task

articles/cosmos-db/faq.md

Lines changed: 288 additions & 184 deletions
Large diffs are not rendered by default.

articles/cosmos-db/import-data.md

Lines changed: 151 additions & 144 deletions
Large diffs are not rendered by default.

articles/cosmos-db/use-metrics.md

Lines changed: 32 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,91 +1,89 @@
11
---
2-
title: Monitoring and debugging with metrics in Azure Cosmos DB | Microsoft Docs
2+
title: Monitor and debug with metrics in Azure Cosmos DB | Microsoft Docs
33
description: Use metrics in Azure Cosmos DB to debug common issues and monitor the database.
44
keywords: metrics
55
services: cosmos-db
66
author: kanshiG
77
manager: kfile
88
editor: ''
9-
109
ms.service: cosmos-db
1110
ms.devlang: na
1211
ms.topic: conceptual
13-
ms.date: 09/25/2017
12+
ms.date: 11/15/2018
1413
ms.author: govindk
15-
1614
---
15+
# Monitor and debug with metrics in Azure Cosmos DB
1716

18-
# Monitoring and debugging with metrics in Azure Cosmos DB
19-
20-
Azure Cosmos DB provides metrics for throughput, storage, consistency, availability, and latency. The [Azure portal](https://portal.azure.com) provides an aggregated view of these metrics; for more granular metrics, both the client SDK and the [diagnostic logs](./logging.md) are available.
17+
Azure Cosmos DB provides metrics for throughput, storage, consistency, availability, and latency. The [Azure portal](https://portal.azure.com) provides an aggregated view of these metrics. For more granular metrics, both the client SDK and the [diagnostic logs](./logging.md) are available.
2118

22-
This article walks through common use cases and how Azure Cosmos DB metrics can be used to analyze and debug these issues. Metrics are collected every five minutes and are retained for seven days.
19+
This article walks through common use cases and how Azure Cosmos DB metrics can be used to analyze and debug these issues. Metrics are collected every five minutes and are kept for seven days.
2320

24-
## Understanding how many requests are succeeding or causing errors
21+
## Understand how many requests are succeeding or causing errors
2522

26-
To get started, head to the [Azure portal](https://portal.azure.com) and navigate to the **Metrics** blade. In the blade, find the **Number of requests exceeded capacity per 1 minute** chart. This chart shows a minute by minute total requests segmented by the status code. For more information about HTTP status codes, see [HTTP Status Codes for Azure Cosmos DB](https://docs.microsoft.com/rest/api/cosmos-db/http-status-codes-for-cosmosdb).
23+
To get started, head to the [Azure portal](https://portal.azure.com) and navigate to the **Metrics** blade. In the blade, find the **Number of requests exceeded capacity per 1 minute** chart. This chart shows a minute by minute total requests segmented by the status code. For more information about HTTP status codes, see [HTTP status codes for Azure Cosmos DB](https://docs.microsoft.com/rest/api/cosmos-db/http-status-codes-for-cosmosdb).
2724

28-
The most common error status code is 429 (rate limiting/throttling), which means that requests to Azure Cosmos DB are exceeding the provisioned throughput. The most common solution to this is to [scale up the RUs](./set-throughput.md) for the given collection.
25+
The most common error status code is 429 (rate limiting/throttling). This error means that requests to Azure Cosmos DB are more than the provisioned throughput. The most common solution to this problem is to [scale up the RUs](./set-throughput.md) for the given collection.
2926

3027
![Number of requests per minute](media/use-metrics/metrics-12.png)
3128

32-
## Determining the throughput distribution across partitions
29+
## Determine the throughput distribution across partitions
3330

34-
Having a good cardinality of your partition keys is essential for any scalable application. To determine the throughput distribution of any partitioned container broken down by partitions, navigate to the **Metrics blade** in the [Azure portal](https://portal.azure.com). In the **Throughput** tab, the storage breakdown is shown in the **Max consumed RU/second by each physical partition** chart. The following graphic illustrates an example of a poor distribution of data as evidenced by the skewed partition on the far left.
31+
Having a good cardinality of your partition keys is essential for any scalable application. To determine the throughput distribution of any partitioned container broken down by partitions, navigate to the **Metrics blade** in the [Azure portal](https://portal.azure.com). In the **Throughput** tab, the storage breakdown is shown in the **Max consumed RU/second by each physical partition** chart. The following graphic illustrates an example of a poor distribution of data as shown by the skewed partition on the far left.
3532

3633
![Single partition seeing heavy usage at 3:05 PM](media/use-metrics/metrics-17.png)
3734

3835
An uneven throughput distribution may cause *hot* partitions, which can result in throttled requests and may require repartitioning. For more information about partitioning in Azure Cosmos DB, see [Partition and scale in Azure Cosmos DB](./partition-data.md).
3936

40-
## Determining the storage distribution across partitions
37+
## Determine the storage distribution across partitions
4138

42-
Having a good cardinality of your partition is essential for any scalable application. To determine the throughput distribution of any partitioned container broken down by partitions, head to the Metrics blade in the [Azure portal](https://portal.azure.com). In the Throughput tab, the storage breakdown is shown in the Max consumed RU/second by each physical partition chart. The following graphic illustrates a poor distribution of data as evidenced by the skewed partition on the far left.
39+
Having a good cardinality of your partition is essential for any scalable application. To determine the throughput distribution of any partitioned container broken down by partitions, head to the Metrics blade in the [Azure portal](https://portal.azure.com). In the Throughput tab, the storage breakdown is shown in the Max consumed RU/second by each physical partition chart. The following graphic illustrates a poor distribution of data as shown by the skewed partition on the far left.
4340

4441
![Example of poor data distribution](media/use-metrics/metrics-07.png)
4542

46-
You can root cause which partition key is skewing the distribution by clicking on the partition in the chart.
43+
You can root cause which partition key is skewing the distribution by clicking on the partition in the chart.
4744

4845
![Partition key is skewing the distribution](media/use-metrics/metrics-05.png)
4946

5047
After identifying which partition key is causing the skew in distribution, you may have to repartition your container with a more distributed partition key. For more information about partitioning in Azure Cosmos DB, see [Partition and scale in Azure Cosmos DB](./partition-data.md).
5148

52-
## Comparing data size against index size
49+
## Compare data size against index size
5350

54-
In Azure Cosmos DB, the total consumed storage is the combination of both the Data size and Index size. Typically, the index size is a fraction of the data size. In the Metrics blade in the [Azure portal](https://portal.azure.com), the Storage tab showcases the breakdown of storage consumption based on data and index.
51+
In Azure Cosmos DB, the total consumed storage is the combination of both the Data size and Index size. Typically, the index size is a fraction of the data size. In the Metrics blade in the [Azure portal](https://portal.azure.com), the Storage tab showcases the breakdown of storage consumption based on data and index.
5552

5653
```csharp
5754
// Measure the document size usage (which includes the index size)
58-
ResourceResponse<DocumentCollection> collectionInfo = await client.ReadDocumentCollectionAsync(UriFactory.CreateDocumentCollectionUri("db", "coll"));
55+
ResourceResponse<DocumentCollection> collectionInfo = await client.ReadDocumentCollectionAsync(UriFactory.CreateDocumentCollectionUri("db", "coll"));
5956
Console.WriteLine("Document size quota: {0}, usage: {1}", collectionInfo.DocumentQuota, collectionInfo.DocumentUsage);
60-
```
61-
If you would like to conserve index space, you can adjust the [indexing policy](./indexing-policies.md).
57+
```
58+
59+
If you would like to conserve index space, you can adjust the [indexing policy](index-policy.md).
6260

63-
## Debugging why queries are running slow
61+
## Debug why queries are running slow
6462

65-
In the SQL API SDKs, Azure Cosmos DB provides query execution statistics.
63+
In the SQL API SDKs, Azure Cosmos DB provides query execution statistics.
6664

6765
```csharp
6866
IDocumentQuery<dynamic> query = client.CreateDocumentQuery(
69-
UriFactory.CreateDocumentCollectionUri(DatabaseName, CollectionName),
70-
"SELECT * FROM c WHERE c.city = 'Seattle'",
71-
new FeedOptions
72-
{
73-
PopulateQueryMetrics = true,
74-
MaxItemCount = -1,
75-
MaxDegreeOfParallelism = -1,
76-
EnableCrossPartitionQuery = true
67+
UriFactory.CreateDocumentCollectionUri(DatabaseName, CollectionName),
68+
"SELECT * FROM c WHERE c.city = 'Seattle'",
69+
new FeedOptions
70+
{
71+
PopulateQueryMetrics = true,
72+
MaxItemCount = -1,
73+
MaxDegreeOfParallelism = -1,
74+
EnableCrossPartitionQuery = true
7775
}).AsDocumentQuery();
7876
FeedResponse<dynamic> result = await query.ExecuteNextAsync();
7977

80-
// Returns metrics by partition key range Id
78+
// Returns metrics by partition key range Id
8179
IReadOnlyDictionary<string, QueryMetrics> metrics = result.QueryMetrics;
8280
```
8381

84-
*QueryMetrics* provides details on how long each component of the query took to execution. The most common root cause for long running queries are scans (the query was unable to leverage the indexes), which can be resolved with a better filter condition.
82+
*QueryMetrics* provides details on how long each component of the query took to execution. The most common root cause for long running queries is scans, meaning the query was unable to leverage the indexes. This problem can be resolved with a better filter condition.
8583

8684
## Next steps
8785

88-
Now that you've learned how to monitor and debug issues using the metrics provided in the Azure portal, you may want to learn more about improving database performance by reading the following articles:
86+
You've now learned how to monitor and debug issues using the metrics provided in the Azure portal. You may want to learn more about improving database performance by reading the following articles:
8987

9088
* [Performance and scale testing with Azure Cosmos DB](performance-testing.md)
9189
* [Performance tips for Azure Cosmos DB](performance-tips.md)

articles/machine-learning/desktop-workbench/how-to-build-deploy-text-classification-models.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ Typically, you set the parameters before you fit a model.
433433

434434
The following code samples show you how to train the model using the default pipeline and model parameters.
435435

436-
To see what parameters are included for "text_word_ngrams", use [get_step_param_names_by_name](https://docs.microsoft.com/python/api/tatk.core.base_text_model.basetextmodel). This function returns the parameters such as lowercase, input_col, output_col and so on.
436+
To see what parameters are included for "text_word_ngrams", use [get_step_param_names_by_name](/python/api/msft-tatk/tatk.core.base_text_model.basetextmodel#get-step-param-names-by-name). This function returns the parameters such as lowercase, input_col, output_col and so on.
437437

438438
```python
439439
text_classifier.get_step_param_names_by_name("text_word_ngrams")
@@ -622,7 +622,7 @@ Apply the trained text classifier on the test dataset to generate class predicti
622622
</div>
623623

624624
## Evaluate model performance
625-
The [evaluation module](https://docs.microsoft.com/python/api/tatk.evaluation) evaluates the accuracy of the trained text classifier on the test dataset. The evaluate function generates a confusion matrix and provides a macro-F1 score.
625+
The [evaluation module](/python/api/msft-tatk/tatk.evaluation) evaluates the accuracy of the trained text classifier on the test dataset. The evaluate function generates a confusion matrix and provides a macro-F1 score.
626626

627627
```python
628628
text_classifier.evaluate(df_test)

articles/marketplace/cloud-partner-portal-orig/cloud-partner-portal-manage-publisher-profile.md

Lines changed: 16 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,47 @@
11
---
2-
title: Managing ‘Azure Marketplace’ and ‘AppSource’ Publisher Profile
3-
description: Managing ‘Azure Marketplace’ and ‘AppSource’ Publisher Profile
2+
title: Manage ‘Azure Marketplace’ and ‘AppSource’ publisher profile
3+
description: Managing ‘Azure Marketplace’ and ‘AppSource’ publisher profile
44
services: Azure, Marketplace, Cloud Partner Portal,
55
documentationcenter:
66
author: qianw211
77
manager: pbutlerm
88
editor:
9-
109
ms.assetid:
1110
ms.service: marketplace
1211
ms.workload:
1312
ms.tgt_pltfrm:
1413
ms.devlang:
1514
ms.topic: conceptual
16-
ms.date: 09/13/2018
15+
ms.date: 11/15/2018
1716
ms.author: pbutlerm
1817
---
1918

20-
21-
Managing 'Azure Marketplace' and 'AppSource' Publisher Profile
22-
==============================================================
19+
# Manage 'Azure Marketplace' and 'AppSource' publisher profile
2320

2421
This document is a walk-through on viewing and managing users to your
2522
registered publisher profile.
2623

27-
By this time, you have completed the steps to become an Azure
24+
By this time, you've completed the steps to become an Azure
2825
Marketplace and AppSource publisher. The publisher profile is registered
2926
on the **[Cloud Partner Portal](https://cloudpartner.azure.com/)**
3027
following approval of your partner request. Your publisher profile will
3128
apply to all the offers and SKUs published from the account used during
3229
partner registration.
3330

34-
If you haven't registered your company as a cloud partner [click
35-
here](https://cloudpartner.azure.com/#documentation/getting-started-with-the-cloud-partner-portal).
31+
If you haven't registered your company as a cloud partner, see [Get started with the cloud partner portal](https://cloudpartner.azure.com/#documentation/getting-started-with-the-cloud-partner-portal).
3632

3733
**Publisher Profile**: Your publisher profile distinguishes your company
3834
on the Azure Marketplace and AppSource. It consists of your publisher
3935
ID, display name, and owner email(s). A well-managed profile will
4036
increase your visibility and help marketplace users easily identify and
4137
select an appropriate offer.
4238

43-
> [!NOTE]
44-
> Your publisher ID and registered owner email is not editable once you publish your first offer. However you can view your profile and edit the publisher display name from the Cloud Partner Portal.
39+
> [!NOTE]
40+
> Your publisher ID and registered owner email isn't editable once you publish your first offer. However you can view your profile and edit the publisher display name from the Cloud Partner Portal.
41+
42+
<!-- Dummy comment added to suppress MD linter warning -->
4543

46-
> [!NOTE]
44+
> [!NOTE]
4745
> Add users (contributors and owners) to your publishing profile from the Users section on the left navigation pane from the Users Section of the cloud partner portal`
4846
4947
**To view and manage your publisher profile**, from the top-right menu
@@ -58,16 +56,14 @@ Details - publisher profile details](./media/cloud-partner-portal-how-to-manage-
5856
**Link your Dev Center Account**: You can also link your existing Dev
5957
Center account with your publisher profile on the Cloud Partner Portal.
6058
First sign in to the portal with the same email address used to register
61-
your Dev Center account. Once linked, your Dev Center account status,
62-
Dev Center account owner email, and Dev Center account name will show up
63-
on your publisher profile page.
59+
your Dev Center account. Then your publisher profile page displays your Dev Center account status, Dev Center account owner email, and Dev Center account name.
6460

6561
>[!NOTE]
66-
>Dev Center Account registration is mandatory for publishing paid market place SKU’s.
62+
>Dev Center Account registration is mandatory for publishing paid market place SKUs.
6763
68-
If you do not have a [Developer Center Account](https://docs.microsoft.com/azure/marketplace-publishing/marketplace-publishing-accounts-creation-registration.md),
69-
you can create one and add the registered email address as one of the
70-
owners on the Cloud Partner Portal for your offer. An owner can only add
64+
If you don't have a [Developer Center Account](~/articles/marketplace-publishing/marketplace-publishing-accounts-creation-registration.md),
65+
you can create an account. Then add the registered email address as an
66+
owner on the Cloud Partner Portal for your offer. An owner can only add
7167
the registered email address to your publishing profile from the
7268
**User** section. Then, sign in to the portal using the same email
7369
address, and link your Dev Center account.

0 commit comments

Comments
 (0)