Skip to content

Remove beta OpenTelemetry.Resources.Azure package and use vendored implementation#3095

Merged
rajkumar-rangaraj merged 2 commits intomainfrom
rajrang/wireUpVendoredCode
Jan 29, 2026
Merged

Remove beta OpenTelemetry.Resources.Azure package and use vendored implementation#3095
rajkumar-rangaraj merged 2 commits intomainfrom
rajrang/wireUpVendoredCode

Conversation

@rajkumar-rangaraj
Copy link
Member

No description provided.

Copilot AI review requested due to automatic review settings January 29, 2026 17:55
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR removes the beta OpenTelemetry.Resources.Azure package (v1.15.0-beta.1) and replaces it with a vendored implementation to avoid dependency on beta packages.

Changes:

  • Removed OpenTelemetry.Resources.Azure package reference from all consuming projects
  • Vendored 10 resource detector files to NETCORE/src/Shared/Vendoring/OpenTelemetry.Resources.Azure with updated namespace
  • Updated imports in ApplicationInsightsExtensions files to use the new vendored namespace

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated no comments.

Show a summary per file
File Description
Directory.Packages.props Removed OpenTelemetry.Resources.Azure v1.15.0-beta.1 package version definition
WEB/Src/Web/Web/Web.csproj Removed package reference, added 10 vendored file references
WEB/Src/Web/Web/Extensions/ApplicationInsightsExtensions.cs Added import for vendored namespace
NETCORE/src/Microsoft.ApplicationInsights.AspNetCore/Microsoft.ApplicationInsights.AspNetCore.csproj Removed package reference (vendored files included via Shared.projitems)
NETCORE/src/Microsoft.ApplicationInsights.AspNetCore/Extensions/ApplicationInsightsExtensions.cs Added import for vendored namespace
NETCORE/src/Microsoft.ApplicationInsights.WorkerService/Microsoft.ApplicationInsights.WorkerService.csproj Removed package reference (vendored files included via Shared.projitems)
NETCORE/src/Microsoft.ApplicationInsights.WorkerService/ApplicationInsightsExtensions.cs Added import for vendored namespace
CHANGELOG.md Updated to document vendoring of OpenTelemetry.Resources.Azure and removal of package reference

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@rajkumar-rangaraj rajkumar-rangaraj merged commit 0f95528 into main Jan 29, 2026
18 checks passed
@rajkumar-rangaraj rajkumar-rangaraj deleted the rajrang/wireUpVendoredCode branch January 29, 2026 19:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants