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

Expose operator metrics #307

Closed
janhoy opened this issue Aug 12, 2021 · 3 comments · Fixed by #360
Closed

Expose operator metrics #307

janhoy opened this issue Aug 12, 2021 · 3 comments · Fixed by #360
Labels
Milestone

Comments

@janhoy
Copy link
Contributor

janhoy commented Aug 12, 2021

Users may want to monitor the operator health. See https://book.kubebuilder.io/reference/metrics.html for some docs about publishing Prometheus metrics.

No idea what metrics are most useful. Some counters for various operations and errors. Perhaps a gauge for number of SolrClouds deployed?

@HoustonPutman
Copy link
Contributor

I think this would be a wonderful addition. Let's target it for the next version (v0.5.0), that should come shortly after v0.4.0.

A good start would just be making it easy to listen on the default operator metrics. We can then add other various metrics that we think would be useful.

@HoustonPutman
Copy link
Contributor

There is very good default support for Operator metrics in Kubebuilder 3. Now that the operator uses Kubebuilder 3, we should investigate adding the metrics service & sidecar to the helm chart.

@HoustonPutman
Copy link
Contributor

I think we can close this with the default operator metrics to start, since they are actually quite comprehensive. (including reconcile errors) We can split off another issue to look into custom metrics.

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

Successfully merging a pull request may close this issue.

2 participants