diff options
author | drebs <drebs@riseup.net> | 2017-06-08 12:54:19 -0300 |
---|---|---|
committer | drebs <drebs@riseup.net> | 2017-06-08 14:41:53 -0300 |
commit | 231bafb691d60151ba5fdb73258780e3136e845a (patch) | |
tree | 76e7a422dd4b0e457747cdc4c17762c49a9313b7 /elastic/templates/visualization-visState-resources.mustache | |
parent | f0888c835d830e69526603c44128d9ee44e67333 (diff) |
[elastic] create resources visualization
Diffstat (limited to 'elastic/templates/visualization-visState-resources.mustache')
-rw-r--r-- | elastic/templates/visualization-visState-resources.mustache | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/elastic/templates/visualization-visState-resources.mustache b/elastic/templates/visualization-visState-resources.mustache new file mode 100644 index 0000000..d47db6b --- /dev/null +++ b/elastic/templates/visualization-visState-resources.mustache @@ -0,0 +1,60 @@ +{ + "type" : "line", + "listeners" : {}, + "title" : "Test resources 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" : "extra_info.cpu_percent" + }, + "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" + } + }, + "schema" : "segment", + "type" : "terms" + }, + { + "enabled" : true, + "id" : "3", + "schema" : "metric", + "params" : { + "field" : "extra_info.memory_percent.stats.max" + }, + "type" : "avg" + } + ] +} |