diff options
Diffstat (limited to 'elastic/templates/visualization-visState-memory.mustache')
-rw-r--r-- | elastic/templates/visualization-visState-memory.mustache | 141 |
1 files changed, 141 insertions, 0 deletions
diff --git a/elastic/templates/visualization-visState-memory.mustache b/elastic/templates/visualization-visState-memory.mustache new file mode 100644 index 0000000..7fc3bb8 --- /dev/null +++ b/elastic/templates/visualization-visState-memory.mustache @@ -0,0 +1,141 @@ +{ + "listeners" : {}, + "params" : { + "interpolate" : "linear", + "legendPosition" : "right", + "setYExtents" : false, + "seriesParams" : [ + { + "drawLinesBetweenPoints" : true, + "data" : { + "label" : "Mean memory (%)", + "id" : "1" + }, + "showCircles" : true, + "interpolate" : "linear", + "type" : "line", + "show" : true, + "valueAxis" : "ValueAxis-1", + "mode" : "normal", + "lineWidth" : 2 + }, + { + "show" : true, + "mode" : "normal", + "lineWidth" : 2, + "valueAxis" : "ValueAxis-1", + "data" : { + "label" : "Max memory (%)", + "id" : "3" + }, + "drawLinesBetweenPoints" : true, + "interpolate" : "linear", + "type" : "line", + "showCircles" : true + } + ], + "drawLinesBetweenPoints" : true, + "addLegend" : true, + "addTooltip" : true, + "categoryAxes" : [ + { + "id" : "CategoryAxis-1", + "scale" : { + "type" : "linear" + }, + "style" : {}, + "type" : "category", + "show" : false, + "title" : { + "text" : "Commit info: id and date" + }, + "labels" : { + "truncate" : 100, + "show" : true + }, + "position" : "bottom" + } + ], + "times" : [], + "valueAxes" : [ + { + "style" : {}, + "show" : true, + "name" : "LeftAxis-1", + "id" : "ValueAxis-1", + "scale" : { + "mode" : "normal", + "type" : "linear" + }, + "position" : "left", + "type" : "value", + "title" : { + "text" : "" + }, + "labels" : { + "rotate" : 0, + "filter" : false, + "show" : true, + "truncate" : 100 + } + } + ], + "showCircles" : true, + "scale" : "linear", + "grid" : { + "style" : { + "color" : "#eee" + }, + "categoryLines" : false + }, + "defaultYExtents" : false, + "radiusRatio" : 9, + "addTimeMarker" : false + }, + "aggs" : [ + { + "enabled" : true, + "schema" : "metric", + "params" : { + "field" : "extra_info.memory_percent.stats.mean", + "customLabel" : "Mean memory (%)" + }, + "type" : "avg", + "id" : "1" + }, + { + "type" : "terms", + "id" : "2", + "params" : { + "customLabel" : "Commit id and time", + "orderAgg" : { + "id" : "2-orderAgg", + "type" : "min", + "enabled" : true, + "schema" : "orderAgg", + "params" : { + "field" : "commit_info.time" + } + }, + "size" : 50, + "order" : "desc", + "field" : "commit_id_and_date", + "orderBy" : "custom" + }, + "enabled" : true, + "schema" : "segment" + }, + { + "type" : "avg", + "id" : "3", + "enabled" : true, + "schema" : "metric", + "params" : { + "field" : "extra_info.memory_percent.stats.max", + "customLabel" : "Maximum memory (%)" + } + } + ], + "title" : "Memory usage: {{{test_name}}}", + "type" : "line" +} |