- Notifications
You must be signed in to change notification settings - Fork927
Commita252d13
authored
chore: exclude otlp trace provider from slim builds (#16140)
This adds a build flag to `exporter.go` in `coderd/tracing` that skipscompiling the file in slim builds. This file brings in some relativelyhefty dependencies that were growing the size of the slim binary a fewmegabytes. All files that import `exporter.go` also aren't included inslim builds, so this is safe.We end up saving 5.4MB on the Linux slim binary.1 parent2413106 commita252d13
1 file changed
+2
-0
lines changedLines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
1 | 3 |
| |
2 | 4 |
| |
3 | 5 |
| |
|
0 commit comments
Comments
(0)