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 alert metrics to identify that elastic task configurations require adjustment #860

Merged
merged 6 commits into from
Oct 28, 2021

Conversation

vmaheshw
Copy link
Collaborator

To support better debugging and alerting support, Adding a new metrics "numTasks". This metrics will be used to keep the history of how the numTasks were selected for each datastream. It is enabled when elasticTaskCount feature is enabled.

Apart from this, when numTasks== maxTasks, with elasticTaskCount feature enabled, the metric elasticTaskConfigurationNeedAdjustment will be set. This will allow to setup alerting and fixing the configurations.

When the task estimation based on partition count is enabled, he metric elasticTaskConfigurationNeedAdjustment will be set, if the partitions in the task exceeds partitionsPerTask. This will allow to setup alerting and fixing the configurations.

jzakaryan
jzakaryan previously approved these changes Oct 27, 2021
Copy link
Collaborator

@jzakaryan jzakaryan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm. Please address or ignore the nit comments as you see fit.

Copy link
Collaborator

@shrinandthakkar shrinandthakkar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me, just added one clarification comment for my understanding.

@vmaheshw vmaheshw merged commit 1df703a into linkedin:master Oct 28, 2021
vmaheshw added a commit to vmaheshw/brooklin that referenced this pull request Mar 1, 2022
…e adjustment (linkedin#860)

To support better debugging and alerting support, Adding a new metrics "numTasks". This metrics will be used to keep the history of how the numTasks were selected for each datastream. It is enabled when elasticTaskCount feature is enabled.

Apart from this, when numTasks== maxTasks, with elasticTaskCount feature enabled, the metric elasticTaskConfigurationNeedAdjustment will be set. This will allow to setup alerting and fixing the configurations.

When the task estimation based on partition count is enabled, he metric elasticTaskConfigurationNeedAdjustment will be set, if the partitions in the task exceeds partitionsPerTask. This will allow to setup alerting and fixing the configurations.
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

Successfully merging this pull request may close these issues.

3 participants