Skip to content
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

Allow configuration of jaeger client in the query service #1044

Closed
black-adder opened this issue Sep 4, 2018 · 18 comments
Closed

Allow configuration of jaeger client in the query service #1044

black-adder opened this issue Sep 4, 2018 · 18 comments
Labels
enhancement good first issue Good for beginners help wanted Features that maintainers are willing to accept but do not have cycles to implement

Comments

@black-adder
Copy link
Contributor

Requirement - what kind of business use case are you trying to solve?

The jaeger query service allows for tracing the query service itself. In the all-in-one container, the default initialization of the client works since the agent/collector reside on localhost. However, when the query service is deployed individually, the collector and agent are not guaranteed to be running locally or maybe running on non-default ports depending on the setup.

Problem - what in Jaeger blocks you from solving the requirement?

The query service exposes no flags or environment variables to configure the tracer in the query service.

Proposal - what do you suggest to solve the problem or improve the existing situation?

The golang tracer allows configuration via environment variables. I think all we'd have to do is to replace New with FromEnv.

Any open questions to address

@yurishkuro yurishkuro added the help wanted Features that maintainers are willing to accept but do not have cycles to implement label Sep 5, 2018
@trtg
Copy link

trtg commented Oct 11, 2018

@black-adder is it possible to disable tracing of jaeger-query? It results in a lot of additional traffic to the collectors and to our cassandra backend and looking at tons of "Collector::submitBatches" spans is not very informative.

@jpkrohling
Copy link
Contributor

@trtg , once this issue here is fixed, you should be able to export JAEGER_DISABLED to the Query process and have tracing disabled.

@cosmologist10
Copy link

cosmologist10 commented Oct 12, 2018

Hi! I want to work on this issue.

@subashiniganesh
Copy link

Hello @jpkrohling ,

I am Subashini, an aspiring Outreachy candidate. As I came to know about outreachy very recently, do you still have space for new applicants? May I still attempt solving issues?

@cosmologist10, If you're caught up doing something else, May I work on this issue?

Thanks.

@jpkrohling
Copy link
Contributor

Sorry for the late response, @subashiniganesh, but I was out last week. You are certainly welcome to submit a patch by the program's deadline, which happens to be tomorrow. It's a tight deadline, but might be doable if you are experienced in Golang.

@subashiniganesh
Copy link

subashiniganesh commented Oct 30, 2018

Ah!! Thanks for such a positive note @jpkrohling . I submitted a PR. It was such an exciting experience. Shall I make an application and continue contributing?

@jpkrohling
Copy link
Contributor

Sure, but hurry, it might be closing soon (if it's not closed already)!!!

@subashiniganesh
Copy link

Thanks @jpkrohling . I submitted the final application. And I am so glad to note that until Nov 16, we are allowed to make and record code contributions. Let me please search and find an issue and continue contributing. Please let me know if you have any suggestions.

@pavolloffay
Copy link
Member

After this is done we should add configuration to docker compose file pointing tracer to jaeger agent.

@trtg
Copy link

trtg commented Jan 20, 2019

@jpkrohling any progress on being able to set JAEGER_DISABLED on the query process yet?

@Marusyk
Copy link

Marusyk commented Oct 4, 2019

still not implemented??? I need this feature

@jpkrohling
Copy link
Contributor

@Marusyk : looks like jaegertracing/jaeger-client-go#436 (which was a pre-requisite) has been merged. As you need this feature, do you want to give a shot at this one here?

@MichaelErmer
Copy link

would be cool to have an option to provide the agent host+port as cmd arg or env variable +1

@jpkrohling
Copy link
Contributor

@MichaelErmer would you like to give it a try?

@yurishkuro
Copy link
Member

we need to release a new Go client version, which is currently blocked by a couple of PRs

@jpkrohling
Copy link
Contributor

The development of this feature on this side can happen in parallel, no?

@yurishkuro
Copy link
Member

yes it can, by temporarily depending on the master branch of the client

@pavolloffay
Copy link
Member

Done in #1919

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement good first issue Good for beginners help wanted Features that maintainers are willing to accept but do not have cycles to implement
Projects
None yet
9 participants