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

Implement agent registration #378

Closed
kate-osborn opened this issue Jan 17, 2023 · 2 comments
Closed

Implement agent registration #378

kate-osborn opened this issue Jan 17, 2023 · 2 comments
Assignees

Comments

@kate-osborn
Copy link
Contributor

kate-osborn commented Jan 17, 2023

Parent ticket: #292

The agent will register with the control plane on startup. Write a control plane component that handles agent registration. This component is responsible for the following:

  • registering a new connection from an agent
  • storing agent connections alongside agent info (agent ID, nginx IDs, host info, tags, etc)
  • disconnecting with an agent

A/C:

  • Multiple agents can register with the control plane
  • Control plane can track the connection status for each agent
  • Control plane can disconnect and reconnect with an agent
  • Log new agent connections/disconnections. Include total number of registered agents in the log messages.

Aha! Link: https://nginx.aha.io/features/NKG-36

@pleshakov
Copy link
Contributor

for troubleshooting / debugging - both for users and developers, would it make sense to expose logs and/or metrics that count connected agents?

@kate-osborn
Copy link
Contributor Author

for troubleshooting / debugging - both for users and developers, would it make sense to expose logs and/or metrics that count connected agents?

Yep, that makes sense. We don't expose any metrics ATM so let's do logs.

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

No branches or pull requests

2 participants