Skip to content

[8.x] [One Discover] Add app menu actions for Observability projects (#198987)#200145

Merged
tonyghiani merged 2 commits intoelastic:8.xfrom
tonyghiani:backport/8.x/pr-198987
Nov 14, 2024
Merged

[8.x] [One Discover] Add app menu actions for Observability projects (#198987)#200145
tonyghiani merged 2 commits intoelastic:8.xfrom
tonyghiani:backport/8.x/pr-198987

Conversation

@tonyghiani
Copy link
Copy Markdown
Contributor

Backport

This will backport the following commits from main to 8.x:

Questions ?

Please refer to the Backport tool documentation

…ic#198987)

## 📓 Summary

Closes elastic#182230

This work introduces a new observability root profile and uses the new
extension point to register custom actions on the app menu.
The registered actions and link will appear only with the new project
navigation enabled on an Observability project:
- A link to the data sets quality page
- On the alerts sub menu...
- replace the default search rule creation with the observability custom
threshold rule
  - add an entry to directly create an SLO for the current search

To access the SLO capabilities without breaking the dependencies
hierarchy of the new sustainable architecture, the feature is registered
by the common plugin `discover-shared` in SLO and consumed then by
Discover using the IoC principle.

## 🖼️ Screenshots

### Observability project solution - show new menu

<img width="3004" alt="Screenshot 2024-11-06 at 12 37 02"
src="https://github.com/user-attachments/assets/d70b532d-1889-4d5b-b2ee-de2f048560f4">

### Search project solution - hide new menu

<img width="3006" alt="Screenshot 2024-11-06 at 12 36 19"
src="https://github.com/user-attachments/assets/660893c3-f6b5-4b06-b8de-50a61a6bdb98">

### Default navigation mode - hide new menu

<img width="3002" alt="Screenshot 2024-11-06 at 12 35 43"
src="https://github.com/user-attachments/assets/674c5a08-0084-40e5-ae34-a56c363cacce">

## 🎥  Demo

https://github.com/user-attachments/assets/104e6074-0401-4fd2-a8e6-8b05f2c070d7

---------

Co-authored-by: Marco Antonio Ghiani <marcoantonio.ghiani@elastic.co>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 9d38922)

# Conflicts:
#	x-pack/plugins/observability_solution/slo/public/pages/slo_edit/shared_flyout/get_create_slo_flyout.tsx
#	x-pack/plugins/observability_solution/slo/public/plugin.ts
#	x-pack/plugins/observability_solution/slo/public/types.ts
#	x-pack/plugins/observability_solution/slo/tsconfig.json
#	x-pack/test_serverless/functional/test_suites/common/discover_ml_uptime/discover/search_source_alert.ts
@tonyghiani tonyghiani added the backport This PR is a backport of another PR label Nov 14, 2024
@tonyghiani tonyghiani enabled auto-merge (squash) November 14, 2024 10:51
@botelastic botelastic bot added ci:project-deploy-observability Create an Observability project Team:actionable-obs Formerly "obs-ux-management", responsible for SLO, o11y alerting, significant events, & synthetics. labels Nov 14, 2024
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/obs-ux-management-team (Team:obs-ux-management)

@github-actions
Copy link
Copy Markdown
Contributor

🤖 GitHub comments

Expand to view the GitHub comments

Just comment with:

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

@elasticmachine
Copy link
Copy Markdown
Contributor

⏳ Build in-progress

  • Buildkite Build
  • Commit: 263fcc4
  • Kibana Serverless Image: docker.elastic.co/kibana-ci/kibana-serverless:pr-200145-263fcc4c8a26

@tonyghiani tonyghiani merged commit da7fdf3 into elastic:8.x Nov 14, 2024
@tonyghiani tonyghiani deleted the backport/8.x/pr-198987 branch March 2, 2025 21:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR ci:project-deploy-observability Create an Observability project Team:actionable-obs Formerly "obs-ux-management", responsible for SLO, o11y alerting, significant events, & synthetics.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants