diff --git a/articles/azure-monitor/profiler/profiler-aspnetcore-linux.md b/articles/azure-monitor/profiler/profiler-aspnetcore-linux.md index e1407dd5d734..2871eb9bcd77 100644 --- a/articles/azure-monitor/profiler/profiler-aspnetcore-linux.md +++ b/articles/azure-monitor/profiler/profiler-aspnetcore-linux.md @@ -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 @@ -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. @@ -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: diff --git a/articles/azure-monitor/profiler/profiler-azure-functions.md b/articles/azure-monitor/profiler/profiler-azure-functions.md index 69461de31464..44bdee058a7f 100644 --- a/articles/azure-monitor/profiler/profiler-azure-functions.md +++ b/articles/azure-monitor/profiler/profiler-azure-functions.md @@ -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 @@ -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 @@ -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). \ No newline at end of file diff --git a/articles/azure-monitor/profiler/profiler-bring-your-own-storage.md b/articles/azure-monitor/profiler/profiler-bring-your-own-storage.md index 1724845fdb2e..2d8eeed46afd 100644 --- a/articles/azure-monitor/profiler/profiler-bring-your-own-storage.md +++ b/articles/azure-monitor/profiler/profiler-bring-your-own-storage.md @@ -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? diff --git a/articles/azure-monitor/profiler/profiler-cloudservice.md b/articles/azure-monitor/profiler/profiler-cloudservice.md index f7329cfd890f..aa90bdb0f9d9 100644 --- a/articles/azure-monitor/profiler/profiler-cloudservice.md +++ b/articles/azure-monitor/profiler/profiler-cloudservice.md @@ -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. diff --git a/articles/azure-monitor/profiler/profiler-containers.md b/articles/azure-monitor/profiler/profiler-containers.md index 167680e204a1..71f7950ba109 100644 --- a/articles/azure-monitor/profiler/profiler-containers.md +++ b/articles/azure-monitor/profiler/profiler-containers.md @@ -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 @@ -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. diff --git a/articles/azure-monitor/profiler/profiler-overview.md b/articles/azure-monitor/profiler/profiler-overview.md index 1b0119696a6b..629423669625 100644 --- a/articles/azure-monitor/profiler/profiler-overview.md +++ b/articles/azure-monitor/profiler/profiler-overview.md @@ -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 diff --git a/articles/azure-monitor/profiler/profiler-servicefabric.md b/articles/azure-monitor/profiler/profiler-servicefabric.md index fae18d47b6f2..2dc3ce12e4ce 100644 --- a/articles/azure-monitor/profiler/profiler-servicefabric.md +++ b/articles/azure-monitor/profiler/profiler-servicefabric.md @@ -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). diff --git a/articles/azure-monitor/profiler/profiler-settings.md b/articles/azure-monitor/profiler/profiler-settings.md index 7c30efd39e3b..80f65fe694fd 100644 --- a/articles/azure-monitor/profiler/profiler-settings.md +++ b/articles/azure-monitor/profiler/profiler-settings.md @@ -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 @@ -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 diff --git a/articles/azure-monitor/profiler/profiler-troubleshooting.md b/articles/azure-monitor/profiler/profiler-troubleshooting.md index 03ee05f03e3c..3d94bd945bf2 100644 --- a/articles/azure-monitor/profiler/profiler-troubleshooting.md +++ b/articles/azure-monitor/profiler/profiler-troubleshooting.md @@ -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:///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 diff --git a/articles/azure-monitor/profiler/profiler-vm.md b/articles/azure-monitor/profiler/profiler-vm.md index 107c6eaa1929..7427c7cf629c 100644 --- a/articles/azure-monitor/profiler/profiler-vm.md +++ b/articles/azure-monitor/profiler/profiler-vm.md @@ -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. diff --git a/articles/azure-monitor/profiler/profiler.md b/articles/azure-monitor/profiler/profiler.md index 6fc5488c8b6a..9a2387636077 100644 --- a/articles/azure-monitor/profiler/profiler.md +++ b/articles/azure-monitor/profiler/profiler.md @@ -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 @@ -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) @@ -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: diff --git a/docfx.json b/docfx.json index 88dba3ab4c05..4938e965253e 100644 --- a/docfx.json +++ b/docfx.json @@ -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", @@ -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",