Skip to content

Commit 17b8f9f

Browse files
committed
updates after call
1 parent bfbded3 commit 17b8f9f

File tree

1 file changed

+23
-18
lines changed

1 file changed

+23
-18
lines changed

articles/azure-monitor/profiler/profiler-servicefabric.md

Lines changed: 23 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Enable Profiler for Azure Service Fabric applications
33
description: Profile live Azure Service Fabric apps with Application Insights
44
ms.topic: conceptual
55
ms.custom: devx-track-dotnet
6-
ms.date: 06/21/2022
6+
ms.date: 06/23/2022
77
---
88

99
# Enable Profiler for Azure Service Fabric applications
@@ -13,7 +13,7 @@ Application Insights Profiler is included with Azure Diagnostics. You can instal
1313
In this article, you will:
1414

1515
- 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.
1717
- Enable Application Insights on your Service Fabric application.
1818
- Redeploy your Service Fabric cluster to enable Profiler.
1919

@@ -24,11 +24,11 @@ In this article, you will:
2424
- Confirm that the deployed OS is `Windows Server 2012 R2` or later.
2525
- [An Azure Service Fabric managed cluster.](../../service-fabric/quickstart-managed-cluster-portal.md).
2626

27-
## Set up the environment deployment definition
27+
## Create deployment template
2828

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).
3030

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.
3232

3333
1. Add the following `SinksConfig` section as a child element of `WadCfg`. Replace the `ApplicationInsightsProfiler` property value with your own Application Insights instrumentation key:
3434

@@ -39,34 +39,39 @@ In this article, you will:
3939
"Sink": [
4040
{
4141
"name": "MyApplicationInsightsProfilerSinkVMSS",
42-
"ApplicationInsightsProfiler": "[parameters('applicationInsightsFrontendIkey')]"
42+
"ApplicationInsightsProfiler": "YOUR_APPLICATION_INSIGHTS_INSTRUMENTATION_KEY"
4343
}
4444
]
4545
},
4646
},
4747
}
4848
```
4949

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?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).
5151

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.
5355

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
5559

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.
5761

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).
5964

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.
6266

63-
1. Redeploy your application.
67+
## Generate traffic and view Profiler traces
6468

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.
6572

6673
## Next steps
6774

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).
7176

72-
[!INCLUDE [azure-monitor-log-analytics-rebrand](../../../includes/azure-monitor-instrumentation-key-deprecation.md)]
77+
[!INCLUDE [azure-monitor-log-analytics-rebrand](../../../includes/azure-monitor-instrumentation-key-deprecation.md)]

0 commit comments

Comments
 (0)