Implement hooking of custom telemetry exporters/collectors
- Dominant language
- C#
- Stars
- 5.5k
- Forks
- 1.5k
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 141
Description
### Summary
Enabling hooking of custom telemetry exporting/collection would be useful for customers who want simple observability of builds with OpenTelemetry.
In core hooking OpenTelemetry can be achieved with a Startup Hook https://github.com/baronfel/otel-startup-hook/, in Framework it has to use some workarounds.
### Background and Motivation
https://github.com/dotnet/msbuild/pull/11013
- it is one of the goals
Precondition for the utility of this feature is to have data points instrumented with System.Diagnostics Activities. https://github.com/dotnet/msbuild/issues/10946
### Proposed Feature
https://github.com/JanProvaznik/otel-startup-hook/tree/doublehook
Productize this demo (probably as a repo with instructions how to use in MSBuild).
### Alternative Designs
It could be implemented as part of Microsoft.Build.Framework but that would increase our reliance on OpenTelemetry packages.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.