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 metrics for different actions performed during reconciliation in CassandraDatacenter controller #349

Open
jsanda opened this issue Jun 15, 2022 · 0 comments
Assignees
Labels
done Issues in the state 'done' enhancement New feature or request zh:Assess/Investigate

Comments

@jsanda
Copy link
Contributor

jsanda commented Jun 15, 2022

What is missing?
The controller-runtime already exposes a Prometheus for us that provides several metrics like total number of reconciliations per controller and the duration of reconciliations. We need to expose additional metrics for various operations that the controller performs. See #215 for an example.

Note: Part of the work involved for this issue is to determine what metrics we want to expose. This may involve creating additional, follow up tickets.

As starting point I think we should expose metrics for any actions that involve management-api calls.

We also have multiple places where we perform DC-wide actions that involve iterating over all pods and usually calls to the management-api as well. Two examples are starting C* nodes (see here) and reconciling full query logging (see here). It would be good to get metrics for those DC-wide operations.

Why do we need it?
We need observability for what cass-operator is actually doing. This will also give us better observability around the management-api and Cassandra itself.

Environment

  • Cass Operator version:

    v1.11.0

    **Anything else we need to know?**:

┆Issue is synchronized with this Jira Story by Unito
┆Issue Number: CASS-38

@jsanda jsanda added the enhancement New feature or request label Jun 15, 2022
@sync-by-unito sync-by-unito bot changed the title Expose metrics for different actions performed during reconciliation K8SSAND-1574 ⁃ Expose metrics for different actions performed during reconciliation Jun 15, 2022
@jsanda jsanda changed the title K8SSAND-1574 ⁃ Expose metrics for different actions performed during reconciliation K8SSAND-1574 ⁃ Expose metrics for different actions performed during reconciliation in CassandraDatacenter controller Jun 15, 2022
@adejanovski adejanovski moved this to Assess/Investigate in K8ssandra Nov 8, 2022
@burmanm burmanm self-assigned this Jul 12, 2024
@adejanovski adejanovski added the assess Issues in the state 'assess' label Jul 12, 2024
@burmanm burmanm moved this from Assess/Investigate to In Progress in K8ssandra Jul 12, 2024
@adejanovski adejanovski added in-progress Issues in the state 'in-progress' and removed assess Issues in the state 'assess' labels Jul 12, 2024
@adejanovski adejanovski moved this from In Progress to Assess/Investigate in K8ssandra Jul 12, 2024
@adejanovski adejanovski added assess Issues in the state 'assess' and removed in-progress Issues in the state 'in-progress' labels Jul 12, 2024
@adejanovski adejanovski moved this from Assess/Investigate to In Progress in K8ssandra Jul 12, 2024
@adejanovski adejanovski added in-progress Issues in the state 'in-progress' and removed assess Issues in the state 'assess' labels Jul 12, 2024
@adejanovski adejanovski moved this from In Progress to Assess/Investigate in K8ssandra Jul 12, 2024
@adejanovski adejanovski moved this from Assess/Investigate to In Progress in K8ssandra Jul 12, 2024
@adejanovski adejanovski added assess Issues in the state 'assess' in-progress Issues in the state 'in-progress' and removed in-progress Issues in the state 'in-progress' assess Issues in the state 'assess' labels Jul 12, 2024
@adejanovski adejanovski moved this from In Progress to Assess/Investigate in K8ssandra Jul 12, 2024
@adejanovski adejanovski added assess Issues in the state 'assess' and removed in-progress Issues in the state 'in-progress' labels Jul 12, 2024
@adejanovski adejanovski moved this from Assess/Investigate to In Progress in K8ssandra Jul 12, 2024
@adejanovski adejanovski added in-progress Issues in the state 'in-progress' and removed assess Issues in the state 'assess' labels Jul 12, 2024
@adejanovski adejanovski moved this from In Progress to Assess/Investigate in K8ssandra Jul 12, 2024
@adejanovski adejanovski added assess Issues in the state 'assess' and removed in-progress Issues in the state 'in-progress' labels Jul 12, 2024
@adejanovski adejanovski moved this from Assess/Investigate to In Progress in K8ssandra Jul 12, 2024
@adejanovski adejanovski added in-progress Issues in the state 'in-progress' and removed assess Issues in the state 'assess' labels Jul 12, 2024
@adejanovski adejanovski moved this from In Progress to Assess/Investigate in K8ssandra Jul 12, 2024
@adejanovski adejanovski moved this from Assess/Investigate to In Progress in K8ssandra Jul 12, 2024
@adejanovski adejanovski added assess Issues in the state 'assess' in-progress Issues in the state 'in-progress' and removed in-progress Issues in the state 'in-progress' assess Issues in the state 'assess' labels Jul 12, 2024
@adejanovski adejanovski moved this from In Progress to Assess/Investigate in K8ssandra Jul 12, 2024
@adejanovski adejanovski added assess Issues in the state 'assess' and removed in-progress Issues in the state 'in-progress' labels Jul 12, 2024
@adejanovski adejanovski moved this from Assess/Investigate to In Progress in K8ssandra Jul 12, 2024
@adejanovski adejanovski moved this from In Progress to Assess/Investigate in K8ssandra Jul 12, 2024
@burmanm burmanm moved this from Assess/Investigate to Ready For Review in K8ssandra Jul 16, 2024
@adejanovski adejanovski added ready-for-review Issues in the state 'ready-for-review' and removed assess Issues in the state 'assess' labels Jul 16, 2024
@burmanm burmanm moved this from Ready For Review to Done in K8ssandra Jul 22, 2024
@adejanovski adejanovski added done Issues in the state 'done' and removed ready-for-review Issues in the state 'ready-for-review' labels Jul 22, 2024
@sync-by-unito sync-by-unito bot changed the title K8SSAND-1574 ⁃ Expose metrics for different actions performed during reconciliation in CassandraDatacenter controller Expose metrics for different actions performed during reconciliation in CassandraDatacenter controller Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
done Issues in the state 'done' enhancement New feature or request zh:Assess/Investigate
Projects
No open projects
Status: Done
Development

No branches or pull requests

3 participants