This repository has been archived by the owner on May 23, 2024. It is now read-only.
[Bug]: config.Configuration.InitGlobalTracer
panics if http.DefaultTransport
is not a *http.Transport
#616
Labels
What happened?
I called
config.Configuration.InitGlobalTracer(...)
after replacing thehttp.DefaultTransport
with a custom implementation, and it panicked.The code assumes that
http.DefaultTransport
is a*http.Transport
, and panics otherwise:jaeger-client-go/sampler_remote.go
Line 308 in 8d8e8fc
Steps to reproduce
http.DefaultTransport
value in your app.config.Configuration.InitGlobalTracer()
Example: https://go.dev/play/p/TH-uFyyMuLD
Expected behavior
It shouldn't panic.
Relevant log output
No response
Screenshot
No response
Additional context
No response
Jaeger backend version
No response
SDK
No response
Pipeline
No response
Stogage backend
No response
Operating system
No response
Deployment model
No response
Deployment configs
No response
The text was updated successfully, but these errors were encountered: