Created
June 15, 2014 02:09
-
-
Save mlf4aiur/4427036d1d197ef93c0f to your computer and use it in GitHub Desktop.
Grafana-Templated Graphs
This file contains hidden or 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
| { | |
| "title": "Templated Graphs", | |
| "services": { | |
| "filter": { | |
| "list": [ | |
| { | |
| "type": "filter", | |
| "name": "host", | |
| "query": "sensu.*", | |
| "includeAll": true, | |
| "options": [ | |
| { | |
| "text": "All", | |
| "value": "{sensu-server}" | |
| }, | |
| { | |
| "text": "sensu-server", | |
| "value": "sensu-server" | |
| } | |
| ], | |
| "current": { | |
| "text": "All", | |
| "value": "{sensu-server}" | |
| } | |
| } | |
| ], | |
| "time": { | |
| "from": "now-6h", | |
| "to": "now" | |
| } | |
| } | |
| }, | |
| "rows": [ | |
| { | |
| "title": "System", | |
| "height": "250px", | |
| "editable": true, | |
| "collapse": false, | |
| "collapsable": true, | |
| "panels": [ | |
| { | |
| "span": 6, | |
| "editable": true, | |
| "type": "graphite", | |
| "loadingEditor": false, | |
| "datasource": null, | |
| "renderer": "flot", | |
| "x-axis": true, | |
| "y-axis": true, | |
| "scale": 1, | |
| "y_formats": [ | |
| "none", | |
| "none" | |
| ], | |
| "grid": { | |
| "max": null, | |
| "min": null, | |
| "threshold1": null, | |
| "threshold2": null, | |
| "threshold1Color": "rgba(216, 200, 27, 0.27)", | |
| "threshold2Color": "rgba(234, 112, 112, 0.22)" | |
| }, | |
| "annotate": { | |
| "enable": false | |
| }, | |
| "resolution": 100, | |
| "lines": true, | |
| "fill": 1, | |
| "linewidth": 1, | |
| "points": false, | |
| "pointradius": 5, | |
| "bars": false, | |
| "stack": false, | |
| "legend": { | |
| "show": true, | |
| "values": false, | |
| "min": false, | |
| "max": false, | |
| "current": false, | |
| "total": false, | |
| "avg": false | |
| }, | |
| "percentage": false, | |
| "zerofill": true, | |
| "nullPointMode": "connected", | |
| "steppedLine": false, | |
| "tooltip": { | |
| "value_type": "cumulative", | |
| "query_as_alias": true | |
| }, | |
| "targets": [ | |
| { | |
| "target": "alias(sensu.[[host]].load_avg.one,'one')" | |
| }, | |
| { | |
| "target": "alias(sensu.[[host]].load_avg.five,'five')" | |
| }, | |
| { | |
| "target": "alias(sensu.[[host]].load_avg.fifteen,'fifteen')" | |
| } | |
| ], | |
| "aliasColors": {}, | |
| "aliasYAxis": {}, | |
| "title": "Load Average" | |
| }, | |
| { | |
| "span": 6, | |
| "editable": true, | |
| "type": "graphite", | |
| "loadingEditor": false, | |
| "datasource": null, | |
| "renderer": "flot", | |
| "x-axis": true, | |
| "y-axis": true, | |
| "scale": 1, | |
| "y_formats": [ | |
| "none", | |
| "none" | |
| ], | |
| "grid": { | |
| "max": null, | |
| "min": null, | |
| "threshold1": null, | |
| "threshold2": null, | |
| "threshold1Color": "rgba(216, 200, 27, 0.27)", | |
| "threshold2Color": "rgba(234, 112, 112, 0.22)" | |
| }, | |
| "annotate": { | |
| "enable": false | |
| }, | |
| "resolution": 100, | |
| "lines": true, | |
| "fill": 1, | |
| "linewidth": 1, | |
| "points": false, | |
| "pointradius": 5, | |
| "bars": false, | |
| "stack": false, | |
| "legend": { | |
| "show": true, | |
| "values": false, | |
| "min": false, | |
| "max": false, | |
| "current": false, | |
| "total": false, | |
| "avg": false | |
| }, | |
| "percentage": false, | |
| "zerofill": true, | |
| "nullPointMode": "connected", | |
| "steppedLine": false, | |
| "tooltip": { | |
| "value_type": "cumulative", | |
| "query_as_alias": true | |
| }, | |
| "targets": [ | |
| { | |
| "target": "alias(sensu.[[host]].vmstat.cpu.idle,'idle')" | |
| }, | |
| { | |
| "target": "alias(sensu.[[host]].vmstat.cpu.system,'system')" | |
| }, | |
| { | |
| "target": "alias(sensu.[[host]].vmstat.cpu.user,'user')" | |
| }, | |
| { | |
| "target": "alias(sensu.[[host]].vmstat.cpu.waiting,'waiting')" | |
| } | |
| ], | |
| "aliasColors": {}, | |
| "aliasYAxis": {}, | |
| "title": "CPU Usage" | |
| } | |
| ], | |
| "notice": false | |
| }, | |
| { | |
| "title": "Memory", | |
| "height": "250px", | |
| "editable": true, | |
| "collapse": false, | |
| "collapsable": true, | |
| "panels": [ | |
| { | |
| "span": 6, | |
| "editable": true, | |
| "type": "graphite", | |
| "loadingEditor": false, | |
| "datasource": null, | |
| "renderer": "flot", | |
| "x-axis": true, | |
| "y-axis": true, | |
| "scale": 1, | |
| "y_formats": [ | |
| "bytes", | |
| "none" | |
| ], | |
| "grid": { | |
| "max": null, | |
| "min": null, | |
| "threshold1": null, | |
| "threshold2": null, | |
| "threshold1Color": "rgba(216, 200, 27, 0.27)", | |
| "threshold2Color": "rgba(234, 112, 112, 0.22)" | |
| }, | |
| "annotate": { | |
| "enable": false | |
| }, | |
| "resolution": 100, | |
| "lines": true, | |
| "fill": 1, | |
| "linewidth": 1, | |
| "points": false, | |
| "pointradius": 5, | |
| "bars": false, | |
| "stack": false, | |
| "legend": { | |
| "show": true, | |
| "values": false, | |
| "min": false, | |
| "max": false, | |
| "current": false, | |
| "total": false, | |
| "avg": false | |
| }, | |
| "percentage": false, | |
| "zerofill": true, | |
| "nullPointMode": "connected", | |
| "steppedLine": false, | |
| "tooltip": { | |
| "value_type": "cumulative", | |
| "query_as_alias": true | |
| }, | |
| "targets": [ | |
| { | |
| "target": "alias(sensu.[[host]].memory.buffers,'buffers')" | |
| }, | |
| { | |
| "target": "alias(sensu.[[host]].memory.cached,'cached')" | |
| }, | |
| { | |
| "target": "alias(sensu.[[host]].memory.free,'free')" | |
| }, | |
| { | |
| "target": "alias(sensu.[[host]].memory.used,'used')" | |
| }, | |
| { | |
| "target": "alias(sensu.[[host]].memory.total,'total')" | |
| } | |
| ], | |
| "aliasColors": {}, | |
| "aliasYAxis": {}, | |
| "title": "Memory Usage" | |
| }, | |
| { | |
| "span": 6, | |
| "editable": true, | |
| "type": "graphite", | |
| "loadingEditor": false, | |
| "datasource": null, | |
| "renderer": "flot", | |
| "x-axis": true, | |
| "y-axis": true, | |
| "scale": 1, | |
| "y_formats": [ | |
| "bytes", | |
| "none" | |
| ], | |
| "grid": { | |
| "max": null, | |
| "min": 0, | |
| "threshold1": null, | |
| "threshold2": null, | |
| "threshold1Color": "rgba(216, 200, 27, 0.27)", | |
| "threshold2Color": "rgba(234, 112, 112, 0.22)" | |
| }, | |
| "annotate": { | |
| "enable": false | |
| }, | |
| "resolution": 100, | |
| "lines": true, | |
| "fill": 1, | |
| "linewidth": 1, | |
| "points": false, | |
| "pointradius": 5, | |
| "bars": false, | |
| "stack": false, | |
| "legend": { | |
| "show": true, | |
| "values": false, | |
| "min": false, | |
| "max": false, | |
| "current": false, | |
| "total": false, | |
| "avg": false | |
| }, | |
| "percentage": false, | |
| "zerofill": true, | |
| "nullPointMode": "connected", | |
| "steppedLine": false, | |
| "tooltip": { | |
| "value_type": "cumulative", | |
| "query_as_alias": true | |
| }, | |
| "targets": [ | |
| { | |
| "target": "alias(sensu.[[host]].memory.swapFree,'swapFree')" | |
| }, | |
| { | |
| "target": "alias(sensu.[[host]].memory.swapUsed,'swapUsed')" | |
| }, | |
| { | |
| "target": "alias(sensu.[[host]].memory.swapTotal,'swapTotal')" | |
| } | |
| ], | |
| "aliasColors": {}, | |
| "aliasYAxis": {}, | |
| "title": "Swap Usage" | |
| } | |
| ], | |
| "notice": false | |
| }, | |
| { | |
| "title": "Interface", | |
| "height": "250px", | |
| "editable": true, | |
| "collapse": false, | |
| "collapsable": true, | |
| "panels": [ | |
| { | |
| "span": 6, | |
| "editable": true, | |
| "type": "graphite", | |
| "loadingEditor": false, | |
| "datasource": null, | |
| "renderer": "flot", | |
| "x-axis": true, | |
| "y-axis": true, | |
| "scale": 1, | |
| "y_formats": [ | |
| "bits", | |
| "none" | |
| ], | |
| "grid": { | |
| "max": null, | |
| "min": null, | |
| "threshold1": null, | |
| "threshold2": null, | |
| "threshold1Color": "rgba(216, 200, 27, 0.27)", | |
| "threshold2Color": "rgba(234, 112, 112, 0.22)" | |
| }, | |
| "annotate": { | |
| "enable": false | |
| }, | |
| "resolution": 100, | |
| "lines": true, | |
| "fill": 1, | |
| "linewidth": 1, | |
| "points": false, | |
| "pointradius": 5, | |
| "bars": false, | |
| "stack": false, | |
| "legend": { | |
| "show": true, | |
| "values": false, | |
| "min": false, | |
| "max": false, | |
| "current": false, | |
| "total": false, | |
| "avg": false | |
| }, | |
| "percentage": false, | |
| "zerofill": true, | |
| "nullPointMode": "connected", | |
| "steppedLine": false, | |
| "tooltip": { | |
| "value_type": "cumulative", | |
| "query_as_alias": true | |
| }, | |
| "targets": [ | |
| { | |
| "target": "alias(derivative(sensu.[[host]].eth0.rx_bytes),'rx_bytes')" | |
| }, | |
| { | |
| "target": "alias(derivative(sensu.[[host]].eth0.tx_bytes),'tx_bytes')" | |
| } | |
| ], | |
| "aliasColors": {}, | |
| "aliasYAxis": {}, | |
| "title": "Traffic" | |
| }, | |
| { | |
| "span": 6, | |
| "editable": true, | |
| "type": "graphite", | |
| "loadingEditor": false, | |
| "datasource": null, | |
| "renderer": "flot", | |
| "x-axis": true, | |
| "y-axis": true, | |
| "scale": 1, | |
| "y_formats": [ | |
| "none", | |
| "none" | |
| ], | |
| "grid": { | |
| "max": null, | |
| "min": 0, | |
| "threshold1": null, | |
| "threshold2": null, | |
| "threshold1Color": "rgba(216, 200, 27, 0.27)", | |
| "threshold2Color": "rgba(234, 112, 112, 0.22)" | |
| }, | |
| "annotate": { | |
| "enable": false | |
| }, | |
| "resolution": 100, | |
| "lines": true, | |
| "fill": 1, | |
| "linewidth": 1, | |
| "points": false, | |
| "pointradius": 5, | |
| "bars": false, | |
| "stack": false, | |
| "legend": { | |
| "show": true, | |
| "values": false, | |
| "min": false, | |
| "max": false, | |
| "current": false, | |
| "total": false, | |
| "avg": false | |
| }, | |
| "percentage": false, | |
| "zerofill": true, | |
| "nullPointMode": "connected", | |
| "steppedLine": false, | |
| "tooltip": { | |
| "value_type": "cumulative", | |
| "query_as_alias": true | |
| }, | |
| "targets": [ | |
| { | |
| "target": "alias(derivative(sensu.[[host]].eth0.rx_packets),'rx_packets')" | |
| }, | |
| { | |
| "target": "alias(derivative(sensu.[[host]].eth0.tx_packets),'tx_packets')" | |
| }, | |
| { | |
| "target": "alias(derivative(sensu.[[host]].eth0.rx_errors),'rx_errors')" | |
| }, | |
| { | |
| "target": "alias(derivative(sensu.[[host]].eth0.tx_errors),'tx_errors')" | |
| } | |
| ], | |
| "aliasColors": {}, | |
| "aliasYAxis": { | |
| "rx_errors": 2, | |
| "tx_errors": 2 | |
| }, | |
| "title": "Interface" | |
| } | |
| ], | |
| "notice": false | |
| }, | |
| { | |
| "title": "Disk Usage", | |
| "height": "250px", | |
| "editable": true, | |
| "collapse": false, | |
| "collapsable": true, | |
| "panels": [ | |
| { | |
| "span": 6, | |
| "editable": true, | |
| "type": "graphite", | |
| "loadingEditor": false, | |
| "datasource": null, | |
| "renderer": "flot", | |
| "x-axis": true, | |
| "y-axis": true, | |
| "scale": 1, | |
| "y_formats": [ | |
| "bytes", | |
| "none" | |
| ], | |
| "grid": { | |
| "max": null, | |
| "min": 0, | |
| "threshold1": null, | |
| "threshold2": null, | |
| "threshold1Color": "rgba(216, 200, 27, 0.27)", | |
| "threshold2Color": "rgba(234, 112, 112, 0.22)" | |
| }, | |
| "annotate": { | |
| "enable": false | |
| }, | |
| "resolution": 100, | |
| "lines": true, | |
| "fill": 0, | |
| "linewidth": 2, | |
| "points": false, | |
| "pointradius": 5, | |
| "bars": false, | |
| "stack": false, | |
| "legend": { | |
| "show": true, | |
| "values": true, | |
| "min": false, | |
| "max": false, | |
| "current": true, | |
| "total": false, | |
| "avg": false | |
| }, | |
| "percentage": false, | |
| "zerofill": true, | |
| "nullPointMode": "connected", | |
| "steppedLine": false, | |
| "tooltip": { | |
| "value_type": "cumulative", | |
| "query_as_alias": true | |
| }, | |
| "targets": [ | |
| { | |
| "target": "alias(scale(sensu.[[host]].disk_usage.root.avail,1000000),'root avail')" | |
| }, | |
| { | |
| "target": "alias(scale(sensu.[[host]].disk_usage.root.used,1000000),'root used')" | |
| }, | |
| { | |
| "target": "alias(sensu.[[host]].disk_usage.root.used_percentage,'root used percentage')" | |
| } | |
| ], | |
| "aliasColors": {}, | |
| "aliasYAxis": { | |
| "root used percentage": 2 | |
| }, | |
| "title": "Disk root usage", | |
| "rightYAxisLabel": "%", | |
| "leftYAxisLabel": "" | |
| }, | |
| { | |
| "span": 6, | |
| "editable": true, | |
| "type": "graphite", | |
| "loadingEditor": false, | |
| "datasource": null, | |
| "renderer": "flot", | |
| "x-axis": true, | |
| "y-axis": true, | |
| "scale": 1, | |
| "y_formats": [ | |
| "bytes", | |
| "none" | |
| ], | |
| "grid": { | |
| "max": null, | |
| "min": 0, | |
| "threshold1": null, | |
| "threshold2": null, | |
| "threshold1Color": "rgba(216, 200, 27, 0.27)", | |
| "threshold2Color": "rgba(234, 112, 112, 0.22)" | |
| }, | |
| "annotate": { | |
| "enable": false | |
| }, | |
| "resolution": 100, | |
| "lines": true, | |
| "fill": 0, | |
| "linewidth": 2, | |
| "points": false, | |
| "pointradius": 5, | |
| "bars": false, | |
| "stack": false, | |
| "legend": { | |
| "show": true, | |
| "values": true, | |
| "min": false, | |
| "max": false, | |
| "current": true, | |
| "total": false, | |
| "avg": false | |
| }, | |
| "percentage": false, | |
| "zerofill": true, | |
| "nullPointMode": "connected", | |
| "steppedLine": false, | |
| "tooltip": { | |
| "value_type": "cumulative", | |
| "query_as_alias": true | |
| }, | |
| "targets": [ | |
| { | |
| "target": "alias(scale(sensu.[[host]].disk_usage.root.opt.avail,1000000),'opt avail')" | |
| }, | |
| { | |
| "target": "alias(scale(sensu.[[host]].disk_usage.root.opt.used,1000000),'opt used')" | |
| }, | |
| { | |
| "target": "alias(sensu.[[host]].disk_usage.root.opt.used_percentage,'opt used percentage')" | |
| } | |
| ], | |
| "aliasColors": {}, | |
| "aliasYAxis": { | |
| "root used percentage": 2, | |
| "opt used percentage": 2 | |
| }, | |
| "title": "Disk opt usage", | |
| "rightYAxisLabel": "%", | |
| "leftYAxisLabel": "" | |
| } | |
| ], | |
| "notice": false | |
| }, | |
| { | |
| "title": "IO", | |
| "height": "250px", | |
| "editable": true, | |
| "collapse": false, | |
| "collapsable": true, | |
| "panels": [ | |
| { | |
| "span": 6, | |
| "editable": true, | |
| "type": "graphite", | |
| "loadingEditor": false, | |
| "datasource": null, | |
| "renderer": "flot", | |
| "x-axis": true, | |
| "y-axis": true, | |
| "scale": 1, | |
| "y_formats": [ | |
| "none", | |
| "none" | |
| ], | |
| "grid": { | |
| "max": null, | |
| "min": null, | |
| "threshold1": null, | |
| "threshold2": null, | |
| "threshold1Color": "rgba(216, 200, 27, 0.27)", | |
| "threshold2Color": "rgba(234, 112, 112, 0.22)" | |
| }, | |
| "annotate": { | |
| "enable": false | |
| }, | |
| "resolution": 100, | |
| "lines": true, | |
| "fill": 1, | |
| "linewidth": 1, | |
| "points": false, | |
| "pointradius": 5, | |
| "bars": false, | |
| "stack": false, | |
| "legend": { | |
| "show": true, | |
| "values": false, | |
| "min": false, | |
| "max": false, | |
| "current": true, | |
| "total": false, | |
| "avg": false | |
| }, | |
| "percentage": false, | |
| "zerofill": true, | |
| "nullPointMode": "connected", | |
| "steppedLine": false, | |
| "tooltip": { | |
| "value_type": "cumulative", | |
| "query_as_alias": true | |
| }, | |
| "targets": [ | |
| { | |
| "target": "alias(derivative(sensu.[[host]].disk.xvde.reads),'xvde reads')" | |
| }, | |
| { | |
| "target": "alias(derivative(sensu.[[host]].disk.xvde.writes),'xvde writes')" | |
| }, | |
| { | |
| "target": "alias(derivative(sensu.[[host]].disk.xvdf.reads),'xvdf reads')" | |
| }, | |
| { | |
| "target": "alias(derivative(sensu.[[host]].disk.xvdf.writes),'xvdf writes')" | |
| } | |
| ], | |
| "aliasColors": { | |
| "xvde reads": "#EF843C", | |
| "xvde writes": "#E24D42", | |
| "xvdf writes": "#3F6833" | |
| }, | |
| "aliasYAxis": { | |
| "xvdf reads": 2, | |
| "xvdf writes": 2 | |
| }, | |
| "title": "Disk IO times" | |
| }, | |
| { | |
| "span": 6, | |
| "editable": true, | |
| "type": "graphite", | |
| "loadingEditor": false, | |
| "datasource": null, | |
| "renderer": "flot", | |
| "x-axis": true, | |
| "y-axis": true, | |
| "scale": 1, | |
| "y_formats": [ | |
| "none", | |
| "none" | |
| ], | |
| "grid": { | |
| "max": null, | |
| "min": null, | |
| "threshold1": null, | |
| "threshold2": null, | |
| "threshold1Color": "rgba(216, 200, 27, 0.27)", | |
| "threshold2Color": "rgba(234, 112, 112, 0.22)" | |
| }, | |
| "annotate": { | |
| "enable": false | |
| }, | |
| "resolution": 100, | |
| "lines": true, | |
| "fill": 1, | |
| "linewidth": 1, | |
| "points": false, | |
| "pointradius": 5, | |
| "bars": false, | |
| "stack": false, | |
| "legend": { | |
| "show": true, | |
| "values": false, | |
| "min": false, | |
| "max": false, | |
| "current": true, | |
| "total": false, | |
| "avg": true | |
| }, | |
| "percentage": false, | |
| "zerofill": true, | |
| "nullPointMode": "connected", | |
| "steppedLine": false, | |
| "tooltip": { | |
| "value_type": "cumulative", | |
| "query_as_alias": true | |
| }, | |
| "targets": [ | |
| { | |
| "target": "alias(sensu.[[host]].vmstat.io.received,'received')" | |
| }, | |
| { | |
| "target": "alias(sensu.[[host]].vmstat.io.sent,'sent')" | |
| } | |
| ], | |
| "aliasColors": {}, | |
| "aliasYAxis": {}, | |
| "title": "Number of blocks on block device" | |
| } | |
| ], | |
| "notice": false | |
| } | |
| ], | |
| "editable": true, | |
| "failover": false, | |
| "panel_hints": true, | |
| "style": "dark", | |
| "pulldowns": [ | |
| { | |
| "type": "filtering", | |
| "collapse": false, | |
| "notice": false, | |
| "enable": true | |
| }, | |
| { | |
| "type": "annotations", | |
| "enable": false | |
| } | |
| ], | |
| "nav": [ | |
| { | |
| "type": "timepicker", | |
| "collapse": false, | |
| "notice": false, | |
| "enable": true, | |
| "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" | |
| ], | |
| "now": 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": false, | |
| "load_elasticsearch": true, | |
| "load_elasticsearch_size": 20, | |
| "load_local": false, | |
| "hide": false | |
| }, | |
| "refresh": false, | |
| "tags": [], | |
| "timezone": "browser" | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment