Created
October 28, 2016 13:20
-
-
Save jorge07/ace6b1b4257e03dfa54264175e1c7dee to your computer and use it in GitHub Desktop.
Swarm3k Grafana dasboard.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"__inputs": [ | |
{ | |
"name": "DS_LOGSENE", | |
"label": "Logsene", | |
"description": "", | |
"type": "datasource", | |
"pluginId": "elasticsearch", | |
"pluginName": "Elasticsearch" | |
} | |
], | |
"__requires": [ | |
{ | |
"type": "panel", | |
"id": "text", | |
"name": "Text", | |
"version": "" | |
}, | |
{ | |
"type": "panel", | |
"id": "singlestat", | |
"name": "Singlestat", | |
"version": "" | |
}, | |
{ | |
"type": "panel", | |
"id": "graph", | |
"name": "Graph", | |
"version": "" | |
}, | |
{ | |
"type": "panel", | |
"id": "table", | |
"name": "Table", | |
"version": "" | |
}, | |
{ | |
"type": "grafana", | |
"id": "grafana", | |
"name": "Grafana", | |
"version": "3.1.1" | |
}, | |
{ | |
"type": "datasource", | |
"id": "elasticsearch", | |
"name": "Elasticsearch", | |
"version": "3.0.0" | |
} | |
], | |
"id": null, | |
"title": "Swarm3k - Cluster Status", | |
"tags": [], | |
"style": "dark", | |
"timezone": "browser", | |
"editable": true, | |
"hideControls": false, | |
"sharedCrosshair": true, | |
"rows": [ | |
{ | |
"collapse": false, | |
"editable": true, | |
"height": 218.625, | |
"panels": [ | |
{ | |
"content": "<h4>Project: <a href=\"https://github.com/swarmzilla/swarm3k\" target=\"_parent\"\"> SwarmZilla/swarm3k</a></h4>\n<table>\n<tr><td padding=\"2\">\n<img width=\"54\" src=\"https://sematext.com/wp-content/uploads/2016/10/octi-orange.png\"/> \n</td><td> Metrics, Logs and Events by \n<a href=\"http://sematext.com/docker/\" target=\"_parent\"> Sematext Agent for Docker</a> & <a href=\"http://sematext.com/logsene/\" target=\"_parent\">Logsene</a> </td></tr></table>\n\n\nSchedule: <a href=\"http://swarm3k.sematext.com/dashboard/db/swarm3k-cluster-status?editorTab=General&from=1477646154969&to=1477647054969\">October 28, 2016</a>, 3 PM UTC", | |
"editable": true, | |
"error": false, | |
"id": 8, | |
"isNew": true, | |
"links": [], | |
"mode": "html", | |
"span": 3, | |
"title": "About Monitoring Swarm3k", | |
"type": "text" | |
}, | |
{ | |
"cacheTimeout": null, | |
"colorBackground": false, | |
"colorValue": true, | |
"colors": [ | |
"rgba(245, 54, 54, 0.9)", | |
"rgba(40, 181, 237, 0.89)", | |
"rgba(50, 172, 45, 0.97)" | |
], | |
"datasource": "${DS_LOGSENE}", | |
"decimals": 0, | |
"editable": true, | |
"error": false, | |
"format": "none", | |
"gauge": { | |
"maxValue": 5, | |
"minValue": 0, | |
"show": true, | |
"thresholdLabels": false, | |
"thresholdMarkers": true | |
}, | |
"hideTimeOverride": false, | |
"id": 3, | |
"interval": ">60s", | |
"isNew": true, | |
"links": [], | |
"mappingType": 1, | |
"mappingTypes": [ | |
{ | |
"name": "value to text", | |
"value": 1 | |
}, | |
{ | |
"name": "range to text", | |
"value": 2 | |
} | |
], | |
"maxDataPoints": 100, | |
"nullPointMode": "connected", | |
"nullText": null, | |
"postfix": "", | |
"postfixFontSize": "50%", | |
"prefix": "", | |
"prefixFontSize": "50%", | |
"rangeMaps": [ | |
{ | |
"from": "null", | |
"text": "N/A", | |
"to": "null" | |
} | |
], | |
"span": 2.1577240566037736, | |
"sparkline": { | |
"fillColor": "rgba(31, 118, 189, 0.18)", | |
"full": false, | |
"lineColor": "rgb(31, 106, 193)", | |
"show": true | |
}, | |
"targets": [ | |
{ | |
"bucketAggs": [ | |
{ | |
"field": "@timestamp", | |
"id": "2", | |
"settings": { | |
"interval": "auto", | |
"min_doc_count": 0, | |
"trimEdges": null | |
}, | |
"type": "date_histogram" | |
} | |
], | |
"dsType": "elasticsearch", | |
"hide": false, | |
"metrics": [ | |
{ | |
"field": "swarm_managers", | |
"id": "1", | |
"meta": {}, | |
"settings": {}, | |
"type": "max" | |
} | |
], | |
"query": "_type:dockerNodeInfo AND swarm_managers:>0", | |
"refId": "A", | |
"timeField": "@timestamp" | |
} | |
], | |
"thresholds": "1", | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "Swarm Managers", | |
"type": "singlestat", | |
"valueFontSize": "80%", | |
"valueMaps": [ | |
{ | |
"op": "=", | |
"text": "N/A", | |
"value": "null" | |
} | |
], | |
"valueName": "avg" | |
}, | |
{ | |
"cacheTimeout": null, | |
"colorBackground": false, | |
"colorValue": true, | |
"colors": [ | |
"rgba(222, 64, 37, 0.97)", | |
"rgba(237, 129, 40, 0.89)", | |
"rgba(78, 245, 54, 0.9)" | |
], | |
"datasource": "${DS_LOGSENE}", | |
"decimals": 0, | |
"editable": true, | |
"error": false, | |
"format": "none", | |
"gauge": { | |
"maxValue": 4000, | |
"minValue": 0, | |
"show": true, | |
"thresholdLabels": false, | |
"thresholdMarkers": true | |
}, | |
"hideTimeOverride": false, | |
"id": 2, | |
"interval": ">1m", | |
"isNew": true, | |
"links": [], | |
"mappingType": 1, | |
"mappingTypes": [ | |
{ | |
"name": "value to text", | |
"value": 1 | |
}, | |
{ | |
"name": "range to text", | |
"value": 2 | |
} | |
], | |
"maxDataPoints": 100, | |
"nullPointMode": "connected", | |
"nullText": null, | |
"postfix": "", | |
"postfixFontSize": "50%", | |
"prefix": "", | |
"prefixFontSize": "50%", | |
"rangeMaps": [ | |
{ | |
"from": "null", | |
"text": "N/A", | |
"to": "null" | |
} | |
], | |
"span": 2.3549528301886795, | |
"sparkline": { | |
"fillColor": "rgba(18, 135, 230, 0.18)", | |
"full": false, | |
"lineColor": "rgb(125, 189, 241)", | |
"show": true | |
}, | |
"targets": [ | |
{ | |
"bucketAggs": [ | |
{ | |
"field": "@timestamp", | |
"id": "2", | |
"settings": { | |
"interval": "auto", | |
"min_doc_count": 2, | |
"trimEdges": 1 | |
}, | |
"type": "date_histogram" | |
} | |
], | |
"dsType": "elasticsearch", | |
"hide": false, | |
"metrics": [ | |
{ | |
"field": "swarm_nodes", | |
"id": "1", | |
"meta": {}, | |
"settings": {}, | |
"type": "max" | |
} | |
], | |
"query": "_type:dockerNodeInfo AND swarm_nodes:>1", | |
"refId": "A", | |
"timeField": "@timestamp" | |
} | |
], | |
"thresholds": "2999,3500", | |
"timeFrom": "2m", | |
"timeShift": null, | |
"title": "Swarm Nodes", | |
"type": "singlestat", | |
"valueFontSize": "80%", | |
"valueMaps": [ | |
{ | |
"op": "=", | |
"text": "N/A", | |
"value": "null" | |
} | |
], | |
"valueName": "avg" | |
}, | |
{ | |
"cacheTimeout": null, | |
"colorBackground": false, | |
"colorValue": true, | |
"colors": [ | |
"rgba(245, 54, 54, 0.9)", | |
"rgba(237, 129, 40, 0.89)", | |
"rgba(50, 172, 45, 0.97)" | |
], | |
"datasource": "${DS_LOGSENE}", | |
"editable": true, | |
"error": false, | |
"format": "none", | |
"gauge": { | |
"maxValue": 200000, | |
"minValue": 0, | |
"show": true, | |
"thresholdLabels": false, | |
"thresholdMarkers": true | |
}, | |
"hideTimeOverride": false, | |
"id": 4, | |
"interval": ">1m", | |
"isNew": true, | |
"links": [], | |
"mappingType": 1, | |
"mappingTypes": [ | |
{ | |
"name": "value to text", | |
"value": 1 | |
}, | |
{ | |
"name": "range to text", | |
"value": 2 | |
} | |
], | |
"maxDataPoints": 100, | |
"nullPointMode": "connected", | |
"nullText": null, | |
"postfix": "", | |
"postfixFontSize": "50%", | |
"prefix": "", | |
"prefixFontSize": "50%", | |
"rangeMaps": [ | |
{ | |
"from": "null", | |
"text": "N/A", | |
"to": "null" | |
} | |
], | |
"span": 2.5456957547169807, | |
"sparkline": { | |
"fillColor": "rgba(31, 118, 189, 0.18)", | |
"full": false, | |
"lineColor": "rgb(31, 120, 193)", | |
"show": true | |
}, | |
"targets": [ | |
{ | |
"bucketAggs": [ | |
{ | |
"field": "@timestamp", | |
"id": "2", | |
"settings": { | |
"interval": "5m", | |
"min_doc_count": 3, | |
"trimEdges": 1 | |
}, | |
"type": "date_histogram" | |
} | |
], | |
"dsType": "elasticsearch", | |
"hide": false, | |
"metrics": [ | |
{ | |
"field": "task_running", | |
"id": "1", | |
"meta": {}, | |
"settings": {}, | |
"type": "max" | |
} | |
], | |
"query": "", | |
"refId": "A", | |
"timeField": "@timestamp" | |
} | |
], | |
"thresholds": "3000,100000,140000", | |
"timeFrom": "2m", | |
"timeShift": null, | |
"title": "Swarm Tasks", | |
"type": "singlestat", | |
"valueFontSize": "80%", | |
"valueMaps": [ | |
{ | |
"op": "=", | |
"text": "N/A", | |
"value": "null" | |
} | |
], | |
"valueName": "avg" | |
}, | |
{ | |
"cacheTimeout": null, | |
"colorBackground": false, | |
"colorValue": true, | |
"colors": [ | |
"rgba(50, 172, 45, 0.97)", | |
"rgba(237, 129, 40, 0.89)", | |
"rgba(245, 54, 54, 0.9)" | |
], | |
"datasource": "${DS_LOGSENE}", | |
"decimals": 0, | |
"editable": true, | |
"error": false, | |
"format": "none", | |
"gauge": { | |
"maxValue": 100, | |
"minValue": null, | |
"show": false, | |
"thresholdLabels": false, | |
"thresholdMarkers": true | |
}, | |
"height": "", | |
"id": 5, | |
"interval": ">1m", | |
"isNew": true, | |
"links": [], | |
"mappingType": 1, | |
"mappingTypes": [ | |
{ | |
"name": "value to text", | |
"value": 1 | |
}, | |
{ | |
"name": "range to text", | |
"value": 2 | |
} | |
], | |
"maxDataPoints": 100, | |
"nullPointMode": "connected", | |
"nullText": null, | |
"postfix": "", | |
"postfixFontSize": "50%", | |
"prefix": "", | |
"prefixFontSize": "50%", | |
"rangeMaps": [ | |
{ | |
"from": "null", | |
"text": "N/A", | |
"to": "null" | |
} | |
], | |
"span": 1.9416273584905657, | |
"sparkline": { | |
"fillColor": "rgba(31, 118, 189, 0.18)", | |
"full": false, | |
"lineColor": "rgb(31, 120, 193)", | |
"show": true | |
}, | |
"targets": [ | |
{ | |
"bucketAggs": [ | |
{ | |
"field": "@timestamp", | |
"id": "2", | |
"settings": { | |
"interval": "auto", | |
"min_doc_count": 1, | |
"trimEdges": 1 | |
}, | |
"type": "date_histogram" | |
} | |
], | |
"dsType": "elasticsearch", | |
"hide": false, | |
"metrics": [ | |
{ | |
"field": "tid", | |
"id": "1", | |
"meta": {}, | |
"settings": {}, | |
"type": "count" | |
} | |
], | |
"query": "_type:taskError", | |
"refId": "A", | |
"timeField": "@timestamp" | |
} | |
], | |
"thresholds": "0", | |
"title": "Swarm Task Errors", | |
"type": "singlestat", | |
"valueFontSize": "80%", | |
"valueMaps": [ | |
{ | |
"op": "=", | |
"text": "N/A", | |
"value": "null" | |
} | |
], | |
"valueName": "avg" | |
} | |
], | |
"title": "Row" | |
}, | |
{ | |
"collapse": false, | |
"editable": true, | |
"height": 250.43753051757812, | |
"panels": [ | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"datasource": "${DS_LOGSENE}", | |
"decimals": 1, | |
"editable": true, | |
"error": false, | |
"fill": 2, | |
"grid": { | |
"threshold1": null, | |
"threshold1Color": "rgba(216, 200, 27, 0.27)", | |
"threshold2": null, | |
"threshold2Color": "rgba(234, 112, 112, 0.22)" | |
}, | |
"id": 1, | |
"interval": "", | |
"isNew": true, | |
"legend": { | |
"alignAsTable": true, | |
"avg": false, | |
"current": true, | |
"hideEmpty": true, | |
"hideZero": false, | |
"max": true, | |
"min": true, | |
"rightSide": false, | |
"show": true, | |
"total": false, | |
"values": true | |
}, | |
"lines": true, | |
"linewidth": 2, | |
"links": [], | |
"nullPointMode": "connected", | |
"percentage": false, | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"span": 3, | |
"stack": false, | |
"steppedLine": true, | |
"targets": [ | |
{ | |
"bucketAggs": [ | |
{ | |
"field": "@timestamp", | |
"id": "2", | |
"settings": { | |
"interval": "auto", | |
"min_doc_count": 1, | |
"trimEdges": 0 | |
}, | |
"type": "date_histogram" | |
} | |
], | |
"dsType": "elasticsearch", | |
"hide": false, | |
"metrics": [ | |
{ | |
"field": "task_in_desired_state", | |
"id": "1", | |
"meta": {}, | |
"settings": {}, | |
"type": "max" | |
}, | |
{ | |
"field": "task_not_in_desired_state", | |
"id": "4", | |
"meta": {}, | |
"settings": {}, | |
"type": "max" | |
} | |
], | |
"query": "_type:swarmTaskStats", | |
"refId": "A", | |
"timeField": "@timestamp" | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "Task State Overview", | |
"tooltip": { | |
"msResolution": true, | |
"shared": true, | |
"sort": 2, | |
"value_type": "cumulative" | |
}, | |
"transparent": false, | |
"type": "graph", | |
"xaxis": { | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
] | |
}, | |
{ | |
"aliasColors": { | |
"Average task_accepted": "#0A437C", | |
"Average task_complete": "#D683CE", | |
"Average task_failed": "#BF1B00", | |
"Average task_new": "#EAB839", | |
"Average task_running": "#7EB26D", | |
"Max task_accepted": "#EAB839", | |
"Max task_complete": "#511749", | |
"Max task_failed": "#890F02", | |
"Max task_running": "#508642" | |
}, | |
"bars": true, | |
"datasource": "${DS_LOGSENE}", | |
"editable": true, | |
"error": false, | |
"fill": 1, | |
"grid": { | |
"threshold1": null, | |
"threshold1Color": "rgba(216, 200, 27, 0.27)", | |
"threshold2": null, | |
"threshold2Color": "rgba(234, 112, 112, 0.22)" | |
}, | |
"id": 7, | |
"interval": ">1m", | |
"isNew": true, | |
"legend": { | |
"alignAsTable": true, | |
"avg": false, | |
"current": true, | |
"hideEmpty": true, | |
"hideZero": true, | |
"max": true, | |
"min": false, | |
"rightSide": true, | |
"show": true, | |
"sortDesc": false, | |
"total": false, | |
"values": true | |
}, | |
"lines": false, | |
"linewidth": 2, | |
"links": [], | |
"nullPointMode": "connected", | |
"percentage": false, | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"span": 9, | |
"stack": true, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"bucketAggs": [ | |
{ | |
"field": "@timestamp", | |
"id": "2", | |
"settings": { | |
"interval": "auto", | |
"min_doc_count": 0, | |
"trimEdges": 0 | |
}, | |
"type": "date_histogram" | |
} | |
], | |
"dsType": "elasticsearch", | |
"hide": false, | |
"metrics": [ | |
{ | |
"field": "task_accepted", | |
"id": "1", | |
"meta": {}, | |
"settings": {}, | |
"type": "max" | |
}, | |
{ | |
"field": "task_running", | |
"id": "3", | |
"meta": {}, | |
"settings": {}, | |
"type": "max" | |
}, | |
{ | |
"field": "task_allocated", | |
"id": "4", | |
"meta": {}, | |
"settings": {}, | |
"type": "max" | |
}, | |
{ | |
"field": "task_assigned", | |
"id": "5", | |
"meta": {}, | |
"settings": {}, | |
"type": "max" | |
}, | |
{ | |
"field": "task_complete", | |
"id": "6", | |
"meta": {}, | |
"settings": {}, | |
"type": "max" | |
}, | |
{ | |
"field": "task_failed", | |
"id": "7", | |
"meta": {}, | |
"settings": {}, | |
"type": "max" | |
}, | |
{ | |
"field": "task_new", | |
"id": "8", | |
"meta": {}, | |
"settings": {}, | |
"type": "max" | |
} | |
], | |
"refId": "A", | |
"timeField": "@timestamp" | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "Swarm Task Status", | |
"tooltip": { | |
"msResolution": true, | |
"shared": false, | |
"sort": 0, | |
"value_type": "cumulative" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
] | |
} | |
], | |
"title": "New row" | |
}, | |
{ | |
"collapse": false, | |
"editable": true, | |
"height": 349.02081298828125, | |
"panels": [ | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"datasource": "${DS_LOGSENE}", | |
"editable": true, | |
"error": false, | |
"fill": 1, | |
"grid": { | |
"threshold1": null, | |
"threshold1Color": "rgba(216, 200, 27, 0.27)", | |
"threshold2": null, | |
"threshold2Color": "rgba(234, 112, 112, 0.22)" | |
}, | |
"id": 11, | |
"isNew": true, | |
"legend": { | |
"avg": false, | |
"current": false, | |
"max": false, | |
"min": false, | |
"show": true, | |
"total": false, | |
"values": false | |
}, | |
"lines": true, | |
"linewidth": 2, | |
"links": [], | |
"nullPointMode": "connected", | |
"percentage": false, | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"span": 3, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"bucketAggs": [ | |
{ | |
"field": "@timestamp", | |
"id": "2", | |
"settings": { | |
"interval": "auto", | |
"min_doc_count": 0, | |
"trimEdges": 0 | |
}, | |
"type": "date_histogram" | |
} | |
], | |
"dsType": "elasticsearch", | |
"hide": false, | |
"metrics": [ | |
{ | |
"field": "oslo.1min", | |
"id": "1", | |
"meta": {}, | |
"settings": {}, | |
"type": "avg" | |
} | |
], | |
"query": "_type:os", | |
"refId": "A", | |
"timeField": "@timestamp" | |
} | |
], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "System load avg", | |
"tooltip": { | |
"msResolution": true, | |
"shared": true, | |
"sort": 0, | |
"value_type": "cumulative" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"show": true | |
}, | |
"yaxes": [ | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
] | |
}, | |
{ | |
"aliasColors": { | |
"false": "#7EB26D", | |
"true": "#962D82" | |
}, | |
"bars": false, | |
"datasource": "${DS_LOGSENE}", | |
"editable": true, | |
"error": false, | |
"fill": 1, | |
"grid": { | |
"threshold1": null, | |
"threshold1Color": "rgba(216, 200, 27, 0.27)", | |
"threshold2": null, | |
"threshold2Color": "rgba(234, 112, 112, 0.22)" | |
}, | |
"id": 10, | |
"interval": ">1m", | |
"isNew": true, | |
"legend": { | |
"alignAsTable": true, | |
"avg": true, | |
"current": true, | |
"max": true, | |
"min": false, | |
"show": true, | |
"total": false, | |
"values": true | |
}, | |
"lines": true, | |
"linewidth": 2, | |
"links": [], | |
"nullPointMode": "connected", | |
"percentage": false, | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"span": 9, | |
"stack": true, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"bucketAggs": [ | |
{ | |
"field": "@timestamp", | |
"id": "2", | |
"settings": { | |
"interval": "auto", | |
"min_doc_count": 1, | |
"trimEdges": 1 | |
}, | |
"type": "date_histogram" | |
} | |
], | |
"dsType": "elasticsearch", | |
"hide": false, | |
"metrics": [ | |
{ | |
"field": "swarm_nodes", | |
"id": "1", | |
"meta": {}, | |
"settings": {}, | |
"type": "max" | |
} | |
], | |
"query": "_type:dockerNodeInfo", | |
"refId": "A", | |
"timeField": "@timestamp" | |
} | |
], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "Number of Nodes", | |
"tooltip": { | |
"msResolution": true, | |
"shared": true, | |
"sort": 0, | |
"value_type": "cumulative" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"show": true | |
}, | |
"yaxes": [ | |
{ | |
"format": "short", | |
"label": "Nodes / Master", | |
"logBase": 1, | |
"max": null, | |
"min": 0, | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
] | |
} | |
], | |
"title": "New row" | |
}, | |
{ | |
"collapse": false, | |
"editable": true, | |
"height": 149.83329264322902, | |
"panels": [ | |
{ | |
"columns": [ | |
{ | |
"text": "host", | |
"value": "host" | |
}, | |
{ | |
"text": "Unique Count", | |
"value": "Unique Count" | |
} | |
], | |
"datasource": "${DS_LOGSENE}", | |
"editable": true, | |
"error": false, | |
"fontSize": "100%", | |
"height": "350", | |
"hideTimeOverride": false, | |
"id": 9, | |
"interval": ">1m", | |
"isNew": true, | |
"links": [], | |
"pageSize": null, | |
"scroll": true, | |
"showHeader": true, | |
"sort": { | |
"col": 0, | |
"desc": true | |
}, | |
"span": 12, | |
"styles": [ | |
{ | |
"dateFormat": "HH:mm:ss", | |
"pattern": "@timestamp", | |
"type": "date" | |
}, | |
{ | |
"colorMode": null, | |
"colors": [ | |
"rgba(245, 54, 54, 0.9)", | |
"rgba(237, 129, 40, 0.89)", | |
"rgba(50, 172, 45, 0.97)" | |
], | |
"decimals": 2, | |
"pattern": "/.*/", | |
"thresholds": [], | |
"type": "number", | |
"unit": "short" | |
} | |
], | |
"targets": [ | |
{ | |
"bucketAggs": [ | |
{ | |
"fake": true, | |
"field": "host", | |
"id": "3", | |
"settings": { | |
"order": "asc", | |
"orderBy": "_term", | |
"size": "0" | |
}, | |
"type": "terms" | |
} | |
], | |
"dsType": "elasticsearch", | |
"hide": false, | |
"metrics": [ | |
{ | |
"field": "container_name.raw", | |
"id": "1", | |
"meta": {}, | |
"settings": {}, | |
"type": "cardinality" | |
} | |
], | |
"query": "_type:dockerStats", | |
"refId": "A", | |
"timeField": "@timestamp" | |
} | |
], | |
"timeFrom": "2m", | |
"timeShift": null, | |
"title": "Containers per host", | |
"transform": "json", | |
"type": "table" | |
} | |
], | |
"title": "New row" | |
}, | |
{ | |
"collapse": false, | |
"editable": true, | |
"height": "250px", | |
"panels": [ | |
{ | |
"columns": [ | |
{ | |
"text": "@timestamp", | |
"value": "@timestamp" | |
}, | |
{ | |
"text": "message", | |
"value": "message" | |
}, | |
{ | |
"text": "taskId", | |
"value": "taskId" | |
}, | |
{ | |
"text": "serviceId", | |
"value": "serviceId" | |
}, | |
{ | |
"text": "nodeId", | |
"value": "nodeId" | |
}, | |
{ | |
"text": "host", | |
"value": "host" | |
} | |
], | |
"datasource": "${DS_LOGSENE}", | |
"editable": true, | |
"error": false, | |
"fontSize": "90%", | |
"height": "350", | |
"id": 6, | |
"isNew": true, | |
"links": [], | |
"pageSize": null, | |
"scroll": true, | |
"showHeader": true, | |
"sort": { | |
"col": 5, | |
"desc": true | |
}, | |
"span": 12, | |
"styles": [ | |
{ | |
"dateFormat": "dd HH:mm:ss", | |
"pattern": "@timestamp", | |
"type": "date" | |
}, | |
{ | |
"colorMode": null, | |
"colors": [ | |
"rgba(245, 54, 54, 0.9)", | |
"rgba(237, 129, 40, 0.89)", | |
"rgba(50, 172, 45, 0.97)" | |
], | |
"decimals": 2, | |
"pattern": "/.*/", | |
"thresholds": [], | |
"type": "number", | |
"unit": "short" | |
} | |
], | |
"targets": [ | |
{ | |
"bucketAggs": [], | |
"dsType": "elasticsearch", | |
"hide": false, | |
"metrics": [ | |
{ | |
"field": "select field", | |
"id": "1", | |
"meta": {}, | |
"settings": {}, | |
"type": "raw_document" | |
} | |
], | |
"query": "_type:taskError", | |
"refId": "A", | |
"timeField": "@timestamp" | |
} | |
], | |
"title": "Swarm Task Errors", | |
"transform": "json", | |
"type": "table" | |
} | |
], | |
"title": "New row" | |
} | |
], | |
"time": { | |
"from": "now-5m", | |
"to": "now" | |
}, | |
"timepicker": { | |
"refresh_intervals": [ | |
"5s", | |
"10s", | |
"30s", | |
"1m", | |
"5m", | |
"15m", | |
"30m", | |
"1h", | |
"2h", | |
"1d" | |
], | |
"time_options": [ | |
"5m", | |
"15m", | |
"1h", | |
"6h", | |
"12h", | |
"24h", | |
"2d", | |
"7d", | |
"30d" | |
] | |
}, | |
"templating": { | |
"list": [] | |
}, | |
"annotations": { | |
"list": [] | |
}, | |
"refresh": false, | |
"schemaVersion": 12, | |
"version": 84, | |
"links": [ | |
{ | |
"asDropdown": true, | |
"icon": "external link", | |
"keepTime": true, | |
"tags": [], | |
"title": "Dashboards", | |
"type": "dashboards" | |
} | |
], | |
"gnetId": null | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment