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

[FEATURE] Central View of the Release Metrics Dashboards #69

Closed
7 tasks done
prudhvigodithi opened this issue Aug 29, 2024 · 7 comments
Closed
7 tasks done

[FEATURE] Central View of the Release Metrics Dashboards #69

prudhvigodithi opened this issue Aug 29, 2024 · 7 comments
Assignees
Labels
enhancement New feature or request

Comments

@prudhvigodithi
Copy link
Member

prudhvigodithi commented Aug 29, 2024

Is your feature request related to a problem?

As part of #51 today we have multiple dashboards for release metrics. These dashboards include metrics that can be used by the release manager to drive the release, metrics for the community to track the current status of the release and metrics for the component level release owners and teams to track the build and integration test failures.

Dashboards for release manager and community to track the release: Dashboard Link.

Dashboards for Build and Integration Test failures: Dashboards Link.

What solution would you like?

Have a central view of all the release dashboards that are related to release. Having a central view will eliminate multiple clicks of moving around between dashboards and a user can have a central view for the release metrics.

Combining all release-related visualizations into a single dashboard is not a viable solution. Applying global filters at the dashboard level would affect all visualizations within it, which becomes problematic given the extensive data and multiple metrics involved. The data is organized into multiple indices, each with different key-value mappings. Since no two metric categories for releases are identical, consolidating them under a single dashboard is not a solution.

Example:
The Dashboards for Build and Integration Test failures: Dashboards Link has data about the integration test failures for an Release candidate, the filter applied for these Dashboard are related to build_number, platform, distribution, rc_number etc, whereas for Dashboards for release manager and community to track the release: Dashboard Link the filters used for the mentioned 1st dashboard does not apply as these visualizations targets different metrics like number of release_issues, release_owner assigned (yes/or) etc.

So the solution is:

Embed the dashboards Iframe URL to https://opensearch.org/ similar to what we have to https://opensearch.org/benchmarks. Add all the release dashboards Iframes to this https://opensearch.org/ page so that users can have all the release metrics under on view (in one page). The Iframe embeddings should have the following conditions met.

<div class="nav-index">
    <a href="#metrics-dashboard">OpenSearch Release Metrics</a>
    <a href="#test-results-dashboard">OpenSearch Release Build and Integration Test Results</a>
</div>

The anchor URL's:
* https://opensearch.org/release-metrics#metrics-dashboard
* https://opensearch.org/release-metrics#test-results-dashboard
Screenshot 2024-09-03 at 2 52 47 PM

Do you have any additional context?

For the goals to achieve need to make some changes in https://github.com/opensearch-project/project-website/.

@prudhvigodithi prudhvigodithi added enhancement New feature or request untriaged Issues that have not yet been triaged labels Aug 29, 2024
@prudhvigodithi
Copy link
Member Author

prudhvigodithi commented Aug 29, 2024

Adding @getsaurabh02 @dblock @bshien

@prudhvigodithi prudhvigodithi self-assigned this Aug 29, 2024
@getsaurabh02
Copy link
Member

Thanks @prudhvigodithi, are there any mocks you would want to share as well?

@prudhvigodithi
Copy link
Member Author

Sure Let me share some sample mocks here. Thanks

@prudhvigodithi
Copy link
Member Author

prudhvigodithi commented Aug 30, 2024

Coming from the above requirement:

Make sure the Iframe for dashboards part of https://metrics.opensearch.org/_dashboards/app/home is only allowed for https://opensearch.org/, default have the X-Frame-Options: DENY.

We can use the following to ensure the Iframe is only allowed for https://opensearch.org, we cam update opensearchNginxProxyReadonly.ts accordingly.

add_header X-Frame-Options "DENY";  
add_header Content-Security-Policy "frame-ancestors https://opensearch.org";

@prudhvigodithi prudhvigodithi moved this from 🆕 New to 🏗 In progress in Engineering Effectiveness Board Aug 30, 2024
@prudhvigodithi
Copy link
Member Author

prudhvigodithi commented Sep 3, 2024

Hey I havent seen any mock framework added to the project-website, hence captured a small video on the behaviour based on the issue description. @getsaurabh02 @dblock to please take a look.

release-metrics-ui-mock.1.mov

@prudhvigodithi
Copy link
Member Author

The following improvements are added:

  • Updated the anchor links of the dashboards and added as part of the <p> body.
  • Added new dashboard OpenSearch Component Release Metrics, using https://metrics.opensearch.org/_dashboards/app/dashboards#/view/be62b350-6b06-11ef-8d6b-d50babf51bc6.
  • Added release_versions array with version, release_issue and release_retro_issue. This central view should now support multiple releases. There are times we end up doing multiple versions in parallel.
  • Added UI enhancement for the user to choose the release version.
    • Default will be the latest and the current release version selected and version.keyword is applied across the dashboards and to the visualizations.
    • User can unselect this and the UI will now have dashboards with version.keyword not selected.
    • The user can choose different release version other than the default selected (the oner other than the current on going release) and the version.keyword is applied across the dashboards and to the visualizations.
  • The modal pop up's and the directly dashboard links are also updated based on version selected by the user.
  • The URL will be changed from https://opensearch.org/release-metrics to https://opensearch.org/release-dashboard.

Here is the mock video with the above changes.

central-release-ui.1.mov

Thank you
@getsaurabh02

@prudhvigodithi
Copy link
Member Author

The central view of the release dashboard is now part of the OpenSearch website https://opensearch.org/release-dashboard. Closing this issue.
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: ✅ Done
Development

No branches or pull requests

2 participants