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
Copy file name to clipboardExpand all lines: articles/static-web-apps/monitor.md
+9-7Lines changed: 9 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,11 @@
1
1
---
2
-
title: Monitoring Azure Static Web Apps
2
+
title: Monitor Azure Static Web Apps
3
3
description: Monitor requests, failures, and tracing information in Azure Static Web Apps
4
4
services: static-web-apps
5
5
author: craigshoemaker
6
6
ms.service: static-web-apps
7
7
ms.topic: conceptual
8
-
ms.date: 4/23/2021
8
+
ms.date: 09/19/2022
9
9
ms.author: cshoe
10
10
---
11
11
@@ -33,19 +33,21 @@ Use the following steps to add Application Insights monitoring to your static we
33
33
34
34
:::image type="content" source="media/monitoring/azure-static-web-apps-application-insights-add.png" alt-text="Add Application Insights to Azure Static Web Apps":::
35
35
36
+
Once you create the Application Insights instance, it creates an associated application setting in the Azure Static Web Apps instance used to link the services together.
37
+
36
38
> [!NOTE]
37
-
> Once you create the Application Insights instance, an associated application setting is created in the Azure Static Web Apps instance used to link the services together.
39
+
> If you want to track how the different features of your web app are used end-to-end client side, you can insert trace calls in your JavaScript code. For more information, see [Application Insights for webpages](/azure-monitor/app/javascript?tabs=snippet).
38
40
39
41
## Access data
40
42
41
43
1. From the _Overview_ window in your static web app, select the link next to the _Resource group_.
42
44
43
45
1. From the list, select the Application Insights instance prefixed with the same name as your static web app.
44
46
45
-
The following highlights a few locations in the portal used to inspect aspects of your application's API endpoints.
47
+
The following table highlights a few locations in the portal you can use to inspect aspects of your application's API endpoints.
46
48
47
49
> [!NOTE]
48
-
> For more detail on Application Insights usage, refer to [Application Insights overview](../azure-monitor/app/app-insights-overview.md).
50
+
> For more information on Application Insights usage, see the [App insights overview](../azure-monitor/app/app-insights-overview.md).
49
51
50
52
| Type | Menu location | Description |
51
53
|--- | --- | --- |
@@ -72,7 +74,7 @@ Using the following steps to view traces in your application.
72
74
73
75
## Limit logging
74
76
75
-
In some cases you may want to limit logging while still capturing details on errors and warnings by making the following changes to your _host.json_ file of the Azure Functions app.
77
+
In some cases, you may want to limit logging while still capturing details on errors and warnings. You can do so by making the following changes to your _host.json_ file of the Azure Functions app.
76
78
77
79
```json
78
80
{
@@ -94,4 +96,4 @@ In some cases you may want to limit logging while still capturing details on err
94
96
## Next steps
95
97
96
98
> [!div class="nextstepaction"]
97
-
> [Setup authentication and authorization](authentication-authorization.md)
99
+
> [Set up authentication and authorization](authentication-authorization.md)
0 commit comments