Skip to content

Instantly share code, notes, and snippets.

@erik-stephens
Created September 26, 2014 19:32
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
Kibana dashboard for selenium test results
{
"title": "Test Results",
"services": {
"query": {
"list": {
"0": {
"query": "_type:metric",
"alias": "Metric",
"color": "#0A50A1",
"id": 0,
"pin": false,
"type": "lucene",
"enable": true
},
"1": {
"id": 1,
"color": "#508642",
"alias": "PASS",
"pin": false,
"type": "lucene",
"enable": true,
"query": "_type:instance AND outcome:passed"
},
"2": {
"id": 2,
"color": "#BF1B00",
"alias": "FAIL",
"pin": false,
"type": "lucene",
"enable": true,
"query": "_type:instance AND outcome:failed"
}
},
"ids": [
0,
1,
2
]
},
"filter": {
"list": {
"0": {
"type": "time",
"field": "@timestamp",
"from": "now-24h",
"to": "now",
"mandate": "must",
"active": true,
"alias": "",
"id": 0
}
},
"ids": [
0
]
}
},
"rows": [
{
"title": "Overview",
"height": "200px",
"editable": true,
"collapse": false,
"collapsable": true,
"panels": [
{
"span": 6,
"editable": true,
"type": "histogram",
"loadingEditor": false,
"mode": "count",
"time_field": "@timestamp",
"value_field": null,
"x-axis": true,
"y-axis": true,
"scale": 1,
"y_format": "none",
"grid": {
"max": null,
"min": 0
},
"queries": {
"mode": "selected",
"ids": [
1,
2
]
},
"annotate": {
"enable": false,
"query": "*",
"size": 20,
"field": "_type",
"sort": [
"_score",
"desc"
]
},
"auto_int": true,
"resolution": 50,
"interval": "30m",
"intervals": [
"auto",
"1s",
"1m",
"5m",
"10m",
"30m",
"1h",
"3h",
"12h",
"1d",
"1w",
"1y"
],
"lines": true,
"fill": 1,
"linewidth": 2,
"points": true,
"pointradius": 2,
"bars": false,
"stack": false,
"spyable": true,
"zoomlinks": true,
"options": true,
"legend": true,
"show_query": true,
"interactive": true,
"legend_counts": true,
"timezone": "browser",
"percentage": false,
"zerofill": false,
"derivative": false,
"tooltip": {
"value_type": "cumulative",
"query_as_alias": true
},
"title": "Failures over Time"
},
{
"error": false,
"span": 3,
"editable": true,
"type": "column",
"loadingEditor": false,
"panels": [
{
"loading": false,
"sizeable": false,
"draggable": false,
"removable": false,
"span": 10,
"height": "",
"editable": true,
"type": "trends",
"ago": "1d",
"arrangement": "horizontal",
"spyable": false,
"queries": {
"mode": "selected",
"ids": [
1,
2
]
},
"style": {
"font-size": "14pt"
},
"title": "Past Day",
"reverse": true
},
{
"loading": false,
"sizeable": false,
"draggable": false,
"removable": false,
"span": 10,
"height": "",
"editable": true,
"type": "trends",
"ago": "1w",
"arrangement": "horizontal",
"spyable": false,
"queries": {
"mode": "selected",
"ids": [
1,
2
]
},
"style": {
"font-size": "14pt"
},
"title": "Past Week",
"reverse": true
},
{
"loading": false,
"sizeable": false,
"draggable": false,
"removable": false,
"span": 10,
"height": "",
"editable": true,
"type": "trends",
"ago": "1m",
"arrangement": "horizontal",
"spyable": false,
"queries": {
"mode": "selected",
"ids": [
1,
2
]
},
"style": {
"font-size": "14pt"
},
"title": "Past Month",
"reverse": true
}
],
"title": "Trend"
},
{
"error": false,
"span": 3,
"editable": true,
"type": "terms",
"loadingEditor": false,
"field": "env",
"exclude": [],
"missing": false,
"other": false,
"size": 10,
"order": "term",
"style": {
"font-size": "12pt"
},
"donut": false,
"tilt": false,
"labels": true,
"arrangement": "horizontal",
"chart": "table",
"counter_pos": "above",
"spyable": true,
"queries": {
"mode": "selected",
"ids": [
2
]
},
"tmode": "terms",
"tstat": "total",
"valuefield": "outcome",
"title": "Failures by Environment",
"precision": 0
},
{
"error": false,
"span": 4,
"editable": true,
"type": "terms",
"loadingEditor": false,
"field": "name",
"exclude": [],
"missing": false,
"other": true,
"size": 9,
"order": "count",
"style": {
"font-size": "12pt"
},
"donut": false,
"tilt": false,
"labels": true,
"arrangement": "horizontal",
"chart": "table",
"counter_pos": "above",
"spyable": true,
"queries": {
"mode": "selected",
"ids": [
2
]
},
"tmode": "terms",
"tstat": "total",
"valuefield": "",
"title": "Most Failing Test Cases",
"precision": 0
},
{
"error": false,
"span": 4,
"editable": true,
"type": "terms",
"loadingEditor": false,
"field": "browser",
"exclude": [],
"missing": false,
"other": false,
"size": 10,
"order": "count",
"style": {
"font-size": "12pt"
},
"donut": false,
"tilt": false,
"labels": true,
"arrangement": "horizontal",
"chart": "table",
"counter_pos": "above",
"spyable": true,
"queries": {
"mode": "selected",
"ids": [
2
]
},
"tmode": "terms",
"tstat": "total",
"valuefield": "",
"title": "Failures by Browser",
"precision": 0
},
{
"error": false,
"span": 4,
"editable": true,
"type": "terms",
"loadingEditor": false,
"field": "suite",
"exclude": [],
"missing": false,
"other": false,
"size": 10,
"order": "count",
"style": {
"font-size": "12pt"
},
"donut": false,
"tilt": false,
"labels": false,
"arrangement": "horizontal",
"chart": "pie",
"counter_pos": "above",
"spyable": true,
"queries": {
"mode": "selected",
"ids": [
1
]
},
"tmode": "terms",
"tstat": "total",
"valuefield": "",
"title": "Coverage",
"precision": 0
}
],
"notice": false
},
{
"title": "Test Performance",
"height": "",
"editable": true,
"collapse": false,
"collapsable": true,
"panels": [
{
"error": false,
"span": 3,
"editable": true,
"type": "terms",
"loadingEditor": false,
"field": "name",
"exclude": [],
"missing": false,
"other": true,
"size": 9,
"order": "max",
"style": {
"font-size": "12pt"
},
"donut": false,
"tilt": false,
"labels": true,
"arrangement": "horizontal",
"chart": "table",
"counter_pos": "above",
"spyable": true,
"queries": {
"mode": "selected",
"ids": [
1
]
},
"tmode": "terms_stats",
"tstat": "max",
"valuefield": "setup",
"title": "Slowest Setups",
"precision": 0
},
{
"error": false,
"span": 3,
"editable": true,
"type": "terms",
"loadingEditor": false,
"field": "name",
"exclude": [],
"missing": false,
"other": true,
"size": 9,
"order": "max",
"style": {
"font-size": "12pt"
},
"donut": false,
"tilt": false,
"labels": true,
"arrangement": "horizontal",
"chart": "table",
"counter_pos": "above",
"spyable": true,
"queries": {
"mode": "selected",
"ids": [
1
]
},
"tmode": "terms_stats",
"tstat": "max",
"valuefield": "call",
"title": "Slowest Calls",
"precision": 0
},
{
"error": false,
"span": 3,
"editable": true,
"type": "terms",
"loadingEditor": false,
"field": "name",
"exclude": [],
"missing": false,
"other": true,
"size": 9,
"order": "max",
"style": {
"font-size": "12pt"
},
"donut": false,
"tilt": false,
"labels": true,
"arrangement": "horizontal",
"chart": "table",
"counter_pos": "above",
"spyable": true,
"queries": {
"mode": "selected",
"ids": [
1
]
},
"tmode": "terms_stats",
"tstat": "max",
"valuefield": "teardown",
"title": "Slowest Teardowns",
"precision": 0
},
{
"error": false,
"span": 3,
"editable": true,
"type": "terms",
"loadingEditor": false,
"field": "browser",
"exclude": [],
"missing": false,
"other": false,
"size": 10,
"order": "mean",
"style": {
"font-size": "12pt"
},
"donut": false,
"tilt": false,
"labels": true,
"arrangement": "horizontal",
"chart": "table",
"counter_pos": "above",
"spyable": true,
"queries": {
"mode": "selected",
"ids": [
1,
2
]
},
"tmode": "terms_stats",
"tstat": "mean",
"valuefield": "call",
"title": "Browsers",
"precision": 0
}
],
"notice": false
},
{
"title": "Test Log",
"height": "650px",
"editable": true,
"collapse": false,
"collapsable": true,
"panels": [
{
"error": false,
"span": 12,
"editable": true,
"group": [
"default"
],
"type": "table",
"size": 100,
"pages": 5,
"offset": 0,
"sort": [
"@timestamp",
"desc"
],
"style": {
"font-size": "9pt"
},
"overflow": "min-height",
"fields": [
"env",
"browser",
"suite",
"module",
"name",
"outcome",
"call",
"setup",
"teardown",
"@timestamp"
],
"highlight": [],
"sortable": true,
"header": true,
"paging": true,
"spyable": true,
"queries": {
"mode": "selected",
"ids": [
1,
2
]
},
"field_list": false,
"status": "Stable",
"trimFactor": 300,
"normTimes": true,
"title": "Test Instances",
"all_fields": false,
"localTime": false,
"timeField": "@timestamp"
}
],
"notice": false
}
],
"editable": true,
"index": {
"interval": "none",
"pattern": "[logstash-]YYYY.MM.DD",
"default": "tests",
"warm_fields": true
},
"style": "light",
"failover": false,
"panel_hints": true,
"loader": {
"save_gist": false,
"save_elasticsearch": true,
"save_local": true,
"save_default": true,
"save_temp": true,
"save_temp_ttl_enable": true,
"save_temp_ttl": "30d",
"load_gist": true,
"load_elasticsearch": true,
"load_elasticsearch_size": 20,
"load_local": true,
"hide": false
},
"pulldowns": [
{
"type": "query",
"collapse": true,
"notice": false,
"query": "*",
"pinned": true,
"history": [
"*",
"_type:instance AND outcome:passed",
"_type:metric",
"_type:instance"
],
"remember": 10,
"enable": true
},
{
"type": "filtering",
"collapse": true,
"notice": true,
"enable": true
}
],
"nav": [
{
"type": "timepicker",
"collapse": false,
"notice": false,
"status": "Stable",
"time_options": [
"5m",
"15m",
"1h",
"6h",
"12h",
"24h",
"2d",
"7d",
"30d"
],
"refresh_intervals": [
"5s",
"10s",
"30s",
"1m",
"5m",
"15m",
"30m",
"1h",
"2h",
"1d"
],
"timefield": "@timestamp",
"enable": true,
"now": true,
"filter_id": 0
}
],
"refresh": false
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment