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

[Feature Request] Latency metrics of task execution in cluster manager #11818

Open
dhwanilpatel opened this issue Jan 9, 2024 · 1 comment
Open
Labels
Cluster Manager enhancement Enhancement or improvement to existing feature or request

Comments

@dhwanilpatel
Copy link
Contributor

Is your feature request related to a problem? Please describe

Today we have visibility on the total number of pending tasks and time in queue. We should have visibility on latency of the tasks during execution phase as well.

This latency metric will help determine if any task is taking long time in execution. We can even add more granular metrics of execution as well like time taken during cluster state computation/publication/committing/etc.

Describe the solution you'd like

One possible solution could be to expose in _cluster/pending_task API, where along with time_in_queue we can expose time_in_execution.

We can explore other solutions as well if there is any other better way to expose it.

Related component

Cluster Manager

Describe alternatives you've considered

No response

Additional context

No response

@dhwanilpatel dhwanilpatel added enhancement Enhancement or improvement to existing feature or request untriaged labels Jan 9, 2024
@peternied
Copy link
Member

[Triage - attendees 1 2]
@dhwanilpatel Thanks for filing, look forward to a PR that adds this feature

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Cluster Manager enhancement Enhancement or improvement to existing feature or request
Projects
Status: Next (Next Quarter)
Development

No branches or pull requests

2 participants