Skip to content

Re-apply OTel changes from PR #53181 and revert S.CL version#53816

Closed
MiYanni wants to merge 3 commits intodotnet:mainfrom
MiYanni:OtelSCLRevert
Closed

Re-apply OTel changes from PR #53181 and revert S.CL version#53816
MiYanni wants to merge 3 commits intodotnet:mainfrom
MiYanni:OtelSCLRevert

Conversation

@MiYanni
Copy link
Copy Markdown
Member

@MiYanni MiYanni commented Apr 10, 2026

This re-applies the OpenTelemetry telemetry changes that were reverted in PR #53788, without re-applying the xUnit v3 migration (PR #52930). Additionally, reverts the System.CommandLine version as to allow the dotnet CLI to function properly (as seen in test failures using the new package version).

Key changes:

  • Replace ApplicationInsights with OpenTelemetry for telemetry
  • Add ITelemetryClient interface replacing ITelemetry
  • Add TelemetryClient implementation using OTel
  • Update ITelemetryFilter to use typed overloads instead of object parameter
  • Update TelemetryFilter with new Filter implementations
  • Remove ApplicationInsights NuGet dependency
  • Add OpenTelemetry NuGet packages
  • Delete PersistenceChannel telemetry infrastructure (no longer needed)
  • Delete PerformanceLog infrastructure (replaced by OTel)
  • Move test files to TelemetryTests subfolder
  • Various nullable annotation improvements

Co-authored-by: Copilot 223556219+Copilot@users.noreply.github.com

Co-authored-by: MiYanni 17788297+MiYanni@users.noreply.github.com

Copilot AI and others added 3 commits April 10, 2026 07:22
This re-applies the OpenTelemetry telemetry changes that were reverted
in PR dotnet#53788, without re-applying the xUnit v3 migration (PR dotnet#52930).

Key changes:
- Replace ApplicationInsights with OpenTelemetry for telemetry
- Add ITelemetryClient interface replacing ITelemetry
- Add TelemetryClient implementation using OTel
- Update ITelemetryFilter to use typed overloads instead of object parameter
- Update TelemetryFilter with new Filter implementations
- Remove ApplicationInsights NuGet dependency
- Add OpenTelemetry NuGet packages
- Delete PersistenceChannel telemetry infrastructure (no longer needed)
- Delete PerformanceLog infrastructure (replaced by OTel)
- Move test files to TelemetryTests subfolder
- Various nullable annotation improvements

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Co-authored-by: MiYanni <17788297+MiYanni@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Co-authored-by: MiYanni <17788297+MiYanni@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants