mirror of
https://github.com/coder/coder.git
synced 2026-06-03 21:18:24 +00:00
a252d13724
This adds a build flag to `exporter.go` in `coderd/tracing` that skips compiling the file in slim builds. This file brings in some relatively hefty dependencies that were growing the size of the slim binary a few megabytes. All files that import `exporter.go` also aren't included in slim builds, so this is safe. We end up saving 5.4MB on the Linux slim binary.