-
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
Distinguish between reporting probes and controlling probes #1043
Conversation
It would be good to know why |
Its not go vet that catches that, its errcheck. |
@@ -209,4 +209,6 @@ const ( | |||
HostNodeID = "host_node_id" | |||
// ProbeID is the random ID of the probe which generated the specific node. | |||
ProbeID = "probe_id" | |||
// ControlProbeID is the random ID of the probe which controls the specific node. | |||
ControlProbeID = "control_probe_id" |
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
I'd remove the extra ControlProbeID, its redundant - ProbeID is only used from controls, and it was getting added where it shouldn't - by the host tagger, on container nodes the kubernetes reported is reporting. I would stop the host tagger from adding the ProbeID to all nodes that probe reports, and instead make the docker report add it to the nodes it controls. And update the comment on ProbeID constant. Does that make sense? |
I'm Tom and I approve of this change. |
Distinguish between reporting probes and controlling probes
Fixes #1040