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 partition_remove_hook logging and metrics #1184

Open
dmitry-sinina opened this issue Oct 13, 2022 · 0 comments
Open

Add partition_remove_hook logging and metrics #1184

dmitry-sinina opened this issue Oct 13, 2022 · 0 comments
Assignees

Comments

@dmitry-sinina
Copy link
Contributor

dmitry-sinina commented Oct 13, 2022

We need to capture stdout and stderr streams of partition_remove_hook script https://github.com/yeti-switch/yeti-web/blob/master/app/jobs/jobs/partition_removing.rb#L53 to print them as yeti-scheduler logs

We need additional metrics:

ruby_yeti_partition_removing_hook_executions - counter that incrementing every script run
ruby_yeti_partition_removing_hook_duration - counter, aggregated duration of script executions
ruby_yeti_partition_removing_hook_errors - counter, incrementing when script failing

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

No branches or pull requests

2 participants