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

[Actionable Observability] Update links to Observability rule management #140009

Conversation

CoenWarmer
Copy link
Contributor

@CoenWarmer CoenWarmer commented Sep 5, 2022

Summary

This PR updates links in the Observability Overview from the Stack Management Rules configuration view to the Observability Rules screen.

Resolves 138893.

@CoenWarmer CoenWarmer requested a review from a team as a code owner September 5, 2022 09:52
@CoenWarmer CoenWarmer force-pushed the chore/138893-update-ao-links-going-to-stack-management branch from fadf795 to 3d06e84 Compare September 5, 2022 09:56
@CoenWarmer CoenWarmer changed the title [AO] Update links to Observability rule management (#138893) [AO] Update links to Observability rule management Sep 5, 2022
@CoenWarmer CoenWarmer changed the title [AO] Update links to Observability rule management [Actionable Observability] Update links to Observability rule management Sep 5, 2022
@CoenWarmer CoenWarmer requested a review from a team September 5, 2022 10:13
@maryam-saeidi maryam-saeidi added release_note:fix Team: Actionable Observability - DEPRECATED For Observability Alerting and SLOs use "Team:obs-ux-management", for AIops "Team:obs-knowledge" labels Sep 5, 2022
@elasticmachine
Copy link
Contributor

Pinging @elastic/actionable-observability (Team: Actionable Observability)

@@ -135,7 +135,7 @@ export const getContent = (
addTitle: i18n.translate('xpack.observability.statusVisualization.alert.link', {
defaultMessage: 'Create rules',
}),
addLink: http.basePath.prepend('/app/management/insightsAndAlerting/triggersActions/rules'),
addLink: http.basePath.prepend('/app/observability/alerts'),
Copy link
Member

Choose a reason for hiding this comment

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

@CoenWarmer we need to go to /observability/alerts/rules instead of /observability/alerts

Copy link
Contributor Author

Choose a reason for hiding this comment

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

You're right of course!

@@ -97,7 +97,7 @@ export const getEmptySections = ({ http }: { http: HttpSetup }): ISection[] => {
linkTitle: i18n.translate('xpack.observability.emptySection.apps.alert.link', {
defaultMessage: 'Create rule',
}),
href: http.basePath.prepend('/app/management/insightsAndAlerting/triggersActions/alerts'),
Copy link
Member

Choose a reason for hiding this comment

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

Also, I am wondering why this one goes to /alerts. From the ticket, it seems all the places are redirected to /rules not /alerts 🤔

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Have updated to /rules for now.

… of github.com:CoenWarmer/kibana into chore/138893-update-ao-links-going-to-stack-management
Copy link
Contributor

@formgeist formgeist left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@CoenWarmer CoenWarmer enabled auto-merge (squash) September 5, 2022 12:31
@kibana-ci
Copy link
Collaborator

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] FTR Configs #36 / ObservabilityApp Observability alerts Alerts table Flyout Can be opened

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 522.2KB 522.1KB -73.0B

History

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

@CoenWarmer CoenWarmer merged commit 6559bfb into elastic:main Sep 5, 2022
@kibanamachine kibanamachine added v8.5.0 backport:skip This commit does not require backporting labels Sep 5, 2022
Mpdreamz pushed a commit to Mpdreamz/kibana that referenced this pull request Sep 6, 2022
…ent (elastic#140009)

* [Actionable Observability] Update links to Observability rule management

* Use path config file for links
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:fix Team: Actionable Observability - DEPRECATED For Observability Alerting and SLOs use "Team:obs-ux-management", for AIops "Team:obs-knowledge" v8.5.0
Projects
None yet
6 participants