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

How to watch jaeger-agent disconnection #2619

Closed
Asisranjan opened this issue Nov 7, 2020 · 5 comments
Closed

How to watch jaeger-agent disconnection #2619

Asisranjan opened this issue Nov 7, 2020 · 5 comments
Labels
stale The issue/PR has become stale and may be auto-closed

Comments

@Asisranjan
Copy link

I am using jaeger-all-in-one docker image
When trace registered first time, everything works.
if pod/container restarts the application which generates trace is not saved and shown in Jaeger UI.

Suspecting - when pod/container restart, agent connection lost. (Please help me to correct my understanding if I am wrong)

@yurishkuro
Copy link
Member

Which transport are you using to report spans? The default UDP does not keep connection, and expects the agent to run on the local host. However, if you run the agent under a DNS name (even if it's on the same host), then some Jaeger clients resolve DNS name to IP on start-up, so if that IP changes because of agent restart then the clients may "lose the connection". This would need to be addressed in specific clients (there were fixes in some languages, I don't recall which).

@Asisranjan
Copy link
Author

Asisranjan commented Nov 9, 2020

Which transport are you using to report spans? The default UDP does not keep connection, and expects the agent to run on the local host.
UDP transport
However, if you run the agent under a DNS name (even if it's on the same host), then some Jaeger clients resolve DNS name to IP on start-up, so if that IP changes because of agent restart then the clients may "lose the connection". This would need to be addressed in specific clients (there were fixes in some languages, I don't recall which).
Using kubernetes service name as Jaeger agent host
Using Jaeger Java client to report span. Is the point i mentioned a real issue? Do you have any open item to address this in java client ?

Can you please suggest the mechanism to solve above problem

@stale
Copy link

stale bot commented Jan 9, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale bot added the stale The issue/PR has become stale and may be auto-closed label Jan 9, 2022
@stale
Copy link

stale bot commented Apr 16, 2022

This issue has been automatically closed due to inactivity.

@stale stale bot closed this as completed Apr 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale The issue/PR has become stale and may be auto-closed
Projects
None yet
Development

No branches or pull requests

3 participants