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

Add reconnecting udp connection type to jaeger exporter #1063

Merged
merged 13 commits into from
Sep 1, 2020
Merged

Add reconnecting udp connection type to jaeger exporter #1063

merged 13 commits into from
Sep 1, 2020

Conversation

terev
Copy link
Contributor

@terev terev commented Aug 16, 2020

This pr ports this change jaegertracing/jaeger-client-go#520 to the open-telemetry Jaeger exporter. The goal of the change is to detect changes to an agent's host dns record and adopt the new address as the destination address.

Short description of the changes

  • This pr adds a new type that decorates a UDPConn
  • This type attempts to resolve a new address for the given host, if a new address is resolved, and the dial succeeds the currently held connection is atomically swapped with a new one

@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Aug 16, 2020

CLA Check
The committers are authorized under a signed CLA.

exporters/trace/jaeger/agent.go Outdated Show resolved Hide resolved
exporters/trace/jaeger/agent.go Outdated Show resolved Hide resolved
exporters/trace/jaeger/agent.go Outdated Show resolved Hide resolved
@terev terev requested a review from Aneurysm9 August 16, 2020 22:37
Copy link
Member

@Aneurysm9 Aneurysm9 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please add a CHANGELOG.md entry describing the added capability?

exporters/trace/jaeger/uploader.go Show resolved Hide resolved
@MrAlias MrAlias requested a review from XSAM as a code owner September 1, 2020 16:03
@MrAlias MrAlias merged commit a304e82 into open-telemetry:master Sep 1, 2020
evantorrie pushed a commit to evantorrie/opentelemetry-go that referenced this pull request Sep 10, 2020
…ry#1063)

* port reconnecting udp client from jaeger-client-go

* Fix precommit issues

* Fix license check

* Add initial value for max packet size

* Fix for atomic usage on 386 arch

* Modify reconnecting option to an affirmative

* Add changelog entry

* Dont hold rlock for writes

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
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.

4 participants