Skip to content

Conversation

@YuliiaKovalova
Copy link
Member

@YuliiaKovalova YuliiaKovalova commented Nov 27, 2025

Summary

This PR replaces the VS OpenTelemetry-based telemetry infrastructure with the simpler Microsoft.VisualStudio.Telemetry package, simplifying the telemetry implementation while maintaining the ability to collect build telemetry in Visual Studio scenarios.

Motivation

The VS OpenTelemetry integration introduced dependencies on many packages and made VS perf sad.

Notes

Telemetry collection relies on VS telemetry state - if it's enabled there, we collect data in msbuild.exe too

@YuliiaKovalova
Copy link
Member Author

@JanProvaznik please take a look if i didn't remove something extra

Copy link
Member

@JanProvaznik JanProvaznik left a comment

Choose a reason for hiding this comment

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

it removes some reusability of behavior between framework and core

@YuliiaKovalova YuliiaKovalova force-pushed the dev/ykovalova/telemetry_spike branch from af884cf to 79f1712 Compare December 4, 2025 14:51
@YuliiaKovalova YuliiaKovalova changed the title VS Telemetry Replace VS OpenTelemetry with Microsoft.VisualStudio.Telemetry Dec 4, 2025
@YuliiaKovalova YuliiaKovalova force-pushed the dev/ykovalova/telemetry_spike branch from 7b133a5 to 7ca2245 Compare December 9, 2025 16:14
@YuliiaKovalova YuliiaKovalova changed the title Replace VS OpenTelemetry with Microsoft.VisualStudio.Telemetry Replace OpenTelemetry with Microsoft.VisualStudio.Telemetry for VS Dec 10, 2025
Copy link
Member

@JanProvaznik JanProvaznik left a comment

Choose a reason for hiding this comment

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

changes look good, please write down the scenarios you manually tested in the pr description so we have written down what this PR achieves and attest that experimental insertion succeeds in terms of perf ddrits (what I did for opentelemetry implementation was an experimental insertion that also flipped the feature to be always on and looked at perf ddrits)

@YuliiaKovalova YuliiaKovalova changed the title Replace OpenTelemetry with Microsoft.VisualStudio.Telemetry for VS [DO NOT MERGE] Replace OpenTelemetry with Microsoft.VisualStudio.Telemetry for VS Dec 10, 2025
@YuliiaKovalova YuliiaKovalova force-pushed the dev/ykovalova/telemetry_spike branch from 8da8f95 to 924c0a3 Compare January 2, 2026 17:26
@YuliiaKovalova YuliiaKovalova force-pushed the dev/ykovalova/telemetry_spike branch from a9235f1 to 4e6d0b3 Compare January 6, 2026 12:13
@YuliiaKovalova YuliiaKovalova changed the title [DO NOT MERGE] Replace OpenTelemetry with Microsoft.VisualStudio.Telemetry for VS Replace OpenTelemetry with Microsoft.VisualStudio.Telemetry for VS Jan 7, 2026
@YuliiaKovalova YuliiaKovalova merged commit 3d8dd2e into main Jan 7, 2026
10 checks passed
@YuliiaKovalova YuliiaKovalova deleted the dev/ykovalova/telemetry_spike branch January 7, 2026 08:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants