-
Notifications
You must be signed in to change notification settings - Fork 57
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
Incoherent result of n_active_agents field in GET /cluster/healthcheck endpoint #424
Comments
Hi team! This behavior seems to be easily fixed by adding However, it seems that a similar problem is repeated in more places. For example, having the following list of agents connected:
Endpoints like
It shows 6 agents for the master node (counting the disconnected ones and the 000). However, the workers are not counting agent 000. I will investigate it a little bit deeper. Kind regards, |
Hi team,
I've just noticed about the following behavior of the
GET /cluster/healthcheck
endpoint. It seems that the result of then_active_agents
includes the master of the cluster (000
), but not the worker node.How to reproduce
I currently have a two nodes Manager cluster with six registered and reporting agents.
The result of the endpoint that I'm receiving is the following (I'm reducing the output):
So we can say that the manager node is counted as an agent, but only for the
master
node.In my opinion, we should not include any manager to the
n_active_agents
field, but of course, this behavior can be discussed. Feel free to comment here your thoughts on this.Cheers
The text was updated successfully, but these errors were encountered: