-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
feat(slo): Add more tooltip in burn rate rule #154840
Conversation
🤖 GitHub commentsExpand to view the GitHub comments
Just comment with:
|
Pinging @elastic/actionable-observability (Team: Actionable Observability) |
<EuiSpacer size="m" /> | ||
</EuiFlexGroup> | ||
); | ||
} | ||
|
||
const getErrorBudgetExhaustionText = (formatedHours: string) => | ||
i18n.translate('xpack.observability.slo.rules.errorBudgetExhaustion.text', { | ||
defaultMessage: | ||
"At this rate, the SLO's error budget will be exhausted after {formatedHours} hours.", | ||
defaultMessage: '{formatedHours} hours until error budget exhaustion.', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
defaultMessage: '{formatedHours} hours until error budget exhaustion.', | |
defaultMessage: '{formattedHours} hours until error budget exhaustion.', |
{getErrorBudgetExhaustionText(computeErrorBudgetExhaustionInHours())} | ||
</EuiText> | ||
</EuiFlexItem> | ||
</EuiFlexGroup> | ||
<EuiSpacer size="m" /> | ||
</EuiFlexGroup> | ||
); | ||
} | ||
|
||
const getErrorBudgetExhaustionText = (formatedHours: string) => |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
const getErrorBudgetExhaustionText = (formatedHours: string) => | |
const getErrorBudgetExhaustionText = (formattedHours: string) => |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
very nitty, apologies 😬
@elasticmachine merge upstream |
💚 Build Succeeded
Metrics [docs]Async chunks
Unknown metric groupsESLint disabled line counts
Total ESLint disabled count
History
To update your PR or re-run it, just comment with: cc @kdelemme |
Summary
Resolves #154839
Adds tooltips in burn rate rule. Move explanations into helpText under burn rate threshold input.