Skip to content

Commit c469bff

Browse files
authored
Merge pull request #272313 from MicrosoftDocs/main
4/16/2024 AM Publish
2 parents 0a93613 + 180f260 commit c469bff

File tree

85 files changed

+1694
-352
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

85 files changed

+1694
-352
lines changed

articles/ai-services/openai/how-to/latency.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ Latency varies based on what model you're using. For an identical request, expec
5959
When you send a completion request to the Azure OpenAI endpoint, your input text is converted to tokens that are then sent to your deployed model. The model receives the input tokens and then begins generating a response. It's an iterative sequential process, one token at a time. Another way to think of it is like a for loop with `n tokens = n iterations`. For most models, generating the response is the slowest step in the process.
6060

6161
At the time of the request, the requested generation size (max_tokens parameter) is used as an initial estimate of the generation size. The compute-time for generating the full size is reserved by the model as the request is processed. Once the generation is completed, the remaining quota is released. Ways to reduce the number of tokens:
62-
- Set the `max_token` parameter on each call as small as possible.
62+
- Set the `max_tokens` parameter on each call as small as possible.
6363
- Include stop sequences to prevent generating extra content.
6464
- Generate fewer responses: The best_of & n parameters can greatly increase latency because they generate multiple outputs. For the fastest response, either don't specify these values or set them to 1.
6565

@@ -136,4 +136,4 @@ Time from the first token to the last token, divided by the number of generated
136136

137137
* **Streaming**: Enabling streaming can be useful in managing user expectations in certain situations by allowing the user to see the model response as it is being generated rather than having to wait until the last token is ready.
138138

139-
* **Content Filtering** improves safety, but it also impacts latency. Evaluate if any of your workloads would benefit from [modified content filtering policies](./content-filters.md).
139+
* **Content Filtering** improves safety, but it also impacts latency. Evaluate if any of your workloads would benefit from [modified content filtering policies](./content-filters.md).

articles/app-service/reference-app-settings.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ The following environment variables are related to the app environment in genera
3333
| `WEBSITE_NPM_DEFAULT_VERSION` | Default npm version the app is using. ||
3434
| `WEBSOCKET_CONCURRENT_REQUEST_LIMIT` | Read-only. Limit for websocket's concurrent requests. For **Standard** tier and above, the value is `-1`, but there's still a per VM limit based on your VM size (see [Cross VM Numerical Limits](https://github.com/projectkudu/kudu/wiki/Azure-Web-App-sandbox#cross-vm-numerical-limits)). ||
3535
| `WEBSITE_PRIVATE_EXTENSIONS` | Set to `0` to disable the use of private site extensions. ||
36-
| `WEBSITE_TIME_ZONE` | By default, the time zone for the app is always UTC. You can change it to any of the valid values that are listed in [TimeZone](/previous-versions/windows/it-pro/windows-vista/cc749073(v=ws.10)). If the specified value isn't recognized, UTC is used. | `Atlantic Standard Time` |
36+
| `WEBSITE_TIME_ZONE` | By default, the time zone for the app is always UTC. You can change it to any of the valid values that are listed in [Default Time Zones](/windows-hardware/manufacture/desktop/default-time-zones). If the specified value isn't recognized, UTC is used. | `Atlantic Standard Time` |
3737
| `WEBSITE_ADD_SITENAME_BINDINGS_IN_APPHOST_CONFIG` | After slot swaps, the app may experience unexpected restarts. This is because after a swap, the hostname binding configuration goes out of sync, which by itself doesn't cause restarts. However, certain underlying storage events (such as storage volume failovers) may detect these discrepancies and force all worker processes to restart. To minimize these types of restarts, set the app setting value to `1`on all slots (default is`0`). However, don't set this value if you're running a Windows Communication Foundation (WCF) application. For more information, see [Troubleshoot swaps](deploy-staging-slots.md#troubleshoot-swaps)||
3838
| `WEBSITE_PROACTIVE_AUTOHEAL_ENABLED` | By default, a VM instance is proactively "autohealed" when it's using more than 90% of allocated memory for more than 30 seconds, or when 80% of the total requests in the last two minutes take longer than 200 seconds. If a VM instance has triggered one of these rules, the recovery process is an overlapping restart of the instance. Set to `false` to disable this recovery behavior. The default is `true`. For more information, see [Proactive Auto Heal](https://azure.github.io/AppService/2017/08/17/Introducing-Proactive-Auto-Heal.html). ||
3939
| `WEBSITE_PROACTIVE_CRASHMONITORING_ENABLED` | Whenever the w3wp.exe process on a VM instance of your app crashes due to an unhandled exception for more than three times in 24 hours, a debugger process is attached to the main worker process on that instance, and collects a memory dump when the worker process crashes again. This memory dump is then analyzed and the call stack of the thread that caused the crash is logged in your App Service’s logs. Set to `false` to disable this automatic monitoring behavior. The default is `true`. For more information, see [Proactive Crash Monitoring](https://azure.github.io/AppService/2021/03/01/Proactive-Crash-Monitoring-in-Azure-App-Service.html). ||

articles/azure-arc/data/update-service-principal-credentials.md

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,20 @@ ms.subservice: azure-arc-data
77
author: AbdullahMSFT
88
ms.author: amamun
99
ms.reviewer: mikeray
10-
ms.date: 07/30/2021
10+
ms.date: 04/16/2024
1111
ms.topic: how-to
1212
---
1313

1414
# Update service principal credentials
1515

16-
When the service principal credentials change, you need to update the secrets in the data controller.
16+
This article explains how to update the secrets in the data controller.
1717

18-
For example, if you deployed the data controller using a specific set of values for service principal tenant ID, client ID, and client secret, and then change one or more of these values, you need to update the secrets in the data controller. Following are the instructions to update Tenant ID, Client ID or the Client secret.
18+
For example, if you:
1919

20+
- Deployed the data controller using a specific set of values for service principal tenant ID, client ID, and client secret
21+
- Change one or more of these values
22+
23+
You need to update the secrets in the data controller.
2024

2125
## Background
2226

@@ -36,7 +40,7 @@ The service principal was created at [Create service principal](upload-metrics-a
3640
kubectl edit secret/upload-service-principal-secret -n arc
3741
```
3842

39-
The `kubecl edit` command opens the credentials .yml file in the default editor.
43+
The `kubectl edit` command opens the credentials .yml file in the default editor.
4044

4145

4246
1. Edit the service principal secret.
@@ -52,18 +56,18 @@ The service principal was created at [Create service principal](upload-metrics-a
5256
#
5357
apiVersion: v1
5458
data:
55-
authority: aHR0cHM6Ly9sb2dpbi5taWNyb3NvZnRvbmxpbmUuY29t
56-
clientId: NDNiNDcwYrFTGWYzOC00ODhkLTk0ZDYtNTc0MTdkN2YxM2Uw
57-
clientSecret: VFA2RH125XU2MF9+VVhXenZTZVdLdECXFlNKZi00Lm9NSw==
58-
tenantId: NzJmOTg4YmYtODZmMRFVBGTJLSATkxYWItMmQ3Y2QwMTFkYjQ3
59+
authority: <authority id>
60+
clientId: <client id>
61+
clientSecret: <client secret>==
62+
tenantId: <tenant id>
5963
kind: Secret
6064
metadata:
6165
creationTimestamp: "2020-12-02T05:02:04Z"
6266
name: upload-service-principal-secret
6367
namespace: arc
6468
resourceVersion: "7235659"
6569
selfLink: /api/v1/namespaces/arc/secrets/upload-service-principal-secret
66-
uid: 7fb693ff-6caa-4a31-b83e-9bf22be4c112
70+
uid: <globally unique identifier>
6771
type: Opaque
6872
```
6973

@@ -73,14 +77,12 @@ The service principal was created at [Create service principal](upload-metrics-a
7377
>The values need to be base64 encoded.
7478
Do not edit any other properties.
7579

76-
If an incorrect value is provided for `clientId`, `clientSecret` or `tenantID` then you will see an error message as follows in the `control-xxxx` pod/controller container logs:
80+
If an incorrect value is provided for `clientId`, `clientSecret`, or `tenantID` the command returns an error message as follows in the `control-xxxx` pod/controller container logs:
7781

7882
```output
79-
YYYY-MM-DD HH:MM:SS.mmmm | ERROR | [AzureUpload] Upload task exception: A configuration issue is preventing authentication - check the error message from the server for details.You can modify the configuration in the application registration portal. See https://aka.ms/msal-net-invalid-client for details. Original exception: AADSTS7000215: Invalid client secret is provided.
83+
YYYY-MM-DD HH:MM:SS.mmmm | ERROR | [AzureUpload] Upload task exception: A configuration issue is preventing authentication - check the error message from the server for details.You can modify the configuration in the application registration portal. See https://aka.ms/msal-net-invalid-client for details. Original exception: AADSTS7000215: Invalid client secret is provided.
8084
```
8185

82-
83-
8486
## Related content
8587

86-
[Create service principal](upload-metrics-and-logs-to-azure-monitor.md#create-service-principal)
88+
- [Create service principal](upload-metrics-and-logs-to-azure-monitor.md#create-service-principal)

articles/azure-arc/data/upload-metrics-and-logs-to-azure-monitor.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.custom: devx-track-azurecli
88
author: twright-msft
99
ms.author: twright
1010
ms.reviewer: mikeray
11-
ms.date: 11/03/2021
11+
ms.date: 04/16/2024
1212
ms.topic: how-to
1313
---
1414

@@ -72,20 +72,20 @@ az ad sp credential reset --name <ServicePrincipalName>
7272
For example, to create a service principal named `azure-arc-metrics`, run the following command
7373

7474
```azurecli
75-
az ad sp create-for-rbac --name azure-arc-metrics --role Contributor --scopes /subscriptions/a345c178a-845a-6a5g-56a9-ff1b456123z2/resourceGroups/myresourcegroup
75+
az ad sp create-for-rbac --name azure-arc-metrics --role Contributor --scopes /subscriptions/<SubscriptionId>/resourceGroups/myresourcegroup
7676
```
7777

7878
Example output:
7979

8080
```output
81-
"appId": "2e72adbf-de57-4c25-b90d-2f73f126e123",
81+
"appId": "<appId>",
8282
"displayName": "azure-arc-metrics",
8383
"name": "http://azure-arc-metrics",
84-
"password": "5039d676-23f9-416c-9534-3bd6afc78123",
85-
"tenant": "72f988bf-85f1-41af-91ab-2d7cd01ad1234"
84+
"password": "<password>",
85+
"tenant": "<tenant>"
8686
```
8787

88-
Save the `appId`, `password`, and `tenant` values in an environment variable for use later.
88+
Save the `appId`, `password`, and `tenant` values in an environment variable for use later. These values are in the form of globally unique identifier (GUID).
8989

9090
# [Windows](#tab/windows)
9191

@@ -148,11 +148,11 @@ Example output:
148148
```output
149149
{
150150
"canDelegate": null,
151-
"id": "/subscriptions/<Subscription ID>/providers/Microsoft.Authorization/roleAssignments/f82b7dc6-17bd-4e78-93a1-3fb733b912d",
152-
"name": "f82b7dc6-17bd-4e78-93a1-3fb733b9d123",
153-
"principalId": "5901025f-0353-4e33-aeb1-d814dbc5d123",
151+
"id": "/subscriptions/<Subscription ID>/providers/Microsoft.Authorization/roleAssignments/<globally unique identifier>",
152+
"name": "<globally unique identifier>",
153+
"principalId": "<principal id>",
154154
"principalType": "ServicePrincipal",
155-
"roleDefinitionId": "/subscriptions/<Subscription ID>/providers/Microsoft.Authorization/roleDefinitions/3913510d-42f4-4e42-8a64-420c39005123",
155+
"roleDefinitionId": "/subscriptions/<Subscription ID>/providers/Microsoft.Authorization/roleDefinitions/<globally unique identifier>",
156156
"scope": "/subscriptions/<Subscription ID>",
157157
"type": "Microsoft.Authorization/roleAssignments"
158158
}

articles/azure-maps/power-bi-visual-add-tile-layer.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ There are three different tile service naming conventions supported by the Azure
4040

4141
* **X, Y, Zoom notation** - X is the column, Y is the row position of the tile in the tile grid, and the Zoom notation a value based on the zoom level.
4242
* **Quadkey notation** - Combines x, y, and zoom information into a single string value. This string value becomes a unique identifier for a single tile.
43-
* **Bounding Box** - Specify an image in the Bounding box coordinates format: `{west},{south},{east},{north}`. This format is commonly used by [Web Mapping Services (WMS)].
43+
* **Bounding Box** - Specify an image in the Bounding box coordinates format: `{west},{south},{east},{north}`.
4444

4545
The tile URL an https URL to a tile URL template that uses the following
4646
parameters:
@@ -54,7 +54,7 @@ parameters:
5454
As an example, here's a formatted tile URL for the [weather radar tile service] in Azure Maps.
5555

5656
```html
57-
`https://atlas.microsoft.com/map/tile?zoom={z}&x={x}&y={y}&tilesetId=microsoft.weather.radar.main&api-version=2.0&subscription-key={Your-Azure-Maps-Subscription-key}`
57+
https://atlas.microsoft.com/map/tile?zoom={z}&x={x}&y={y}&tilesetId=microsoft.weather.radar.main&api-version=2.0&subscription-key={Your-Azure-Maps-Subscription-key}
5858
```
5959

6060
For more information on Azure Maps tiling system, see [Zoom levels and tile grid].
@@ -66,7 +66,6 @@ Add more context to the map:
6666
> [!div class="nextstepaction"]
6767
> [Show real-time traffic]
6868
69-
[Web Mapping Services (WMS)]: https://www.opengeospatial.org/standards/wms
7069
[Show real-time traffic]: power-bi-visual-show-real-time-traffic.md
7170
[Zoom levels and tile grid]: zoom-levels-and-tile-grid.md
7271
[weather radar tile service]: /rest/api/maps/render/get-map-tile

articles/azure-monitor/agents/resource-manager-agent.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1068,9 +1068,6 @@ resource managedIdentity 'Microsoft.Compute/virtualMachines/extensions@2021-11-0
10681068
},
10691069
"workspaceResourceId": {
10701070
"value": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourcegroups/my-resource-group/providers/microsoft.operationalinsights/workspaces/my-workspace"
1071-
},
1072-
"workspaceKey": {
1073-
"value": "Npl#3y4SmqG4R30ukKo3oxfixZ5axv1xocXgKR17kgVdtacU4cEf+SNr2TdHGVKTsZHZv3R8QKRXfh+ToVR9dA-="
10741071
}
10751072
}
10761073
}
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
---
2+
title: Investigate an incident with Azure Monitor Investigator
3+
description: Learn how to use the Azure Monitor investigator to use AIOps to investigate an incident using AI.
4+
ms.author: abbyweisberg
5+
author: MSFT
6+
ms.topic: how-to
7+
ms.date: 04/09/2024
8+
ms.reviewer: yalavi
9+
10+
# Customer intent: As a Site Reliability Engineer (SRE), developer, or IT operations engineer, I want to know how to use AI to explain why an alert was fired and tell me what my next steps should be to resolve the issue.
11+
---
12+
13+
# Use AIOps to investigate incidents Azure Monitor Investigator
14+
15+
This article describes how to use Azure Monitor Investigator to trigger an investigation to identify resource issues, or to explain why an alert was fired, and provide next steps to resolve the issue.
16+
17+
## Investigate an alert
18+
19+
1. From the home page in the [Azure portal](https://portal.azure.com/), select **Monitor** > **Alerts**.
20+
1. From the **Alerts** page, select the alert that you want to investigate.
21+
1. In the alert details pane, select **Investigate** on the top right.
22+
23+
:::image type="content" source="./media/investigate-alert-instance/investigate-button.png" alt-text="Screenshot of the investigate button from the alert details page.":::
24+
25+
1. Alternatively, you can select **Investigate** from the email notification about an alert.
26+
1. The investigation starts to run.
27+
28+
:::image type="content" source="./media/investigate-alert-instance/investigator-running.png" alt-text="Screenshot of the investigator in the middle of running.":::
29+
30+
1. When the investigation is complete, a summary of the incident is displayed with recommendations for how to mitigate the issue.
31+
32+
:::image type="content" source="./media/investigate-alert-instance/investigator-response.png" alt-text="Screenshot of the investigator response with recommendations.":::
33+
34+
35+
## Ask Copilot to trigger an investigation
36+
37+
1. From the home page in the [Azure portal](https://portal.azure.com/), select **Copilot**.
38+
1. In **Copilot**, ask about resource issues to get more insight into the issue. Here are some examples of questions you can ask:
39+
- "Is there any anomaly in my edge resource?"
40+
- "Run anomaly detection for the last two days."
41+
- "Any anomaly on my AKS resource?"
42+
- "Had an alert in my HCI at 8 am this morning, run an anomaly investigation for me"
43+
- "Run anomaly detection at 2023-10-27T20:48:53Z."
44+
- "Run anomaly detection at 10/27/2023, 8:48:53 PM"
45+
46+
1. Copilot runs an investigation and respond with the results.
47+
48+
49+
## Next steps
50+
51+
Learn about [Responsible AI for Azure Monitor Investigator](responsible-ai-faq.md).

0 commit comments

Comments
 (0)