Comments (5)
Changing the default would be a breaking change, requiring a major release, which we're not planning to do since the library is being retired (see README).
The 128bit mode can be set via env var JAEGER_TRACEID_128BIT or programmatically via config. Feel free to suggest improvements to the docs on how to make this more clear.
from jaeger-client-go.
How would it be a breaking change? Are there receivers it would break? It certainly wouldn't break the compiles.
As for configuration, we weren't using that, but making the tracer directly and then installing it as the global tracer. At this point there are ~two different ways to configure a tracer, and they don't seem to be equivalent. Clearly indicating which is depreciated and provide equivalents for each setting in the one that is for the one that is not would be helpful.
With depreciation will there be a migration guide?
from jaeger-client-go.
How would it be a breaking change?
There are existing deployments that rely on the default to be 64bit. Changing that default may break those deployments.
there are ~two different ways to configure a tracer, and they don't seem to be equivalent.
if you're talking about programmatic configuration, please provide specific references to code where you see the duplication.
from jaeger-client-go.
https://pkg.go.dev/github.com/uber/jaeger-client-go#NewTracer and https://pkg.go.dev/github.com/uber/[email protected]+incompatible/config#Configuration.New both create tracers. What's not obvious is the list of available TracerOptions in the documentation, because they are public methods on a private type (but public variable). That's what threw me for a loop.
from jaeger-client-go.
Right. So the Configuration type is meant for declarative tracer initialization, e.g. you could populate that struct from a YAML/JSON configuration. The NewTracer() constructor is lower-level initialization that gives you more control over which components to instantiate (although Config has some of that too, for convenience).
I agree, the functional options on private type were unfortunate choice - that could be improved as a non-breaking change, if you wish to propose a PR.
from jaeger-client-go.
Related Issues (20)
- New release 2.26 HOT 2
- go get v2.26.0 checksum mismatch HOT 8
- RemotelyControlledSampler.Close() stuck due to networking issues HOT 1
- Probabilistic sampler causes trace collisions HOT 1
- Import of "testing" package HOT 4
- Issue found by Svace static analyzer HOT 1
- codahale/hdrhistogram has transferred it's repo
- Span.SetTag does not behave like the opentracing Span interface docs
- consider add more verbosity to error for http span sender
- make install always downloads linux version of 'dep' HOT 1
- A Questions about sampling rate HOT 2
- Connecting jaegertracing-client-go from WSL2
- Suggest to support zipkin mode (and additional baggage prefix) from environment variable
- sampler logger is NullLogger
- [Bug]: writeField5 panic
- [Bug]: Sampler tags are missing in root span generated from startSpan
- [Bug]: Performance impact of sprintf HOT 1
- [Bug]: mismatched parameters HOT 1
- [Bug]: `config.Configuration.InitGlobalTracer` panics if `http.DefaultTransport` is not a `*http.Transport`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jaeger-client-go.