256lights / zb

An experiment in hermetic, reproducible build systems
MIT License
313 stars 6 forks source link

Instrument builds with tracing #48

Open zombiezen opened 2 months ago

zombiezen commented 2 months ago

I'd like to instrument builds with tracing information. Primary use case is observability in debugging issues with the backend itself, but I'd also imagine end-users might be interested in learning what's taking the most time in a build.

OpenTelemetry is the most obvious tool for the job, but I'm not sure how large of a dependency that will be.