-
Notifications
You must be signed in to change notification settings - Fork 712
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
Include host scope for container joins based on IP. #577
Conversation
2f90fbc
to
f0fb6e3
Compare
f0fb6e3
to
7e1a653
Compare
c.RLock() | ||
defer c.RUnlock() | ||
|
||
ips := append(c.container.NetworkSettings.SecondaryIPAddresses, | ||
c.container.NetworkSettings.IPAddress) |
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
LGTM. |
Crap; there is actually a good reason not to use the id generators - they embed the logic for whether a scope is appended or not, and really are only for use within the probe. Lets see if we can factor this out. |
52ddd19
to
e674d48
Compare
|
e674d48
to
ab76b9c
Compare
MakeScopedEndpointNodeID or the general form Make [Scoped] Topology Node ID |
ab76b9c
to
1868e2b
Compare
Okay done. Hopefully this should all pass now. |
1868e2b
to
cd97708
Compare
Include host scope for container joins based on IP.
Part of #520 - can explain false edges between containers on different hosts, but the bug has been seen between containers on the same host, and this shouldn't affect that.