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

[Stack Monitoring] Add new tab on ES monitoring page to link to Ingest Pipeline dashboard #149386

Closed
Tracked by #41936
joshdover opened this issue Jan 24, 2023 · 2 comments · Fixed by #149721
Closed
Tracked by #41936
Assignees
Labels
enhancement New value added to drive a business result Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services v8.7.0

Comments

@joshdover
Copy link
Contributor

joshdover commented Jan 24, 2023

Related to:

In 8.7, we're introducing a new metricset for ingest pipeline metrics. Instead of building a custom UI directly in the Stack Monitoring app, we will be shipping a new dashboard for visualizing this data inside the Elasticsearch integration package.

In order to improve the discoverability of this new data, we should add a link from the SM pages to this new dashboard.

We also need to handle the case where the user has not yet installed the Elasticsearch package by directing the user to the integrations catalog to install it. The flow should be:

  1. User clicks on tab
  2. If a dashboard with ID elasticsearch-metrics-ingest-pipelines does exist, redirect to the dashboard: app/dashboards#/view/elasticsearch-metrics-ingest-pipelines
  3. If the dashboard does not exist:
    1. Check if the user has access to the integrations app
      • This can be done by leveraging the start contract of the fleet plugin: deps.start.fleet.authz.integrations.all
    2. If they have access to install integrations
      1. Show a modal explaining they need to install the Elasticsearch package + a button link to call the install API: POST /api/fleet/epm/packages/elasticsearch/latest
      2. After installing, redirect the user to the dashboard
    3. If they do not have access, explain that an admin most install the Elasticsearch package to view these metrics

If we needed to cut scope, instead of directly installing the package in step 3.ii.a we could actually redirect the user to the integrations catalog to do the installation. However, this would hurt the UX by dropping in the Integrations catalog and not directing them to the integration pipelines dashboard.

Mockup

image

@joshdover joshdover added enhancement New value added to drive a business result Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services v8.7.0 labels Jan 24, 2023
@elasticmachine
Copy link
Contributor

Pinging @elastic/infra-monitoring-ui (Team:Infra Monitoring UI)

@miltonhultgren
Copy link
Contributor

Related #149041

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New value added to drive a business result Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services v8.7.0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants