From 8268a08445a4e2b4aaf989e83d1ec8fbf64745e5 Mon Sep 17 00:00:00 2001 From: drebs Date: Thu, 15 Jun 2017 15:38:21 -0300 Subject: [elastic] use custom labels for metrics --- elastic/templates/visualization-visState-time.mustache | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'elastic/templates/visualization-visState-time.mustache') diff --git a/elastic/templates/visualization-visState-time.mustache b/elastic/templates/visualization-visState-time.mustache index 93ec6f5..b97b3b5 100644 --- a/elastic/templates/visualization-visState-time.mustache +++ b/elastic/templates/visualization-visState-time.mustache @@ -21,7 +21,8 @@ "type" : "avg", "schema" : "metric", "params" : { - "field" : "stats.median" + "field" : "stats.median", + "customLabel": "Median" }, "enabled" : true, "id" : "1" @@ -33,6 +34,7 @@ "order" : "asc", "orderBy" : "custom", "field" : "commit_id_and_date", + "customLabel" : "Commit info: id and date", "size" : 1000, "orderAgg" : { "params" : { @@ -53,7 +55,8 @@ "id" : "3", "schema" : "metric", "params" : { - "field" : "stats.mean" + "field" : "stats.mean", + "customLabel": "Mean" }, "type" : "avg" }, @@ -63,14 +66,16 @@ "type" : "avg", "schema" : "metric", "params" : { - "field" : "stats.iqr" + "field" : "stats.iqr", + "customLabel": "IQR" } }, { "type" : "avg", "schema" : "metric", "params" : { - "field" : "stats.stddev" + "field" : "stats.stddev", + "customLabel": "Standard deviation" }, "id" : "5", "enabled" : true -- cgit v1.2.3