You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ReleaseNote.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -71,7 +71,7 @@ Profiling the application and the services and monitoring the performance by usi
71
71
72
72
* Enable button in Profiler Configuration pane does not work
73
73
74
-
**If you host your app using App Services Linux, you do not need to enable Profiler again in the Performance pane in App Insights portal. Including NuGet package in project and setting App Insights iKey in App Settings are sufficient to enable Profiler**
74
+
**If you host your app using App Services Linux, you do not need to enable Profiler again in the Performance pane in App Insights portal. Including NuGet package in project and setting App Insights Connection String in App Settings are sufficient to enable Profiler**
75
75
If you follow the [App Insights Profiler for Windows](https://docs.microsoft.com/azure/application-insights/app-insights-profiler) enablement workflow to click **Enable** in the Configure Profiler pane, you will receive an error as the button will try to install the Windows version of profiler agent on Linux environment.
76
76
We are working on resolving this issue in the enablement experience.
* The first line adds the reference to the NuGet package of Service Profiler before the build of the project happens.
61
-
* The second line sets the instrumentation key to Application Insights so that the application knows where to send the trace to.
61
+
* The second line sets the connection string to Application Insights so that the application knows where to send the trace to.
62
62
* The third line sets the boot strapper for Service Profiler.
63
63
64
64
*To make your build context as small as possible add a [.dockerignore](.dockerignore) file to your project folder.*
65
65
66
-
Reference the full [Dockerfile](./Dockerfile), you will notice it is a bit different. The major change is that **YOUR_APPLICATION_INSIGHTS_KEY** has been pulled out to become an argument - the main consideration is for the code security.
66
+
Reference the full [Dockerfile](./Dockerfile), you will notice it is a bit different. The major change is that **YOUR_APPLICATION_INSIGHTS_CONNECTION_STRING** has been pulled out to become an argument - the main consideration is for the code security.
67
67
68
68
## Create an Application Insights resource
69
69
70
-
Follow the [Create an Application Insights resource](https://docs.microsoft.com/en-us/azure/application-insights/app-insights-create-new-resource). Note down the [instrumentation key](https://docs.microsoft.com/en-us/azure/application-insights/app-insights-create-new-resource#copy-the-instrumentation-key).
70
+
Follow the [Create an Application Insights resource](https://docs.microsoft.com/en-us/azure/application-insights/app-insights-create-new-resource). Note down the [connection string](https://learn.microsoft.com/en-us/azure/azure-monitor/app/migrate-from-instrumentation-keys-to-connection-strings#migrate-from-application-insights-instrumentation-keys-to-connection-strings).
71
71
72
72
## Optionally set the log level to Information for Service Profiler
73
73
@@ -85,11 +85,11 @@ Just like in [appsettings.json](./appsettings.json).
Copy file name to clipboardExpand all lines: examples/EnableServiceProfilerForContainerApp/README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,14 +36,14 @@ _Tips: find the official images for [sdk](https://hub.docker.com/_/microsoft-dot
36
36
To enable Service Profiler, NuGet package needs to be installed and proper environment variables need to be set. One way to reach the goal is adding the following lines to your [Dockerfile](./Dockerfile). In this file:
37
37
38
38
* It adds the reference to the NuGet package of Service Profiler before the build of the project happens.
39
-
* It sets the instrumentation key to Application Insights so that the application knows where to send the trace to.
39
+
* It sets the connection string to Application Insights so that the application knows where to send the trace to.
40
40
* It uses the hosting startup assembly for the entry point of Service Profiler.
41
41
42
42
*To make your build context as small as possible add a [.dockerignore](./.dockerignore) file to your project folder.*
43
43
44
44
## Create an Application Insights resource
45
45
46
-
Follow the [Create an Application Insights resource](https://docs.microsoft.com/en-us/azure/application-insights/app-insights-create-new-resource). Note down the [instrumentation key](https://docs.microsoft.com/en-us/azure/application-insights/app-insights-create-new-resource#copy-the-instrumentation-key).
46
+
Follow the [Create an Application Insights resource](https://docs.microsoft.com/en-us/azure/application-insights/app-insights-create-new-resource). Note down the [instrumentation connection string](https://docs.microsoft.com/en-us/azure/application-insights/app-insights-create-new-resource#copy-the-instrumentation-key).
47
47
48
48
## Optionally set the log level to Information for Service Profiler
49
49
@@ -61,11 +61,11 @@ Just like in [appsettings.json](./appsettings.json).
Copy file name to clipboardExpand all lines: examples/EnableServiceProfilerForContainerAppNet6/Readme.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ In this article, you'll learn the various ways you can:
15
15
16
16
## Pre-requisites
17
17
18
-
-[An Application Insights resource](https://docs.microsoft.com/en-us/azure/azure-monitor/app/create-new-resource). Make note of the instrumentation key.
18
+
-[An Application Insights resource](https://docs.microsoft.com/en-us/azure/azure-monitor/app/create-new-resource). Make note of the connection string.
19
19
-[.NET 6 SDK](https://dot.net) for creating projects and local build.
20
20
-[Docker Desktop](https://www.docker.com/products/docker-desktop/) to build docker images.
**Note**: The setting of the Application Insights instrumentation key should be optional. However, we have a bug in Service Profiler that requires it to be available for now.
91
+
**Note**: The setting of the Application Insights connection string should be optional. However, we have a bug in Service Profiler that requires it to be available for now.
92
92
93
93
Restart your app, the Service Profiler will be turned on and gathering trace for 2 minutes. Try to generate some traffic to your app during that period. If everything is hooked up correctly, you will start to see the traces after 5 to 10 minutes just like when you see the traces in the debug session.
**Note**: The setting of the Application Insights instrumentation key should be optional. However, we have a bug in Service Profiler that requires it to be available for now.
107
+
**Note**: The setting of the Application Insights connection string should be optional. However, we have a bug in Service Profiler that requires it to be available for now.
108
108
109
109
Restart your app, the Service Profiler will be turned on and gathering trace for 2 minutes. Try to generate some traffic to your app during that period. If everything is hooked up correctly, you will start to see the traces after 5 to 10 minutes just like when you see the traces in the debug session.
0 commit comments