summaryrefslogtreecommitdiff
path: root/elastic/templates/visualization-visState-time.mustache
diff options
context:
space:
mode:
authordrebs <drebs@riseup.net>2017-06-15 15:38:21 -0300
committerdrebs <drebs@riseup.net>2017-06-15 15:38:21 -0300
commit8268a08445a4e2b4aaf989e83d1ec8fbf64745e5 (patch)
tree7a22c343dc62973a9344e97dcc7a91a8f8587491 /elastic/templates/visualization-visState-time.mustache
parentdd42ec1f3a1f45e1e3c05f3768f11703b800669d (diff)
[elastic] use custom labels for metrics
Diffstat (limited to 'elastic/templates/visualization-visState-time.mustache')
-rw-r--r--elastic/templates/visualization-visState-time.mustache13
1 files changed, 9 insertions, 4 deletions
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