Skip to content

Commit fb35789

Browse files
author
Timothy Mothra
authored
Add PerfView instructions
1 parent bf9c8ac commit fb35789

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

articles/azure-monitor/app/asp-net-troubleshoot-no-data.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,5 +230,34 @@ Follow these instructions to capture troubleshooting logs for your framework.
230230

231231
4. Revert these changes when you are finished.
232232

233+
234+
## PerfView
235+
[PerfView](https://github.com/Microsoft/perfview) is a free diagnotics and performance-analysis tool that help isolate CPU, memory and other issue by collecting and visualizing diangostics information from many sources.
236+
237+
The Application Insights SDK log EventSource self-troubleshooting logs that can be captured by PerfView.
238+
239+
To collect logs, download PerfView and run this command:
240+
```cmd
241+
PerfView.exe collect /onlyProviders=*Microsoft-ApplicationInsights-* -MaxCollectSec:300
242+
```
243+
244+
You can modify these parameters as needed.
245+
246+
- **MaxCollectSec**. Set this to prevent PerfView from running indefinitely and affecting the performance of your server.
247+
- **OnlyProviders**. Set this to restrict the logs collected to only those emitted from the SDK. You can customize this list based on your specific investigations.
248+
249+
Our full list of providers is:
250+
251+
- Microsoft-ApplicationInsights-Core
252+
- Microsoft-ApplicationInsights-Extensibility-DependencyCollector
253+
- Microsoft-ApplicationInsights-Extensibility-Rtia-SharedCore
254+
- Microsoft-ApplicationInsights-Extensibility-Web
255+
- Microsoft-ApplicationInsights-Extensibility-WindowsServer
256+
- Microsoft-ApplicationInsights-Web
257+
- Microsoft-ApplicationInsights-WindowsServer-TelemetryChannel
258+
259+
260+
For more information about PerfView see [Recording performance traces with PerfView](https://github.com/dotnet/roslyn/wiki/Recording-performance-traces-with-PerfView)
261+
233262
## Still not working...
234263
* [Application Insights forum](https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=ApplicationInsights)

0 commit comments

Comments
 (0)