Emit "register_agent_at_kas" event
What does this MR do and why?
This MR emits register_agent_at_kas
event after receiving events from KAS through internal/kubernetes/agent_events
endpoint.
Gitlab agents send the register request to KAS, then KAS registers them and send register_agent_at_kas
events to Gitlab monolith. This MR updates Gitlab monolith to receive the events and emit them with additional properties
. The definition of additional properties
was defined in !154883 (merged), that are:
-
label
: Gitlab agent version -
property
: CPUarchitecture
of the agent (e.g.arm64
)
Part of gitlab-org/cluster-integration/gitlab-agent#533 (closed).
FYI: We are planning to deduplicate events in gitlab-org/cluster-integration/gitlab-agent#550 (closed).
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.