Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita252d13

Browse files
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

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎coderd/tracing/exporter.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
//go:build !slim
2+
13
package tracing
24

35
import (

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp