Skip to content

Commit

Permalink
Changed webpage
Browse files Browse the repository at this point in the history
  • Loading branch information
tylerwowen committed Aug 10, 2024
1 parent 3601044 commit 868b505
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 25 deletions.
45 changes: 23 additions & 22 deletions deploy-board/deploy_board/templates/groups/group_details.html
Original file line number Diff line number Diff line change
Expand Up @@ -86,29 +86,8 @@ <h4 class="panel-title pull-left pointer-cursor">
</script>

<div id="metricStatId" class="collapse in panel-body">
<div id="groupStatsId" class="collapse in panel-body" style="text-align: center;">
<div id="container" class="chartContainer">
<div id="line_latencystats"></div>
<div id="launch_rate_id"></div>
{% include "groups/latency_stats.tmpl" %}
{% include "groups/launch_rate.tmpl" %}

{% if pas_enabled == 'ENABLED' %}
<div id="pas_stats_id"></div>
{% include "groups/pas_stats.tmpl" %}
{% endif %}

<style>
.chartContainer>div {
width:550px;
height:350px;
display:inline-block;
}
</style>
</div>
<div id="loadGroupInfo"></div>
</div>
<div id="tsdLinksId" style="text-align: left;">
<h4>Updated: check out these links for better visualization</h4>
<a type="button" class="deployToolTip btn btn-xs" data-toggle="tooltip"
href="{{ group_size_url }}"
title="" data-original-title="Click to see more group size information in TSDB">
Expand All @@ -132,6 +111,28 @@ <h4 class="panel-title pull-left pointer-cursor">
</a>
{% endfor %}
</div>
<div id="groupStatsId" class="collapse in panel-body" style="text-align: center;">
<div id="container" class="chartContainer">
<div id="line_latencystats"></div>
<div id="launch_rate_id"></div>
{% include "groups/latency_stats.tmpl" %}
{% include "groups/launch_rate.tmpl" %}

{% if pas_enabled == 'ENABLED' %}
<div id="pas_stats_id"></div>
{% include "groups/pas_stats.tmpl" %}
{% endif %}

<style>
.chartContainer>div {
width:550px;
height:350px;
display:inline-block;
}
</style>
</div>
<div id="loadGroupInfo"></div>
</div>
</div>
</div>

Expand Down
6 changes: 3 additions & 3 deletions deploy-board/deploy_board/templates/groups/launch_rate.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
var data = new google.visualization.DataTable();
data.addColumn("datetime", "Date");

var failure_count_name = "Launch Failure Count";
var failure_count_name = "Launch Failure Rate";
data.addColumn("number", failure_count_name);

var options = {
title: 'Launch Failure Count',
title: 'Launch Failure Rate',
titleFontSize: 15,
height: 300,
min: 0,
Expand Down Expand Up @@ -65,7 +65,7 @@
if (metric_names != null) {
for (var i = 0; i < 1; ++i) {
var metric_name = metric_names[i];
data.addColumn("number", "Launch Failure Count");
data.addColumn("number", "Launch Failure Rate");
data_list = response[metric_name];
for (j = 0; j < data_list.length; ++j) {
var d = new Date(data_list[j][0]);
Expand Down

0 comments on commit 868b505

Please sign in to comment.