Instrument GL-managed K8s resources: Part 3. group+version+kind
Goal
Instrument the group+version+kind combinations creation
Proposal
Because we can't add a list to the event, we'll need an event for each resource creation / deletion. One event for each GVK (group+version+kind).
Implementation plan:
- Define two events.
- Parse the applying template and get GVK resources from it. (We'll need to add this)
- Emit events for each GVK resource.
Add 2 events:
ensure_gvk_resource_for_managed_resourcedelete_gvk_resource_for_managed_resource
The attributes for both events:
- user id
- project id
- label: pricing tier (string)
- property: environment tier (string)
- value: environment id
Edited by Taka Nishida