22 KiB
22 KiB
Changelog
Version 2.8.0-beta1
- Add EventCounter collection.
- Performance fixes: One DiagSource Listener; Head Sampling Feature; No Concurrent Dictionary; etc...
- Fix: Add
IJavaScriptSnippet
service interface and update theIServiceCollection
extension to register it forJavaScriptSnippet
. - Make JavaScriptEncoder optional and Fallback to JavaScriptEncoder.Default.
Version 2.7.1
Version 2.7.0
- Updated Web/Base SDK version dependency to 2.10.0
- Remove unused reference to System.Net.Http
Version 2.7.0-beta4
- RequestTrackingTelemetryModule is modified to stop tracking exceptions by default, as exceptions are captured by ApplicationInsightsLoggerProvider.
- Updated Web/Base SDK version dependency to 2.10.0-beta4
- Updated Microsoft.Extensions.Logging.ApplicationInsights to 2.10.0-beta4
- Reliability improvements with additional exception handling.
Version 2.7.0-beta3
- Enables Microsoft.Extensions.Logging.ApplicationInsights.ApplicationInsightsLoggerProvider by default. If ApplicationInsightsLoggerProvider was enabled previously using ILoggerFactory extension method, please remove it to prevent duplicate logs.
- Remove reference to Microsoft.Extensions.DiagnosticAdapter and use DiagnosticSource subscription APIs directly
- Fix: NullReferenceException in ApplicationInsightsLogger.Log when exception contains a Data entry with a null value
- Performance fixes for GetUri, SetKeyHeaderValue, ConcurrentDictionary use and Telemetry Initializers
Version 2.7.0-beta2
- Added NetStandard2.0 target.
- Updated Web/Base SDK version dependency to 2.10.0-beta2
Version 2.6.1
- Updated Web/Base SDK version dependency to 2.9.1
Version 2.6.0
- Updated Web/Base SDK version dependency to 2.9.0
- Fix: TypeInitializationException when Microsoft.AspNetCore.Hosting and Microsoft.AspNetCore.Hosting.Abstractions versions do not match
Version 2.6.0-beta3
- Updated Web/Base SDK version dependency to 2.9.0-beta3
- Deprecate ApplicationInsightsLoggerFactoryExtensions.AddApplicationInsights logging extensions in favor of Microsoft.Extensions.Logging.ApplicationInsights package
- Fix: Do not track requests by each host in the process
- Fix: Correlation doesn't work for localhost
Version 2.6.0-beta2
- Updated Web/Base SDK version dependency to 2.9.0-beta2
Version 2.6.0-beta1
- Updated Web/Base SDK version dependency to 2.9.0-beta1
Version 2.5.1
- Update Web/Base SDK version dependency to 2.8.1
Version 2.5.0
- Traces logged via ILogger is marked with SDK version prefix ilc (.net core) or ilf (.net framework).
- Update Web/Base SDK version dependency to 2.8.0
Version 2.5.0-beta2
- ComVisible attribute is set to false for the project for compliance reasons.
- Log exception.Data properties as additional telemetry data
- Update Web/Base SDK version dependency to 2.8.0-beta2 Applicable if using additional Sinks to forward telemetry to:
Version 2.5.0-beta1
- Adds opt-in support for W3C distributed tracing standard
- Updated Web/Base SDK version dependency to 2.8.0-beta1
Version 2.4.1
- Patch release to update Web/Base SDK version dependency to 2.7.2 which fixed a bug (https://github.com/Microsoft/ApplicationInsights-dotnet-server/issues/970)
Version 2.4.0
- Updated Web/Base SDK version dependency to 2.7.1
Version 2.4.0-beta4
- Generate W3C compatible operation Id when there is no parent operation
- Updated Web/Base SDK version dependency to 2.7.0-beta4
Version 2.4.0-beta3
- Allow configuring exception tracking in RequestTrackingTelemetryModule and merge OperationCorrelationTelemetryInitializer with RequestTrackingTelemetryModule
- Allow disabling response headers injection
- Updated Web/Base SDK version dependency to 2.7.0-beta3
- The above referenced base SDK contains fix for leaky HttpConnections. (https://github.com/Microsoft/ApplicationInsights-aspnetcore/issues/690)
Version 2.4.0-beta2
- Updated Web/Base SDK version dependency to 2.7.0-beta2
Version 2.4.0-beta1
- Updated Web/Base SDK version dependency to 2.7.0-beta1
- Enables Performance Counters for Asp.Net Core Apps running in Azure Web Apps. (https://github.com/Microsoft/ApplicationInsights-dotnet-server/issues/889)
- Added null check on ContentRootPath of the hostingenvironment. (https://github.com/Microsoft/ApplicationInsights-aspnetcore/issues/696)
Version 2.3.0
- [Fix a bug which caused Requests to fail when Hostname was empty.] (https://github.com/Microsoft/ApplicationInsights-aspnetcore/issues/278)
- Fix reading of instrumentation key from appsettings.json file when using AddApplicationInsightsTelemetry() extension to add ApplicationInsights
- Bring back DomainNameRoleInstanceTelemetryInitializer without which NodeName and RoleInstance will be empty in Ubuntu
- RequestTelemetry is no longer populated with HttpMethod which is obsolete.
- Fixed a bug which caused AutoCollectedMetricExtractor flag to be always true.
- Updated Web/Base SDK version dependency to 2.6.4
Version 2.3.0-beta2
- Update System.Net.Http version referred to 4.3.2 as older version has known security vulnerability.
- Added ApplicationInsightsServiceOptions flag to turn off AutoCollectedMetricExtractor.
- Added two AdaptiveSamplingTelemetryProcessors one for Event and one for non Event types to be consistent with default Web SDK behaviour.
- RequestCollection is refactored to be implemented as an ITelemetryModule. This makes it possible to configure it like every other auto-collection modules.
- Fixed race condition on dispose to close #651 -Removed DomainNameRoleInstanceTelemetryInitializer as it is deprecated. -Reuse AzureWebAppRoleEnvironmentTelemetryInitializer from WindowsServer repo instead of outdated implementation in this repo.
- Updated Web/Base SDK version dependency to 2.6.0-beta4
Version 2.3.0-beta1
- Changed behavior for
TelemetryConfiguration.Active
andTelemetryConfiguration
dependency injection singleton: with this version every WebHost has its ownTelemetryConfiguration
instance. Changes done forTelemetryConfiguration.Active
do not affect telemetry reported by the SDK; useTelemetryConfiguration
instance obtained through the dependency injection. Fix NullReferenceException when sending http requests in scenario with multiple web hosts sharing the same process - Updated Javascript Snippet with latest from Github/ApplicationInsights-JS
- Make all built-in TelemetryInitializers public to allow easy removal from DI Container.
- Enforced limits of values read from incoming http requests to prevent security vulnerability
- ApplicationInsightsLogger adds EventId into telemetry properties. It is off by default for compatibility. It can be switched on by configuring ApplicationInsightsLoggerOptions.
- [ApplicationInsightsLogger logs exceptions as ExceptionTelemetry by default. This can now be configured with ApplicationInsightsLoggerOptions.TrackExceptionsAsExceptionTelemetry] (https://github.com/Microsoft/ApplicationInsights-aspnetcore/pull/574)
- Add App Services and Azure Instance Metedata heartbeat provider modules by default, allow user to disable via configuration object.
- Added extension method to allow configuration of any Telemetry Module.
- Added ability to remove any default Telemetry Module.
- TelemetryChannel is configured via DI, making it easier to override channel
- Fixed a bug which caused QuickPulse and Sampling to be enabled only if ServerTelemetryChannel was used
- [QuickPulseTelemetryModule is constructed via DI, make it possible for users to configure it.] (https://github.com/Microsoft/ApplicationInsights-aspnetcore/issues/639)
- Remove CorrelationIdLookupHelper. Use TelemetryConfiguration.ApplicationIdProvider instead. With this change you can update URL to query application ID from which enables environments with reverse proxy configuration to access Application Insights ednpoints.
- AutocollectedMetricsExtractor is added by default to the TelemetryConfiguration
- Updated Web/Base SDK version dependency to 2.6.0-beta3
Version 2.2.1
- Updated Web/Base SDK version dependency to 2.5.1 which addresses a bug.
Version 2.2.0
- Updated Web/Base SDK version dependency to 2.5.0
Version 2.2.0-beta3
- Updated Web/Base SDK version dependency to 2.5.0-beta2.
- This version of Base SDK referred contains fix to a bug in ServerTelemetryChannel which caused application to crash on non-windows platforms. Details on fix and workaround(https://github.com/Microsoft/ApplicationInsights-dotnet/issues/654) Original issue (https://github.com/Microsoft/ApplicationInsights-aspnetcore/issues/551)
Version 2.2.0-beta2
- Same bits as beta1. Only change is that the symbols for the binaries are indexed in Microsoft symbol servers. Beta1 symbols will not be available.
Version 2.2.0-beta1
- Project is upgraded to work with Visual Studio 2017. Also projects are modified to use csproj instead of project.json.
- Adaptive sampling enabled for both - full framework and .NET Core applications.
- ServerTelemetryChannel is enabled and set as default channel for both - full framework and .NET Core applications.
- Live metrics collection is enabled by default for .NET Core applications (was already enabled for full .NET applications).
- Updated Web/Base SDK version dependency to 2.5.0-beta1.
- DependencyCollector referred from 2.5.0-beta1 supports collecting SQL dependency calls in .NET Core Applications using EntityFramework.
Version 2.1.1
- Address the issue where DependencyCollection breaks Azure Storage Emulator calls
- Support setting request operation name based on executing Razor Page
- Fixed ITelemetryProcessor dependency injection failure when using 3rd party IoC Container
- Logging exceptions when using ILogger if an exception is present
- Syncronize access to HttpContext properties
- Updated SDK version dependency to 2.4.1 for DependencyCollector.
Version 2.1.0
- Updated SDK version dependency to 2.4.0.
- Fixed a minor logging message issue.
- Fixed unit test reliability issues.
Version 2.1.0-beta6
- Updated SDK version dependency to 2.4.0-beta5.
Version 2.1.0-beta5
- Added support for adding telemetry processors through dependency injection; see #344, #445, #447
- Added support for environment specifc appsettings under default configuration
- Updated SDK version dependency to 2.4.0-beta4.
Version 2.1.0-beta4
- Made package meta-data URLs use HTTPS
- Updated SDK version dependency to 2.4.0-beta3.
Version 2.1.0-beta3
- Removed the use of Platform Abstractions
- Correlation header injection disabled for standard Azure storage calls
- Made UseApplicationInsights and AddApplicationInsightsTelemetry calls idempotent
Version 2.1.0-beta2
- Updated to use the new correlation headers and changed the correlationId to use appId instead of hashed ikey to match other SDKs.
- Fixed null reference exception for unitialized ILogger.
- Unit test bug fixes.
- Upgraded NETStandard.Library dependency to 1.6.1.
- Updated to reference base SDK 2.4.0-beta2.
- Included Microsoft.ApplicationInsights.DependencyCollector for .NET Core.
Version 2.1.0-beta1
- Bug fixes
- Removed UserAgentTelemetryInitializer and associated tests.
- Added instrumentation key header
- Added OperationCorrelationTelemetryInitializer
- Set Id instead of OperationId for request dependency correlation
- Set Id in thread-safe location
- Updated SDK version dependency to 2.3.0-beta3.
Version 2.0.0
- Added a configuration overload for AddApplicationInsightsTelemetry.
- Updated test projects to reference .NET Core 1.1.0.
- Fixed debug trace logging issue
- Stopped logging extra debug traces to AI
- JS snippet is empty if telemetry is disabled
- Added an initializer to provide the environment name as a custom property
- Added an option to emit JS to track authenticated users
- Minor bug fixes and cleanup.
Version 2.0.0-beta1
- This release contains a rewrite of the SDK internals for better .NET Core integration and initialization.
- The methods UseApplicationInsightsRequestTelemetry and UseApplicationInsightsExceptionTelemetry are obsolete, the work those methods did is handled automatically internally now. You can just delete any existing references to them from Startup.cs.
- The MVC dependency for the JavaScript snippet has been removed so in order to include the JavaScript snippet now you need to insert the following lines at the very top of the _Layout.cshtml file:
@using Microsoft.ApplicationInsights.AspNetCore
@inject JavaScriptSnippet snippet
- and insert the following line before the closing
</head>
tag:
@Html.Raw(snippet.FullScript)
Version 1.0.3-beta1
- New
AzureWebAppRoleEnvironmentTelemetryInitializer
telemetry initializer that populates role name and role instance name for Azure Web Apps.
Version 1.0.2
- Marked code analysis packages as only for build and not NuGet package dependencies.
Version 1.0.1
- Added code analysis packages.
- Updated JavaScript snippet.
- Updated project link and added privacy statement link.
- Added culture to string operations.
- Switched TelemetryClient service registration to Singleton.
- Added after build target to patch XML doc files with language attribute.
- Updated .NET Core references to 1.0.1.
Version 1.0.0
Stable 1.0.0 release. Supports .NET framework and .NET Core.
Features:
- request tracking
- exception tracking
- diagnostic tracing
- dependency collection (.NET framework only)
- performance counter collection (.NET framework only)
- adaptive sampling (.NET framework only)
- telemetry processors (.NET framework only)
- metrics stream (.NET framework only)
Depends on:
- Application Insights Core 2.1.0 SDK
- AI Dependency Collector (.NET framework only)
- AI Performance Counter Collector (.NET framework only)
- AI Windows Server Telemetry Channel (.NET framework only)
Version 1.0.0-rc2-final
All the changes from 1.0.0-rc1-update4, including the following updates:
- Renaming: Microsoft.ApplicationInsights.AspNet is changed to Microsoft.ApplicationInsights.AspNetCore
- Runtime: Supports .NET Core CLI runtime. Does not support DNX runtime and the associated RC1 bits.
- Supports ASP.NET Core on .NET Core and the .NET Framework
- Dependencies are updated to the latest RC2 bits.
- Metrics Stream functionality is enabled by default in .NET Framework
- Install from https://www.nuget.org/packages/Microsoft.ApplicationInsights.AspNetCore
Version 1.0.0-rc1-update4
- Windows Server Telemetry Channel is enabled in full framework to send telemetry, and it uses Microsoft.ApplicationInsights.WindowsServer.TelemetryChannel, version: 2.1.0-beta3
- Diagnostic tracing using EventSource is enabled
- TelemetryConfiguration.Active is used as the default telemetry configuration
- Adaptive Sampling by default is enabled in full framework
- Using telemetry processors is enabled in full framework
- ApplicationInsightsServiceOptions is available to configure default adaptive sampling behavior
- ComponentVersionTelemetryInitializer is added, that reads the application version from project.json and assigns it to telemetry.Context.Component.Version
- All Microsoft.ApplicationInsights.* dependencies are updated to the latest version (2.1.0-beta3)
Version 1.0.0-rc1-update3
- Update Application Insights Core dependency (Microsoft.ApplicationInsights) to the latest stable version (2.0.0).
Version 1.0.0-rc1-update2
- Fix the dependencies of previously published NuGet package (v1.0.0-rc1-update1)
Version 1.0.0-rc1-update1
- Support the latest version of Application Insights core sdk (2.0.0-beta4 or greater)
- Support dependency and performance counter collection in full framework (dnx 4.5.1)
Version 1.0.0-rc1
- Support ASP.Net 5 RC1 release.
- Binaries are now strong name signed.
Version 1.0.0-beta8
- Support Asp.Net 5 beta8
Version 1.0.0-beta7
- Support ASP.Net5 Beta7
- Minor bug fixes
Version 1.0.0-beta6
- Support ASP.Net 5 Beta6
- Updates to build infrastructure
- Switch to 1.1 version of Microsoft.ApplicationInsights API
Version 1.0.0-beta5
- Support ASP.Net 5 Beta5
- Minor bug fixes
- Switch to 0.17 version of Microsoft.ApplicationInsights API
Version 0.32.0-beta4
- Support dnxcore50 applications
- Change integration points with Visual Studio
- Minor bug fixes
- Switch to 0.16 version of Microsoft.ApplicationInsights API
Version 0.31.0-beta4
- Fixed references to ASP.NET runtime packages.
Version 0.30.0.1-beta
- Preview version of Application Insights. Supports only full framework. Will compile for core framework, but no events will be sent.