Skip to content

Commit 4d1aca6

Browse files
committed
small updates after talking to chuck
1 parent a8e17df commit 4d1aca6

File tree

1 file changed

+24
-15
lines changed

1 file changed

+24
-15
lines changed

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

Lines changed: 24 additions & 15 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: 05/31/2022
6+
ms.date: 06/21/2022
77
---
88

99
# Enable Profiler for Azure Service Fabric applications
@@ -27,39 +27,48 @@ In this article, you will:
2727
## Set up the environment deployment definition
2828

2929
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+
3031
1. Locate `WadCfg` in the [Azure Diagnostics](../agents/diagnostics-extension-overview.md) extension in the deployment template file.
3132

3233
:::image type="content" source="./media/profiler-servicefabric/search-wadcfg.png" alt-text="Screenshot of where to place the Application Insights instrumentation key." :::
3334

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

3637
```json
37-
"SinksConfig": {
38-
"Sink": [
39-
{
40-
"name": "MyApplicationInsightsProfilerSink",
41-
"ApplicationInsightsProfiler": "[Application_Insights_Key]"
42-
}
43-
]
44-
}
38+
"settings": {
39+
"WadCfg": {
40+
"SinksConfig": {
41+
"Sink": [
42+
{
43+
"name": "MyApplicationInsightsProfilerSinkVMSS",
44+
"ApplicationInsightsProfiler": "[parameters('applicationInsightsFrontendIkey')]"
45+
}
46+
]
47+
},
48+
},
49+
}
4550
```
4651

4752
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).
4853

4954
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.
5159

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

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

5665
1. Redeploy your application.
5766

5867

5968
## Next steps
6069

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

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

0 commit comments

Comments
 (0)