Skip to content

Commit

Permalink
Add Observability (Logging) benchmarks (elastic#357)
Browse files Browse the repository at this point in the history
Add the observability/observe track to nightly benchmarks.
Also add the possibility to present a warning message on any benchmark
tab.
  • Loading branch information
dliappis committed Dec 17, 2020
1 parent 58f51b1 commit 971d849
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions external/pages/index.html
Expand Up @@ -163,11 +163,17 @@
$('.tracks').hide();
$("#dateRangeGroup").hide();
$("#releaseLegend").hide();
$("#warningLegend").hide();

if (charts.currentSpec != null) {
var hash = "#tracks/" + charts.currentSpec.id;

$('.tracks').show();

if ("warning" in charts.currentSpec) {
$("#warningLegend").html(charts.currentSpec.warning).show();
}

if (charts.currentChartType === "nightly") {
hash = hash + "/nightly/" + charts.currentDistributionType + "/" + charts.dateRange;
var nightlyUrl = charts.dashboardUrl(charts.currentSpec.nightly_dashboards[charts.currentDistributionType]);
Expand Down Expand Up @@ -265,6 +271,7 @@ <h4>Legend</h4>
</ul>
<p>Starting with Elasticsearch 7.7.0, benchmarks are run with the <a href="https://www.elastic.co/guide/en/elasticsearch/reference/current/setup.html#jvm-version">JDK that is bundled with Elasticsearch</a>.</p>
</div>
<div id="warningLegend" class="alert alert-warning" role="alert"></div>
</div>
</div>

Expand Down Expand Up @@ -485,6 +492,16 @@ <h4>History of changes</h4>
"default": "ee7bdacd-56d5-48ec-a765-f8b5183885b9"
},
"release_dashboard": "77859dc3-81da-479a-8f32-40fc3f2edfe0"
},
{
"id": "logging",
"track": "Logging",
"warning": "Observability benchmarks are under active development and shouldn't be consulted for any calculations at this point",
"description": "for evaluating the performance of observability logging",
"nightly_dashboards": {
"default": "fd480790-f523-45ea-83ae-afce34fbf7f9"
},
"release_dashboard": "560d5e44-1120-41ef-a432-18c7844d834b"
}
], window.location.hash);
});
Expand Down

0 comments on commit 971d849

Please sign in to comment.