Skip to content

Add alert metrics to identify that elastic task configurations require adjustment#860

Merged
vmaheshw merged 6 commits intolinkedin:masterfrom
vmaheshw:fixMetrics
Oct 28, 2021
Merged

Add alert metrics to identify that elastic task configurations require adjustment#860
vmaheshw merged 6 commits intolinkedin:masterfrom
vmaheshw:fixMetrics

Conversation

@vmaheshw
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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