From 2cf09ffecd09d7e19d8a8da8b7914ac04d9986af Mon Sep 17 00:00:00 2001 From: drebs Date: Mon, 17 Jul 2017 08:53:24 -0300 Subject: [elastic] remove all elastic-related stuff All this was moved to the puppet repository so kibana is autoconfigured and the website is autogenerated. --- elastic/templates/dashboard-per-test.mustache | 20 --- elastic/templates/dashboard.mustache | 20 --- .../visualization-searchSourceJSON.mustache | 23 --- .../templates/visualization-visState-cpu.mustache | 117 --------------- .../visualization-visState-memory.mustache | 141 ------------------ .../templates/visualization-visState-time.mustache | 165 --------------------- elastic/templates/visualization.mustache | 10 -- 7 files changed, 496 deletions(-) delete mode 100644 elastic/templates/dashboard-per-test.mustache delete mode 100644 elastic/templates/dashboard.mustache delete mode 100644 elastic/templates/visualization-searchSourceJSON.mustache delete mode 100644 elastic/templates/visualization-visState-cpu.mustache delete mode 100644 elastic/templates/visualization-visState-memory.mustache delete mode 100644 elastic/templates/visualization-visState-time.mustache delete mode 100644 elastic/templates/visualization.mustache (limited to 'elastic/templates') diff --git a/elastic/templates/dashboard-per-test.mustache b/elastic/templates/dashboard-per-test.mustache deleted file mode 100644 index c2f8f3f..0000000 --- a/elastic/templates/dashboard-per-test.mustache +++ /dev/null @@ -1,20 +0,0 @@ -{ - "title": "Benchmarks for {{{test_name}}} ({{{range_modifier}}})", - "hits": 0, - "description": "Per-test benchmarks for {{{test_name}}}", - "panelsJSON": "[{\"col\":1,\"id\":\"{{{test_name}}}_time{{{range_modifier}}}\",\"panelIndex\":1,\"row\":1,\"size_x\":6,\"size_y\":3,\"type\":\"visualization\"},{\"col\":1,\"id\":\"{{{test_name}}}_cpu{{{range_modifier}}}\",\"panelIndex\":3,\"row\":4,\"size_x\":6,\"size_y\":3,\"type\":\"visualization\"},{\"size_x\":6,\"size_y\":3,\"panelIndex\":4,\"type\":\"visualization\",\"id\":\"{{{test_name}}}_memory{{{range_modifier}}}\",\"col\":7,\"row\":1}]", - "optionsJSON": "{\"darkTheme\":true}", - "uiStateJSON": "{}", - "version": 1, - "timeRestore": true, - "timeTo": "now", - "timeFrom": "now/y", - "refreshInterval": { - "display": "Off", - "pause": false, - "value": 0 - }, - "kibanaSavedObjectMeta": { - "searchSourceJSON": "{\"filter\":[{\"query\":{\"query_string\":{\"analyze_wildcard\":true,\"query\":\"*\"}}}]}" - } -} diff --git a/elastic/templates/dashboard.mustache b/elastic/templates/dashboard.mustache deleted file mode 100644 index e54a019..0000000 --- a/elastic/templates/dashboard.mustache +++ /dev/null @@ -1,20 +0,0 @@ -{ - "title": "Soledad-Benchmarks", - "hits": 0, - "description": "All Soledad benchmak tests run on Weasel", - "panelsJSON": {{{panels_json}}}, - "optionsJSON": "{\"darkTheme\":true}", - "uiStateJSON": "{}", - "version": 1, - "timeRestore": true, - "timeTo": "now", - "timeFrom": "now/y", - "refreshInterval": { - "display": "Off", - "pause": false, - "value": 0 - }, - "kibanaSavedObjectMeta": { - "searchSourceJSON": "{\"filter\":[{\"query\":{\"query_string\":{\"analyze_wildcard\":true,\"query\":\"*\"}}}]}" - } -} diff --git a/elastic/templates/visualization-searchSourceJSON.mustache b/elastic/templates/visualization-searchSourceJSON.mustache deleted file mode 100644 index b04be2c..0000000 --- a/elastic/templates/visualization-searchSourceJSON.mustache +++ /dev/null @@ -1,23 +0,0 @@ -{ - "filter" : [], - "query" : { - "query_string" : { - "query" : "{{{query}}}", - "analyze_wildcard" : true - } - }, - "highlight" : { - "post_tags" : [ - "@/kibana-highlighted-field@" - ], - "pre_tags" : [ - "@kibana-highlighted-field@" - ], - "fragment_size" : 2147483647, - "fields" : { - "*" : {} - }, - "require_field_match" : false - }, - "index" : "benchmark*" -} diff --git a/elastic/templates/visualization-visState-cpu.mustache b/elastic/templates/visualization-visState-cpu.mustache deleted file mode 100644 index 98883e4..0000000 --- a/elastic/templates/visualization-visState-cpu.mustache +++ /dev/null @@ -1,117 +0,0 @@ -{ - "type" : "line", - "aggs" : [ - { - "params" : { - "field" : "extra_info.cpu_percent", - "customLabel" : "CPU usage (%)" - }, - "schema" : "metric", - "enabled" : true, - "type" : "avg", - "id" : "1" - }, - { - "type" : "terms", - "enabled" : true, - "schema" : "segment", - "params" : { - "orderAgg" : { - "params" : { - "field" : "commit_info.time" - }, - "type" : "min", - "enabled" : true, - "schema" : "orderAgg", - "id" : "2-orderAgg" - }, - "order" : "asc", - "field" : "commit_id_and_date", - "size" : 10000, - "orderBy" : "custom", - "customLabel" : "Commit info: id and date" - }, - "id" : "2" - } - ], - "listeners" : {}, - "params" : { - "addTimeMarker" : false, - "showCircles" : true, - "addTooltip" : true, - "scale" : "linear", - "legendPosition" : "right", - "valueAxes" : [ - { - "type" : "value", - "scale" : { - "type" : "linear", - "mode" : "normal" - }, - "show" : true, - "style" : {}, - "position" : "left", - "name" : "LeftAxis-1", - "labels" : { - "filter" : false, - "rotate" : 0, - "show" : true, - "truncate" : 100 - }, - "title" : { - "text" : "CPU usage (%)" - }, - "id" : "ValueAxis-1" - } - ], - "addLegend" : true, - "grid" : { - "style" : { - "color" : "#eee" - }, - "categoryLines" : false - }, - "radiusRatio" : 9, - "defaultYExtents" : false, - "setYExtents" : false, - "interpolate" : "linear", - "categoryAxes" : [ - { - "title" : { - "text" : "Commit info: id and date" - }, - "id" : "CategoryAxis-1", - "labels" : { - "truncate" : 100, - "show" : true - }, - "position" : "bottom", - "show" : false, - "style" : {}, - "scale" : { - "type" : "linear" - }, - "type" : "category" - } - ], - "drawLinesBetweenPoints" : true, - "seriesParams" : [ - { - "drawLinesBetweenPoints" : true, - "show" : true, - "valueAxis" : "ValueAxis-1", - "interpolate" : "linear", - "type" : "line", - "data" : { - "label" : "CPU usage (%)", - "id" : "1" - }, - "mode" : "normal", - "showCircles" : true, - "lineWidth" : 2 - } - ], - "times" : [] - }, - "title" : "CPU usage for {{{test_name}}}" -} diff --git a/elastic/templates/visualization-visState-memory.mustache b/elastic/templates/visualization-visState-memory.mustache deleted file mode 100644 index 93695ed..0000000 --- a/elastic/templates/visualization-visState-memory.mustache +++ /dev/null @@ -1,141 +0,0 @@ -{ - "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" : 10000, - "order" : "asc", - "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" -} diff --git a/elastic/templates/visualization-visState-time.mustache b/elastic/templates/visualization-visState-time.mustache deleted file mode 100644 index 74798bb..0000000 --- a/elastic/templates/visualization-visState-time.mustache +++ /dev/null @@ -1,165 +0,0 @@ -{ - "title": "Time taken by {{{test_name}}}", - "type": "line", - "params": { - "addLegend": true, - "addTimeMarker": false, - "addTooltip": true, - "categoryAxes": [ - { - "id": "CategoryAxis-1", - "labels": { - "show": true, - "truncate": 100 - }, - "position": "bottom", - "scale": { - "type": "linear" - }, - "show": false, - "style": {}, - "title": { - "text": "Commit info: id and date" - }, - "type": "category" - } - ], - "defaultYExtents": false, - "drawLinesBetweenPoints": true, - "grid": { - "categoryLines": false, - "style": { - "color": "#eee" - } - }, - "interpolate": "linear", - "legendPosition": "right", - "radiusRatio": 9, - "scale": "linear", - "seriesParams": [ - { - "data": { - "id": "3", - "label": "Mean (s)" - }, - "drawLinesBetweenPoints": true, - "interpolate": "linear", - "lineWidth": 2, - "mode": "normal", - "show": true, - "showCircles": true, - "type": "line", - "valueAxis": "ValueAxis-1" - }, - { - "show": true, - "mode": "normal", - "type": "line", - "drawLinesBetweenPoints": true, - "showCircles": false, - "interpolate": "linear", - "lineWidth": 1, - "data": { - "id": "6", - "label": "Mean - Std. Dev. (s)" - }, - "valueAxis": "ValueAxis-1" - }, - { - "show": true, - "mode": "normal", - "type": "line", - "drawLinesBetweenPoints": true, - "showCircles": false, - "interpolate": "linear", - "lineWidth": 1, - "data": { - "id": "7", - "label": "Mean + Std. Dev. (s)" - }, - "valueAxis": "ValueAxis-1" - } - ], - "setYExtents": false, - "showCircles": true, - "times": [], - "valueAxes": [ - { - "id": "ValueAxis-1", - "labels": { - "filter": false, - "rotate": 0, - "show": true, - "truncate": 100 - }, - "name": "LeftAxis-1", - "position": "left", - "scale": { - "mode": "normal", - "type": "linear" - }, - "show": true, - "style": {}, - "title": { - "text": "" - }, - "type": "value" - } - ] - }, - "aggs": [ - { - "id": "2", - "enabled": true, - "type": "terms", - "schema": "segment", - "params": { - "field": "commit_id_and_date", - "size": 10000, - "orderAgg": { - "id": "2-orderAgg", - "enabled": true, - "type": "min", - "schema": "orderAgg", - "params": { - "field": "commit_info.time" - } - }, - "order": "asc", - "orderBy": "custom", - "customLabel": "Commit info: id and date" - } - }, - { - "id": "3", - "enabled": true, - "type": "avg", - "schema": "metric", - "params": { - "field": "stats.mean", - "customLabel": "Mean (s)" - } - }, - { - "id": "6", - "enabled": true, - "type": "avg", - "schema": "metric", - "params": { - "field": "mean_minus_stddev", - "customLabel": "Mean - Std. Dev. (s)" - } - }, - { - "id": "7", - "enabled": true, - "type": "avg", - "schema": "metric", - "params": { - "field": "mean_plus_stdev", - "customLabel": "Mean + Std. Dev. (s)" - } - } - ], - "listeners": {} -} diff --git a/elastic/templates/visualization.mustache b/elastic/templates/visualization.mustache deleted file mode 100644 index 1d4eda3..0000000 --- a/elastic/templates/visualization.mustache +++ /dev/null @@ -1,10 +0,0 @@ -{ - "title" : "{{{title}}}", - "visState" : {{{visState}}}, - "uiStateJSON" : "{}", - "description" : "Test {{{type}}} for {{{test_name}}}", - "version" : 1, - "kibanaSavedObjectMeta" : { - "searchSourceJSON": {{{searchSourceJSON}}} - } -} -- cgit v1.2.3