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

Add Prometheus infrastructure with basic metrics #45

Open
6 tasks
MarkusH opened this issue Jul 7, 2020 · 0 comments
Open
6 tasks

Add Prometheus infrastructure with basic metrics #45

MarkusH opened this issue Jul 7, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@MarkusH
Copy link
Contributor

MarkusH commented Jul 7, 2020

The de-factor monitoring in Kubernetes works through Prometheus. The CrateDB Kubernetes Operator should collect its own metrics and expose them for Prometheus.

For the beginning, it would be nice to track the following metrics:

  • The total number of clusters deployed
  • The total number of clusters deleted
  • The number of clusters monitored by the operator
  • The total number of times clusters were restarted
  • The total number of times clusters were scaled
  • The total number of times clusters were upgraded

Care must be taken with Kopf's idempotence: the kopf.on.* handlers may fail and will be retried until they succeed, unless they fail permanently. The metrics above should only be updated when the events succeeded. Though there's a case to be made to track failures as well.

@MarkusH MarkusH added the enhancement New feature or request label Jul 7, 2020
@MarkusH MarkusH self-assigned this Jul 7, 2020
@MarkusH MarkusH added this to the Prometheus Support milestone Jul 7, 2020
MarkusH added a commit that referenced this issue Jul 13, 2020
@infoverload infoverload assigned infoverload and unassigned MarkusH Feb 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants