Skip to content

Commit 5fcf533

Browse files
Merge pull request #217383 from mrbullwinkle/mrb_11_07_2022_metrics_advisor
[Applied AI Services] [Metrics Advisor] H2 consistency
2 parents 1474bd5 + ead7d80 commit 5fcf533

File tree

6 files changed

+16
-11
lines changed

6 files changed

+16
-11
lines changed

articles/applied-ai-services/metrics-advisor/includes/quickstarts/csharp.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ ms.author: mbullwin
2626
> * You can find the URL for the REST API in Azure portal, in the **Overview** section of your resource. It will look like this:
2727
> * `https://<instance-name>.cognitiveservices.azure.com/`
2828
29-
## Setting up
29+
## Set up
3030

3131
### Install the client library
3232

@@ -60,7 +60,7 @@ If you are using an IDE other than Visual Studio you can install the Metrics Adv
6060
dotnet add package Azure.AI.MetricsAdvisor --version 1.1.0
6161
```
6262

63-
## Creating environment variables
63+
## Environment variables
6464

6565
To successfully make a call against the Anomaly Detector service, you'll need the following values:
6666

@@ -145,7 +145,7 @@ echo export SQL_QUERY="REPLACE_WITH_YOUR_UNIQUE_SQL_QUERY_BASED_ON_THE_UNDERLYIN
145145

146146
---
147147

148-
### Create a new application
148+
## Create your application
149149

150150
Edit your program.cs file and replace with the following:
151151

articles/applied-ai-services/metrics-advisor/includes/quickstarts/java.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ ms.author: mbullwin
2828
> * You can find the URL for the REST API in Azure portal, in the **Overview** section of your resource. It will look like this:
2929
> * `https://<instance-name>.cognitiveservices.azure.com/`
3030
31-
## Setting up
31+
## Set up
3232

3333
### Create a new Gradle project
3434

@@ -72,7 +72,7 @@ Navigate to the new folder and create a file called *MetricsAdvisorQuickstarts.j
7272
> Want to view the whole quickstart code file at once? You can find it on [GitHub](https://github.com/Azure/azure-sdk-for-java/tree/master/sdk/metricsadvisor/azure-ai-metricsadvisor/src/samples), which contains the code examples in this quickstart.
7373
7474

75-
## Creating environment variables
75+
## Environment variables
7676

7777
To successfully make a call against the Anomaly Detector service, you'll need the following values:
7878

@@ -157,7 +157,7 @@ echo export SQL_QUERY="REPLACE_WITH_YOUR_UNIQUE_SQL_QUERY_BASED_ON_THE_UNDERLYIN
157157

158158
---
159159

160-
### Creating your java application
160+
## Create your application
161161

162162
Replace the contents of your .java file with the following:
163163

articles/applied-ai-services/metrics-advisor/includes/quickstarts/javascript.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ echo export SQL_QUERY="REPLACE_WITH_YOUR_UNIQUE_SQL_QUERY_BASED_ON_THE_UNDERLYIN
137137

138138
---
139139

140+
## Create your application
140141

141142
Create a file named `index.js` and copy the following code:
142143

articles/applied-ai-services/metrics-advisor/includes/quickstarts/python.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ ms.author: mbullwin
2626
> * You can find the URL for the REST API in Azure portal, in the **Overview** section of your resource. It will look like this:
2727
> * `https://<instance-name>.cognitiveservices.azure.com/`
2828
29-
## Setting up
29+
## Set up
3030

3131
### Install the client library
3232

@@ -36,7 +36,7 @@ Install the client library. You can install the client library with:
3636
pip install azure-ai-metricsadvisor --pre
3737
```
3838

39-
## Creating environment variables
39+
## Environment variables
4040

4141
To successfully make a call against the Anomaly Detector service, you'll need the following values:
4242

@@ -121,7 +121,9 @@ echo export SQL_QUERY="REPLACE_WITH_YOUR_UNIQUE_SQL_QUERY_BASED_ON_THE_UNDERLYIN
121121

122122
---
123123

124-
### Create a new Python application
124+
## Create your application
125+
126+
Create a python application based off the follow code:
125127

126128
```python
127129
"""

articles/applied-ai-services/metrics-advisor/includes/quickstarts/rest-api.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ The example code for this quickstart will show you how to call the REST API usin
2727
> * You can find the URL for the REST API in Azure portal, in the **Overview** section of your resource. it will look like this:
2828
> * `https://<instance-name>.cognitiveservices.azure.com/`
2929
30-
## Creating environment variables
30+
## Environment variables
3131

3232
To successfully make a call against the Anomaly Detector service, you'll need the following values:
3333

@@ -112,6 +112,8 @@ echo export SQL_QUERY="REPLACE_WITH_YOUR_UNIQUE_SQL_QUERY_BASED_ON_THE_UNDERLYIN
112112

113113
---
114114

115+
## Create your application
116+
115117
```python
116118
import requests
117119
import json

articles/applied-ai-services/metrics-advisor/quickstarts/rest-api-and-client-library.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ manager: nitinme
88
ms.service: applied-ai-services
99
ms.subservice: metrics-advisor
1010
ms.topic: quickstart
11-
ms.date: 07/06/2021
11+
ms.date: 11/07/2022
1212
ms.author: mbullwin
1313
zone_pivot_groups: programming-languages-metrics-monitor
1414
ms.custom: mode-api

0 commit comments

Comments
 (0)