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 running tasks as metrics #293

Closed
3 tasks
adejanovski opened this issue Apr 25, 2023 · 4 comments · Fixed by #371
Closed
3 tasks

Expose running tasks as metrics #293

adejanovski opened this issue Apr 25, 2023 · 4 comments · Fixed by #371
Assignees
Labels
done Issues in the state 'done'

Comments

@adejanovski
Copy link
Contributor

adejanovski commented Apr 25, 2023

Cassandra exposes the progress of running tasks (compaction, upgradesstable, cleanup, streaming, etc...) through MBeans but not as metrics.
For more convenient access we should make these available as metrics in the metric endpoint, so that they can be scraped.
This means coming up with a series format that allows tracking the progress of each type of task and remove the metrics once the operation is finished.

Definition of Done

@adejanovski adejanovski added the assess Issues in the state 'assess' label Jun 7, 2023
@adejanovski adejanovski added in-progress Issues in the state 'in-progress' and removed assess Issues in the state 'assess' labels Aug 11, 2023
@burmanm
Copy link
Contributor

burmanm commented Aug 11, 2023

One more thing to add, we should also add metric for our own internal Jobs that are running (how many are running, how many are queued etc)

@adejanovski
Copy link
Contributor Author

which internal jobs are you referring to?

@burmanm
Copy link
Contributor

burmanm commented Aug 14, 2023

mgmt-api's job queues (async calls)

@adejanovski
Copy link
Contributor Author

I've updated the definition of done @burmanm. See if it matches and if you think of missing operations/jobs there.

@adejanovski adejanovski added ready-for-review Issues in the state 'ready-for-review' review Issues in the state 'review' and removed in-progress Issues in the state 'in-progress' ready-for-review Issues in the state 'ready-for-review' labels Sep 29, 2023
@adejanovski adejanovski added done Issues in the state 'done' and removed review Issues in the state 'review' labels Oct 9, 2023
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'
Projects
No open projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants