119 KiB
Changelog
VNext
Version 2.22.0
- no changes since beta.
Version 2.22.0-beta4
Version 2.22.0-beta3
- Do not report CosmosDB transport-level calls
- Fixed an adaptive sampling issue that caused incorrect item count when an
Activity
Recorded flags were modified externally, when enabled side-by-side with OpenTelemetry or other solutions.
Version 2.22.0-beta2
- Upgrade System.Diagnostics.PerformanceCounter to version 6.0.0 to address CVE-2021-24112
- Report internal dependencies from Cosmos SDK as InProc and align with Cosmos SDK EventSource changes
Version 2.22.0-beta1
- Update endpoint redirect header name for QuickPulse module to v2
- AzureSdkDiagnosticListener modified to use sdkversion prefix "rdddsaz" instead of "dotnet".
- ILogger logs with LogLevel.None severity are now ignored by ApplicationInsightsLogger. Fixes (#2666)
- Fix ExceptionTelemetry clears all Context when updating Exception property
- Support dependency tracking and diagnostics events for Microsoft.Azure.Cosmos v3
Version 2.21.0
- no changes since beta.
Version 2.21.0-beta3
- Remove two unnecessary .NET Standard 1.x dependencies.
- Address vulnerability in
Newtonsoft.Json
(GHSA-5crp-9r3c-p9vr). Mitigation is to upgrade dependencies inMicrosoft.ApplicationInsights.AspNetCore
(#2615)- Upgrade
Microsoft.Extensions.Configuration.Json
from v2.1.0 to v3.1.0. - Upgrade
System.Text.Encodings.Web
from 4.5.1 to 4.7.2.
- Upgrade
Version 2.21.0-beta2
- LOGGING: Make TelemetryConfiguration configurable in ApplicationInsightsLoggingBuilderExtensions
- Added support for distributed tracing with Azure.Messaging.ServiceBus
- Move internal type from
Shared
toMicrosoft
namespace - Extension methods to retrive specific operation details.
- Mark Instrumentation Key based APIs as Obsolete.
- Fix: Livelock in MetricValuesBuffer. Mitigation for TelemetryClient.Flush deadlocks (#1186)
Version 2.21.0-beta1
- Support IPv6 in request headers
- Validate exception stack trace line numbers to comply with endpoint restrictions.
- Removed redundant memory allocations and processing in PartialSuccessTransmissionPolicy for ingestion sampling cases
- Validate exception message length to comply with endpoint restrictions.
- Update JavaScript snippet to sv5 which includes the cdn endpoint.
- Make operation detail name constants public.
Version 2.20
Version 2.20.0-beta1
Version 2.19.0
- Support for .Net6
Version 2.19.0-beta1
- The
{OriginalFormat}
field in ILogger Scope will be emitted asOriginalFormat
with the braces removed - Enable SDK to create package for auto-instrumentation
- Suppress long running SignalR connections
- Support for redirect response from Ingestion service
- NetCore2.1 has reached end of life and all references have been removed
Version 2.18.0
- Change Self-Diagnostics to include datetimestamp in filename
- AAD: Add logging to AuthenticationTransmissionPolicy
- QuickPulse: Bump the number of custom dimensions included into full documents for QuickPulse from 3 to 10, make the selection consistent
Version 2.18.0-beta3
- Enable the self diagnostics and fix a NullReferenceException bug
- AAD Breaking change: CredentialEnvelope.GetToken() now returns type AuthToken instead of string. This is to expose the Expiration value with the token.
Version 2.18.0-beta2
- Reduce technical debt: Use pattern matching
- Improve Self Diagnostics and support setting configuration in file
- Fix AzureSdkDiagnosticListener from crashing user app.
- Add support for Azure Active Directory
Version 2.18.0-beta1
- Fix PropertyFetcher error when used with multiple types
- New Task Based Flush API - FlushAsync
- End support for net45 and net46 in AspNetCore
Version 2.17.0
- Fix: telemetry parent id when using W3C activity format in TelemetryDiagnosticSourceListener
- Add ingestion response duration for transmission to data delivery status - TransmissionStatusEventArgs
- Update default Profiler and Snapshot Debugger endpoints
Version 2.17.0-beta1
- Fix: Missing Dependencies when using Microsoft.Data.SqlClient v2.0.0
- Add RoleName as a header with Ping Requests to QuickPulse.
- QuickPulseTelemetryModule takes hints from the service regarding the endpoint to ping and how often to ping it
- Upgrade Log4Net to version 2.0.10 to address CVE-2018-1285
Version 2.16.0
- QuickPulseTelemetryModule and MonitoringDataPoint have a new Cloud Role Name field for sending with ping and post requests to QuickPulse Service.
- Upgrade to System.Diagnostics.DiagnosticSource v5.0.0
Version 2.16.0-beta1
- ILogger LogError and LogWarning variants write exception
ExceptionStackTrace
whenTrackExceptionsAsExceptionTelemetry
flag is set tofalse
- Upgrade to System.Diagnostics.DiagnosticSource v5.0.0-rc.2.20475.5
- The
{OriginalFormat}
field in ILogger will be emitted asOriginalFormat
with the braces removed - ApplicationInsightsLoggerProvider populates structured logging key/values irrespective of whether Scopes are enabled or not.
Version 2.15.0
- EventCounterCollector module does not add AggregationInterval as a dimension to the metric.
Version 2.15.0-beta3
- Support Request.PathBase for AspNetCore telemetry
- End support for .NET Framework 4.5 / 4.5.1, Add support for .NET Framework 4.5.2
- Create single request telemetry when URL-rewrite rewrites a request
- Remove legacy TelemetryConfiguration.Active from AspNetCore SDK
- Refactor AspNetCore and WorkerService use of Heartbeat (DiagnosticTelemetryModule)
- Fix broken correlation and missing in-proc dependency Azure Blob SDK v12
- Fix Heartbeat interval not applied until after first heartbeat
- Fix: ApplicationInsightsLoggerProvider does not catch exceptions
- Update AppInsights JS snippet used in the code to latest version
- ServerTelemetryChannel does not fall back to any default directory if user explicitly configures StorageFolder, and have trouble read/write to it
- Fixed a bug which caused ApplicationInsights.config file being read for populating TelemetryConfiguration in .NET Core projects
- Remove System.RunTime EventCounters by default
- Ingestion service data delivery status
- Update version of Microsoft.AspNetCore.Hosting to 2.1.0
Version 2.15.0-beta2
- Read all properties of ApplicationInsightsServiceOptions from IConfiguration
- End support for NetStandard 1.x, Add support for NetStandard 2.0
- Add support for SourceLink.Github to all SDKs.
- ServerTelemetryChannel by default uses local disk storage in non Windows, to store telemetry during transient errors
- Make TelemetryConfiguration property of TelemetryClient public accessible to be able to read the configuration
Version 2.15.0-beta1
- WorkerService package is modified to depend on 2.1.1 on Microsoft.Extensions.DependencyInjection so that it can be used in .NET Core 2.1 projects without nuget errors.
- Adding a flag to EventCounterCollector to enable/disable storing the EventSource name in the MetricNamespace and simplify the metric name
- New: EventCounter to track Ingestion Endpoint Response Time
Version 2.14.0
- no changes since beta.
Version 2.14.0-beta5
- Stop collecting EventCounters from Microsoft.AspNetCore.Hosting
- Enable ILogger provider for apps targeting .NET Framework
Version 2.14.0-beta4
- Fix: SQL dependency names are bloated when running under the .NET Framework and using Microsoft.Data.SqlClient package
- Fix: Disabling HeartBeats in Asp.Net Core projects causes Error traces every heart beat interval (15 minutes default)
- Standard Metric extractor (Exception,Trace) populates all standard dimensions.
- Add an explicit reference to System.Memory v4.5.4. This fixes a bug in System.Diagnostics.DiagnosticSource. We will remove this dependency when DiagnosticSource is re-released.
Version 2.14.0-beta3
- New: JavaScript Property to support Content Security Policy
- Fix: All perf counters stop being collected when any of faulty counters are specified to collect on Azure WebApps
- Fix: Some perf counters aren't collected when app is hosted on Azure WebApp
- Fix: Update dependencies to fix incompatibility with NetCore 3.0 and 3.1
- removing dependency on System.Data.SqlClient
- System.Diagnostics.PerformanceCounter v4.5.0 -> v4.7.0
- System.IO.FileSystem.AccessControl v4.5.0 -> 4.7.0
Version 2.14.0-beta2
Version 2.14.0-beta1
- Support new conventions for EventHubs from Azure.Messaging.EventHubs and processor.
- Adding a flag to DependencyTrackingTelemetryModule to enable/disable collection of SQL Command text. Collecting SQL Command Text will now be opt-in, so this value will default to false. This is a change from the current behavior on .NET Core. To see how to collect SQL Command Text see here for details: https://docs.microsoft.com/azure/azure-monitor/app/asp-net-dependencies#advanced-sql-tracking-to-get-full-sql-query
- change references to log4net to version 2.0.8
- Fix: PerformanceCounter implementation is taking large memory allocation
Version 2.13.1
Version 2.13.0
- no changes since beta.
Version 2.13.0-beta2
- Move FileDiagnosticTelemetryModule to Microsoft.ApplicationInsights assembly.
- Do not track exceptions from HttpClient on .NET Core
- Copy tags if we create new Activity in ASP.NET Core listener
Version 2.13.0-beta1
- All product sdks are now building the same symbols (DebugType = FULL) and we're including symbols in the nuget package.
- Upgraded FxCop and fixed several issues related to null checks and disposing objects.
- Fix Environment read permission Exception
- Exceptions are not correlated to requests when customErrors=Off and Request-Id is passed
- Switch to compact Id format in W3C mode
- Sanitizing Message in Exception
- Fix CreateRequestTelemetryPrivate throwing System.ArgumentOutOfRangeException
- NLog supports TargetFramework NetStandard2.0 and reduces dependencies
Version 2.12.2
Version 2.12.1
Version 2.12.0
- Fix IndexOutOfRangeException in W3CUtilities.TryGetTraceId
- Fix UpdateRequestTelemetryFromRequest throwing UriFormatException
- Add ETW log for missing Instrumentation Key
- Remove HttpContext lock from AzureAppServiceRoleNameFromHostNameHeaderInitializer
Version 2.12.0-beta4
- Add support for collecting convention-based Azure SDK activities.
- Log4Net includes Message for ExceptionTelemetry
- NLog includes Message for ExceptionTelemetry
- Fix RouteData not set in ASP.Net Core 3.0
- Fix dependency tracking for Microsoft.Azure.EventHubs SDK 4.1.
Version 2.12.0-beta3
Version 2.12.0-beta2
- Enable Metric DimensionCapping API for Internal use with standard metric aggregation.
- ILogger - Flush TelemetryChannel when the ILoggerProvider is Disposed.
- Standard Metric extractor (Request,Dependency) populates all standard dimensions.
Version 2.12.0-beta1
- BASE: [New: TelemetryConfiguration now supports Connection Strings]https://github.com/microsoft/ApplicationInsights-dotnet/issues/1221)
- WEB: Enhancement to how QuickPulseTelemetryModule shares its ServiceEndpoint with QuickPulseTelemetryProcessor.
- WEB: QuickPulse will support SDK Connection String
- WEB: Add support for storing EventCounter Metadata as properties of MetricTelemetry
- WEB: New RoleName initializer for Azure Web App to accurately populate RoleName.
- NETCORE: Skipping version numbers to keep in sync with Base SDK.
- NETCORE: Fix Null/Empty Ikey from ApplicationInsightsServiceOptions overrding one from appsettings.json
- NETCORE: Provide ApplicationInsightsServiceOptions for easy disabling of any default TelemetryModules
- NETCORE: Added support for SDK Connection String
- NETCORE: New RoleName initializer for Azure Web App to accurately populate RoleName.
- NETCORE: Update to Base/Web/Logging SDK to 2.12.0-beta1
Before 2.12.0, our SDKs had separate repositories.
Version 2.11.0
- BASE: Upgrade to System.Diagnostics.DiagnosticSource v4.6
- BASE: Fix: StartOperation(Activity) does not check for Ids compatibility
Version 2.11.0-beta2
- BASE: Fix: Emit warning if user sets both Sampling IncludedTypes and ExcludedTypes. Excluded will take precedence.
- BASE: Minor perf improvement by reading Actity.Tag only if required.
- BASE: Fix: Channels not handling AggregateException, not logging full HttpRequestException.
- BASE: Metric Aggregator background thread safeguards added to never throw unhandled exception.
- BASE: Updated version of System.Diagnostics.DiagnosticSource to 4.6.0-preview7.19362.9. Also remove marking SDK as CLS-Compliant
- BASE: Enhancement: Exceptions thrown by the TelemetryConfiguration will now specify the exact name of the property that could not be parsed from a config file.
- BASE: Fix: ServerTelemetryChannel constructor exception when network info API throws.
- BASE: Make BaseSDK use W3C Trace Context based correlation by default. Set TelemetryConfiguration.EnableW3CCorrelation=false to disable this.
- BASE: Removed TelemetryConfiguration.EnableW3CCorrelation. Users should do Activity.DefaultIdFormat = ActivityIdFormat.Hierarchical; Activity.ForceDefaultIdFormat = true; to disable W3C Format
- BASE: Enable sampling based on upstream sampling decision for adaptive sampling
- BASE: Fix: StartOperation ignores user-provided custom Ids in scope of Activity
- BASE: Set tracestate if available on requests and dependencies
Version 2.11.0-beta1
- BASE: Performance fixes: Support Head Sampling; Remove NewGuid(); Sampling Flags; etc...
- BASE: Deprecate TelemetryConfiguration.Active on .NET Core in favor of dependency injection pattern
- BASE: Make TrackMetric() visible. This method is not recommended unless you are sending pre-aggregated metrics.
Version 2.10.0
- BASE: SDKVersion modified to be dotnetc for NetCore. This helps identify the source of code path, as implementations are slightly different for NetCore.
- BASE: Fix telemetry timestamp precision on .NET Framework
- BASE: Fix: catch SecurityException when ApplicationInsights config is read in partial trust
Version 2.10.0-beta4
- BASE: Fix NullReferenceException in DiagnosticsEventListener.OnEventWritten
- BASE: Fix RichPayloadEventSource can get enabled at Verbose level
- BASE: Fix DiagnosticsTelemetryModule can get added more than once
- BASE: Modify default settings for ServerTelemetryChannel to reduce disk usage. MaxTransmissionSenderCapacity is changed from 3 to 10, MaxTransmissionBufferCapacity is changed from 1MB to 5MB
Version 2.10.0-beta3
- BASE: No changes. Bumping version to match WebSDK release.
Version 2.10.0-beta2
- BASE: Fix Transmission in NETCORE to handle partial success (206) response from backend.
- BASE: Fix data losses in ServerTelemetryChannel.
- BASE: [InitialSamplingRate is now correctly applied if set in applicationInsights.config] (https://github.com/Microsoft/ApplicationInsights-dotnet/pull/1048)
- BASE: Added new target for NetStandard2.0.
Version 2.9.1
Version 2.9.0
Version 2.9.0-beta3
- BASE: Flatten IExtension and Unknown ITelemetry implementations for Rich Payload Event Source consumption
- BASE: Fix: Start/StopOperation with W3C distributed tracing enabled does not track telemetry
- BASE: Fix: Do not run metric aggregation on a thread pool thread
Version 2.9.0-beta2
- BASE: Remove unused reference to System.Web.Extensions
- BASE: PageViewTelemetry now supports ISupportMetrics
- BASE: Fixed a bug in TelemetryContext which prevented rawobject store to be not available in all sinks.
- BASE: Fixed a bug where TelemetryContext would have missing values on secondary sinks
- BASE: Fixed race condition in BroadcastProcessor which caused it to drop TelemetryItems
- BASE: Custom Telemetry Item that implements ITelemetry is no longer dropped, bur rather serialized as EventTelemetry and handled by the channels accordingly
- BASE: IExtension is now serialized into the Properties and Metrics
Perf Improvements.
- BASE: Improved Perf of ITelemetry JsonSerialization
- BASE: Added new method on TelemetryClient to initialize just instrumentation. This is to be used by autocollectors to avoid calling TelemetryInitializers twice.
- BASE: RequestTelemetry modified to lazily instantiate ConcurrentDictionary for Properties
- BASE: RequestTelemetry modified to not service public fields with data class to avoid converting between types.
- BASE: Dependency Telemetry modified to lazily instantiate ConcurrentDictionary for Properties
- BASE: Avoid string allocations in Metrics hot path
Version 2.8.1
Patch release addressing perf regression.
Version 2.8.0
- BASE: New API to store/retrieve any raw objects on TelemetryContext to enable AutoCollectors to pass additional information for use by TelemetryInitializers.
- BASE: Perf Improvements https://github.com/Microsoft/ApplicationInsights-dotnet/issues/927 https://github.com/Microsoft/ApplicationInsights-dotnet/issues/930 https://github.com/Microsoft/ApplicationInsights-dotnet/issues/934
- BASE: Fix: Response code shouldn't be overwritten to 200 if not set
Version 2.8.0-beta2
- BASE: TelemetryProcessors (sampling, autocollectedmetricaggregator), TelemetryChannel (ServerTelemetryChannel) added automatically to the default ApplicationInsights.config are moved under the default telemetry sink. If you are upgrading, and have added/modified TelemetryProcessors/TelemetryChannel, make sure to copy them to the default sink section.
Version 2.8.0-beta1
- BASE: Add a new distinct properties collection, GlobalProperties, on TelemetryContext, and obsolete the Properties on TelemetryContext.
- BASE: Added support for strongly typed extensibility for Telemetry types using IExtension.
- BASE: [New method SerializeData(ISerializationWriter writer) defined in ITelemetry. All existing types implement this method to emit information about it's fields to channels who can serialize this data] (continuation of https://github.com/Microsoft/ApplicationInsights-dotnet/issues/871)
- BASE: Allow to track PageViewPerformance data type.
- BASE: Added method
ExceptionDetailsInfoList
onExceptionTelemetry
class that gives control to user to update exception message and exception type of underlyingSystem.Exception
object that user wants to send to telemetry. Related discussion is here. - BASE: Added an option of creating ExceptionTelemetry object off of custom exception information rather than a System.Exception object.
- BASE: Add support for hex values in config
Version 2.7.2
- BASE: Metrics: Renamed TryTrackValue(..) into TrackValue(..).
- BASE: Metrics: Removed some superfluous public constants.
Version 2.7.0-beta3
- BASE: Allow to set flags on event. It will be used in conjunction with the feature that will allow to keep IP addresses.
- BASE: Fix: SerializationException resolving Activity in cross app-domain calls
- BASE: Make HttpClient instance static to avoid re-creating with every transmission. This had caused connection/memory leaks in .net core 2.1 Related: (https://github.com/Microsoft/ApplicationInsights-aspnetcore/issues/690)
Version 2.7.0-beta2
- BASE: Fix: NullReferenceException if telemetry is tracked after TelemetryConfiguration is disposed
- BASE: Move the implementation of the extraction of auto-collected (aka standard) metrics from internal legacy APIs to the recently shipped metric aggregation APIs.
- BASE: Fix: NullReferenceException in ExceptionConverter.GetStackFrame if StackFrame.GetMethod() is null
Version 2.7.0-beta1
- BASE: Extend the Beta period for Metrics Pre-Aggregation features shipped in 2.6.0-beta3.
- BASE: New: Added TryGetOperationDetail to DependencyTelemetry to facilitate advanced ITelemetryInitializer scenarios. Allows ITelemetryInitializer implementations to specify fields that would otherwise not be sent automatically to the backend.
version 2.6.4
- BASE: Revert changed namespace:
SamplingPercentageEstimatorSettings
,AdaptiveSamplingPercentageEvaluatedCallback
- BASE: Add netstandard2.0 target for TelemetryChannel which doesn't have a dependency on Newtonsoft.Json
Version 2.6.1
- BASE: Extend the Beta period for Metrics Pre-Aggregation features shipped in 2.6.0-beta3.
- BASE: Fix: changed namespace SamplingPercentageEstimatorSettings
Version 2.6.0-beta4
- BASE: New: Enable ExceptionTelemetry.SetParsedStack for .Net Standard
- BASE: Fix: TelemetryClient throws NullReferenceException on Flush if the underlying configuration was disposed
Version 2.6.0-beta3
- BASE: Report internal errors from Microsoft.AspNet.TelemteryCorrelation module
- BASE: Fix: Telemetry tracked with StartOperation is tracked outside of corresponding activity's scope
- BASE: Fix: TelemetryProcessor chain building should also initialize Modules.
- BASE: Fix: Wrong error message in AutocollectedMetricsExtractor.
- BASE: NEW: Interface and Configuration: IApplicationIdProvider.
- BASE: NEW: Metrics Pre-Aggregation: New
TelemetryClient.GetMetric(..).TrackValue(..)
and related APIs always locally pre-aggregate metrics before sending. They are replacing the legacyTelemetryClient.TrackMetric(..)
APIs. (More info.)
Version 2.6.0-beta2
- BASE: Changed signature of TelemetryClient.TrackDependency
- BASE: Added overload of TelemetryClientExtensions.StartOperation(Activity activity).
- BASE: Finalize the architecture for adding default heartbeat properties (supporting proposal from Issue #636)..
Version 2.5.1
- BASE: Fix for missing TelemetryContext. Thank you to our community for discovering and reporting this issue! Logic bug within Initialize() in TelemetryContext, Dependency correlation is broken after upgrade to .NET SDK 2.5, Lost many context fields in 2.5.0
Version 2.5.0-beta2
- BASE: Remove calculation of sampling-score based on Context.User.Id Issue #625
- BASE: New sdk-driven "heartbeat" functionality added which sends health status at pre-configured intervals. See extending heartbeat properties doc for more information
- BASE: Fixes a bug in ServerTelemetryChannel which caused application to crash on non-windows platforms. Details on fix and workaround #654 Original issue (https://github.com/Microsoft/ApplicationInsights-aspnetcore/issues/551)
- BASE: Fixed a bug with the
AdaptiveSamplingTelemetryProcessor
that would cause starvation over time. Issue #756 (dotnet-server) - BASE: Updated solution to build on Mac!
Version 2.5.0-beta1
- BASE: Method
Sanitize
on classes implementingITelemetry
no longer modifies theTelemetryContext
fields. Serialized event json and ETW event will still have context tags sanitized. - BASE: Application Insights SDK supports multiple telemetry sinks. You can configure more than one channel for telemetry now.
- BASE: New method
DeepClone
onITelemetry
interface. Implemented by all supported telemetry items. - BASE: Server telemetry channel NuGet support a netstandard1.3 target with fixed rate sampling and adaptive sampling telemetry processors.
- BASE: Instrumentation key is no longer required for TelemetryClient to send data to channel(s). This makes it easier to use the SDK with channels other than native Application Insights channels.
- BASE: .NET 4.0 targets were removed. Please use the version 2.4.0 if you cannot upgrade your application to the latest framework version.
- BASE: Removed
wp8
,portable-win81+wpa81
anduap10.0
targets.
Version 2.4.0
- BASE: Updated version of DiagnosticSource to 4.4.0 stable
Version 2.4.0-beta5
- BASE: Updated version of DiagnosticSource referenced.
Version 2.4.0-beta4
- BASE: Made Metric class private and fixed various metrics related issues.
Version 2.4.0-beta3
Version 2.4.0-beta2
- BASE: Removed metric aggregation functionality as there is not enough feedback on the API surface yet.
Version 2.4.0-beta1
- BASE: Event telemetry is set to be sampled separately from all other telemetry types. It potentially can double the bill. The reason for this change is that Events are mostly used for usage analysis and should not be subject to sampling on high load of requests and dependencies. Edit
ApplicationInsights.config
file to revert to the previous behavior. - BASE: Added dependency on System.Diagnostics.DiagnosticsSource package. It is still possible to use standalone Microsoft.ApplicationInsights.dll to track telemetry.
- BASE: StartOperation starts a new System.Diagnostics.Activity and stores operation context in it. StartOperation overwrites OperationTelemetry.Id set before or during telemetry initialization for the dependency correlation purposes.
- BASE: OperationCorrelationTelemetryInitializer initializes telemetry from the Activity.Current. Please refer to https://github.com/dotnet/corefx/blob/master/src/System.Diagnostics.DiagnosticSource/src/ActivityUserGuide.md for more details about Activity and how to use it
- BASE:
Request.Success
field will not be populated based onResponseCode
. It needs to be set explicitly. - BASE: New "ProblemId" property on ExceptionTelemetry. It can be used to set a custom ProblemId value.
- BASE: Metric Aggregation functionality (originally added in 2.3.0-beta1 but removed in 2.3.0) is re-introduced.
- BASE: Improved exception stack trace data collection for .NET Core applications.
Version 2.3.0
- BASE: Includes all changes since 2.2.0 stable release.
- BASE: Removed metric aggregation functionality added in 2.3.0-beta1 release.
- BASE: Fixed a bug which caused SDK to stop sending telemetry.
Version 2.3.0-beta3
- BASE: Added overloads of TelemetryClientExtensions.StartOperation.
- BASE: Fire new ETW events for Operation Start/Stop.
Version 2.3.0-beta2
- BASE: Added constructor overloads for TelemetryConfiguration and added creation of a default InMemoryChannel when no channel is specified for a new instance. TelemetryClient will no longer create an InMemoryChannel on the configuration instance if TelemetryChannel is null, instead the configuration instances will always have a channel when created.
- BASE: TelemetryConfiguration will no longer dispose of user provided ITelemetryChannel instances. Users must properly dispose of any channel instances which they create, the configuration will only auto-dispose of default channel instances it creates when none are specified by the user.
Version 2.3.0-beta1
- BASE: Added metric aggregation functionality via MetricManager and Metric classes.
- BASE: Exposed a source field on RequestTelemetry. This can be used to store a representation of the component that issued the incoming http request.
Version 2.2.0
- BASE: Includes all changes since 2.1.0 stable release.
Version 2.2.0-beta6
- BASE: Added serialization of the "source" property.
- BASE: Downgraded package dependencies to Microsoft.NETCore.App 1.0.1 level.
- BASE: Fixed the priority of getting an iKey from an environment variable
Version 2.2.0-beta5
- BASE: Moved from PCL dotnet5.4 to .NET Core NetStandard1.5.
- BASE: Updated dependency versions.
Version 2.2.0-beta4
- BASE: Payload sanitization for RichPayloadEventSource.
- BASE: Fix to fallback to an environment variable for instrumentation key when not specified when initializing TelemetryConfiguration.
- BASE: RoleInstance and NodeName are initialized with the machine name by default.
Version 2.2.0-beta3
- BASE: Read InstrumentationKey from environment variable APPINSIGHTS_INSTRUMENTATIONKEY if it is was not provided inline. If provided it overrides what is set though configuration file. (Feature is not available in PCL version of SDK).
- BASE: Context properties
NetworkType
,ScreenResolution
andLanguage
marked as obsolete. Please use custom properties to report network type, screen resolution and language. Values stored in these properties will be send as custom properties. - BASE: Dependency type was updated to reflect the latest developments in Application Insights Application Map feature. You can set a new field -
Target
.CommandName
was renamed toData
for consistency with the Application Analytics schema.DependencyKind
will never be send any more and will not be set to "Other" by default. Also there are two more constructors forDependencyTelemetry
item. - BASE: Type
SessionStateTelemetry
was marked obsolete. UseIsFirst
flag inSessionContext
to indicate that the session is just started. - BASE: Type
PerformanceCounterTelemetry
was marked obsolete. UseMetricTelemetry
instead. - BASE: Marked
RequestTelemetry.HttpMethod
as obsolete. Put http verb as part of the name for the better grouping by name and use custom properties to report http verb as a dimension. - BASE: Marked
RequestTelemetry.StartTime
as obsolete. UseTimeStamp
instead. - BASE: Removed BCL dependency
- BASE: Added IPv6 support
- BASE: Fixed an issue where channels sent expired data from storage
- BASE: Fixed an issue where the clock implementation would accumulate error
- BASE: Fixed an issue where telemetry with emptry properties would be dropped
- BASE: Added support for SDK-side throttling
Version 2.2.0-beta2
- BASE: InMemoryChannel has a new override for Flush method that accepts timeout.
- BASE: Local storage folder name was changed. That means that when the application stopped, and the application was updated to the new SDK, then the telemetry from the old local folder will not be send.
- BASE: Allow all characters in property names and measurements names.
- BASE: AdaptiveTelemetryProcessor has a new property IncludedTypes. It gets or sets a semicolon separated list of telemetry types that should be sampled. If left empty all types are included implicitly. Types are not included if they are set in ExcludedTypes.
- BASE: Richpayload event source event is generated for all framework versions of SDK (before it was supported in 4.6 only)
- BASE: TelemetryClient has a new method TrackAvailability. Data posted using this method would be available in AppAnalitics only, Azure portal UI is not available at this moment.
Version 2.2.0-beta1
- BASE: Add ExceptionTelemetry.Message property. If it is provided it is used instead of Exception.Message property for the outer-most exception.
- BASE: Telemetry types can be excluded from sampling by specifing ExcludedTypes property.
- BASE: ServerTelemetryChannel: changed backoff logic to be less aggressive, added diagnostics event when backoff logic kicks in and added more tracing. (Done to address issues when data stops flowing till application gets restarted)
Version 2.1.0-beta4
- BASE: Bug fix
Version 2.1.0-beta3
- BASE: Support partial success (206) from the Application Insights backend. Before this change SDK may have lost data because some items of the batch were accepted and some items of the batch were asked to be retried (because of burst throttling or intermittent issues).
- BASE: Bug fixes
Version 2.1.0-beta1
- BASE: Upgraded to depend on EventSource.Redist nuget version 1.1.28
- BASE: Upgraded to depend on Microsoft.Bcl nuget version 1.1.10
Version 2.0.1
- BASE: Add Win Phone, Win Store and UWP targets that include 1.2.3 version of ApplicationInsights.dll. It is included to prevent applications that upgrade to 2.0.0 from crashing. In any case using this nuget for Win Phone, Win Store and UWP targets is not recommended and not supported.
Version 2.0.0
- BASE: Disallow Nan, +-Infinity measurements. Value will be replaced on 0.
- BASE: Disallow Nan, +-Infinity metrics (Value, Min, Max and StandardDeviation). Values will be replaced on 0.
Version 2.0.0-rc1
- BASE: Writing telemetry items to debug output can be disabled with
IsTracingDisabled
property onTelemetryDebugWriter
. Telemetry items that were filtered out by sampling are now indicated in debug output. Custom telemetry processors can now invoke methodWriteTelemetry
onTelemetryDebugWriter
withfilteredBy
parameter to indicate in debug output that an item is being filtered out. - BASE: DependencyTelemetry.Async property was removed.
- BASE: DependencyTelemetry.Count property was removed.
- BASE: When configuration is loaded from ApplicationInsights.config incorrect and broken elements are skipped. That includes both high level elements like TelemetryInitializers as well as individual properties.
- BASE: Internal Application Insights SDK traces will be marked as synthetic and have
SyntheticSource
equals to 'SDKTelemetry'. - BASE: UserContext.AcquisitionDate property was removed.
- BASE: UserContext.StoreRegion property was removed.
- BASE: InMemoryChannel.DataUploadIntervalInSeconds was removed. Use SendingInterval instead.
- BASE: DeviceContext.RoleName was removed. Use DeviceContext.Cloud.RoleName instead.
- BASE: DeviceContext.RoleInstance was removed. Use DeviceContext.Cloud.RoleInstance instead.
Version 2.0.0-beta4
- BASE: UseSampling and UseAdaptiveSampling extensions were moved to Microsoft.ApplicationInsights.Extensibility
- BASE: Cut Phone and Store support
- BASE: Updated
DependencyTelemetry
to have new propertiesResultCode
andId
- BASE: If
ServerTelemetryChannel
is initialized programmatically it is required to call ServerTelemetryChannel.Initialize() method. Otherwise persistent storage will not be initialized (that means that if telemetry cannot be sent because of temporary connectivity issues it will be dropped). - BASE:
ServerTelemetryChannel
has new propertyStorageFolder
that can be set either through code or though configuration. If this property is set ApplicationInsights uses provided location to store telemetry that was not sent because of temporary connectivity issues. If property is not set or provided folder is inaccessible ApplicationInsights will try to use LocalAppData or Temp as it was done before. - BASE: TelemetryConfiguration.GetTelemetryProcessorChainBuilder extension method is removed. Instead of this method use TelemetryConfiguration.TelemetryProcessorChainBuilder instance method.
- BASE: TelemetryConfiguration has a new property TelemetryProcessors that gives readonly access to TelemetryProcessors collection.
- BASE:
Use
,UseSampling
andUseAdaptiveSampling
preserves TelemetryProcessors loaded from configuration.
Version 2.0.0-beta3
- BASE: Adaptive sampling turned on by default in server telemetry channel. Details can be found in #80.
- BASE: Fixed signature of
UseSampling
to allow chaining with other calls toUse
of telemetry processors. - BASE: Property
Request.ID
returned back.OperationContext
now has a propertyParentId
for end-to-end correlation. - BASE:
TimestampTelemetryInitializer
is removed. Timestamp will be added automatically byTelemetryClient
. - BASE:
OperationCorrelationTelemetryInitializer
is added by default to enable operaitons correlation.
Version 2.0.0-beta2
- BASE: Fix UI thread locking when initializing InMemoryChannel (default channel) from UI thread.
- BASE: Added support for
ITelemetryProcessor
and ability to construct chain of TelemetryProcessors via code or config. - BASE: Version of
Microsoft.ApplicationInsights.dll
for the framework 4.6 is now part of the package. - BASE: IContextInitializer interface is not supported any longer. ContextInitializers collection was removed from TelemetryConfiguration object.
- BASE: The max length limit for the
Name
property ofEventTelemetry
was set to 512. - BASE: Property
Name
ofOperationContext
was renamed toRootName
- BASE: Property
Id
ofRequestTelemetry
was removed. - BASE: Property
Id
andContext.Operation.Id
ofRequestTelemetry
would not be initialized when creating newRequestTelemetry
. - BASE: New properties of
OperationContext
:CorrelationVector
,ParentId
andRootId
to support end-to-end telemetry items correlation.
Version 2.0.0-beta1
- BASE: TrackDependency will produce valid JSON when not all required fields were specified.
- BASE: Redundant property
RequestTelemetry.ID
is now just a proxy forRequestTelemetry.Operation.Id
. - BASE: New interface
ISupportSampling
and explicit implementation of it by most of data item types. - BASE:
Count
property on DependencyTelemetry marked as Obsolete. UseSamplingPercentage
instead. - BASE: New
CloudContext
introduced and propertiesRoleName
andRoleInstance
moved to it fromDeviceContext
. - BASE: New property
AuthenticatedUserId
onUserContext
to specify authenticated user identity.
Version 1.2.3
- BASE: Bug fixes.
- BASE: Telemetry item will be serialized to Debug Output even when Instrumentation Key was not set.
Version 1.2
- BASE: First version shipped from github
Version 1.1
- BASE: SDK now introduces new telemetry type
DependencyTelemetry
which contains information about dependency call from application - BASE: New method
TelemetryClient.TrackDependency
allows to send information about dependency calls from application
Version 0.17
- BASE: Application Insights now distributes separate binaries for framework 4.0 and 4.5. Library for the framework 4.5 will not require EventSource and BCL nuget dependencies. You need to ensure you refer the correct library in
packages.config
. It should be<package id="Microsoft.ApplicationInsights" version="0.17.*" targetFramework="net45" />
- BASE: Diagnostics telemetry module is not registered in ApplicationInsights.config and no self-diagnostics messages will be sent to portal for non-web applications. Insert
<Add Type="Microsoft.ApplicationInsights.Extensibility.Implementation.Tracing.DiagnosticsTelemetryModule, Microsoft.ApplicationInsights" />
to<TelemetryModules>
node to get SDK self-diagnostics messages from your application. - BASE: ApplicationInsights.config file search order was changed. File from the bin/ folder will no longer be used even if exists for the web applications.
- BASE: Nullable properties are now supported in ApplicationInsights.config.
- BASE: DeveloperMode property of
ITelemetryChannel
interface became a nullable bool.
Version 0.16
- BASE: SDK now supports dnx target platform to enable monitoring of .NET Core framework applications.
- BASE: Instance of
TelemetryClient
do not cache Instrumentation Key anymore. Now if instrumentation key wasn't set toTelemetryClient
explicitlyInstrumentationKey
will return null. It fixes an issue when you setTelemetryConfiguration.Active.InstrumentationKey
after some telemetry was already collected, telemetry modules like dependency collector, web requests data collection and performance counters collector will use new instrumentation key.
Version 0.15
- BASE: New property
Operation.SyntheticSource
now available onTelemetryContext
. Now you can mark your telemetry items as not a real user traffic and specify how this traffic was generated. As an example by setting this property you can distinguish traffic from your test automation from load test traffic. - BASE: Channel logic was moved to the separate NuGet called Microsoft.ApplicationInsights.PersistenceChannel. Default channel is now called InMemoryChannel
- BASE: New method
TelemetryClient.Flush
allows to flush telemetry items from the buffer synchronously
Version 0.13
No release notes for older versions available.
Version 2.11.2
Version 2.11.1
- WEB: Fix Sql dependency parent id to match W3CTraceContext format
- WEB: Fix EventCounters so that it appear as CustomMetrics as opposed to PerformanceCounters.
Version 2.11.0
- WEB: Fix Sql dependency tracking in .NET Core 3.0 which uses Microsoft.Data.SqlClient instead of System.Data.SqlClient
- WEB: Updated Base SDK to 2.11.0
- WEB: Updated Microsoft.AspNet.TelemetryCorrelation to 1.0.7
- WEB: Updated System.Diagnostics.DiagnosticSource to 4.6.0
Version 2.11.0-beta2
- WEB: Updated Base SDK to 2.11.0-beta2
- WEB: Add NetStandard2.0 Target for WindowsServerPackage
- WEB: Add NetStandard2.0 Target for DependencyCollector
- WEB: QuickPulse/LiveMetrics background thread safeguards added to never throw unhandled exception.
- WEB: Make QuickPulse server id configurable to distinguish multiple role instances running on the same host
- WEB: Switch W3C Trace-Context on by default and leverage implementation from .NET in requests and depedencies collectors
- WEB: Support correlation-context in absence of Request-Id or traceparent
Version 2.11.0-beta1
- WEB: Add support for Event Counter collection.
- WEB: Support for Process CPU and Process Memory perf counters in all platforms including Linux.
- WEB: Azure Web App for Windows Containers to use regular PerfCounter mechanism.
- WEB: Experimental: Defer populating RequestTelemetry properties.
- WEB: Fix: Replaced non-threadsafe HashSet with ConcurrentDictionary in RequestTrackingTelemetryModule.IsHandlerToFilter
- WEB: SDL: Guard against malicious headers in quickpulse
Version 2.10.0
- WEB: Updated Base SDK to 2.10.0
Version 2.10.0-beta4
- WEB: Updated Base SDK to 2.10.0-beta4
Version 2.10.0-beta3
- WEB: Fix: QuickPulseTelemetryModule.Dispose should not throw if module was not initialized
- WEB: Added NetStandard2.0 Target for PerfCounter project.
- WEB: Added support for PerfCounters for .Net Core Apps in Windows.
- WEB: Updated Base SDK to 2.10.0-beta3
Version 2.10.0-beta2
- WEB: Updated Base SDK to 2.10.0-beta2
Version 2.9.1
- WEB: Updates Base SDK to version 2.9.1
Version 2.9.0
- WEB: Fix: remove unused reference to Microsoft.AspNet.TelemetryCorrelation package from DependencyCollector
- WEB: Move W3C support from DependencyCollector package to base SDK, deprecate W3C support in DependencyCollector
Version 2.9.0-beta3
- WEB: Update Base SDK to version 2.9.0-beta3
- WEB: Fix: Correlation doesn't work for localhost. If you are upgrading and have previously opted into legacy header injection via
DependencyTrackingTelemetryModule.EnableLegacyCorrelationHeadersInjection
and run app locally with Azure Storage Emulator, make sure you manually exclude localhost from correlation headers injection in theExcludeComponentCorrelationHttpHeadersOnDomains
underDependencyCollector
<Add>localhost</Add> <Add>127.0.0.1</Add>
- WEB: Fix: Non-default port is not included into the target for Http dependencies on .NET Core
- WEB: When Activity has root id compatible with W3C trace Id, use it as trace id
Version 2.9.0-beta1
- WEB: Prevent duplicate dependency collection in multi-host apps
- WEB: Fix missing transactions Sql dependencies
- WEB: Fix: Do not stop Activity in the Stop events, set end time instead
- WEB: Fix: Add appSrv_ResourceGroup field to heartbeat properties from App Service
- WEB: Add Azure Search dependency telemetry
- WEB: Fix: Sql dependency tracking broken in 2.8.0+. Dependency operation is not stopped and becomes parent of subsequent operations
- WEB: Fix: Wrong parentId reported on the SqlClient dependency on .NET Core
- WEB: Perf Fix - Replace TelemetryClient.Initialize() with TelemetryClient.InitializeInstrumentationKey() to avoid calling initializers more than once.
Version 2.8.0-beta2
- WEB: LiveMetrics (QuickPulse) TelemetryProcessor added automatically to the default ApplicationInsights.config are moved under the default telemetry sink. If you are upgrading, and have added/modified TelemetryProcessors, make sure to copy them to the default sink section.
- WEB: Microsoft.AspNet.TelemetryCorrelaiton package update to 1.0.4
- WEB: Add vmScaleSetName field to heartbeat properties collected by AzureInstanceMetadataTelemetryModule to allow navigation to right Azure VM Scale Set
- WEB: Allow users to ignore specific UnobservedTaskExceptions
Version 2.8.0-beta1
- WEB: Adds opt-in support for W3C distributed tracing standard
- WEB: Update Base SDK to version 2.8.0-beta1
Version 2.7.2
Version 2.7.0-beta4
Version 2.7.0-beta3
- WEB: Fix: SerializationException resolving Activity in cross app-domain calls
- WEB: Fix: Race condition in generic diagnostic source listener
Version 2.7.0-beta1
- WEB: Add operation details for HTTP and SQL operation to the dependency telemetry.
- WEB: Fix: Do not call base HandleErrorAttribute.OnException in MVC unhandled exception filter
- WEB: Send UserActionable event about correlation issue with HTTP request with body when .NET 4.7.1 is not installed
- WEB: Added support to collect Perf Counters for .NET Core Apps if running inside Azure WebApps
- WEB: Opt-in legacy correlation headers (x-ms-request-id and x-ms-request-root-id) extraction and injection
- WEB: Fix: Correlation is not working for POST requests when .NET 4.7.1 runtime is installed.
- WEB: Fix: Tracking mixed HTTP responses with and without content
Version 2.6.0-beta4
- WEB: 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.
- WEB: Update Microsoft.AspNet.TelemetryCorrelation package to 1.0.1: Fix endless loop when activity stack is broken
- WEB: Fix: Failed HTTP outgoing requests are not tracked on .NET Core
- WEB: Enable collection of Available Memory counter on Azure Web Apps
Version 2.6.0-beta3
- WEB: Ignore Deprecated events if running under netcore20
- WEB: Implement unhandled exception auto-tracking (500 requests) for MVC 5 and WebAPI 2 applications.
- WEB: Enable .NET Core platform in WindowsServer SDK. This enables the following modules in .NET Standard applications:
AzureInstanceMetadataTelemetryModule
(used in heartbeats)AzureWebAppRoleEnvironmentTelemetryInitializer
BuildInfoConfigComponentVersionTelemetryInitializer
DeveloperModeWithDebuggerAttachedTelemetryModule
UnobservedExceptionTelemetryModule
- WEB: Add default heartbeat properties for Azure App Services (web apps).
Version 2.6.0-beta2
- WEB: Added a max length restriction to values passed in through requests.
- WEB: Fix: Dependency Telemetry is not collected with DiagnosticSource when response does not have content.
- WEB: Expose Request-Context in Access-Control-Expose-Headers header, and that allows cross-component correlation between AJAX dependencies and server-side requests.
- WEB: Improve DependencyCollectorEventSource.Log.CurrentActivityIsNull
- WEB: A significant number of upgrades to our testing infrastructure.
- WEB: Add Azure Instance Metadata information to heartbeat properties in WindowsServer package (full framework only). Completes issue #666 from -dotnet repo
Version 2.5.0
Version 2.5.0-beta2
- WEB: Fix: When debugging netcoreapp2.0 in VS, http dependencies are tracked twice
- WEB: Fix: DependencyCollector check if exits before add
- WEB: Track requests and dependencies from ServiceBus .NET Client (Microsoft.Azure.ServiceBus 3.0.0
- WEB: Fix: REST API Request filter bug
- WEB: Fix: SyntheticUserAgentTelemetryInitializer null check
- WEB: Track dependencies from EventHubs .NET Client (Microsoft.Azure.EventHubs 1.1.0)
Project
- WEB: Moved common files to Shared projects
- WEB: Stabilizing QuickPulse tests
- WEB: Make local debug of DependencyCollector functional tests easier
- WEB: More DependencyCollector tests
- WEB: Increase max timeout for QuickPulse tests
- WEB: Increase tests codecoverage
- WEB: More DependencyCollector functional tests
Version 2.5.0-beta1
- WEB: Removed
net40
targets from all packages. Use the version 2.4 of SDK if your application is still compiled with the framework 4.0. - WEB: Adds ADO SQL dependency collection for SqlClient (System.Data.SqlClient) on .NET Core versions 1.0 and 2.0.
- WEB: /ping calls to Live Metrics Stream (aka QuickPulse) now contain the invariant version of the agent.
- WEB: Fix App Id Lookup bug
- WEB: Fix DiagnosticsListener should have safe OnNext
- WEB: Fix PerfCounterCollector module may go into endless loop (ASP.NET Core on Full Framework)
- WEB: Fix Start Timestamp is not set for Http dependency telemetry in dotnet core 2.0
- WEB: Support collecting non-HTTP dependency calls from 3rd party libraries
- WEB: Bugfix for CorrelationIdLookup NullRef Ex
- WEB: Added Test App for testing DependencyCollector on .NET Core 2.0
Project
- WEB: install.ps1 is now signed
- WEB: increase max allowed runtime of functional tests
- WEB: fix for "project system has encountered an error"
Version 2.4.1
Version 2.4.0
- WEB: Updated version of DiagnosticSource to 4.4.0
Version 2.4.0-beta5
- WEB: Updated version of DiagnosticSource referenced.
Version 2.4.0-beta4
- WEB: Bug fixes.
Version 2.4.0-beta3
- WEB: Exceptions statistics feature is not enabled by default
- WEB: Parse AppId from HTTP response headers when dependency collection is facilitated with Http Desktop DiagnosticSource
- WEB: Fix double correlation header injection with latest DiagnosticSource
- WEB:
DisableDiagnosticSourceInstrumentation
configuration flag was added toDependencyTrackingTelemetryModule
.- By default
DisableDiagnosticSourceInstrumentation
is set to false, this enables correlation of telemetry items and application map in multi-tier applications. - When
DisableDiagnosticSourceInstrumentation
is set to true (so that the instrumentation is off)- correlation between requests, dependencies, and other telemetry items is limited,
- telemetry correlation between multiple services involved in the operation processing is not possible,
- and the cross-component correlation feature and application map experience is limited.
- Note: this configuration option has no effect for applications that run in an Azure Web Application with the ApplicationInsights site extension or have runtime instrumentation.
- By default
- WEB: Fix memory leak in Dependency collector
Version 2.4.0-beta2
- WEB: Handle breaking changes from DiagnosticSource
- WEB: Exceptions statistics metrics uses
.Context.Operation.Name
instead of custom propertyoperationName
- WEB: Separate event source names for Web and Dependency Modules to fix the bug
- WEB: Fix DependencyCollector memory leak on netcoreapp1.1 and prior
Version 2.4.0-beta1
- WEB: Report status code for the dependencies failed with non-protocol issue like DNS resolution or SSL shakeup problems.
- WEB: Implemented automatic telemetry correlation: all telemetry reported within the scope of the request is correlated to RequestTelemetry reported for the request.
- WEB: Implemented Correlation HTTP protocol: default headers to pass Operation Root Id and Parent Id were changed. This version is backward compatible with previously supported headers.
- WEB: Implemented injection into the HTTP stack for .NET 4.6 to leverage DiagnosticSource to gain access to the WebRequest and WebResponse objects for header injections, without the need of using the profiler.
- WEB: Dependency to System.Diagnostics.DiagnosticsSource package is added for Web SDK on .NET 4.5.
- WEB: Improvements to exception statistics, e.g. 2 of each type of exception will be output via TrackException
- WEB: New
AspNetDiagnosticTelemetryModule
introduced for Web SDK on .NET 4.5, it consumes events from Microsoft.AspNet.TelemetryCorrelation package about incoming Http requests. - WEB: Dependency to Microsoft.AspNet.TelemetryCorrelation package is added for Web SDK on .NET 4.5.
- WEB: Report new performance counter \Process(??APP_WIN32_PROC??)% Processor Time Normalized that represents process CPU normalized by the processors count
Version 2.3.0
- WEB: Includes all changes since 2.2.0 stable release.
- WEB: Exception statistics feature introduced in beta version is removed.
Version 2.3.0-beta3
- WEB: Exception statistics improvements and other minor bug fixes. [Full list.] (https://github.com/Microsoft/ApplicationInsights-dotnet-server/milestone/19?closed=1)
- WEB: Cross Components Correlation ID changed from SHA(instrumentation key) to Application ID retrieved from http endpoint
api/profiles/{ikey}/appId
.
Version 2.3.0-beta2
- WEB: Automatic collection of first chance exceptions statistics. Use a query like this in Application Analytics to query for this statistics:
customMetrics | where timestamp > ago(5d) | where name == "Exceptions thrown" | extend type = tostring(customDimensions.type), method = tostring(customDimensions.method), operation = tostring(customDimensions.operation) | summarize sum(value), sum(valueCount) by type, method, operation
- WEB: Add dependency collection for System.Data.SqlClient.SqlConnection.Open and System.Data.SqlClient.SqlConnection.OpenAsync by Profiler instrumentation. Dependencies are sent only for failed connections.
- WEB: Top 5 CPU reporting for Live Metrics Stream (aka QuickPulse). QuickPulseTelemetryModule now reports the names and CPU consumption values of top 5 CPU consuming processes.
Version 2.3.0-beta1
- WEB: Added the ability to correlate http request made between different components represented by different application insights resources. This feeds into the improved application map experience.
Version 2.2.0
- WEB: Includes all changes since 2.1.0 stable release.
- WEB: Fixed issue with identifying which environment generated an event
Version 2.2.0-beta6
- WEB: Fixed redundant dependency items issue
- WEB: Fixed issue reporting CPU Metric
- WEB: Fixed source of web app instance identification
- WEB: Updated package references.
- WEB: DependencyCollection nuget package was updated to Agent.Intercept nuget version 2.0.6.
Version 2.2.0-beta4
- WEB:
DomainNameRoleInstanceTelemetryInitializer
is obsolete. Role instance is still populated with machine name as it was before. - WEB: New
AzureWebAppRoleEnvironmentTelemetryInitializer
telemetry initializer that populates role name and role instance name for Azure Web Apps. - WEB: Support of performance collection and live metrics for Azure Web Apps is enabled.
Version 2.2.0-beta3
- WEB: New property
DefaultCounters
inPerformanceCollectorModule
to control the list of standard counters that will be collected - WEB: Default performance counters will be reported as metrics
- WEB: When you instantiate
DependencyTrackingTelemetryModule
in code it will not detect certain http dependencies as Azure Storage calls. You need to register a telemetry initializerHttpDependenciesParsingTelemetryInitializer
to enable this functionality. This telemetry initializer will be registered automatically during NuGet installation. - WEB: DependencyCollection nuget package was updated to Agent.Intercept nuget version 2.0.5.
- WEB: The list of userAgent substrings that indicate that traffic is from a synthetic source was minimized for performance reasons. If you want to include more substrings please add them under SyntheticUserAgentTelemetryInitializer/Filters. (List of filters that were used before is saved as a comment in the configuration file)
- WEB: Added HTTP dependencies parsing support for Azure tables, queues, and services (.svc & .asmx).
- WEB: Added automatic collection of source component correlation id (instrumenation key hash) for incoming requests and target component correlation id for dependencies.
Version 2.2.0-beta2
- WEB: DependencyCollection nuget package was updated to Agent.Intercept nuget version 2.0.1. Agent.Intercept nuget was updated to EventSource.Redist version 1.1.28.
- WEB: SQL dependencies will have SQL error message being added to custom properties collection if application uses profiler instrumentation (either instrumented with StatusMonitor or just have StatusMonitor on the box with the app)
- WEB: Allow all characters in custom counters ReportAs property.
- WEB: QuickPulse (Live Metrics Stream) was updated to include Live Failures
Version 2.2.0-beta1
- WEB: ResultCode for successful Sql calls will be collected as 0 (before it was not sent).
- WEB: Fixed ResultCode sometimes not being collected for failed dependencies
- WEB: RequestTelemetry.UserAgent is collected automatically.
Version 2.1.0-beta4
- WEB: No code changes. Updated to Core 2.1-beta4.
Version 2.1.0-beta3
- WEB: Remove support for HTTP dependencies in .NET 4.5.2 (4.5.2 applications running on 4.5.2; 4.5.2 applications running on 4.6 are still supported) without Status Monitor on the box.
- WEB: Add http verb to dependency name collected by SDK without Status Monitor on the box
Version 2.1.0-beta2
- WEB: Http requests to LiveMetricsStream (Feature not surfaced in UI yet) backend were tracked as dependencies. They will be filtered out starting this version.
- WEB: There are no other changes
Version 2.1.0-beta1
- WEB: Upgraded to depend on EventSource.Redist nuget version 1.1.28
- WEB: Upgraded to depend on Microsoft.Bcl nuget version 1.1.10
- WEB: LiveMetricsStream feature is introduced (Not surfaced in UI yet)
Version 2.0.0
- WEB: Performance counter collection is no longer supported when running under IIS Express.
Version 2.0.0-rc1
Dependencies:
- WEB: Http dependency success is determined on the base of http status code. Before it was true if there was no exception. But when one uses HttpClient there is no exceptions so all dependencies were marked as successful. Also in case if response is not available status code was set to -1. Now now status code will be reported.
Version 2.0.0-beta4
Web:
- WEB: WebApps AlwaysOn requests with ResponseCode less than 400 will be filtered out.
- WEB: User agent and request handler filters can be configured. Previous behavior filtered out only a default set of request handlers and user agent strings,
now custom filters can be added to the ApplicationInsights.config file through the
TelemetryProcessors
section. Telemetry for requests with HttpContext.Current that matches these filters will not be sent. - WEB: If multiple simultaneous calls are made on a
SqlCommand
object, only one dependency is recorded. The second call will be failed immediately bySqlCommand
and will not be recorded as a dependency.
Version 2.0.0-beta3
Web:
- WEB: Use
OperationCorrelationTelemetryInitializer
instead ofOperationIdTelemetryInitializer
- WEB: User Agent and Client IP will not be collected by default. User Agent telemetry initializer was removed
- WEB:
DependencyTelemetry.Async
field will not be collected by dependency collector telemetry module - WEB: Static content and diagnostics requests will not be collected by request telemetry module. Use
HandlersToFilter
ofRequestTrackingTelemetryModule
collection to filter out requests generated by certain http handlers - WEB: Autogenerated request telemetry is accessible though HttpContext extension method: System.Web.HttpContextExtension.GetRequestTelemetry
Version 2.0.0-beta2
Web:
- WEB: RequestTelemetry.Name is not initialized any longer. RequestTelemetry.Context.Operaiton.Name will be used instead.
- WEB: Response code 401 is part of the normal authentication handshake and will result in a succesfull request.
WindowsServer
- WEB: DeviceTelemetryInitializer is not installed by default any more.
Version 2.0.0-beta1
Web:
- WEB: Added
Microsoft.ApplicationInsights.Web.AccountIdTelemetryInitializer
,Microsoft.ApplicationInsights.Web.AuthenticatedUserIdTelemetryInitializer
that initialize authenticated user context as set by Javascript SDK. - WEB: Added
Microsoft.ApplicationInsights.WindowsServer.TelemetryChannel.ITelemetryProcessor
and fixed-rate Sampling support as an implementation of it. - WEB: Added
Microsoft.ApplicationInsights.WindowsServer.TelemetryChannel.TelemetryChannelBuilder
that allows creation of aMicrosoft.ApplicationInsights.WindowsServer.TelemetryChannel.ServerTelemetryChannel
with a set ofMicrosoft.ApplicationInsights.WindowsServer.TelemetryChannel.ITelemetryProcessor
.
Version 1.2.0
Web:
- WEB: Telemetry initializers that do not have dependencies on ASP.NET libraries were moved to the new dependency nuget "Microsoft.ApplicationInsights.WindowsServer"
- WEB: Microsoft.ApplicationInsights.Web.dll was renamed on Microsoft.AI.Web.dll
- WEB: Microsoft.Web.TelemetryChannel nuget was renamed on Microsoft.WindowsServer.TelemetryChannel. TelemetryChannel assembly was also renamed.
- WEB: All namespaces that are part of Web SDK were changed to exlude "Extensibility" part. That incudes all telemetry initializers in applicationinsights.config and ApplicationInsightsWebTracking module in web.config.
Dependencies:
- WEB: Dependencies collected using runtime instrumentaiton agent (enabled via Status Monitor or Azure WebSite extension) will not be marked as asynchronous if there are no HttpContext.Current on the thread.
- WEB: Property
SamplingRatio
ofDependencyTrackingTelemetryModule
does nothing and marked as obsolete.
Performance Counters
- WEB: Microsoft.ApplicationInsights.Extensibility.PerfCounterCollector assembly was renamed on Microsoft.AI.PerfCounterCollector
WindowsServer
- WEB: First version of the package. The package has common logic that will be shared between Web and Non-Web Windows applications.
Version 1.0.0
Web:
- WEB: Moved telemetry initializers and telemetry modules from separate sub-namespaces to the root
Microsoft.ApplicationInsights.Extensibility.Web
namespace. - WEB: Removed "Web" prefix from names of telemetry initializers and telemetry modules because it is already included in the
Microsoft.ApplicationInsights.Extensibility.Web
namespace name. - WEB: Moved
DeviceContextInitializer
from theMicrosoft.ApplicationInsights
assembly to theMicrosoft.ApplicationInsights.Extensibility.Web
assembly and converted it to anITelemetryInitializer
.
Dependencies:
- WEB: Change namespace and assembly names from
Microsoft.ApplicationInsights.Extensibility.RuntimeTelemetry
toMicrosoft.ApplicationInsights.Extensibility.DependencyCollector
for consistency with the name of the NuGet package. - WEB: Rename
RemoteDependencyModule
toDependencyTrackingTelemetryModule
.
Performance Counters
- WEB: Rename 'CustomPerformanceCounterCollectionRequest' to 'PerformanceCounterCollectionRequest'.
Version 0.17
Web:
- WEB: Removed dependency to EventSource NuGet for the framework 4.5 applications.
- WEB: Anonymous User and Session cookies will not be generated on server side. Telemetry modules
WebSessionTrackingTelemetryModule
andWebUserTrackingTelemetryModule
are no longer supported and were removed from ApplicationInsights.config file. Cookies from JavaScript SDK will be respected. - WEB: Persistence channel optimized for high-load scenarios is used for web SDK. "Spiral of death" issue fixed. Spiral of death is a condition when spike in telemetry items count that greatly exceeds throttling limit on endpoint will lead to retry after certain time and will be throttled during retry again.
- WEB: Developer Mode is optimized for production. If left by mistake it will not cause as big overhead as before attempting to output additional information.
- WEB: Developer Mode by default will only be enabled when application is under debugger. You can override it using
DeveloperMode
property ofITelemetryChannel
interface.
Dependencies:
- WEB: Removed dependency to EventSource NuGet for the framework 4.5 applications.
Performance Counters
- WEB: Diagnostic messages pertaining to performance counter collection are now merged into a single unified message that is logged at application start-up. Detailed failure information is still available through PerfView.
Version 0.15
Web:
- WEB: Application Insights Web package now detects the traffic from Availability monitoring of Application Insights and marks it with specific
SyntheticSource
property.
Version 0.13
No release notes for older versions available.
Version 2.11.0
- LOGGING: Update Base SDK to 2.11.0
- LOGGING: Update System.Diagnostics.DiagnosticSource to 4.6.0.
Version 2.11.0-beta2
- LOGGING: Update Base SDK to version 2.11.0-beta2
- LOGGING: Update System.Diagnostics.DiagnosticSource to 4.6.0-preview7.
Version 2.11.0-beta1
- LOGGING: Update Base SDK to version 2.11.0-beta1
Version 2.10.0
- LOGGING: Update Base SDK to version 2.10.0
Version 2.10.0-beta4
- LOGGING: Update Base SDK to version 2.10.0-beta4
- LOGGING: ILogger - If an exception is passed to log, then Exception.Message is populated as ExceptionTelemetry.Message. If TrackExceptionsAsExceptionTelemetry is false, then Exception.Message is stored as custom property "ExceptionMessage"
Version 2.9.1
- LOGGING: Update Base SDK to version 2.9.1
Version 2.9.0
- LOGGING: Update Base SDK to version 2.9.0
Version 2.9.0-beta3
- LOGGING: Update Base SDK to version 2.9.0-beta3
- LOGGING: ILogger implementation for ApplicationInsights
- LOGGING: Update log4net reference to 2.0.7
Version 2.8.1
- LOGGING: Update BaseSdk reference to 2.8.1. See release notes for more information.
Version 2.7.2
- LOGGING: NLog can perform Layout of InstrumentationKey
- LOGGING: Upgrade
System.Diagnostics.DiagnosticSource
to version 4.5.0 - LOGGING: Event Source telemetry module: Microsoft-ApplicationInsights-Data id disabled by default to work around CLR bug
Version 2.6.4
- LOGGING: Log4Net new supports NetStandard 1.3!
- LOGGING: NLog Flush should include async delay
- LOGGING: NLog can include additional ContextProperties
- LOGGING: DiagnosticSourceTelemetryModule supports onEventWrittenHandler
- LOGGING: Fix: Prevent double telemetry if DiagnosticSourceTelemetryModule is initialized twice
Version 2.6.0-beta3
- LOGGING: NetStandard Support for TraceListener
- LOGGING: NetStandard Support for NLog and log4net
- LOGGING: NLog and log4net can Flush
- LOGGING: Update log4net reference to 2.0.6
Version 2.6.0-beta2
- LOGGING: Include NLog GlobalDiagnosticsContext properties
- LOGGING: Remove automatic collection of User Id
Version 2.5.0
- LOGGING: Update Application Insights API reference to 2.5.0
- LOGGING: Removed framework 4.0 support
- LOGGING: For EventSourceTelemetryModule, allows configuring disabled event sources. Drops the events to those in the list.
- LOGGING: Fix Deadlock over EventSourceTelemetryModule
- LOGGING: Extensibel payload handler
- LOGGING: Add ProviderName and ProviderGuid properties to TraceTelemetry
- LOGGING: Add support for disabledEventSourceNamePrefix configuration
- LOGGING: Fix ApplicationInsights TraceListener does not respect Flush
- LOGGING: Fix NullReferenceException in DiagnosticSourceListener
- LOGGING: Use InvariantCulture to convert property values
- LOGGING: Update NLog reference to 4.4.12
Version 2.4.0
- LOGGING: Update Application Insights API reference to [2.4.0]
Version 2.4.0-beta1/2
- LOGGING: Update Application Insights API reference to [2.4.0-beta3]
- LOGGING: Added support for logs from EventSource, ETW and Diagnostic Source.
Version 2.1.1
- LOGGING: Update NLog reference to 4.3.8
Version 2.1.0
- LOGGING: For NLog and Log4Net when exception is traced with a custom message, custom message is added to the properties collection and reported to ApplicationInsights.
- LOGGING: Update Application Insights API reference to 2.1.0
- LOGGING: Update NLog reference to 4.3.5
Version 2.0.0
- LOGGING: Update Application Insights API reference to 2.0.0
- LOGGING: Update NLog reference to 4.2.3
- LOGGING: Update Log4Net reference to 2.0.5 (1.2.15)
- LOGGING: NLog: support Layout
Version 1.2.6
- LOGGING: Bug fixes
- LOGGING: log4Net: Collect log4net properties as custom properties. UserName is not a custom property any more (It is collected as telemetry.Context.User.Id). Timestamp is not a custom property any more.
- LOGGING: NLog: Collect NLog properties as custom properties. SequenceID is not a custom property any more (It is collected as telemetry.Sequence). Timestamp is not a custom property any more.
Version 1.2.5
- LOGGING: First open source version: References Application Insights API version 1.2.3 or higher.
Version 2.8.2
- NETCORE: Updated Web SDK to 2.11.2
Version 2.8.1
- NETCORE: Updated Web SDK to 2.11.1
Version 2.8.0
- NETCORE: Updated Base SDK/Web SDK/Logging Adaptor SDK to 2.11.0
- NETCORE: Updated System.Diagnostics.DiagnosticSource to 4.6.0
Version 2.8.0-beta3
-
NETCORE: Make W3C Correlation default and leverage native W3C support from Activity.
-
NETCORE: Make W3C Correlation default and leverage native W3C support from Activity for Asp.Net Core 3.0.
-
NETCORE: Fix: Azure Functions performance degradation when W3C enabled.
-
NETCORE: Support correlation-context in absence of request-id or traceparent.
-
NETCORE: Fix: System.NullReferenceException in WebSessionTelemetryInitializer.
-
NETCORE: Updated Base SDK/Web SDK/Logging Adaptor SDK version dependency to 2.11.0-beta2
-
NETCORE: Updated System.Diagnostics.DiagnosticSource to 4.6.0-preview8.
-
NETCORE: Add new package for .NET Core WorkerServices (Adds GenericHost support)
Version 2.8.0-beta2
- NETCORE: Fix MVCBeforeAction property fetcher to work with .NET Core 3.0 changes.
- NETCORE: Catch generic exception from DiagnosticSourceListeners and log instead of failing user request.
- NETCORE: Correct names for Asp.Net Core EventCounters.
- NETCORE: Obsolete extension methods on IWebHostBuilder in favor of AddApplicationInsights extension method on IServiceCollection.
- NETCORE: Remove support for deprecated x-ms based correlation headers.
- NETCORE: Uri for multiple hosts headers is set to "Multiple-Host".
- NETCORE: LogLevel changed to Error and stack trace added for generic unknown exception within SDK.
Version 2.8.0-beta1
- NETCORE: Add EventCounter collection.
- NETCORE: Performance fixes: One DiagSource Listener; Head Sampling Feature; No Concurrent Dictionary; etc...
- NETCORE: Fix: Add
IJavaScriptSnippet
service interface and update theIServiceCollection
extension to register it forJavaScriptSnippet
. - NETCORE: Make JavaScriptEncoder optional and Fallback to JavaScriptEncoder.Default.
- NETCORE: Updated Web/Base SDK version dependency to 2.10.0-beta4
- NETCORE: Updated Microsoft.Extensions.Logging.ApplicationInsights to 2.10.0-beta4
Version 2.7.1
Version 2.7.0
- NETCORE: Updated Web/Base SDK version dependency to 2.10.0
- NETCORE: Remove unused reference to System.Net.Http
Version 2.7.0-beta4
- NETCORE: RequestTrackingTelemetryModule is modified to stop tracking exceptions by default, as exceptions are captured by ApplicationInsightsLoggerProvider.
- NETCORE: Updated Web/Base SDK version dependency to 2.10.0-beta4
- NETCORE: Updated Microsoft.Extensions.Logging.ApplicationInsights to 2.10.0-beta4
- NETCORE: Reliability improvements with additional exception handling.
Version 2.7.0-beta3
- NETCORE: Enables Microsoft.Extensions.Logging.ApplicationInsights.ApplicationInsightsLoggerProvider by default. If ApplicationInsightsLoggerProvider was enabled previously using ILoggerFactory extension method, please remove it to prevent duplicate logs.
- NETCORE: Remove reference to Microsoft.Extensions.DiagnosticAdapter and use DiagnosticSource subscription APIs directly
- NETCORE: Fix: NullReferenceException in ApplicationInsightsLogger.Log when exception contains a Data entry with a null value
- NETCORE: Performance fixes for GetUri, SetKeyHeaderValue, ConcurrentDictionary use and Telemetry Initializers
Version 2.7.0-beta2
- NETCORE: Added NetStandard2.0 target.
- NETCORE: Updated Web/Base SDK version dependency to 2.10.0-beta2
Version 2.6.1
- NETCORE: Updated Web/Base SDK version dependency to 2.9.1
Version 2.6.0
- NETCORE: Updated Web/Base SDK version dependency to 2.9.0
- NETCORE: Fix: TypeInitializationException when Microsoft.AspNetCore.Hosting and Microsoft.AspNetCore.Hosting.Abstractions versions do not match
Version 2.6.0-beta3
- NETCORE: Updated Web/Base SDK version dependency to 2.9.0-beta3
- NETCORE: Deprecate ApplicationInsightsLoggerFactoryExtensions.AddApplicationInsights logging extensions in favor of Microsoft.Extensions.Logging.ApplicationInsights package
- NETCORE: Fix: Do not track requests by each host in the process
- NETCORE: Fix: Correlation doesn't work for localhost
Version 2.6.0-beta2
- NETCORE: Updated Web/Base SDK version dependency to 2.9.0-beta2
Version 2.6.0-beta1
- NETCORE: Updated Web/Base SDK version dependency to 2.9.0-beta1
Version 2.5.1
- NETCORE: Update Web/Base SDK version dependency to 2.8.1
Version 2.5.0
- NETCORE: Traces logged via ILogger is marked with SDK version prefix ilc (.net core) or ilf (.net framework).
- NETCORE: Update Web/Base SDK version dependency to 2.8.0
Version 2.5.0-beta2
- NETCORE: ComVisible attribute is set to false for the project for compliance reasons.
- NETCORE: Log exception.Data properties as additional telemetry data
- NETCORE: Update Web/Base SDK version dependency to 2.8.0-beta2 Applicable if using additional Sinks to forward telemetry to:
- NETCORE: Default TelemetryProcessors are added to the DefaultSink instead of common TelemetryProcessor pipeline.
- NETCORE: TelemetryProcessors added via AddTelemetryProcesor extension method are added to the DefaultSink instead of common TelemetryProcessor pipeline.
Version 2.5.0-beta1
- NETCORE: Adds opt-in support for W3C distributed tracing standard
- NETCORE: Updated Web/Base SDK version dependency to 2.8.0-beta1
Version 2.4.1
- NETCORE: 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
- NETCORE: Updated Web/Base SDK version dependency to 2.7.1
Version 2.4.0-beta4
- NETCORE: Generate W3C compatible operation Id when there is no parent operation
- NETCORE: Updated Web/Base SDK version dependency to 2.7.0-beta4
Version 2.4.0-beta3
- NETCORE: Allow configuring exception tracking in RequestTrackingTelemetryModule and merge OperationCorrelationTelemetryInitializer with RequestTrackingTelemetryModule
- NETCORE: Allow disabling response headers injection
- NETCORE: Updated Web/Base SDK version dependency to 2.7.0-beta3
- NETCORE: The above referenced base SDK contains fix for leaky HttpConnections. (https://github.com/Microsoft/ApplicationInsights-aspnetcore/issues/690)
Version 2.4.0-beta2
- NETCORE: Updated Web/Base SDK version dependency to 2.7.0-beta2
Version 2.4.0-beta1
- NETCORE: Updated Web/Base SDK version dependency to 2.7.0-beta1
- NETCORE: Enables Performance Counters for Asp.Net Core Apps running in Azure Web Apps. (https://github.com/Microsoft/ApplicationInsights-dotnet-server/issues/889)
- NETCORE: Added null check on ContentRootPath of the hostingenvironment. (https://github.com/Microsoft/ApplicationInsights-aspnetcore/issues/696)
Version 2.3.0
- NETCORE: [Fix a bug which caused Requests to fail when Hostname was empty.] (https://github.com/Microsoft/ApplicationInsights-aspnetcore/issues/278)
- NETCORE: Fix reading of instrumentation key from appsettings.json file when using AddApplicationInsightsTelemetry() extension to add ApplicationInsights
- NETCORE: Bring back DomainNameRoleInstanceTelemetryInitializer without which NodeName and RoleInstance will be empty in Ubuntu
- NETCORE: RequestTelemetry is no longer populated with HttpMethod which is obsolete.
- NETCORE: Fixed a bug which caused AutoCollectedMetricExtractor flag to be always true.
- NETCORE: Updated Web/Base SDK version dependency to 2.6.4
Version 2.3.0-beta2
- NETCORE: Update System.Net.Http version referred to 4.3.2 as older version has known security vulnerability.
- NETCORE: Added ApplicationInsightsServiceOptions flag to turn off AutoCollectedMetricExtractor.
- NETCORE: Added two AdaptiveSamplingTelemetryProcessors one for Event and one for non Event types to be consistent with default Web SDK behaviour.
- NETCORE: RequestCollection is refactored to be implemented as an ITelemetryModule. This makes it possible to configure it like every other auto-collection modules.
- NETCORE: Fixed race condition on dispose to close #651
- NETCORE: Removed DomainNameRoleInstanceTelemetryInitializer as it is deprecated.
- NETCORE: Reuse AzureWebAppRoleEnvironmentTelemetryInitializer from WindowsServer repo instead of outdated implementation in this repo.
- NETCORE: Updated Web/Base SDK version dependency to 2.6.0-beta4
Version 2.3.0-beta1
- NETCORE: 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 - NETCORE: Updated Javascript Snippet with latest from Github/ApplicationInsights-JS
- NETCORE: Make all built-in TelemetryInitializers public to allow easy removal from DI Container.
- NETCORE: Enforced limits of values read from incoming http requests to prevent security vulnerability
- NETCORE: ApplicationInsightsLogger adds EventId into telemetry properties. It is off by default for compatibility. It can be switched on by configuring ApplicationInsightsLoggerOptions.
- NETCORE: [ApplicationInsightsLogger logs exceptions as ExceptionTelemetry by default. This can now be configured with ApplicationInsightsLoggerOptions.TrackExceptionsAsExceptionTelemetry] (https://github.com/Microsoft/ApplicationInsights-aspnetcore/pull/574)
- NETCORE: Add App Services and Azure Instance Metedata heartbeat provider modules by default, allow user to disable via configuration object.
- NETCORE: Added extension method to allow configuration of any Telemetry Module.
- NETCORE: Added ability to remove any default Telemetry Module.
- NETCORE: TelemetryChannel is configured via DI, making it easier to override channel
- NETCORE: Fixed a bug which caused QuickPulse and Sampling to be enabled only if ServerTelemetryChannel was used
- NETCORE: [QuickPulseTelemetryModule is constructed via DI, make it possible for users to configure it.] (https://github.com/Microsoft/ApplicationInsights-aspnetcore/issues/639)
- NETCORE: 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.
- NETCORE: AutocollectedMetricsExtractor is added by default to the TelemetryConfiguration
- NETCORE: Updated Web/Base SDK version dependency to 2.6.0-beta3
Version 2.2.1
- NETCORE: Updated Web/Base SDK version dependency to 2.5.1 which addresses a bug.
Version 2.2.0
- NETCORE: Updated Web/Base SDK version dependency to 2.5.0
Version 2.2.0-beta3
- NETCORE: Updated Web/Base SDK version dependency to 2.5.0-beta2.
- NETCORE: 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
- NETCORE: 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
- NETCORE: Project is upgraded to work with Visual Studio 2017. Also projects are modified to use csproj instead of project.json.
- NETCORE: Adaptive sampling enabled for both - full framework and .NET Core applications.
- NETCORE: ServerTelemetryChannel is enabled and set as default channel for both - full framework and .NET Core applications.
- NETCORE: Live metrics collection is enabled by default for .NET Core applications (was already enabled for full .NET applications).
- NETCORE: Updated Web/Base SDK version dependency to 2.5.0-beta1.
- NETCORE: DependencyCollector referred from 2.5.0-beta1 supports collecting SQL dependency calls in .NET Core Applications using EntityFramework.
Version 2.1.1
- NETCORE: Address the issue where DependencyCollection breaks Azure Storage Emulator calls
- NETCORE: Support setting request operation name based on executing Razor Page
- NETCORE: Fixed ITelemetryProcessor dependency injection failure when using 3rd party IoC Container
- NETCORE: Logging exceptions when using ILogger if an exception is present
- NETCORE: Syncronize access to HttpContext properties
- NETCORE: Updated SDK version dependency to 2.4.1 for DependencyCollector.
Version 2.1.0
- NETCORE: Updated SDK version dependency to 2.4.0.
- NETCORE: Fixed a minor logging message issue.
- NETCORE: Fixed unit test reliability issues.
Version 2.1.0-beta6
- NETCORE: Updated SDK version dependency to 2.4.0-beta5.
Version 2.1.0-beta5
- NETCORE: Added support for adding telemetry processors through dependency injection; see #344, #445, #447
- NETCORE: Added support for environment specifc appsettings under default configuration
- NETCORE: Updated SDK version dependency to 2.4.0-beta4.
Version 2.1.0-beta4
- NETCORE: Made package meta-data URLs use HTTPS
- NETCORE: Updated SDK version dependency to 2.4.0-beta3.
Version 2.1.0-beta3
- NETCORE: Removed the use of Platform Abstractions
- NETCORE: Correlation header injection disabled for standard Azure storage calls
- NETCORE: Made UseApplicationInsights and AddApplicationInsightsTelemetry calls idempotent
Version 2.1.0-beta2
- NETCORE: Updated to use the new correlation headers and changed the correlationId to use appId instead of hashed ikey to match other SDKs.
- NETCORE: Fixed null reference exception for unitialized ILogger.
- NETCORE: Unit test bug fixes.
- NETCORE: Upgraded NETStandard.Library dependency to 1.6.1.
- NETCORE: Updated to reference base SDK 2.4.0-beta2.
- NETCORE: Included Microsoft.ApplicationInsights.DependencyCollector for .NET Core.
Version 2.1.0-beta1
- NETCORE: Bug fixes
- NETCORE: Removed UserAgentTelemetryInitializer and associated tests.
- NETCORE: Added instrumentation key header
- NETCORE: Added OperationCorrelationTelemetryInitializer
- NETCORE: Set Id instead of OperationId for request dependency correlation
- NETCORE: Set Id in thread-safe location
- NETCORE: Updated SDK version dependency to 2.3.0-beta3.
Version 2.0.0
- NETCORE: Added a configuration overload for AddApplicationInsightsTelemetry.
- NETCORE: Updated test projects to reference .NET Core 1.1.0.
- NETCORE: Fixed debug trace logging issue
- NETCORE: Stopped logging extra debug traces to AI
- NETCORE: JS snippet is empty if telemetry is disabled
- NETCORE: Added an initializer to provide the environment name as a custom property
- NETCORE: Added an option to emit JS to track authenticated users
- NETCORE: Minor bug fixes and cleanup.
Version 2.0.0-beta1
- NETCORE: This release contains a rewrite of the SDK internals for better .NET Core integration and initialization.
- NETCORE: 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.
- NETCORE: 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
- NETCORE: and insert the following line before the closing
</head>
tag:
@Html.Raw(snippet.FullScript)
Version 1.0.3-beta1
- NETCORE: New
AzureWebAppRoleEnvironmentTelemetryInitializer
telemetry initializer that populates role name and role instance name for Azure Web Apps.
Version 1.0.2
- NETCORE: Marked code analysis packages as only for build and not NuGet package dependencies.
Version 1.0.1
- NETCORE: Added code analysis packages.
- NETCORE: Updated JavaScript snippet.
- NETCORE: Updated project link and added privacy statement link.
- NETCORE: Added culture to string operations.
- NETCORE: Switched TelemetryClient service registration to Singleton.
- NETCORE: Added after build target to patch XML doc files with language attribute.
- NETCORE: Updated .NET Core references to 1.0.1.
Version 1.0.0
- NETCORE: Stable 1.0.0 release.
- NETCORE: Supports .NET framework and .NET Core.
Features:
- NETCORE: request tracking
- NETCORE: exception tracking
- NETCORE: diagnostic tracing
- NETCORE: dependency collection (.NET framework only)
- NETCORE: performance counter collection (.NET framework only)
- NETCORE: adaptive sampling (.NET framework only)
- NETCORE: telemetry processors (.NET framework only)
- NETCORE: metrics stream (.NET framework only)
Depends on:
- NETCORE: Application Insights Core 2.1.0 SDK
- NETCORE: AI Dependency Collector (.NET framework only)
- NETCORE: AI Performance Counter Collector (.NET framework only)
- NETCORE: 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:
- NETCORE: Renaming: Microsoft.ApplicationInsights.AspNet is changed to Microsoft.ApplicationInsights.AspNetCore
- NETCORE: Runtime: Supports .NET Core CLI runtime. Does not support DNX runtime and the associated RC1 bits.
- NETCORE: Supports ASP.NET Core on .NET Core and the .NET Framework
- NETCORE: Dependencies are updated to the latest RC2 bits.
- NETCORE: Metrics Stream functionality is enabled by default in .NET Framework
- NETCORE: Install from https://www.nuget.org/packages/Microsoft.ApplicationInsights.AspNetCore
Version 1.0.0-rc1-update4
- NETCORE: Windows Server Telemetry Channel is enabled in full framework to send telemetry, and it uses Microsoft.ApplicationInsights.WindowsServer.TelemetryChannel, version: 2.1.0-beta3
- NETCORE: Diagnostic tracing using EventSource is enabled
- NETCORE: TelemetryConfiguration.Active is used as the default telemetry configuration
- NETCORE: Adaptive Sampling by default is enabled in full framework
- NETCORE: Using telemetry processors is enabled in full framework
- NETCORE: ApplicationInsightsServiceOptions is available to configure default adaptive sampling behavior
- NETCORE: ComponentVersionTelemetryInitializer is added, that reads the application version from project.json and assigns it to telemetry.Context.Component.Version
- NETCORE: All Microsoft.ApplicationInsights.* dependencies are updated to the latest version (2.1.0-beta3)
Version 1.0.0-rc1-update3
- NETCORE: Update Application Insights Core dependency (Microsoft.ApplicationInsights) to the latest stable version (2.0.0).
Version 1.0.0-rc1-update2
- NETCORE: Fix the dependencies of previously published NuGet package (v1.0.0-rc1-update1)
Version 1.0.0-rc1-update1
- NETCORE: Support the latest version of Application Insights core sdk (2.0.0-beta4 or greater)
- NETCORE: Support dependency and performance counter collection in full framework (dnx 4.5.1)
Version 1.0.0-rc1
- NETCORE: Support ASP.Net 5 RC1 release.
- NETCORE: Binaries are now strong name signed.
Version 1.0.0-beta8
- NETCORE: Support Asp.Net 5 beta8
Version 1.0.0-beta7
- NETCORE: Support ASP.Net5 Beta7
- NETCORE: Minor bug fixes
Version 1.0.0-beta6
- NETCORE: Support ASP.Net 5 Beta6
- NETCORE: Updates to build infrastructure
- NETCORE: Switch to 1.1 version of Microsoft.ApplicationInsights API
Version 1.0.0-beta5
- NETCORE: Support ASP.Net 5 Beta5
- NETCORE: Minor bug fixes
- NETCORE: Switch to 0.17 version of Microsoft.ApplicationInsights API
Version 0.32.0-beta4
- NETCORE: Support dnxcore50 applications
- NETCORE: Change integration points with Visual Studio
- NETCORE: Minor bug fixes
- NETCORE: Switch to 0.16 version of Microsoft.ApplicationInsights API
Version 0.31.0-beta4
- NETCORE: Fixed references to ASP.NET runtime packages.
Version 0.30.0.1-beta
- NETCORE: Preview version of Application Insights. Supports only full framework. Will compile for core framework, but no events will be sent.