configurator
configurator copied to clipboard
Create prometheus events as and when a new configMap version is created or purged
Is your feature request related to a problem? Please describe. Enhancement
Describe the solution you'd like It will be useful to visualise the changes to the custom resources. These events/metrics can be utilised in Grafana dashboard.
List of expected events and the attributes in the events: 1. CCM creation {namespace, CM name, CCM name, version, created time} 2. CCM purge {namespace, CM name, CCM name, version, updated time, reason for creation} 3. CM Create {namespace, CM name, created time} 4. CM update {namespace, CM name, updated time} 5. CM delete {namespace, CM name, deleted time} 6. Initiating Configurator {initiated time, invitation params, exit status, error message}
Configurator v0.0.2 uses kubebuilder. Kubebuilder metrics event create and test reference link can be found [here] (!https://book.kubebuilder.io/reference/metrics.html)
Please send pull requests to SODACODE-2022