Skip to content

Commit

Permalink
fix links
Browse files Browse the repository at this point in the history
  • Loading branch information
hhunter-ms committed May 27, 2022
1 parent a8b8442 commit dadcf8d
Show file tree
Hide file tree
Showing 12 changed files with 20 additions and 24 deletions.
5 changes: 3 additions & 2 deletions articles/azure-monitor/profiler/profiler-aspnetcore-linux.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Profile ASP.NET Core Azure Linux web apps with Application Insights Profiler | Microsoft Docs
description: A conceptual overview and step-by-step tutorial on how to use Application Insights Profiler.
ms.author:
ms.topic: conceptual
ms.devlang: csharp
ms.custom: devx-track-csharp
Expand All @@ -11,7 +12,7 @@ ms.date: 02/23/2018

This feature is currently in preview.

Find out how much time is spent in each method of your live web application when using [Application Insights](./app-insights-overview.md). Application Insights Profiler is now available for ASP.NET Core web apps that are hosted in Linux on Azure App Service. This guide provides step-by-step instructions on how the Profiler traces can be collected for ASP.NET Core Linux web apps.
Find out how much time is spent in each method of your live web application when using [Application Insights](../app/app-insights-overview.md). Application Insights Profiler is now available for ASP.NET Core web apps that are hosted in Linux on Azure App Service. This guide provides step-by-step instructions on how the Profiler traces can be collected for ASP.NET Core Linux web apps.

After you complete this walkthrough, your app can collect Profiler traces like the traces that are shown in the image. In this example, the Profiler trace indicates that a particular web request is slow because of time spent waiting. The *hot path* in the code that's slowing the app is marked by a flame icon. The **About** method in the **HomeController** section is slowing the web app because the method is calling the **Thread.Sleep** function.

