feat: add grafana plugin and dashboards #65
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes #
📑 Description
This PR introduces grafana dashboards for metrics coming from controller runtime and the custom prometheus metric to measure reconciliation errors.
I believe atm this metric is already implemented out of the box by
controller_runtime_reconcile_errors_total
but if we introduce more controllers in the future might be useful. Eager to get your feedback on that !✅ Checks
ℹ Additional Information
This PR is using the kubebuilder's grafana plugin.
![Screenshot from 2023-05-07 20-52-06](https://user-images.githubusercontent.com/7375588/236694583-e3cf43f1-2696-405b-9dbb-01bcd423ecf1.png)
![Screenshot from 2023-05-07 20-52-42](https://user-images.githubusercontent.com/7375588/236694584-c7238a14-a843-4d20-b588-06592030bf09.png)
![Screenshot from 2023-05-07 20-53-05](https://user-images.githubusercontent.com/7375588/236694585-b38b3571-742d-4996-8cbe-17146b30a6ef.png)
I am also attaching screenshots of Grafana dashboards.