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

feat(slo): Add more tooltip in burn rate rule #154840

Merged
merged 4 commits into from
Apr 13, 2023

Conversation

kdelemme
Copy link
Contributor

Summary

Resolves #154839

Adds tooltips in burn rate rule. Move explanations into helpText under burn rate threshold input.

@kdelemme kdelemme added release_note:skip Skip the PR/issue when compiling release notes Team: Actionable Observability - DEPRECATED For Observability Alerting and SLOs use "Team:obs-ux-management", for AIops "Team:obs-knowledge" v8.8.0 labels Apr 12, 2023
@kdelemme kdelemme self-assigned this Apr 12, 2023
@apmmachine
Copy link
Contributor

🤖 GitHub comments

Expand to view the GitHub comments

Just comment with:

  • /oblt-deploy : Deploy a Kibana instance using the Observability test environments.
  • run elasticsearch-ci/docs : Re-trigger the docs validation. (use unformatted text in the comment!)

@kdelemme kdelemme marked this pull request as ready for review April 12, 2023 16:13
@kdelemme kdelemme requested a review from a team as a code owner April 12, 2023 16:13
@elasticmachine
Copy link
Contributor

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.',
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
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) =>
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
const getErrorBudgetExhaustionText = (formatedHours: string) =>
const getErrorBudgetExhaustionText = (formattedHours: string) =>

Copy link
Contributor

Choose a reason for hiding this comment

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

very nitty, apologies 😬

@CoenWarmer
Copy link
Contributor

@elasticmachine merge upstream

@CoenWarmer CoenWarmer enabled auto-merge (squash) April 13, 2023 06:41
@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
observability 1.1MB 1.1MB +45.0B
Unknown metric groups

ESLint disabled line counts

id before after diff
securitySolution 433 436 +3

Total ESLint disabled count

id before after diff
securitySolution 512 515 +3

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

cc @kdelemme

@CoenWarmer CoenWarmer merged commit b86358e into elastic:main Apr 13, 2023
@kibanamachine kibanamachine added the backport:skip This commit does not require backporting label Apr 13, 2023
@kdelemme kdelemme deleted the slo/burn-rate-rule branch September 14, 2023 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:skip This commit does not require backporting release_note:skip Skip the PR/issue when compiling release notes Team: Actionable Observability - DEPRECATED For Observability Alerting and SLOs use "Team:obs-ux-management", for AIops "Team:obs-knowledge" v8.8.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[SLO] Add tooltips for burn rate rule
6 participants