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

tracing: support dynamic reloading, more aggressive envoy restart #2262

Merged
merged 3 commits into from
Jun 2, 2021

Conversation

calebdoxsey
Copy link
Contributor

Summary

The zipkin trace exporter also started an HTTP reporter that needs to be terminated when a different trace provider is dynamically configured. This updates the code to better handle changes.

I also updated the envoy restart so that we more aggressively drain and terminate the original process. During hot-reload the old envoy process will continue to send tracing information to the previous zipkin URL, but once the new one takes over the new URL should be used.

I also updated the logging provider for zipkin so logs are JSON formatted.

Related issues

Fixes https://github.com/pomerium/pomerium-console/issues/1265

Checklist

  • reference any related issues
  • updated docs
  • updated unit tests
  • updated UPGRADING.md
  • add appropriate tag (improvement / bug / etc)
  • ready for review

@calebdoxsey calebdoxsey added the bug Something isn't working label Jun 2, 2021
@calebdoxsey calebdoxsey requested a review from a team as a code owner June 2, 2021 15:21
@calebdoxsey calebdoxsey requested a review from wasaga June 2, 2021 15:21
@codeclimate
Copy link

codeclimate bot commented Jun 2, 2021

Code Climate has analyzed commit 0415fa5 and detected 0 issues on this pull request.

View more on Code Climate.

@calebdoxsey calebdoxsey merged commit 5138596 into master Jun 2, 2021
@calebdoxsey calebdoxsey deleted the cdoxsey/1265-dynamic-tracing branch June 2, 2021 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants