fix: correct connection error and add new configuration (#7625)

Signed-off-by: Flc゛ <four_leaf_clover@foxmail.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
This commit is contained in:
Flc゛ 2025-07-29 23:31:31 +08:00 committed by GitHub
parent 707b8a2855
commit d1f16becb8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View File

@ -2,3 +2,4 @@ http://localhost
http://169.254.169.254/metadata/instance/compute
https://10.0.0.0
https://localhost:4317
localhost:14250

View File

@ -70,7 +70,7 @@ type samplerUpdater interface {
// delegates to it for sampling decisions.
type Sampler struct {
// These fields must be first in the struct because `sync/atomic` expects 64-bit alignment.
// Cf. https://github.com/uber/jaeger-client-go/issues/155, https://goo.gl/zW7dgq
// Cf. https://github.com/jaegertracing/jaeger-client-go/issues/155, https://pkg.go.dev/sync/atomic#pkg-note-BUG
closed int64 // 0 - not closed, 1 - closed
sync.RWMutex // used to serialize access to samplerConfig.sampler