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/azure-monitor/profiler/profiler-servicefabric.md
+23-18Lines changed: 23 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ title: Enable Profiler for Azure Service Fabric applications
3
3
description: Profile live Azure Service Fabric apps with Application Insights
4
4
ms.topic: conceptual
5
5
ms.custom: devx-track-dotnet
6
-
ms.date: 06/21/2022
6
+
ms.date: 06/23/2022
7
7
---
8
8
9
9
# Enable Profiler for Azure Service Fabric applications
@@ -13,7 +13,7 @@ Application Insights Profiler is included with Azure Diagnostics. You can instal
13
13
In this article, you will:
14
14
15
15
- Add the Application Insights Profiler property to your Azure Resource Manager template.
16
-
- Deploy your Service Fabric cluster using the Azure Resource Manager template.
16
+
- Deploy your Service Fabric cluster with the Application Insights Profiler instrumentation key.
17
17
- Enable Application Insights on your Service Fabric application.
18
18
- Redeploy your Service Fabric cluster to enable Profiler.
19
19
@@ -24,11 +24,11 @@ In this article, you will:
24
24
- Confirm that the deployed OS is `Windows Server 2012 R2` or later.
25
25
-[An Azure Service Fabric managed cluster.](../../service-fabric/quickstart-managed-cluster-portal.md).
26
26
27
-
## Set up the environment deployment definition
27
+
## Create deployment template
28
28
29
-
1. In your Service Fabric managed cluster, navigate to your[Azure Resource Manager template](https://github.com/Azure/azure-docs-json-samples/blob/master/application-insights/ServiceFabricCluster.json).
29
+
1. In your Service Fabric managed cluster, navigate to where you've implemented the[Azure Resource Manager template](https://github.com/Azure/azure-docs-json-samples/blob/master/application-insights/ServiceFabricCluster.json).
30
30
31
-
1. Locate `WadCfg` in the [Azure Diagnostics](../agents/diagnostics-extension-overview.md) extension in the deployment template file.
31
+
1. Locate the `WadCfg` tags in the [Azure Diagnostics](../agents/diagnostics-extension-overview.md) extension in the deployment template file.
32
32
33
33
1. Add the following `SinksConfig` section as a child element of `WadCfg`. Replace the `ApplicationInsightsProfiler` property value with your own Application Insights instrumentation key:
For information about adding the Diagnostics extension to your deployment template, see [Use monitoring and diagnostics with a Windows VM and Azure Resource Manager templates](../../virtual-machines/extensions/diagnostics-template.md?toc=/azure/virtual-machines/windows/toc.json).
50
+
For information about adding the Diagnostics extension to your deployment template, see [Use monitoring and diagnostics with a Windows VM and Azure Resource Manager templates](../../virtual-machines/extensions/diagnostics-template.md).
51
51
52
-
1. Deploy your Service Fabric cluster by using your Azure Resource Manager template.
52
+
## Deploy your Service Fabric cluster
53
+
54
+
After updating the `WadCfg` with your instrumentation key, deploy your Service Fabric cluster.
53
55
54
-
Application Insights Profiler will be installed and enabled when the Azure Diagnostics extension is installed.
56
+
Application Insights Profiler will be installed and enabled when the Azure Diagnostics extension is installed.
57
+
58
+
## Enable Application Insights on your Service Fabric application
55
59
56
-
1. Enable Application Insights for your Service Fabric application.
60
+
For Profiler to collect profiles for your requests, your application must be tracking operations with Application Insights.
57
61
58
-
For Profiler to collect profiles for your requests, your application must be tracking operations with Application Insights.
62
+
-**For stateless APIs**, you can refer to instructions for [tracking requests for profiling](./profiler-trackrequests.md).
63
+
-**For tracking custom operations in other kinds of apps**, see [track custom operations with Application Insights .NET SDK](../app/custom-operations-tracking.md).
59
64
60
-
-**For stateless APIs**, you can refer to instructions for [tracking requests for profiling](./profiler-trackrequests.md).
61
-
-**For tracking custom operations in other kinds of apps**, see [track custom operations with Application Insights .NET SDK](../app/custom-operations-tracking.md).
65
+
Redeploy your application once you've enabled Application Insights.
62
66
63
-
1. Redeploy your application.
67
+
## Generate traffic and view Profiler traces
64
68
69
+
1. Launch an [availability test](../app/monitor-web-app-availability.md)) to generate traffic to your application.
70
+
1. Wait 10 to 15 minutes for traces to be sent to the Application Insights instance.
71
+
1. View the [Profiler traces](./profiler-overview.md) via the Application Insights instance the Azure portal.
65
72
66
73
## Next steps
67
74
68
-
- Generate traffic to your application (for example, launch an [availability test](../app/monitor-web-app-availability.md)). Then, wait 10 to 15 minutes for traces to start to be sent to the Application Insights instance.
69
-
- See [Profiler traces](./profiler-overview.md) in the Azure portal.
70
-
- For help with troubleshooting Profiler issues, see [Profiler troubleshooting](./profiler-troubleshooting.md).
75
+
For help with troubleshooting Profiler issues, see [Profiler troubleshooting](./profiler-troubleshooting.md).
0 commit comments