Skip to content
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

Implement hooking of custom telemetry exporters/collectors #11148

Open
JanProvaznik opened this issue Dec 16, 2024 · 0 comments
Open

Implement hooking of custom telemetry exporters/collectors #11148

JanProvaznik opened this issue Dec 16, 2024 · 0 comments
Assignees
Labels
Area: Telemetry Candidates benefiting from telemtry data triaged

Comments

@JanProvaznik
Copy link
Member

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

#11013

  • it is one of the goals

Precondition for the utility of this feature is to have data points instrumented with System.Diagnostics Activities. #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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Telemetry Candidates benefiting from telemtry data triaged
Projects
None yet
Development

No branches or pull requests

2 participants