Expand Down Expand Up @@ -135,7 +136,7 @@ For more deployment options, see [App Service documentation](../../app-service/i

## Add Application Insights to monitor your web apps

1. [Create an Application Insights resource](./create-new-resource.md).
1. [Create an Application Insights resource](../app/create-new-resource.md).

2. Copy the **iKey** value of the Application Insights resource and set the following settings in your web apps:

Expand Down
8 changes: 3 additions & 5 deletions articles/azure-monitor/profiler/profiler-azure-functions.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
---
title: Profile Azure Functions app with Application Insights Profiler
description: Enable Application Insights Profiler for Azure Functions app.
ms.author: hannahhunter
author: hhunter-ms
ms.reviewer: brwoldey
ms.contributor: charles.weininger
ms.topic: conceptual
Expand All @@ -26,7 +24,7 @@ In this article, you'll use the Azure portal to:
:::image type="content" source="./media/profiler-azure-functions/choose-plan.png" alt-text="Screenshot of where to select App Service plan from drop-down in Functions app creation.":::


- Linked to [an Application Insights resource](./create-new-resource.md). Make note of the instrumentation key.
- Linked to [an Application Insights resource](../app/create-new-resource.md). Make note of the instrumentation key.

## App settings for enabling Profiler

Expand Down Expand Up @@ -93,5 +91,5 @@ The app settings now show up in the table:

## Next Steps

- Set these values using [Azure Resource Manager Templates](./azure-web-apps-net-core.md#app-service-application-settings-with-azure-resource-manager), [Azure PowerShell](/powershell/module/az.websites/set-azwebapp), or the [Azure CLI](/cli/azure/webapp/config/appsettings).
- Learn more about [Profiler settings](profiler-settings.md).
- Set these values using [Azure Resource Manager Templates](../app/azure-web-apps-net-core.md#app-service-application-settings-with-azure-resource-manager), [Azure PowerShell](/powershell/module/az.websites/set-azwebapp), or the [Azure CLI](/cli/azure/webapp/config/appsettings).
- Learn more about [Profiler settings](profiler-settings.md).
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ _Figure 2.0_
For general Profiler troubleshooting, refer to the [Profiler Troubleshoot documentation](profiler-troubleshooting.md).
For general Snapshot Debugger troubleshooting, refer to the [Snapshot Debugger Troubleshoot documentation](snapshot-debugger-troubleshoot.md).
For general Snapshot Debugger troubleshooting, refer to the [Snapshot Debugger Troubleshoot documentation](../app/snapshot-debugger-troubleshoot.md).
## FAQs
* If I have Profiler or Snapshot enabled, and then I enabled BYOS, will my data be migrated into my Storage Account?
Expand Down
2 changes: 1 addition & 1 deletion articles/azure-monitor/profiler/profiler-cloudservice.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Application Insights Profiler is installed with the Azure Diagnostics extension.
## Enable Profiler for Azure Cloud Services
1. Check to make sure that you're using [.NET Framework 4.6.1](/dotnet/framework/migration-guide/how-to-determine-which-versions-are-installed) or newer. If you are using OS family 4, you'll need to install .NET Framework 4.6.1 or newer with a [startup task](../../cloud-services/cloud-services-dotnet-install-dotnet.md). OS Family 5 includes a compatible version of .NET Framework by default.

1. Add [Application Insights SDK to Azure Cloud Services](./cloudservices.md?toc=%2fazure%2fazure-monitor%2ftoc.json).
1. Add [Application Insights SDK to Azure Cloud Services](../app/cloudservices.md?toc=%2fazure%2fazure-monitor%2ftoc.json).

**The bug in the profiler that ships in the WAD for Cloud Services has been fixed.** The latest version of WAD (1.12.2.0) for Cloud Services works with all recent versions of the App Insights SDK. Cloud Service hosts will upgrade WAD automatically, but it isn't immediate. To force an upgrade, you can redeploy your service or reboot the node.

Expand Down
4 changes: 1 addition & 3 deletions articles/azure-monitor/profiler/profiler-containers.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
---
title: Profile Azure Containers with Application Insights Profiler
description: Enable Application Insights Profiler for Azure Containers.
ms.author: hannahhunter
author: hhunter-ms
ms.contributor: charles.weininger
ms.topic: conceptual
ms.date: 05/26/2022
Expand All @@ -22,7 +20,7 @@ In this article, you'll learn the various ways you can:

## Pre-requisites

- [An Application Insights resource](./create-new-resource.md). Make note of the instrumentation key.
- [An Application Insights resource](../app/create-new-resource.md). Make note of the instrumentation key.
- [Docker Desktop](https://www.docker.com/products/docker-desktop/) to build docker images.
- [.NET 6 SDK](https://dotnet.microsoft.com/download/dotnet/6.0) installed.

Expand Down
2 changes: 0 additions & 2 deletions articles/azure-monitor/profiler/profiler-overview.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
---
title: Profile production apps in Azure with Application Insights Profiler
description: Identify the hot path in your web server code with a low-footprint profiler
ms.author: hannahhunter
author: hhunter-ms
ms.contributor: charles.weininger
ms.topic: conceptual
ms.date: 05/26/2022
Expand Down
4 changes: 2 additions & 2 deletions articles/azure-monitor/profiler/profiler-servicefabric.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,14 @@ To set up your environment, take the following actions:
If your settings are correct, Application Insights Profiler will be installed and enabled when the Azure Diagnostics extension is installed.

1. Add Application Insights to your Service Fabric application.
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).
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](../app/custom-operations-tracking.md).

1. Redeploy your application.


## Next steps

* Generate traffic to your application (for example, launch an [availability test](monitor-web-app-availability.md)). Then, wait 10 to 15 minutes for traces to start to be sent to the Application Insights instance.
* 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.
* See [Profiler traces](profiler-overview.md?toc=/azure/azure-monitor/toc.json) in the Azure portal.
* For help with troubleshooting Profiler issues, see [Profiler troubleshooting](profiler-troubleshooting.md?toc=/azure/azure-monitor/toc.json).

Expand Down
4 changes: 1 addition & 3 deletions articles/azure-monitor/profiler/profiler-settings.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
---
title: Configure Application Insights Profiler | Microsoft Docs
description: Use the Azure Application Insights Profiler settings pane to see Profiler status and start profiling sessions
ms.author: hannahhunter
author: hhunter-ms
ms.contributor: Charles.Weininger
ms.topic: conceptual
ms.date: 04/26/2022
Expand Down Expand Up @@ -48,7 +46,7 @@ Recent profiling sessions | Displays information about past profiling sessions,
## Profile Now
Select **Profile Now** to start a profiling session on demand. When you click this link, all profiler agents that are sending data to this Application Insights instance will start to capture a profile. After 5 to 10 minutes, the profile session will show in the list below.

To manually trigger a profiler session, you'll need, at minimum, *write* access on your role for the Application Insights component. In most cases, you get write access automatically. If you're having issues, you'll need the "Application Insights Component Contributor" subscription scope role added. [See more about role access control with Azure Monitoring](./resources-roles-access-control.md).
To manually trigger a profiler session, you'll need, at minimum, *write* access on your role for the Application Insights component. In most cases, you get write access automatically. If you're having issues, you'll need the "Application Insights Component Contributor" subscription scope role added. [See more about role access control with Azure Monitoring](../app/resources-roles-access-control.md).

## Trigger Settings

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ You can use the Kudu management site for App Service to get the base url of this
It will end like this: `https://<kudu-url>/DiagnosticServices`
It will display a Status Page similar like the below:
![Diagnostic Services Status Page](./media/diagnostic-services-site-extension/status-page.png)
![Diagnostic Services Status Page](../app/media/diagnostic-services-site-extension/status-page.png)
### Manual installation
Expand Down
2 changes: 1 addition & 1 deletion articles/azure-monitor/profiler/profiler-vm.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ You can also deploy Azure Application Insights Profiler on these services:
## Deploy Profiler on a virtual machine or a virtual machine scale set
This article shows you how to get Application Insights Profiler running on your Azure virtual machine (VM) or Azure virtual machine scale set. Profiler is installed with the Azure Diagnostics extension for VMs. Configure the extension to run Profiler, and build the Application Insights SDK into your application.

1. Add the Application Insights SDK to your [ASP.NET application](./asp-net.md).
1. Add the Application Insights SDK to your [ASP.NET application](../app/asp-net.md).

To view profiles for your requests, you must send request telemetry to Application Insights.

Expand Down
6 changes: 3 additions & 3 deletions articles/azure-monitor/profiler/profiler.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ To enable Profiler on Linux, walk through the [ASP.NET Core Azure Linux web apps
## Pre-requisites

- An [Azure App Services ASP.NET/ASP.NET Core app](/app-service/quickstart-dotnetcore.md).
- [Application Insights resource](./create-new-resource.md) connected to your App Service app.
- [Application Insights resource](../app/create-new-resource.md) connected to your App Service app.

## Verify "Always On" setting is enabled

Expand Down Expand Up @@ -65,7 +65,7 @@ If your Application Insights resource is in a different subscription from your A
|DiagnosticServices_EXTENSION_VERSION | ~3 |

Set these values using:
- [Azure Resource Manager Templates](./azure-web-apps-net-core.md#app-service-application-settings-with-azure-resource-manager)
- [Azure Resource Manager Templates](../app/azure-web-apps-net-core.md#app-service-application-settings-with-azure-resource-manager)
- [Azure PowerShell](/powershell/module/az.websites/set-azwebapp)
- [Azure CLI](/cli/azure/webapp/config/appsettings)

Expand All @@ -92,7 +92,7 @@ To enable Azure AD for profiles ingestion:

b. [User-Assigned Managed identity documentation](../../app-service/overview-managed-identity.md?tabs=portal%2chttp#add-a-user-assigned-identity)

1. [Configure and enable Azure AD](./azure-ad-authentication.md?tabs=net#configuring-and-enabling-azure-ad-based-authentication) in your Application Insights resource.
1. [Configure and enable Azure AD](../app/azure-ad-authentication.md?tabs=net#configuring-and-enabling-azure-ad-based-authentication) in your Application Insights resource.

1. Add the following application setting to let the Profiler agent know which managed identity to use:

Expand Down
3 changes: 3 additions & 0 deletions docfx.json
Original file line number Diff line number Diff line change
Expand Up @@ -597,11 +597,13 @@
"articles/azure-monitor/agents/*.md": "bwren",
"articles/azure-monitor/alerts/*.md": "abbyweisberg",
"articles/azure-monitor/autoscale/*.md": "robb",
"articles/azure-monitor/change/*.md": "hannahhunter",
"articles/azure-monitor/containers/*.md": "bwren",
"articles/azure-monitor/insights/container-insights*.md": "bwren",
"articles/azure-monitor/insights/*.md": "robb",
"articles/azure-monitor/essentials/*.md": "robb",
"articles/azure-monitor/logs/*.md": "guywild",
"articles/azure-monitor/profiler/*.md": "hannahhunter",
"articles/azure-monitor/visualize/**/*.md": "abbyweisberg",
"articles/azure-monitor/vm/*.md": "bwren",
"articles/azure-percept/*.md": "ngt",
Expand Down Expand Up @@ -819,6 +821,7 @@
"articles/azure-monitor/agents/**/*.md": "agents",
"articles/azure-monitor/alerts/**/*.md": "alerts",
"articles/azure-monitor/autoscale/**/*.md": "autoscale",
"articles/azure-monitor/change/*.md": "change-analysis",
"articles/azure-monitor/containers/**/*.md": "containers",
"articles/azure-monitor/essentials/**/*.md": "essentials",
"articles/azure-monitor/*.md": "general",
Expand Down

0 comments on commit dadcf8d

Please sign in to comment.