chore: Bump Microsoft.ApplicationInsights from 2.22.0 to 3.1.2#56
Closed
dependabot[bot] wants to merge 1 commit into
Closed
chore: Bump Microsoft.ApplicationInsights from 2.22.0 to 3.1.2#56dependabot[bot] wants to merge 1 commit into
dependabot[bot] wants to merge 1 commit into
Conversation
Contributor
Author
LabelsThe following labels could not be found: Please fix the above issues or remove invalid values from |
This was referenced Jun 29, 2026
Owner
|
Holding this for now. ApplicationInsights 3.x is a breaking rewrite — it removes |
--- updated-dependencies: - dependency-name: Microsoft.ApplicationInsights dependency-version: 3.1.2 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
0995935 to
0700c3a
Compare
Contributor
Author
|
Superseded by #67. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updated Microsoft.ApplicationInsights from 2.22.0 to 3.1.2.
Release notes
Sourced from Microsoft.ApplicationInsights's releases.
3.1.2
Version 3.1.2
HttpException: Request is not available in this contextin the WEB package when callingTrackDependencyfromApplication_Startin classic ASP.NET. The WEB activity processors now safely handle the case whereHttpContext.Requestis not yet available.TelemetryConfiguration.CreateDefault()on classic ASP.NET now returns a configuration already populated fromApplicationInsights.config(connection string, sampling, storage, live metrics, request/dependency tracking, etc.). A newPreApplicationStartMethod(WebApplicationInsightsInitializer) materializes and populates the singleton beforeApplication_Startruns, so customer code callingTelemetryConfiguration.CreateDefault()fromGlobal.asax.csno longer gets an empty configuration. TheApplicationInsightsHttpModuleno longer carries the config-reading bookkeeping.TelemetryConfiguration.PrependOpenTelemetryBuilderConfigurationno longer throws if the configuration was already built — it silently skips, so a secondTelemetryClientconstructed against an already-built configuration no longer throwsInvalidOperationException.3.1.1
Version 3.1.1
OpenTelemetry.Api1.15.1): Update OpenTelemetry and Azure Monitor packages to address vulnerabilities microsoft/ApplicationInsights-dotnet#31743.1.0
Version 3.1.0
TelemetryContextproperties public and propagate them viaTelemetryClient.APPLICATIONINSIGHTS_CONNECTION_STRINGenvironment variable for Base, Web, and NLog packages when connection string is not set via code.OTEL_SDK_DISABLEDnot being honored whenTelemetryConfiguration.DisableTelemetryis set in DI scenarios., #3157TrackAvailabilityignoring user-specifiedTimestamponAvailabilityTelemetry. The timestamp is now emitted asmicrosoft.availability.testTimestampso downstream exporters can use the correct event time.netstandard2.0target framework toMicrosoft.ApplicationInsightspackage to support customers with shared libraries targeting netstandard2.0.TelemetryClient.Context.Cloud.RoleNameset after construction now applies to all telemetry.NullReferenceExceptioninTelemetryClient.Flush()andFlushAsync()when called from DI scenariosApplicationVersionignored:ApplicationInsightsServiceOptions.ApplicationVersionis now applied asservice.versionon the OpenTelemetry Resource for both AspNetCore and WorkerService packagesHttpRequestExtensions.UnvalidatedGetHeaderalways returning empty string instead of the actual header value. Restored max-length enforcement to guard against oversized header values.3.0.0
netstandard2.0withnet8.0target framework inMicrosoft.ApplicationInsights.NLogTargetpackage.3.0.0-rc1
netstandard2.0target framework fromMicrosoft.ApplicationInsights,Microsoft.ApplicationInsights.AspNetCore, andMicrosoft.ApplicationInsights.WorkerServicepackages.Microsoft.ApplicationInsights.AspNetCorehas been updated to version 10.EnabledAdaptiveSamplingand replaced withTracesPerSecondandSamplingRatioEnableTraceBasedLogsSamplerproperty toApplicationInsightsServiceOptionsfor ASP.NET Core and WorkerService packagesStorageDirectoryandDisableOfflineStoragefromTelemetryConfigurationin DI scenarios3.0.0-beta2
Added
Bug fix
3.0.0-beta1
2.23.0
2.23.0-beta1
Commits viewable in compare view.