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
+24-15Lines changed: 24 additions & 15 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: 05/31/2022
6
+
ms.date: 06/21/2022
7
7
---
8
8
9
9
# Enable Profiler for Azure Service Fabric applications
@@ -27,39 +27,48 @@ In this article, you will:
27
27
## Set up the environment deployment definition
28
28
29
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).
30
+
30
31
1. Locate `WadCfg` in the [Azure Diagnostics](../agents/diagnostics-extension-overview.md) extension in the deployment template file.
31
32
32
33
:::image type="content" source="./media/profiler-servicefabric/search-wadcfg.png" alt-text="Screenshot of where to place the Application Insights instrumentation key." :::
33
34
34
35
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).
48
53
49
54
1. Deploy your Service Fabric cluster by using your Azure Resource Manager template.
50
-
If your settings are correct, Application Insights Profiler will be installed and enabled when the Azure Diagnostics extension is installed.
55
+
56
+
Application Insights Profiler will be installed and enabled when the Azure Diagnostics extension is installed.
57
+
58
+
1. Enable Application Insights for your Service Fabric application.
51
59
52
-
1. Add Application Insights to your Service Fabric application.
60
+
For Profiler to collect profiles for your requests, your application must be tracking operations with Application Insights.
53
61
54
-
For Profiler to collect profiles for your requests, your application must be tracking operations with Application Insights. For stateless APIs, you can refer to instructions for [tracking Requests for profiling](profiler-trackrequests.md?toc=/azure/azure-monitor/toc.json). For more information about tracking custom operations in other kinds of apps, see [track custom operations with Application Insights .NET SDK](custom-operations-tracking.md?toc=/azure/azure-monitor/toc.json).
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).
55
64
56
65
1. Redeploy your application.
57
66
58
67
59
68
## Next steps
60
69
61
-
* 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.
62
-
* See [Profiler traces](profiler-overview.md?toc=/azure/azure-monitor/toc.json) in the Azure portal.
63
-
* For help with troubleshooting Profiler issues, see [Profiler troubleshooting](profiler-troubleshooting.md?toc=/azure/azure-monitor/toc.json).
70
+
- 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.
71
+
- See [Profiler traces](./profiler-overview.md) in the Azure portal.
72
+
- For help with troubleshooting Profiler issues, see [Profiler troubleshooting](./profiler-troubleshooting.md).
0 commit comments