Skip to content

Commit 0c7d925

Browse files
Merge pull request #3254 from prudhvigodithi/main
Central view of the release metrics in the website.
2 parents 753e4c9 + 89c0099 commit 0c7d925

File tree

2 files changed

+199
-0
lines changed

2 files changed

+199
-0
lines changed

_data/top_nav.yml

+2
Original file line numberDiff line numberDiff line change
@@ -78,3 +78,5 @@ items:
7878
url: https://playground.opensearch.org/
7979
- label: Performance Benchmarks
8080
url: /benchmarks/
81+
- label: Release Metrics
82+
url: /release-metrics/

release-metrics/index.md

+197
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,197 @@
1+
---
2+
layout: fullwidth-with-breadcrumbs
3+
primary_title: 'OpenSearch Release Metrics'
4+
title: 'OpenSearch Release Metrics'
5+
breadcrumbs:
6+
icon: platform
7+
items:
8+
- title: The OpenSearch Platform
9+
url: '/platform/'
10+
- title: Release Metrics
11+
url: '/release-metrics/'
12+
omit_from_search: true
13+
14+
benchmark_domain: 'metrics.opensearch.org'
15+
benchmark_dashboard_id: '88071cb0-f118-11ed-aff5-859eb6ed880f'
16+
benchmark_range_days: 7
17+
18+
benchmark_height_desktop: 2000
19+
benchmark_height_mobile: 6000
20+
---
21+
<style>
22+
body, html {
23+
margin: 0;
24+
padding: 0;
25+
width: 100%;
26+
height: 100%;
27+
display: flex;
28+
flex-direction: column;
29+
background-color: #fff;
30+
}
31+
h1 {
32+
text-align: center;
33+
margin: 5px 0;
34+
cursor: pointer;
35+
text-decoration: underline;
36+
}
37+
.dashboard-container {
38+
width: 100%;
39+
margin-bottom: 20px;
40+
overflow: hidden;
41+
}
42+
iframe {
43+
width: 100%;
44+
border: none;
45+
}
46+
@media only screen and (min-width: 768px) {
47+
iframe {
48+
height: {{ page.benchmark_height_desktop }}px;
49+
}
50+
}
51+
@media only screen and (max-width: 767px) {
52+
iframe {
53+
height: {{ page.benchmark_height_mobile }}px;
54+
}
55+
}
56+
.modal {
57+
display: none;
58+
position: fixed;
59+
z-index: 1000;
60+
left: 0;
61+
top: 0;
62+
width: 100%;
63+
height: 100%;
64+
overflow: hidden;
65+
background-color: rgba(0,0,0,0.5);
66+
justify-content: center;
67+
align-items: center;
68+
}
69+
.modal-content {
70+
position: relative;
71+
width: 100%;
72+
height: 100%;
73+
max-width: 1200px;
74+
max-height: 900px
75+
background-color: white;
76+
overflow: hidden;
77+
}
78+
.modal-header {
79+
padding: 16px;
80+
font-size: 20px;
81+
font-weight: bold;
82+
border-bottom: 1px solid #ddd;
83+
background-color: #f5f5f5;
84+
margin-bottom: 16px;
85+
}
86+
.close {
87+
position: absolute;
88+
right: 20px;
89+
top: 20px;
90+
color: #000;
91+
font-size: 28px;
92+
font-weight: bold;
93+
cursor: pointer;
94+
z-index: 2;
95+
}
96+
.close:hover,
97+
.close:focus {
98+
color: #555;
99+
text-decoration: none;
100+
cursor: pointer;
101+
}
102+
.modal-body {
103+
padding: 16px;
104+
height: calc(100% - 60px);
105+
overflow: auto;
106+
}
107+
.nav-index {
108+
margin: 5px;
109+
text-align: center;
110+
}
111+
.nav-index a {
112+
margin: 0 15px;
113+
text-decoration: none;
114+
color: #007bff;
115+
font-weight: bold;
116+
}
117+
.nav-index a:hover {
118+
text-decoration: underline;
119+
}
120+
.button {
121+
display: inline-block;
122+
padding: 10px 15px;
123+
font-size: 14px;
124+
color: #fff;
125+
background-color: #007bff;
126+
text-decoration: none;
127+
border-radius: 4px;
128+
margin-top: 10px;
129+
}
130+
.button:hover {
131+
background-color: #0056b3;
132+
}
133+
</style>
134+
135+
<div class="nav-index">
136+
<a href="#metrics-dashboard">OpenSearch Release Metrics</a>
137+
<a href="#test-results-dashboard">OpenSearch Release Build and Integration Test Results</a>
138+
</div>
139+
140+
<p>
141+
Welcome to the OpenSearch Release Metrics page. As part of the <a href="https://github.com/opensearch-project/opensearch-metrics">metrics project initiative</a> and with the goal of providing a central release dashboard, this page offers a comprehensive overview of the metrics and key indicators related to the ongoing OpenSearch releases. It provides a consolidated view of all release-related metrics, helping the the OpenSearch community to track release progress and its activities effectively. The page features dashboards and visualizations that support the community, plugin teams, and release managers by offering essential data to ensure a smooth release process. Additionally, it includes dashboards for build and integration test failures, which are particularly valuable for component-level release owners as these dashboards help in identifying and addressing issues before and during the release window.
142+
</p>
143+
<h2>Join the discussion</h2>
144+
<p>
145+
Questions or contributions? Connect with the OpenSearch community in the <a href="https://opensearch.slack.com/archives/C0561HRK961">#releases</a> channel on our public Slack.
146+
</p>
147+
148+
<p>
149+
To learn more about OpenSearch Release Process, please read this <a href="https://github.com/opensearch-project/opensearch-build/wiki/Releasing-the-Distribution">wiki document</a> part of the opensearch-build repo.
150+
</p>
151+
152+
<div id="metrics-dashboard" class="dashboard-container">
153+
<h1 onclick="openModal('modal1')">OpenSearch Release Metrics</h1>
154+
<a href="https://metrics.opensearch.org/_dashboards/app/dashboards?security_tenant=global#/view/12d47dd0-e0cc-11ee-86f3-3358a59f8c46?embed=true&_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-90d,to:now))&_a=(description:'',filters:!(),fullScreenMode:!f,options:(hidePanelTitles:!f,useMargins:!t),query:(language:kuery,query:''),timeRestore:!t,title:'OpenSearch%20Release%20Metrics',viewMode:view)&show-top-menu=true&show-query-input=true&show-time-filter=true" target="_blank" class="button">Direct Link to Metrics Dashboard</a>
155+
<iframe src="https://metrics.opensearch.org/_dashboards/app/dashboards?security_tenant=global#/view/12d47dd0-e0cc-11ee-86f3-3358a59f8c46?embed=true&_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-90d,to:now))&_a=(description:'',filters:!(),fullScreenMode:!f,options:(hidePanelTitles:!f,useMargins:!t),query:(language:kuery,query:''),timeRestore:!t,title:'OpenSearch%20Release%20Metrics',viewMode:view)&show-top-menu=true&show-query-input=true&show-time-filter=true"></iframe>
156+
</div>
157+
158+
<div id="test-results-dashboard" class="dashboard-container">
159+
<h1 onclick="openModal('modal2')">OpenSearch Release Build and Integration Test Results</h1>
160+
<a href="https://metrics.opensearch.org/_dashboards/app/dashboards?security_tenant=global#/view/21aad140-49f6-11ef-bbdd-39a9b324a5aa?embed=true&_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-30d,to:now))&_a=(description:'OpenSearch%20Release%20Build%20and%20Integration%20Test%20Results',filters:!(),fullScreenMode:!f,options:(hidePanelTitles:!f,useMargins:!t),query:(language:kuery,query:''),timeRestore:!t,title:'OpenSearch%20Release%20Build%20and%20Integration%20Test%20Results',viewMode:view)&show-top-menu=true&show-query-input=true&show-time-filter=tru" target="_blank" class="button">Direct Link to Metrics Dashboard</a>
161+
<iframe src="https://metrics.opensearch.org/_dashboards/app/dashboards?security_tenant=global#/view/21aad140-49f6-11ef-bbdd-39a9b324a5aa?embed=true&_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-30d,to:now))&_a=(description:'OpenSearch%20Release%20Build%20and%20Integration%20Test%20Results',filters:!(),fullScreenMode:!f,options:(hidePanelTitles:!f,useMargins:!t),query:(language:kuery,query:''),timeRestore:!t,title:'OpenSearch%20Release%20Build%20and%20Integration%20Test%20Results',viewMode:view)&show-top-menu=true&show-query-input=true&show-time-filter=true"></iframe>
162+
</div>
163+
164+
<!-- First Modal -->
165+
<div id="modal1" class="modal">
166+
<div class="modal-content">
167+
<div class="modal-header">
168+
<span class="close" onclick="closeModal('modal1')">&times;</span>
169+
OpenSearch Release Metrics
170+
</div>
171+
<div class="modal-body">
172+
<iframe src="https://metrics.opensearch.org/_dashboards/app/dashboards?security_tenant=global#/view/12d47dd0-e0cc-11ee-86f3-3358a59f8c46?embed=true&_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-90d,to:now))&_a=(description:'',filters:!(),fullScreenMode:!f,options:(hidePanelTitles:!f,useMargins:!t),query:(language:kuery,query:''),timeRestore:!t,title:'OpenSearch%20Release%20Metrics',viewMode:view)&show-top-menu=true&show-query-input=true&show-time-filter=true"></iframe>
173+
</div>
174+
</div>
175+
</div>
176+
177+
<!-- Second Modal -->
178+
<div id="modal2" class="modal">
179+
<div class="modal-content">
180+
<div class="modal-header">
181+
<span class="close" onclick="closeModal('modal2')">&times;</span>
182+
OpenSearch Release Build and Integration Test Results
183+
</div>
184+
<div class="modal-body">
185+
<iframe src="https://metrics.opensearch.org/_dashboards/app/dashboards?security_tenant=global#/view/21aad140-49f6-11ef-bbdd-39a9b324a5aa?embed=true&_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-30d,to:now))&_a=(description:'OpenSearch%20Release%20Build%20and%20Integration%20Test%20Results',filters:!(),fullScreenMode:!f,options:(hidePanelTitles:!f,useMargins:!t),query:(language:kuery,query:''),timeRestore:!t,title:'OpenSearch%20Release%20Build%20and%20Integration%20Test%20Results',viewMode:view)&show-top-menu=true&show-query-input=true&show-time-filter=true"></iframe>
186+
</div>
187+
</div>
188+
</div>
189+
190+
<script>
191+
function openModal(modalId) {
192+
document.getElementById(modalId).style.display = "flex";
193+
}
194+
function closeModal(modalId) {
195+
document.getElementById(modalId).style.display = "none";
196+
}
197+
</script>

0 commit comments

Comments
 (0)