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

make jaeger-agent usable #1379

Merged
merged 2 commits into from
Jan 5, 2021
Merged

make jaeger-agent usable #1379

merged 2 commits into from
Jan 5, 2021

Conversation

wkloucek
Copy link
Contributor

@wkloucek wkloucek commented Dec 17, 2020

Currently you can not configure to send traces to jaeger agent.

This is because the tracing collector default is always used, even if a tracing endpoint is given.

if conf.TracingCollector == "" {
conf.TracingCollector = "http://localhost:14268/api/traces"
}

Jaeger first checks if a collector endpoint is given and then takes that. The tracing endpoint will never be used.
https://github.com/census-ecosystem/opencensus-go-exporter-jaeger/blob/30c8b0fe8ad9d0eac5785893f3941b2e72c5aaaa/jaeger.go#L88-L98

New behaviour: fail if tracing is enabled and none of collector / tracing endpoint is configured.

@update-docs
Copy link

update-docs bot commented Dec 17, 2020

Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes.

@wkloucek
Copy link
Contributor Author

wkloucek commented Jan 5, 2021

@labkode can you have a look at this PR?

@ishank011 ishank011 merged commit 9a8de71 into cs3org:master Jan 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants