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

Create prometheus events as and when a new configMap version is created or purged #31

Open
gopaddle-io opened this issue Sep 8, 2021 · 1 comment

Comments

@gopaddle-io
Copy link
Owner

gopaddle-io commented Sep 8, 2021

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)

@gopaddle-io
Copy link
Owner Author

Please send pull requests to SODACODE-2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant