diff options
Diffstat (limited to 'elastic/templates/visualization-visState-time.mustache')
-rw-r--r-- | elastic/templates/visualization-visState-time.mustache | 79 |
1 files changed, 79 insertions, 0 deletions
diff --git a/elastic/templates/visualization-visState-time.mustache b/elastic/templates/visualization-visState-time.mustache new file mode 100644 index 0000000..93ec6f5 --- /dev/null +++ b/elastic/templates/visualization-visState-time.mustache @@ -0,0 +1,79 @@ +{ + "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" + }, + "enabled" : true, + "id" : "1" + }, + { + "enabled" : true, + "id" : "2", + "params" : { + "order" : "asc", + "orderBy" : "custom", + "field" : "commit_id_and_date", + "size" : 1000, + "orderAgg" : { + "params" : { + "field" : "commit_info.time" + }, + "schema" : "orderAgg", + "type" : "min", + "enabled" : true, + "id" : "2-orderAgg" + }, + "ranges": [{"from": "*2017-4-1"}] + }, + "schema" : "segment", + "type" : "terms" + }, + { + "enabled" : true, + "id" : "3", + "schema" : "metric", + "params" : { + "field" : "stats.mean" + }, + "type" : "avg" + }, + { + "id" : "4", + "enabled" : true, + "type" : "avg", + "schema" : "metric", + "params" : { + "field" : "stats.iqr" + } + }, + { + "type" : "avg", + "schema" : "metric", + "params" : { + "field" : "stats.stddev" + }, + "id" : "5", + "enabled" : true + } + ] +} |