Log an activity event when an Agent connects
What does this MR do and why?
Creates a new agent_connected
activity event for an Agent when:
- An Agent is used for the first time
- An Agent is used after >1 hour of inactivity.
How to set up and validate locally (Requires KAS + Kubernetes cluster)
- Create an Agent configuration repository and config file
- Create an Agent using the UI
- Install the Agent in your cluster
- Observe an activity event record is created for the agent upon first poll (should be almost immediately)
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #340364 (closed)
Edited by Tiger Watson