-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Propose/Design the way of referencing/using VS OTel #10947
Comments
Inspiration provided by @baronfel: https://github.com/baronfel/otel-startup-hook |
2 possible paths:
@rainersigwald @baronfel thoughts? |
Proposal that we've been putting together with @JanProvaznik: We'll instrument only leveraging System.Diagnostic primitives, plus add minimal pluggability - creating no bariers for SourceBuild nor for consuming the data via exporter of choice.
|
@JanProvaznik HAHA - we've nicely jinxed on this 😄 |
Summary from discussion:
We can proceed to implementation
|
As for .NET Fx hooking - we might try to leverage |
Thanks, I investigated this and found it quite clunky. |
State of the investigation: |
Motivation
VS OTel collector and extensions require dependencies that are currently only VS specific (Microsoft.VisualStudio.OpenTelemetry.ClientExtensions, Microsoft.VisualStudio.OpenTelemetry.Collector). We need to start collector ourselves if we want to collect data from standalone process (msbuild.exe run).
Additionaly - We currently produce the MSBuild bits - including the msbuild.exe - from our GH repo, that is expected to be source-buildable.
The requirement technicaly applies only to the core version.
Also - we want runnable bootstrap - in order not to break our testing infra
Goal
Propose/Design the way of referencing/mounting VS OTel extensions and collector. The proposal should be approved by msbuild team + product construction team.
The text was updated successfully, but these errors were encountered: