summaryrefslogtreecommitdiff
path: root/elastic/templates/visualization-visState-time.mustache
diff options
context:
space:
mode:
Diffstat (limited to 'elastic/templates/visualization-visState-time.mustache')
-rw-r--r--elastic/templates/visualization-visState-time.mustache191
1 files changed, 148 insertions, 43 deletions
diff --git a/elastic/templates/visualization-visState-time.mustache b/elastic/templates/visualization-visState-time.mustache
index b97b3b5..5141ce0 100644
--- a/elastic/templates/visualization-visState-time.mustache
+++ b/elastic/templates/visualization-visState-time.mustache
@@ -1,84 +1,189 @@
{
"type" : "line",
- "listeners" : {},
- "title" : "Test time for {{{test_name}}}",
- "params" : {
- "legendPosition" : "right",
- "defaultYExtents" : false,
- "setYExtents" : false,
- "drawLinesBetweenPoints" : true,
- "interpolate" : "linear",
- "addTimeMarker" : false,
- "radiusRatio" : 9,
- "showCircles" : true,
- "scale" : "linear",
- "addTooltip" : true,
- "addLegend" : true,
- "times" : []
- },
"aggs" : [
{
"type" : "avg",
"schema" : "metric",
"params" : {
"field" : "stats.median",
- "customLabel": "Median"
+ "customLabel" : "Median (s)"
},
- "enabled" : true,
- "id" : "1"
+ "id" : "1",
+ "enabled" : true
},
{
- "enabled" : true,
- "id" : "2",
+ "type" : "terms",
+ "schema" : "segment",
"params" : {
- "order" : "asc",
- "orderBy" : "custom",
- "field" : "commit_id_and_date",
- "customLabel" : "Commit info: id and date",
"size" : 1000,
"orderAgg" : {
+ "enabled" : true,
+ "type" : "min",
"params" : {
"field" : "commit_info.time"
},
"schema" : "orderAgg",
- "type" : "min",
- "enabled" : true,
"id" : "2-orderAgg"
},
- "ranges": [{"from": "*2017-4-1"}]
+ "field" : "commit_id_and_date",
+ "orderBy" : "custom",
+ "customLabel" : "Commit info: id and date",
+ "order" : "asc"
},
- "schema" : "segment",
- "type" : "terms"
+ "id" : "2",
+ "enabled" : true
},
{
- "enabled" : true,
- "id" : "3",
"schema" : "metric",
"params" : {
"field" : "stats.mean",
- "customLabel": "Mean"
+ "customLabel" : "Mean (s)"
},
- "type" : "avg"
+ "id" : "3",
+ "type" : "avg",
+ "enabled" : true
},
{
"id" : "4",
- "enabled" : true,
- "type" : "avg",
- "schema" : "metric",
"params" : {
"field" : "stats.iqr",
- "customLabel": "IQR"
- }
+ "customLabel" : "IQR (s)"
+ },
+ "schema" : "metric",
+ "type" : "avg",
+ "enabled" : true
},
{
- "type" : "avg",
- "schema" : "metric",
"params" : {
"field" : "stats.stddev",
- "customLabel": "Standard deviation"
+ "customLabel" : "Standard deviation (s)"
},
+ "schema" : "metric",
"id" : "5",
+ "type" : "avg",
"enabled" : true
}
- ]
+ ],
+ "params" : {
+ "legendPosition" : "right",
+ "drawLinesBetweenPoints" : true,
+ "times" : [],
+ "addTimeMarker" : false,
+ "showCircles" : true,
+ "scale" : "linear",
+ "addLegend" : true,
+ "defaultYExtents" : false,
+ "radiusRatio" : 9,
+ "interpolate" : "linear",
+ "seriesParams" : [
+ {
+ "interpolate" : "linear",
+ "show" : true,
+ "drawLinesBetweenPoints" : true,
+ "valueAxis" : "ValueAxis-1",
+ "mode" : "normal",
+ "type" : "line",
+ "lineWidth" : 2,
+ "showCircles" : true,
+ "data" : {
+ "id" : "1",
+ "label" : "Median (s)"
+ }
+ },
+ {
+ "drawLinesBetweenPoints" : true,
+ "interpolate" : "linear",
+ "show" : true,
+ "data" : {
+ "label" : "Mean (s)",
+ "id" : "3"
+ },
+ "showCircles" : true,
+ "valueAxis" : "ValueAxis-1",
+ "mode" : "normal",
+ "type" : "line",
+ "lineWidth" : 2
+ },
+ {
+ "show" : true,
+ "interpolate" : "linear",
+ "drawLinesBetweenPoints" : true,
+ "type" : "line",
+ "lineWidth" : 2,
+ "valueAxis" : "ValueAxis-1",
+ "mode" : "normal",
+ "data" : {
+ "id" : "4",
+ "label" : "IQR (s)"
+ },
+ "showCircles" : true
+ },
+ {
+ "type" : "line",
+ "lineWidth" : 2,
+ "valueAxis" : "ValueAxis-1",
+ "mode" : "normal",
+ "showCircles" : true,
+ "data" : {
+ "id" : "5",
+ "label" : "Standard deviation (s)"
+ },
+ "show" : true,
+ "interpolate" : "linear",
+ "drawLinesBetweenPoints" : true
+ }
+ ],
+ "setYExtents" : false,
+ "grid" : {
+ "style" : {
+ "color" : "#eee"
+ },
+ "categoryLines" : false
+ },
+ "addTooltip" : true,
+ "categoryAxes" : [
+ {
+ "scale" : {
+ "type" : "linear"
+ },
+ "title" : {
+ "text" : "Commit info: id and date"
+ },
+ "style" : {},
+ "type" : "category",
+ "id" : "CategoryAxis-1",
+ "position" : "bottom",
+ "labels" : {
+ "truncate" : 100,
+ "show" : true
+ },
+ "show" : false
+ }
+ ],
+ "valueAxes" : [
+ {
+ "title" : {
+ "text" : ""
+ },
+ "scale" : {
+ "mode" : "normal",
+ "type" : "linear"
+ },
+ "style" : {},
+ "type" : "value",
+ "id" : "ValueAxis-1",
+ "position" : "left",
+ "labels" : {
+ "filter" : false,
+ "rotate" : 0,
+ "truncate" : 100,
+ "show" : true
+ },
+ "show" : true,
+ "name" : "LeftAxis-1"
+ }
+ ]
+ },
+ "title" : "Time taken by {{{test_name}}}",
+ "listeners" : {}
}