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:
parent
707b8a2855
commit
d1f16becb8
|
|
@ -2,3 +2,4 @@ http://localhost
|
|||
http://169.254.169.254/metadata/instance/compute
|
||||
https://10.0.0.0
|
||||
https://localhost:4317
|
||||
localhost:14250
|
||||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue