-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trace the dedicated query server #454
Conversation
The standalone query server already has tracing enabled. This is a trivial parity patch. Signed-off-by: Robert Collins <[email protected]>
@@ -65,6 +66,18 @@ func main() { | |||
|
|||
metricsFactory := xkit.Wrap("jaeger-query", expvar.NewFactory(10)) | |||
|
|||
tracer, closer, err := jaegerClientConfig.Configuration{ | |||
Sampler: &jaegerClientConfig.SamplerConfig{ | |||
Type: "probabilistic", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use const
instead of probabilistic, it's cheaper.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
actually, I think this needs to be overridable vie cmd line switches
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will be via jaegertracing/jaeger-client-go#206 no? I think we should have one set of variables for all the Jaeger bindings, so that its really easy to configure jaeger enabled components in one consistent fashion. That hasn't been done yet though.
I can switch this to const easily - I think its worth noting though that this is the code thats in the all-in-one entry point. Should I change that at the same time?
Given that this is a very simple and relatively low-use UI: scales O(developers) not O(users), I think a const of 1 is fine to start with.
The standalone query server already has tracing enabled. This is a trivial parity patch. Signed-off-by: Robert Collins <[email protected]>
The standalone query server already has tracing enabled. This is a trivial parity patch. Signed-off-by: Robert Collins <[email protected]>
The standalone query server already has tracing enabled. This is a
trivial parity patch.