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: articles/active-directory/hybrid/how-to-connect-install-prerequisites.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
@@ -58,7 +58,7 @@ To read more about securing your Active Directory environment, see [Best practic
58
58
#### Installation prerequisites
59
59
60
60
- Azure AD Connect must be installed on a domain-joined Windows Server 2016 or later. You can deploy Azure AD Connect on Windows Server 2016 but since Windows Server 2016 is in extended support, you may require [a paid support program](/lifecycle/policies/fixed#extended-support) if you require support for this configuration. We recommend the usage of domain joined Windows Server 2022.
61
-
- The minimum .NET Framework version required is 4.6.2, and newer versions of .Net are also supported.
61
+
- The minimum .NET Framework version required is 4.6.2, and newer versions of .NET are also supported.
62
62
- Azure AD Connect can't be installed on Small Business Server or Windows Server Essentials before 2019 (Windows Server Essentials 2019 is supported). The server must be using Windows Server standard or better.
63
63
- The Azure AD Connect server must have a full GUI installed. Installing Azure AD Connect on Windows Server Core isn't supported.
64
64
- The Azure AD Connect server must not have PowerShell Transcription Group Policy enabled if you use the Azure AD Connect wizard to manage Active Directory Federation Services (AD FS) configuration. You can enable PowerShell transcription if you use the Azure AD Connect wizard to manage sync configuration.
Copy file name to clipboardExpand all lines: articles/app-service/webjobs-create.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
@@ -1,4 +1,4 @@
1
-
---
1
+
---
2
2
title: Run background tasks with WebJobs
3
3
description: Learn how to use WebJobs to run background tasks in Azure App Service. Choose from a variety of script formats and run them with CRON expressions.
Copy file name to clipboardExpand all lines: articles/automation/troubleshoot/update-agent-issues.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -228,11 +228,11 @@ For more information, see [Configure reboot settings](../update-management/con
228
228
229
229
### WSUS server configuration
230
230
231
-
If the environment is set to get updates from WSUS, ensure that it is approved in WSUS before the update deployment. For more information, see [WSUS configuration settings](../update-management/configure-wuagent.md#make-wsus-configuration-settings). If your environment is not using WSUS, ensure that you remove the WSUS server settings and [reset Windows update component](https://learn.microsoft.com/windows/deployment/update/windows-update-resources#how-do-i-reset-windows-update-components).
231
+
If the environment is set to get updates from WSUS, ensure that it is approved in WSUS before the update deployment. For more information, see [WSUS configuration settings](../update-management/configure-wuagent.md#make-wsus-configuration-settings). If your environment is not using WSUS, ensure that you remove the WSUS server settings and [reset Windows update component](/windows/deployment/update/windows-update-resources#how-do-i-reset-windows-update-components).
232
232
233
233
### Automatically download and install
234
234
235
-
To fix the issue, disable the **AutoUpdate** feature. Set it to Disabled in the local group policy Configure Automatic Updates. For more information, see [Configure automatic updates](https://learn.microsoft.com/windows-server/administration/windows-server-update-services/deploy/4-configure-group-policy-settings-for-automatic-updates#configure-automatic-updates).
235
+
To fix the issue, disable the **AutoUpdate** feature. Set it to Disabled in the local group policy Configure Automatic Updates. For more information, see [Configure automatic updates](/windows-server/administration/windows-server-update-services/deploy/4-configure-group-policy-settings-for-automatic-updates#configure-automatic-updates).
> The naming of AppFilter in this context can be confusing, `AppFilter` sets the application name regex filter (HostingEnvironment.SiteName in the case of .Net on IIS). `VirtualPathFilter` sets the virtual path regex filter (HostingEnvironment.ApplicationVirtualPath in the case of .Net on IIS). To instrument a single app you would use the VirtualPathFilter as follows: `Enable-ApplicationInsightsMonitoring -InstrumentationKeyMap @(@{VirtualPathFilter="^/MyAppName$"; InstrumentationSettings=@{InstrumentationKey='<your ikey>'}})`
422
+
> The naming of AppFilter in this context can be confusing, `AppFilter` sets the application name regex filter (HostingEnvironment.SiteName in the case of .NET on IIS). `VirtualPathFilter` sets the virtual path regex filter (HostingEnvironment.ApplicationVirtualPath in the case of .NET on IIS). To instrument a single app you would use the VirtualPathFilter as follows: `Enable-ApplicationInsightsMonitoring -InstrumentationKeyMap @(@{VirtualPathFilter="^/MyAppName$"; InstrumentationSettings=@{InstrumentationKey='<your ikey>'}})`
Copy file name to clipboardExpand all lines: articles/azure-monitor/app/asp-net-core.md
+38-15Lines changed: 38 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,17 +39,15 @@ The [Application Insights SDK for ASP.NET Core](https://nuget.org/packages/Micro
39
39
***Deployment method**: Framework dependent or self-contained
40
40
***Web server**: Internet Information Server (IIS) or Kestrel
41
41
***Hosting platform**: The Web Apps feature of Azure App Service, Azure Virtual Machines, Docker, and Azure Kubernetes Service (AKS)
42
-
***.NET Core version**: All officially [supported .NET Core versions](https://dotnet.microsoft.com/download/dotnet-core) that aren't in preview
42
+
***.NET version**: All officially [supported .NET versions](https://dotnet.microsoft.com/download/dotnet) that aren't in preview
43
43
***IDE**: Visual Studio, Visual Studio Code, or command line
44
44
45
-
> [!NOTE]
46
-
> ASP.NET Core 6.0 requires [Application Insights 2.19.0](https://www.nuget.org/packages/Microsoft.ApplicationInsights.AspNetCore/2.19.0) or later.
47
-
48
45
## Prerequisites
49
46
50
47
You need:
51
48
52
49
- A functioning ASP.NET Core application. If you need to create an ASP.NET Core application, follow this [ASP.NET Core tutorial](/aspnet/core/getting-started/).
50
+
- A reference to a supported version of the [Application Insights](https://www.nuget.org/packages/Microsoft.ApplicationInsights.AspNetCore) NuGet package.
53
51
- A valid Application Insights connection string. This string is required to send any telemetry to Application Insights. If you need to create a new Application Insights resource to get a connection string, see [Create an Application Insights resource](./create-new-resource.md).
@@ -87,7 +85,7 @@ For Visual Studio for Mac, use the [manual guidance](#enable-application-insight
87
85
1. Add `AddApplicationInsightsTelemetry()` to your `startup.cs` or `program.cs` class. The choice depends on your .NET Core version.
88
86
89
87
### [ASP.NET Core 6 and later](#tab/netcorenew)
90
-
88
+
91
89
Add `builder.Services.AddApplicationInsightsTelemetry();` after the `WebApplication.CreateBuilder()` method in your `Program` class, as in this example:
92
90
93
91
```csharp
@@ -102,11 +100,11 @@ For Visual Studio for Mac, use the [manual guidance](#enable-application-insight
102
100
103
101
var app = builder.Build();
104
102
```
105
-
103
+
106
104
### [ASP.NET Core 5 and earlier](#tab/netcoreold)
107
-
105
+
108
106
Add `services.AddApplicationInsightsTelemetry();` to the `ConfigureServices()` method in your `Startup` class, as in this example:
109
-
107
+
110
108
```csharp
111
109
// This method gets called by the runtime. Use this method to add services to the container.
112
110
public void ConfigureServices(IServiceCollection services)
@@ -118,9 +116,12 @@ For Visual Studio for Mac, use the [manual guidance](#enable-application-insight
118
116
services.AddMvc();
119
117
}
120
118
```
121
-
122
-
---
123
119
120
+
> [!NOTE]
121
+
> This .NET version is no longer supported.
122
+
123
+
---
124
+
124
125
1. Set up the connection string.
125
126
126
127
Although you can provide a connection string as part of the `ApplicationInsightsServiceOptions` argument to `AddApplicationInsightsTelemetry`, we recommend that you specify the connection string in configuration. The following code sample shows how to specify a connection string in `appsettings.json`. Make sure `appsettings.json` is copied to the application root folder during publishing.
@@ -180,7 +181,7 @@ Dependency collection is enabled by default. [Dependency tracking in Application
180
181
Support for [performance counters](./performance-counters.md) in ASP.NET Core is limited:
181
182
182
183
* SDK versions 2.4.1 and later collect performance counters if the application is running in Web Apps (Windows).
183
-
* SDK versions 2.7.1 and later collect performance counters if the application is running in Windows and targets `NETSTANDARD2.0` or later.
184
+
* SDK versions 2.7.1 and later collect performance counters if the application is running in Windows and targets `netstandard2.0` or later.
184
185
* For applications that target the .NET Framework, all versions of the SDK support performance counters.
185
186
* SDK versions 2.8.0 and later support the CPU/memory counter in Linux. No other counter is supported in Linux. To get system counters in Linux and other non-Windows environments, use [EventCounters](#eventcounter).
186
187
@@ -270,6 +271,9 @@ public void ConfigureServices(IServiceCollection services)
270
271
}
271
272
```
272
273
274
+
> [!NOTE]
275
+
> This .NET version is no longer supported.
276
+
273
277
---
274
278
275
279
This table has the full list of `ApplicationInsightsServiceOptions` settings:
@@ -286,7 +290,7 @@ This table has the full list of `ApplicationInsightsServiceOptions` settings:
|EnableHeartbeat | Enable/Disable the heartbeats feature. It periodically (15-min default) sends a custom metric named `HeartbeatState` with information about the runtime like .NET version and Azure environment information, if applicable. | True
288
292
|AddAutoCollectedMetricExtractor | Enable/Disable the `AutoCollectedMetrics extractor`. This telemetry processor sends preaggregated metrics about requests/dependencies before sampling takes place. | True
289
-
|RequestCollectionOptions.TrackExceptions | Enable/Disable reporting of unhandled exception tracking by the request collection module. | False in NETSTANDARD2.0 (because exceptions are tracked with `ApplicationInsightsLoggerProvider`). True otherwise.
293
+
|RequestCollectionOptions.TrackExceptions | Enable/Disable reporting of unhandled exception tracking by the request collection module. | False in `netstandard2.0` (because exceptions are tracked with `ApplicationInsightsLoggerProvider`). True otherwise.
290
294
|EnableDiagnosticsTelemetryModule | Enable/Disable `DiagnosticsTelemetryModule`. Disabling causes the following settings to be ignored: `EnableHeartbeat`, `EnableAzureInstanceMetadataTelemetryModule`, and `EnableAppServicesHeartbeatTelemetryModule`. | True
291
295
292
296
For the most current list, see the [configurable settings in `ApplicationInsightsServiceOptions`](https://github.com/microsoft/ApplicationInsights-dotnet/blob/develop/NETCORE/src/Shared/Extensions/ApplicationInsightsServiceOptions.cs).
@@ -343,6 +347,7 @@ public void ConfigureServices(IServiceCollection services)
343
347
344
348
> [!NOTE]
345
349
> `services.AddSingleton<ITelemetryInitializer, MyCustomTelemetryInitializer>();` works for simple initializers. For others, `services.AddSingleton(new MyCustomTelemetryInitializer() { fieldName = "myfieldName" });` is required.
350
+
> This .NET version is no longer supported.
346
351
347
352
---
348
353
@@ -393,6 +398,9 @@ public void ConfigureServices(IServiceCollection services)
393
398
}
394
399
```
395
400
401
+
> [!NOTE]
402
+
> This .NET version is no longer supported.
403
+
396
404
---
397
405
398
406
### Add telemetry processors
@@ -428,6 +436,9 @@ public void ConfigureServices(IServiceCollection services)
428
436
}
429
437
```
430
438
439
+
> [!NOTE]
440
+
> This .NET version is no longer supported.
441
+
431
442
---
432
443
433
444
### Configure or remove default TelemetryModules
@@ -515,6 +526,9 @@ public void ConfigureServices(IServiceCollection services)
515
526
}
516
527
```
517
528
529
+
> [!NOTE]
530
+
> This .NET version is no longer supported.
531
+
518
532
---
519
533
520
534
In versions 2.12.2 and later, [`ApplicationInsightsServiceOptions`](#use-applicationinsightsserviceoptions) includes an easy option to disable any of the default modules.
@@ -554,6 +568,9 @@ public void ConfigureServices(IServiceCollection services)
The preceding code sample prevents the sending of telemetry to Application Insights. It doesn't prevent any automatic collection modules from collecting telemetry. If you want to remove a particular autocollection module, see [Remove the telemetry module](#configure-or-remove-default-telemetrymodules).
@@ -599,11 +619,11 @@ The preceding code sample prevents the sending of telemetry to Application Insig
599
619
600
620
This section provides answers to common questions.
601
621
602
-
### Does Application Insights support ASP.NET Core 3.X?
622
+
### Does Application Insights support ASP.NET Core 3.1?
603
623
604
-
Yes. Update to [Application Insights SDK for ASP.NET Core](https://nuget.org/packages/Microsoft.ApplicationInsights.AspNetCore) version 2.8.0 or later. Earlier versions of the SDK don't support ASP.NET Core 3.X.
624
+
ASP.NET Core 3.1 is no longer supported by Microsoft.
605
625
606
-
Also, if you're [enabling server-side telemetry based on Visual Studio](#enable-application-insights-server-side-telemetry-visual-studio), update to the latest version of Visual Studio 2019 (16.3.0) to onboard. Earlier versions of Visual Studio don't support automatic onboarding for ASP.NET Core 3.X apps.
626
+
[Application Insights SDK for ASP.NET Core](https://nuget.org/packages/Microsoft.ApplicationInsights.AspNetCore)version 2.8.0 and Visual Studio 2019 or later can be used with ASP.NET Core 3.1 applications.
607
627
608
628
### How can I track telemetry that's not automatically collected?
609
629
@@ -738,6 +758,9 @@ public void ConfigureServices(IServiceCollection services)
738
758
}
739
759
```
740
760
761
+
> [!NOTE]
762
+
> This .NET version is no longer supported.
763
+
741
764
---
742
765
743
766
This limitation isn't applicable from version [2.15.0](https://www.nuget.org/packages/Microsoft.ApplicationInsights.AspNetCore/2.15.0) and later.
Copy file name to clipboardExpand all lines: articles/azure-monitor/app/eventcounters.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
@@ -11,7 +11,7 @@ ms.reviewer: cithomas
11
11
12
12
[`EventCounter`](/dotnet/core/diagnostics/event-counters) is .NET/.NET Core mechanism to publish and consume counters or statistics. EventCounters are supported in all OS platforms - Windows, Linux, and macOS. It can be thought of as a cross-platform equivalent for the [PerformanceCounters](/dotnet/api/system.diagnostics.performancecounter) that is only supported in Windows systems.
13
13
14
-
While users can publish any custom `EventCounters` to meet their needs, .NET Core [LTS](https://dotnet.microsoft.com/platform/support/policy/dotnet-core) and higher runtime publishes a set of these counters by default. This document will walk through the steps required to collect and view `EventCounters` (system defined or user defined) in Azure Application Insights.
14
+
While users can publish any custom `EventCounters` to meet their needs, [.NET](/dotnet/fundamentals/) publishes a set of these counters by default. This document will walk through the steps required to collect and view `EventCounters` (system defined or user defined) in Azure Application Insights.
15
15
16
16
## Using Application Insights to collect EventCounters
Copy file name to clipboardExpand all lines: articles/azure-monitor/app/get-metric.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,7 @@ In summary, we recommend `GetMetric()` because it does pre-aggregation, it accum
35
35
36
36
## Get started with GetMetric
37
37
38
-
For our examples, we're going to use a basic .NET Core 3.1 worker service application. If you want to replicate the test environment used with these examples, follow steps 1-6 in the [Monitoring worker service article](worker-service.md#net-core-lts-worker-service-application). These steps add Application Insights to a basic worker service project template. The concepts apply to any general application where the SDK can be used, including web apps and console apps.
38
+
For our examples, we're going to use a basic .NET Core 3.1 worker service application. If you want to replicate the test environment used with these examples, follow steps 1-6 in the [Monitoring worker service article](worker-service.md#net-core-worker-service-application). These steps add Application Insights to a basic worker service project template. The concepts apply to any general application where the SDK can be used, including web apps and console apps.
39
39
40
40
### Send metrics
41
41
@@ -306,7 +306,7 @@ SeverityLevel.Error);
306
306
307
307
## Next steps
308
308
309
-
*[Metrics - Get - REST API](https://learn.microsoft.com/rest/api/application-insights/metrics/get)
309
+
*[Metrics - Get - REST API](/rest/api/application-insights/metrics/get)
310
310
*[Application Insights API for custom events and metrics](api-custom-events-metrics.md)
311
311
*[Learn more](./worker-service.md) about monitoring worker service applications.
312
312
* Use [log-based and pre-aggregated metrics](./pre-aggregated-metrics-log-metrics.md).
0 commit comments